instruction
stringlengths
9
38.7k
Imagine the following type of dataset: I have a dependent variable Y, two independent variables X and Z, and a variable that can separate the dataset in two smaller datasets. I estimated 2 identical OLS regressions for each group separately: Alldata_A<-subset(Alldata, group=="A") Alldata_B<-subset(Alldata, group=="B")...
In R, when I have a (generalized) linear model (lm, glm, gls, glmm, ...), how can I test the coefficient (regression slope) against any other value than 0? In the summary of the model, t-test results of the coefficient are automatically reported, but only for comparison with 0. I want to compare it with another value. ...
I have an unbalanced panel dataset with N=10 firms and T=61 days. Because one variable had values outside the theoretical range I had to constrain my dataset, which left me with only 239 observations. This means on average 23.9 observations per firm and on average 3.92 observations per day. I'm explicitly comparing the...
I have an experiment with a design in which subjects answer four items that are of four different types based on two factors (lets call the factors letter: "a" X "b" and big: "A" X "a", resulting in four types of questions A, a, B, b). The order of items (called here 1-4) is held constant and each subject answers one i...
Could you explain to me how the shape of a ROC curve is determined? From the following illustration, it seems that for every time the actual class (C) is positive, it goes up and when it's negative, it goes to the right. Why does it only seem to be based on the true class rather than the actual right or wrong classific...
I'm trying to fit a model estimating waiting time using negative binomial regression, but I'm not sure how to assess the goodness of fit for my model. I would like to compare the negative binomial model to a Poisson model. I have approximately $4,000$ data points. Any suggestions? Thanks!
I'm trying to compare the predictive strenght of four different algorithms: support vector machines k-NN decision trees neural networks I've got a few questions concerning the parameter tuning: Some papers like [1]state that k-nearest neighbour does not need parameter tuning, don't you need to decide what k will be...
I am looking for help in the following situation: I have a set of numbers $A=\{1, 2, \dots, 100\}$, and I am drawing subsets of 10 of these numbers $\{a_1, a_2, \dots, a_{10}\}$ according to an underlying distribution that I do not know. After doing this procedure $N$ times (which can be very large), I would like to k...
Consider the following question. Consider the generation of random numbers following an exponential distribution with some known mean. Give three reasons why the rejection-acceptance method would not be the preferred approach for generating random numbers for this distribution. What is the preferred approach? Assume ...
I am trying to model my data with ARIMA(1,2,12) and since the variance is not stationary I have also included GARCH (2,3). I have saved all the parameter of my model in a variable called mdl. I have used 1000 time steps as initial values and I want to do a 10 time step ahead for forecasting and then I want to compute t...
I have 4 groups, 3 of them receiving a treatment and the last nothing. I will do two mesures, before and after the treatment. But my groups are pre-defined, not resulting of a random selection. Is it nonetheless valid to use an ANOVA with repeated mesures ? Thank's beforehand
Can anyone explain to me where the formula of skewness or kurtosis comes from? (I mean its derivation.) What's the logic behind it? Who proved it?
Many times I've heard about Restricted Boltzmann Machines. Cannot you advice me something to read about them? I'm also interested: how are they commonly used and what are their best-known implementations?
I seem to have confused myself trying to understand if a $r$-squared value also has a $p$-value. As I understand it, in linear correlation with a set of data points $r$ can have a value ranging from $-1$ to $1$ and this value, whatever it is, can have a $p$-value which shows if $r$ is significantly different from $0$ (...
I have data for 5 replicates that were drawn from the same model and I want to fit all 5 replicates together so that I can find out the shared parameters. Specifically, if I have the underlying distribution - $$y = Ae^{-mx} + c$$ and then I have 5 output files with x and y (x is the same for all replicates). I want to...
I would like to fit a nonparametric regression model with two predictors. What R packages are available? I found 'loess' function in 'stats' package and 'gam' function in 'gam' package. Is there anything else?
I am using the stepAIC function in R to do a bi-directional (forward and backward) stepwise regression. I do not understand what each return value from the function means. The output is: Df Sum of Sq RSS AIC <none> 350.71 -5406.0 - aaa 1 0.283 350.99 -5...
I apologize if my phrasing is un-educated, I don't have much of a stats background. I'm struggling to find info answering my question because I lack the terminology to accurately describe it. Let's say that I was reviewing data on mp3 player sales, and wanted to see if certain combinations of categorical data resulted ...
Consider the following example. Suppose I want to model x in DF2 using everything else. While it makes sense to do pca pre-processing on variable 1 to 10, I want to keep z the factor variable as is and simply center and scale y and v. My first question is whether this approach makes sense at all. DF = data.frame(x=rep...
I would like to know how I can determine the appropriate amount of lags in Matlab or another statistical package. I'm getting confused with VAR models and ARMAX models all the time and I'm a little stuck to be honest. Introduction on ADL models at wikipedia: http://en.wikipedia.org/wiki/Distributed_lag Example of my is...
I am getting below output from coxph function in R. Concordance= 0.581 (se = 0.024 ) Rsquare= 0.06 (max possible= 0.995 ) Likelihood ratio test= 11.52 on 3 df, p=0.009216 Can somebody explain what do 11.52 and 0.009216 mean in this output? I assume 11.52 is the prediction of overall survival and 0.009216 is the ...
I asked this previously but I failed to activate my account so I was not able to respond to comments and my question was never answered. Here is attempt 2: I have two rates of compliance for two different populations: Group N Compliant Rate (Compliant/N) A 696 155 22.27%...
I have categorical data in the form of correct response (0/1 for each item respectively) and prevalence of a misconception (0/1 for each misconception on each item) from a pre and post assessment. Ideally, I could use the pre/post as the independent variable in a chi-square analysis for each item/misconception. However...
I have a model to estimate the effect of gas prices on a dependent variable Y. In the piecewise linear regression model (Gujarati 1995, p.519), I included a dummy variable indicating gas prices exceeding \$3 (gas price >\$3 $\rightarrow$ D\$3). In addition to the main gasoline price variable (the log of GP), I includ...
I am conducting a data analysis. I have a panel with individual firms with firm-specific and macroeconomic variables. I would like to run an OLS regression adjusted for firm clustering effects and accounting for time effect (I have 449 firms and 36 time periods, unbalanced panel) The question arises: When I include tim...
A colleague and I have been working with difference GMM, i.e. the Arellano-Bond estimator, in R. Our option has been to use the pgmm command from the plm package. However, now I am struggling to test the fit of my models, since the package plm itself does not bring such functionality. Would there be a good way to test ...
I have a large unbalanced dataset (the target has ~1500x more 0's than 1's) on which I train a logistic regression algorithm to predict the probability of success (Not a binary outcome but a real number between 0 and 1). Some additional details: about 100,000,000 lines in my dataset I'm using Online Logistic Regressi...
I'm having a hard time proving that $R^2$ is equal to the square of the sample correlation between $Y$ and $\hat{Y}$. Every book I search tells me that's very easy, like verbeek. They just state that from the definition of $R^2$ and knowing that $SST=SSR+SSE$, it's very easy to prove the claim. However, I've spent a lo...
First of all, apologies if some of the technical terminology in here is not accurate - my experience with statistics is fairly limited. To illustrate my problem, let's say I wanted to design a study to calculate a linear correlation between IQ and head circumference (HC) as measured with a tape. The human makes a measu...
I'm trying to use linear SVM to do some feature selection. I'm using libsvm, but I cannot figure out how to find feature weights. The model file created looks something like this: svm_type c_svc kernel_type linear nr_class 2 total_sv 4006 rho 1.81693 label 1 -1 nr_sv 2004 2002 SV 1 1:0 2:0 3:0 4:0 5:0 6:0 7:0 8:0 9:0 1...
I am working on a binary classification case and comparing the performance of different classifiers.Testing the performance of adaboost algorithm (with decision tree as its base classifier) against SVM on multiple data sets I found that the boosting algorithm performs better. The question I have is why this is happeni...
I am working on checking for constant variance in linear models and checking by looking at the plot of studentized residuals with fitted values. My data set via the plot looks to have a constant variance. I did a spread level plot on the data and it gives a suggested power transformation. 1.12, using this I fit a new m...
In a multiple linear regression analysis, what is the most suitable plot for checking linearity? I have seen a number of examples that use scatterplots as a preliminary test to use a linear model. But, aren't partial regression plots more reasonable?
I have a time series data of bike's rentals in which each row represents a specific hour and a number of bikes rented in that specific hour. The task is to predict the rentals for the last 10 days (of each hour) based on the historical data of the first 20 days of that month. Sample of the data: # datetime ...
I know that P(null event)=0, but is the reverse true? i.e. if P(A)=0 is A a null event? I'm not too sure I even understand what a null event is, to be honest. Could anyone give me an example of one?
A quick statistics question (apologies for the added biology): I have two sets of counts (for the expression of two different isoforms of a particular gene), and to generate the response variable in my particular analysis I have taken the ratio of these (Isoform 2 / Isoform 1) for each of 124 individuals. The counts ca...
I have two groups of subjects, both undergoing two experimental conditions, and data are collected at two time points: pre- and post- condition. I run a 3-way ANOVA, with one between subject factor (group) and two within subject factors (condition and time). The analysis does not find a three-way interaction, but there...
Is there a way to identify when to use time series analysis or signal processing. Time series data analysis can be divided to signal processing and normal time series analysis. In signal processing the data is analysed in frequency or time domain. In the frequency domain a spectral analysis is done by using Fourier or...
What kind of object the predict function in glmnet returns ? I can't access the values of predict. x=matrix(rnorm(100*20),100,20) g4=sample(1:4,100,replace=TRUE) fit3=glmnet(x,g4,family="multinomial") res <-predict(fit3,newx=x[1:2,],type="response", s=0.01) res , , 1 1 2 3 4 [1,] 0...
It is well-known that a covariance matrix must be semi-positive definite, however, is the converse true? That is, does every semi-positive definite matrix correspond to a covariance matrix?
I am very new to spatial statistics and watching lots of tutorials, But I don't really get why you have to provide a variogram model when you krige. I am using the gstat package in R, and this is the example they give: library(sp) data(meuse) coordinates(meuse) = ~x+y data(meuse.grid) str(meuse.grid) gridded(meuse.grid...
I have two questions related to having fixed effects in the DD model. I have a treatment that occurs at different times (e.g., 2001, 2005, etc.). I want to fit a DD model, so I standardize the treatment years to year "0" as the the treatment time. To control for treatment year heterogeneity, I included the true year fi...
I was reading a research paper: $Y_{t}\text{=}\beta_{0}+\beta_{1}X_{1t}+\beta_{2}X_{2t}$ (where $Y_{t}$ is stock returns and not the change in stock returns) ($X{}_{1t}$ is the return of a stock market index and $X_{2t}$ is the return of a bond index) They think $X_{2t}$ follows an AR(3) process and they mention two th...
I have two vectors, in my case all states in the US, and another vector, which indicates the states that it borders. States in vector 1 repeat for each state it borders. For instance, there would be 3 observations for California: California-Nevada; California-Oregon; California-Arizona. For each state, I would like to...
I have just come across expected values and they are giving me a bit of grief trying to understand them. e.g. for covariance the equation is $\text{E}\left((x - \bar{x})(y - \bar{y})\right)$ To me this means the expected value is take my x value , subtract the mean, and then multiply it by the y value minus the...
We know that the original KS-test has a limitation, requiring the Null hypothesis testing underlying distribution to be fully specified, rather than estimated. But in practice, we usually need to test goodness of fit for the fitted distribution. It is suggested to conduct a Monte Carlo Simulation by Wikipedia for KS-te...
My question is how can different anomaly detection algorithms be compared for my specific dataset. Essentially, I have multivariate timeseries (physical quantities such as temperature, pressure) and a label in one of the time stamps saying that my physical system reached some critical state (e.g. had to shutdown, faile...
Do the ranef and fixef functions in lmer give the random and fixed effect coefficients? If not what do they really give? Data looks something like (this is a fake data): id 1 1 1 2 2 2 weight 34 45 56 78 12 45 count 23 12 13 16 14 22 Model looks like mod <- lmer(weight ~ count + (1+count|id), data=d1) wher...
I am trying to use grofit package for biological growth curves. I would like to see which curves describe best my data and from them predict results I don’t have. I basically have a sample of data containing wing length of some birds (as a growth measure) and their respective ages. And I have another sample just with w...
Suppose $Y$,$X$ and $Z$ are correlated random variables with $N(0,1)$. We have these cross-sectional regression for each time $t$ $Y_{t} = \beta_{t}X_{t}+u_{t} $ $Y_{t} = \theta_{t}Z_{t}+\epsilon_{t} $ We can extimate the cross sectional correlation (or covariance) of $X_{t}$ and $Z_{t}$ at each time $t$ as $corr(X_{t}...
I am wondering how to make use of MTTF (Mean Time to Failure). Here is the situation, I am given an MTTF for an item type x and a certain demand for that item in the next 25 years, say 100 parts that will be in operation starting from now. I need to make sure that failing parts within the next 25 years get replaced, by...
I am attempting to fit a GLM to rate data. In my case it is the number of provisioning visits to a bird nest per hour. I model the data like in the example below including time as an offset. number of visits ~ x , offset=log(time), family=poisson(link = log) However this is complicated by the fact that my nests also ha...
I would like to know if there is a way to calculate a number that can show how fragmented is a group? It should be something like "variance of categorical data"? For example I want to see how fragmented is Android/iOS in terms of OS version. The number would be high for Android, where there are a lot of versions, and t...
I read on this thread the following: If you can use both the gibbs sampler and slice sampling to sample from a posterior I would use the Gibbs sampler as the slice sampler seems unnecessary to me <...> If you cannot use the gibbs but you can use the slice then your question seems irrelevant. But then, when on th...
How to compute the overall standard error of a linear regression model using Python? Which library should I use? I am looking for something like this, however, I can't see how to get the overall standard error. Any ideas?
I have built a classification model to recognise a class and I have evaluated it on several datasets. The problem is that some of these datasets do not have any true instance of the class in question, and so, the model should ideally recognise zero instances. If the model has 0 false positives on such a dataset, I may ...
In my understanding, a model tree recursively partitions a dataset, and then uses a linear regression model at each leaf node. On the other hand, a regression spline adds various piecewise polynomials together to reach a final model. Assuming that the regression spline is adding together linear models, what is the diff...
I'd like to modify the answer to this question to allow weighted observations. I think all I need to do is weight the inputs X and Y. X = w * X Y = w * Y the other parts of the procedure should follow. Please correct me if I am wrong.
I have two cosine signals in MATLAB both having a frequency of 100 Hz and the second signal has been delayed in time by 0.003 seconds. Both signals have been sampled at 1 Khz. When I use the cross correlation function and plot it to verify the delay between the signals, I expect to see a single point in time at which t...
Already classified data set for the t-shirt factory problem I want to calculate the accuracy of my algorithm. I have the training data without any size information and I couldn't find the classified version of the data set. Should I create artificial data or find another data set?
I'm looking at a multinomial logistic regression analysis of deer behavioural responses to camera traps. The levels of the response variable are no reaction, reaction and strong reaction. I've selected a number of models based on their AIC values. However, I've found that the p values gain and lose significance within ...
I am using SKLearn and Statsmodel in python to build a RF and Logistic Regression, respectively. I have a feature that the RF indicates is important (feature importance of 0.202, closely behind #1 and #2 most important features). However, in running the logistic regression, the coefficient associated with this same fe...
Various software for performing inference on graphical models support logical(a.k.a deterministic) nodes. PyMc, Winbugs, Smile are the ones I'm aware of. Based on the different inference methods used by these software (PyMc and Winbugs use MCMC, Smile uses message passing etc), this extension to graphical models forma...
This is a somewhat basic question, I guess. I have a sequence of random variables $X_1,\ldots,X_n$ that I believe to be i.i.d. uniform on $[0,1]$. Being i.i.d. uniform corresponds to my model predicting the correct distribution for $P(Y_k\mid Y_{1:k-1})$ for some time series $Y$. I can test that by, say, applying the K...
Could someone please explain the purpose of the odds ratio and how it could be interpreted (i.e., the origin of their usage is in primary interest for me)? Why don't people simply use the difference between two proportions instead of odds ratio? Reference to the proper mathematical book will be great.
I've been reading the post about removing intercept that boosts $R^2$ (HERE). An answer to that post said that: In essence, that means our predictor had better have a strong mean offset itself and that this mean offset should dominate the variation of the predictor. My question is: what is "a predictor mean offs...
I have been working on a forecast model in Excel extrapolating from a small (150 data points) monthly time series. I've converted into a year/year percentage change series to get it stationary, deseasonalized it with monthly dummies, and accounted for serial-correlation (it has a two period error correlation). However...
Benjamini and Hochberg developed the first (and still most widely used, I think) method for controlling the false discovery rate (FDR). I want to start with a bunch of P values, each for a different comparison, and decide which ones are low enough to be called a "discovery", controlling the FDR to a specified value (s...
The question I am going to ask probably has a straight-forward answer, I just don't know how to frame my question in a way that would be 'normal.' I have a set of a set of linear equations that I would like to do a regression on. The main equation will always look like the standard matrix linear equation system: $Ax = ...
My question arises from reading reading Minka's "Estimating a Dirichlet Distribution", which states the following without proof in the context of deriving a maximum-likelihood estimator for a Dirichlet distribution based on observations of random vectors: As always with the exponential family, when the gradient is ze...
Summary: The last formula boxed in red (which is a modified log likelihood from logistic regression) is a special non-differentiable loss function that is adapted to contain a Bonferroni correction in the loss function. The function is non-differentiable with respect to theta which is a problem for gradient descend and...
I'm having difficulty finding out what I can do with my data set. It comes from a french reading test that have 30 multiple choice questions. For each of these questions: I have the facility value for the items on the test, wich is the percentage of right answers to the questions. I have the perception of the difficu...
I would like to rank categorical features by the order or importance in a classification/regression setting. Input There are two features, which are survey questions: "how is your mood?": four possible answers are crappy, mediocre, good and great! "are you happy with your life?": three possible answers are no, maybe ...
I have a question about Bayesian Information Criteria. (GARCH models) I have looked for so many hours but still very confused about this BIC especially a negative one. As far as I am concerned it is okay to have a BIC that is negative, but the interpretation of them are different in each book on website. I am not looki...
I am trying to test whether means of two populations with lots of zeros are different. Here is the following python code example: from scipy.stats import mannwhitneyu import numpy as np a = np.random.random(100) b = np.random.random(100) * 2 aa = np.hstack((a, np.zeros(1000))) bb = np.hstack((b, np.zeros(1000))) np...
In New Introduction to Multiple Time Series Analysis by Luetkepohl (2005), section 5.2.1, it says that one can specify linear restraints for a VAR, $Y = \beta X + U$, in the form $$ \operatorname{vec}{\beta} = R\gamma + r $$ where $\beta$ is a $K(Kp+1)$-vector of parameters, $R$ is a $K(Kp+1) \times M$ matrix, $\gamma$...
My problem is finding a way to estimate the standard error of a flow-weighted mean concentration. The FWMC is computed by summing the years flow * concentration measurements and dividing by the sum of flow measurements (17 measures of paired concentration and flow for the year). This FWMC number (in mg/L) is then mult...
I have this question that I want figured out. A person's Blood pressure was taken 4 times,the mean of these 4 observations came out to be say 120mm of Hg And the SD was 2.5. Now we have taken 4 more observations and added their values in too. Question is: 1. What will happen to SD of BP? & 2. With what percentage it...
I have a 2D plane (a large rectangle) with a finite size in the x and y direction, which is the field of my problem. The field is covered by $n$ smaller rectangles that are located randomly within its bounds (the smaller rectangles are free to overlap each other). If I "sample" the field at some random location I will ...
Why the expected value $\int h(x)f(x)$ is desired for inference in Dirichlet Process Mixture? What is the intuition for MCMC in Dirichlet Process Mixture? $f(x)$ is the probability density function, and $h(x)$ is the outcome of the Dirichlet Process Mixture (I am not sure). This formula is originally from page 40 of sl...
I read that MCMC algorithm is used to draw samples from a distribution. The example mentioned in the text book is about a 6x6 matrix which after 1000 iterations will converge to a steady state 1x6 matrix as shown below. Okay I understand how this reaches the state state part, [ 0.1, 0.2, 0.2, 0.2, 0.2, 0.1 ] How wil...
Let $X_{i} \sim U(0, \theta) $ and $X=(X_1,\dots,X_n)$. Show that $$ \frac{X_{(1)}}{X_{(n)}}$$ Is ancillary for theta I coulxnt find a way of doing it that looks convenient. Any idea? P.s: $X_{(i)} $ are the order statistics of the vector
I've got an unknown vector of integers I, an unknown constant c, and my data are cI + noise. The noise has mean 0. The problem is to estimate I. I know that it's possible, because if you had an infinite number of data and made a histogram it would have peaks that would be c apart. From that you could infer c, and then ...
I'm trying to get my head around what I call "optional features" but since I don't know their proper name in statistics I can't find any information about them. Essentially, I'm looking at a problem where sometimes some of the features do not even make sense. For example, if for each individual I have a feature "oldest...
Let's say I have 10 different groups, and each group has its own string sequence. So, it should be like: G1 -> CHFAIEBD G2 -> HCFJIGBD G3 -> HCFAIJBD G4 -> HFCIJEBD G5 -> ..... The question is: is there a statistical test to say that the ordering in that 10 groups is similar? I know it looks kind of similar, but I don...
I'm currently in the middle of analysing data for a masters dissertation and I'm having a lot of trouble with understanding factor analysis. I've collected data using a questionnaire in which I divided the questions up into 3 categories, there are a total of 9 items in the questionnaire - 3 questions for each category...
I understand what is RBM. I also accept that in binary RBM, states of RBM are binary. Is that also means the input datasets should be binary?
Given a random variable $X=x_i$ for $i=1,...,n$, with true distribution $p(x)$ and approximate distribution $q(x)$, its cross entropy is given by $$H(p,q) = -\sum_{i=1}^np(x_i)\log q(x_i).$$ However in practice we find that the true distribution $p(x)$ is rarely if ever known, and thus instead we compute an "approximat...
$X\sim B(40, 0.3), \bar X$ is the sample mean, and $n$ is number of observations. I need help in finding $P(\bar X\ge13)$ for a sample of $49$. I have tried the following, please guide. $\mu=40 \times 0.3=12,$ and $\sigma =\sqrt{40\times0.3\times0.7}=2.8982$ by standardizing I got $P(Z>\dfrac{13-12}{\frac{2.8982}{7}...
Hi I have data set with a set of variables and known class labels. I am trying to compare why a supervised approach will work theoretically better compared to a unsupervised approach for classification vs clustering in this case. If I remove the labels from my data, I can cluster the vector of independent variables o...
I am working on testing the following hypothesis: H1: People who are worried about their health will consume yogurt H0: People who are worried about their health will not consume yogurt I have interviewed 46 respondents using a 7-point Likert scale for the independent variable ('I am worried about my health' 1)Totally ...
I'll start with a specific example of what I am trying to solve: I have eight balls to be randomly placed into four buckets. Buckets #1-3 have the capacity of 2, 2, 3 respectively, while bucket #4 has an infinite capacity. A bucket can't be filled over its capacity. A ball will not be thrown to a bucket that is already...
I understand that PCA and SVD are similar - PCA removes the mean and SVD doesn't? I think I have an understanding of PCA - you would use it to reduce dimensions of data and separate it out into linear combinations of variables that explain the largest variance of the SS. But I can't grasp that same concept for SVD - a...
I have a dataset where the samples are dependent, belong to different groups, and measurements were taken over time. It looks like this: Subject Group Time Value S1 G1 12h 5.55 S1 G1 24h 7.63 S1 G1 36h 9.88 S2 G2 12h 3.26 S2 G2 24h 4.57 S2 G2 36h 6.44 S3 G3 12h 3.23 S3 G3 24h 4.10 S3 G3 36h 5.57...
I have the following type of dataset: | | | variable_r | subject | gender | age_group | Cond_1 | Cond_2 | --------|----------|-------------|---------------|---------------| 1 | m | 1 | r (A) | r (B) | r (A) | r (B) | 2 | ...
I am trying to test whether one group is significantly different from another in two different collections of data. I have seen that people tend to use chi-squared or fisher's exact for this calculation, but am I doing it correctly? Here is the data: TOTAL NUMBER PROPORTION Group 1:...
I am not sure how to proceed with this CFA im doing in lavaan. I have a sample of 172 participants (I know that’s not much for a CFA) and 28 items with 7-point Likert scales that should load on seven factors. I did a CFA with „mlm“-estimators, but the model fit was really bad (χ2(df=329)=739.36; comparative fit index (...
Consider a new variable that is linear combination of original variables (e.g. one of the principal components). How can we find out which original variables "product" the new variable?
When pre-training deep neural networks layer by layer, is it normal to pre-train the layers -which haven't been pre-trained by unsupervised training- by using supervised training before we train the whole network using supervised training? Should we pre-train the classification layers alone, keeping the unsupervisedly ...
In R, using package lme4, I have used the following 2 mixed models to determine I have a signifacnt interaction between a covariate (continous, normally distributed) and a factor (three levels: herbivores, plants, predators): test1 <- lmer( mode ~ sr * func.group + (1|community), data=nr.test, REML="FALSE") test2 < -lm...