instruction
stringlengths
9
38.7k
I have seen several references, but am looking for something easy to follow that illustrates Random Forests in regression and feature importance applications. I want to make sure that I explain this at the 101 level. Something like this, but more pictorial like this pdf. I am having a hard time getting across a concret...
I typically use BIC as my understanding is that it values parsimony more strongly than does AIC. However, I have decided to use a more comprehensive approach now and would like to use AIC as well. I know that Raftery (1995) presented nice guidelines for BIC differences: 0-2 is weak, 2-4 is positive evidence for one mod...
I would like to know if there is a way to compare the relationship between a factor (length) and a response variable (lipid content) among multiple groups? I have given up on ANCOVA, as length is continuous. I am unsure if a multiple regression allows the use of a categorical variable (group membership) as an IV.
Let's say I've fitted a 2 level model with glmer like this: data.model <- glmer(y ~ 1 + level1.var11 + level2.var21 + (1 | ID), family = binomial(link = "logit"), data = dataset) where the level-2 grouping is done by ID, level1.var11 is a level-1 predictor, and level2.var21 is a level-2 predictor. For example, let's ...
I have done binary logistic regression for a dichotomous outcome and used 5 predictors (3 continuous and 2 dichotomous); one of the dichotomous predictor gave a big number of OR and 95% CI (108.28, CI= 6.64- 1764.6, $p < .001$). Is such a big number okay to report, or is something wrong? Sample size was 55 cases. By th...
I found a few similar questions, but none quite had the answer I was looking for. I aim to use logistic regression and have two IVs ("Independent Variables") that each have three categories. I have only seen IVs in ordinal logistic regression that have been continuous or binary categorical previously. I also cannot con...
Are there graphing techniques (certain kinds of plots) that are similar to the Edward Tufte's box plots - shown below - but that consider the distribution of the data points? But instead of a black line traveling vertically, I want a colored line (say red) where the intensity of the redness changes in relation to the ...
I'm confused by the description of the intraclass correlation (ICC) for a linear mixed model with longitudinal data from this material. A screen capture is shown below. What I'm confused about is that the ICC describes the amount of variation in $Y$ (the dependent variable) BETWEEN individuals, in this context (longitu...
I wonder if there is a clear-cut difference between the so-called zero-inflated distributions (models) and so-called hurdle-at-zero distributions (models)? The terms occur quite often in the literature and I suspect they are not the same, but would you please explain me the difference in simple terms?
I have a small black box that displays a 0 or a 1 every time I press its button. I can tell you, truthfully, that over the past 20,000,000,000 times it has been pressed, 19,999,999,990 times it has shown a 1. I ask you to make a prediction of what number will appear when I press the button next. For the sake of simpli...
I am trying to find the association of BMI on the age at onset of hypertension in diabetes vs non-diabetes patients. Or in other words, does diabetes (if the patient is already diabetic before the hypertension diagnosis) modify the association of BMI and age at onset of hypertension. To find this, I have tried a mult...
I have collected speech perception performance in children during one-year followed-up (four time points). A battery of speech perception measures (i.e., five measures) were used at each test interval. I want to examine the effects of three variables on speech perception performance (i.e., gender, chronological age, ma...
Bivariate and multivariate distribution relationship. If we have say 3 variables where any two variables follow a normal bivariate distribution, then does it necessarily follow a multivariate normal distribution?
Lets say I am trying to find patterns in pricing of a commodity such as corn and I have monthly time series data on the demand, the temperature, cost of water, and the current market supply. What methods would I use to detect patterns such as: *Corn will cost less during harvesting in October and November when temperat...
I am not very sure how to interpret measurement error correctly: as a constant, as a bias, or as a moderator factor? Is it presumed that measurement error includes moderator effects? Let it be in the context of meta-analysis of effect sizes.
I have been trying to establish whether I could model my data, a set of 90 observations, using the normal distribution. I have tried the Shapiro-Wilk and the Anderson-Darling tests but each came back with a different result. Anderson-Darling normality test data: x A = 0.6994, p-value = 0.06555 Shapiro-Wilk normality t...
Validity coefficient is an important measure for test development especially in psychology and sociology wherein we have too indirect measurements. Perhaps we have different ways to know its size.
Basically, I have several design options with 22 variables with a 0-1 option. For each design I have an output which is a real number. So...I would like to know a way to express as clear as possible the effect of all the variables in the output, expressing how well each of the designs did. Any suggestions? Clarificatio...
Let's imagine I have a very unbalanced dataset with 99.99% of 0 and 0.01% of 1 on the target variable. What I want to do is make a classifier for this target. Now imagine that this dataset is very big (billions of rows). Would it be ok to sample say 200.000 individuals 1 and 200.000 individuals 0 ? What would be the i...
Is there a specific purpose in terms of efficiency or functionality why the k-means algorithm does not use for example cosine (dis)similarity as a distance metric, but can only use the Euclidean norm? In general, will K-means method comply and be correct when other distances than Euclidean are considered or used? [Addi...
I have two ordinal variables, and I'm using the Fisher's Exact Test in lieu of the chi-square test when the expected values for the latter test are lower than 5. My contingency tables are $3\times2$. I have a couple of concerns: From the Fisher's Exact test, I just expect a $p$-value. Anyway, when I calculate it in S...
I have data showing fire fighter entrance exam results. I am testing the hypothesis that exam results and ethnicity are not mutually independent. To test this, I ran a Pearson chi-square test in R. The results show what I expected, but it gave a warning that "In chisq.test(a) : Chi-squared approximation may be incorrec...
I am trying to compute a Kernel Density from high dimensional data ($n > 2$). The underlying (generative) model is assumed unknown. The goal is to draw samples from this estimate, in a sense creating synthetic data akin to the underlying distribution. I was hoping to use Bayesian nonparametrics for this, since the com...
I am kind of stuck with an easy question: I have two data sets with experimental data. The data sets do not have the same size. I would like to show that these data sets are possibly coming from the same experiment. I tried a two-sample $t$-test; it shows that the data are significantly different. Is there a way to gen...
I am learning about ELM (Extreme Learning Machines) and it appears to have no bias weights at the output layer. Besides that, just to clarify, the kind of ELM I am refering to are topologically no different than 2-layer MLPs (or 3-layer if you count the input as a layer). So, I am wondering whether I understood wrong a...
I have 100 datasets. All of them have varying number of features. There are around 20,000 samples in each of them. Every $i$-th sample in the 100 datasets has the same label ($0/1$). The data is highly imbalanced, so there are much fewer positive labels than 0 labels. I want to give a score/weight to each dataset defin...
I'm currently trying to work with scikit-learn classification tree. I followed the example on iris dataset : http://scikit-learn.org/stable/modules/tree.html and everything is working fine. I do not understand the final graph though. My problem is that values like [50, 0, 0] are not clear to me. Which values correspo...
I have created a text clustering algorithm and calculated the Precision and Recall measures for the evaluation. I am looking for papers that contain other text clustering algorithms evaluations with Precision and Recall in order to compare them. I have already found a few from Google, but I am not satisfied with the nu...
I am confused by the following expectation which appears within equation (1) of the following paper http://statweb.stanford.edu/~jhf/ftp/trebst.pdf: $E_{X}[E_{Y}[L(Y,F(X))]|X]$ I am confused by the inner expectation, which is a expectation of $L(Y,F(X))$ with respect to $Y$. The result would also be $E_{X}[⋅|X]$ which ...
The book of "Time Series and its Applications" gives the following example, The book also includes the following statement regarding the observation from this figure I do not know what exactly does it mean for the short memory ARMA-type component? Especially, what should be the generic graphic pattern for this so-cal...
I have one million of keywords (from search queries in google), and I need to group them semantically. I have already done some research and I have found information about how to extract keywords and cluster them from a large corpus, but in my case I don't have any large documents, only those keywords. I imagine that c...
When asked to "find all frequent Item sets" is it just the set that was last worked out that is the answer you should give or is it necessary to give all before that too. For example, say if the last results I get for a set is (A,B,D) then is that my frequent item set or do I need to also include all found before that...
In summary: given confusion matrices (TP/TN/FP/FN) from 8 runs on real data and x runs on simulated data, show that the results from simulated data behaves similar to that of the real data. More detail: I'm working on project of sorting/classifying mineral ores for my research (in Computer Science). I take data from se...
I have run two psychological experiments. The dependent variable is a rating provided by the participant, that is, an integer number from 0 to 100. The first experiment is a mixed 2x2 design, with one between-subject factor (treatment) and one within-subject factor (question). Each of these factors has two levels. Tha...
Given $p$-variate normal $X \sim \mathcal{N}\left(\mu,\Sigma\right)$, consider the random variable $$ t_* = \frac{X_1}{\sqrt{\sum_{2\le i \le p} X_i^2}}. $$ For some values of $\Sigma$, this generalizes the doubly noncentral t-distribution (which generalizes the singly noncentral t-, which generalizes the central t-dis...
I draw a random vector of dimensionality $k$, each dichotomous element of which taking on a value in $\{0,1\}$. The probability that any element will be $1$ is captured in the $k$-dimensional parameter vector $\bf{p}$, the elements of which are in $[0,1]$ and sum to $1$ (or are normalized as such prior to use). A speci...
I'm currently experimenting with gridsearch to train a support vector machine. I understand that, if I have parameter gamma and C, the R function tune.svm performs a 10-fold cross validation for all combinations of these 2 parameters. Since I did not know how to start, I tried to get some information about it, for exam...
I'm trying to work on an anomaly detection problem, so I am currently exploring my options on which algorithm is best to use for me. I've been looking at the one-class SVM in the scikit-learn library for Python. It has a parameter nu that you pass it, which roughly determines what percentage of training data it is allo...
I have a large dataset of categorical variables. The data consists of shoppers who purchased two items during a single trip to a store. There are approximately 75,000 cases and 1,500 different products. I plan on clustering the data using TwoStep cluster analysis (I know it it is for large data; though I'm not sure tha...
I have a model and a vector of parameters that I estimate using ML. Since I'm doing a MonteCarlo I can simulate as many times as I want, i.e. data is not real data. I was just wondering how I can compute the Standard Errors of my estimator and what their significance is.
I'm training the self organizig map, I need to set the value for the radius of it. is there any method to find the optimum radius size ?
The lifetime of a brand of lamp is exponentially distributed with parameter $\lambda=0.01\;h^{-1}$. How many lamps are needed so that there's a 95% probability that a room is lit for 1,000 hours, if a) when a lamp burns, the next one is used? b) all lamps are turned on simultaneously? a) The lifetimes $X_1,…,X_n$ are ...
I have this N sets of features F each with $F_i$ number of features. All the feature sets have 20000 examples and we have 20,000 labels for them. Lets say feature set $F_1$ has 10 features and feature set $F_2$ has 20 features. Each of these feature sets have 20000 examples. Now all these examples have labels. So I wan...
I have encountered many peculiarities/misunderstandings of Vowpal Wabbit when trying to do online multiple-pass learning. Specifically, I need to solve a Ridge Linear regression problem, with N=4e6 points and a total of around K=2.38e5 features. Each point has sparsely populated features, usually between 10 and 100. Si...
I have a question regarding interactions in GLM. I run a Poisson regression with the purpose of predicting claims in insurance. I have the following problem : model 1 : CLAIMS ~ X1 + X2 model 2 : CLAIMS ~ X1 + X2 + X1:X2 X1 has 10 levels, X2 has 4 levels When I do a deviance test (Chi Square), my result is that model ...
Chris Chatfield, whose many quality books and papers I enjoyed reading, in (1) gives the following advice: For example, the choice between ARIMA time-series models with low and approximately equal values of the AIC should probably be made, not on which happens to give the minimum AIC, but on which gives...
I'm working on the Gompertz growth model to fit weight at age: $$ m(a)=m_{\infty}e^{-\gamma exp(-g{1}a)}$$ Where $m_{\infty}$ and $g_{1}$ are coefficients to be estimated. To deal with lack of normality I transformed my data using Box&Cox, and to deal with heterogeneity I used weights. After applying Box&Cox I fit a m...
I used both logistic (binomial distribution) and multinomial regression on a range of different datasets. For simplicity, I only have one explanatory variable in the linear predictor. I also calculated the confidence bounds for the predicted probabilities, following this procedure. What I observed, is that for the l...
Say, for instance, I'm estimating a model with about 5 million observations using linear regression or MLE. Given that the estimates are consistent, using the standard rule of rejecting the null on a 5% significance level will pretty much never make me entitled to reject the null (of the parameter being equal to zero),...
Rainbow tabling a web service is getting a whole bunch of pages by guessing their IDs: /item?ID=1 /item?ID=2 ... /item?ID=n Ideally, I want to intelligently detect the max ID and set n to that. Is there a statistical approach here? I was imagining like a "comb" where I check a radius of IDs around an exponentially inc...
Question: The context of this question is actually finance, however the question itself is a statistical issue. Suppose I have the following expression: $$\rho = \frac{2\bar{x}}{(s^*_x)^2}+1 .......... (1)$$ where $\bar{x} = \frac{1}{T} \sum_{t=1}^{T} x_t$ $(s^*_x)^2 = \frac{1}{T} \sum_{t=1}^T (x_t - \bar{x})^2$ Assum...
I have an elementary question that I'm sure must be answered in textbooks somewhere, but I haven't found it yet. Why is the average the right way to deal with Gaussian noise? Let's flesh this out a bit. Here's my model. There is an unknown parameter $\theta$. We have iid random variables $X_1,\dots,X_n$, defined as...
I asked this question on stackoverflow first since it is more of an implementation question, but I got no answers yet, therefore I'm asking it here again. I have a dataset which is annotated by 2 different sources. This means that for every sample, 2 different sources give a label. I want to see how similar the two se...
Can anyone tell me how to judge if a supervised machine learning model is overfitting or not? If I don't have an external validation dataset, I want to know if I can use ROC of 10 fold cross validation to explain overfitting. If I have an external validation dataset, what should I do next?
I am an economist currently working with this book: Frank Cowell - Measuring Inequality On page 25 a formulation of the relative mean deviation is given as follows: $$ M = 2 \left[ F\left(\bar{y}\right) - \Phi(\bar{y}) \right] $$ $F$ is the CDF, $\Phi$ is the proportion of total income received by persons who have an i...
I've searched a good bunch of literature but have failed to find an exact distinction between the two. My impression is that in the Machine Learning literature you'll find allusions to hierarchical Bayesian modeling, but in the Statistics literature you'll seldom find allusions to PGMs. Hopefully you guys will be able ...
I have developed a regression model, and found some issues with the overall process. As I do not have depth knowledge on regression, I need some expert advice. I have n observations (4700+) from eight cases (C) for few years, and p candidate predictors (p=18). Assuming that the true model is a linear combination of m ...
I measured two variables (outcomes) $Y_a$ and $Y_b$ for several subjects. $Y_a$ and $Y_b$ are continuous variables defined on $[0,100]$ and have a bimodal distribution. I tried using a transformation but came up with nothing worthy. I have two independent variables $X_1$ (factor with 2 levels) and $X_2$ (factor with 3...
I am considering the linear regression model \begin{equation} Y_{i} = A t_{i} + B + \varepsilon_{i} \tag{$1$} \end{equation} where $A$ and $B$ are unknown real parameters and $(\varepsilon_{i})_{1 \leq i \leq n}$ are observed values of independent and identically distributed gaussian random variables with mean $0$ an...
correct me if I'm wrong, I've read that my sample should be normally distributed if I'm going to use moderation analysis. But if in case I'll be using purposive sampling (I'm following certain criteria / conditions )what can I do as a solution in the problem of normal distribution? my last question will be, is moderati...
I have a serie with 850 observations, and I need to fit the Pareto IV distribution. How could I do this in R? I read the guide VGAM, however, I'm not able to run it. If anyone knows, please provide me with a detailed (step by step) answer so that I can understand it...
I have got 10k data of the form (y, x1, x2) where y is the dependent variables and x1, x2 are independent variables. I have an existing model M, where M(x1, x2) gives the pdf of y. So M(x1,x2,y) gives the density at y Now, I would like to improve the model by introducing some simple transformation of its argument, like...
I have this model, nonlinear in the parameters $ y = \beta_0^2 + \beta_0 \beta_1 x_i $ exist a known estimation of parameters ?
Can anybody explain what multitask learning is in an intuitive way? From Wiki: Multitask learning aims to improve the performance of learning algorithms by learning classifiers for multiple tasks jointly. What is "multiple tasks"? Can anybody provide an example? How is this related to the structure inside the tra...
I have a data set with repeated measurements on subjects. The total sample size is $n=118$ and the number of clusters (i.e. subjects) is $m=49$. The smallest cluster is of size 2 and the largest cluster is of size 4. In fact, about 60% of the clusters are of size 2, i.e. only two observations per subject. The outcome v...
I have a probability question: How can I represent the probability of an event occurring at a specific {time,place}? How are the time and place represented? Example: I want to represent the occurrence of neighborhood dogs peeing in my neighborhood Let's say I can count the number of time of dogs peeing, and the state ...
I use the caret package for training a randomForest object with 10x10CV. library(caret) tc <- trainControl("repeatedcv", number=10, repeats=10, classProbs=TRUE, savePred=T) RFFit <- train(Defect ~., data=trainingSet, method="rf", trControl=tc, preProc=c("center", "scale")) After that, I test the randomForest on a t...
For example, I have a model: $$Y= \beta_0 + \beta_1*X_1 + \beta_2*X_2 + \beta_3*X_3 + \beta_4*X_4 + \epsilon_1$$ I suppose that $X_1$ may be the factor causing heteroskedasticity, and I regress Y on $X_1$ $$Y= \alpha_0 + \alpha_1*X_1 + \epsilon_2 $$ Now, which residual, $\epsilon_1$ or $\epsilon_2$ could be used to re...
Recently I was trying to do logistic regression using the rms::lrm() function. But I had some trouble understanding the model objects from the function. Here is the example from the package: #dataset n <- 1000 # define sample size set.seed(17) # so can reproduce the results treat <- fact...
One of the assumptions for t-tests is that the data must follow a normal distribution. However, due to the Central Limit Theorem (and this thread): "if the sample is large enough you can use t-test (with unequal variances)". I'm trying to sort out what this means for my case. I think my sample should be large-enough, b...
I'm modelling propensity to purchase a particular product or service following exposure to online advertising. I'm attempting to get something like the analysis from John Chandler-Peplnjak's thesis "Modeling conversions in online advertising" A similar method has also been used by Andrie de Vries in this presentation. ...
A well established questionnaire measuring interpersonal relations is modified to measure interorganizational relations. 11 parameters of the relation are determined by 4 items each. Items are removed until the best possible $\alpha$ per scale is achieved (.58 - .81). This results in some scales with 3 items, some scal...
I am looking to have People rate certain items on a scale of 0-10 based on those items perceived utility to the particular Person performing the rating. Fractional values are permitted. Giving no rating on an item is also permitted; however, I prefer to rank "highly rated" items with more ratings higher than "highly ra...
I will openly admit that statistics and statistical programming is not really in my wheelhouse. That said, my job requires it. I am trying to analyze the data gathered from a pre and post test survey where responses were measured with a 1-5 likert scale. 1-strongly agree and 5 is strongly disagree. Essentially we would...
i am trying to implement the naive bayes algorithm in java. But i have a few confusions on the naive bayes model. What is the model of naive bayes? Is it a table ?how we can make prediction from the model? I can implement the algorithm in java code and make prediction.But i heard that's not the right way to do it. we s...
I have a distance measure, which ranges between 0 and 1, between several pairs of populations. I need to figure out if each distance is statistically different from zero using permutations, any suggestions on how to achieve that? Thanks
I have a question about the random walk of two kings in a 3×3 chessboard. Each king is moving randomly with equal probability on this chessboard - vertically, horizontally and diagonally. Τhe two kings are moving independently from each other in the same chessboard. Both of them start in the same square, and then they ...
i want to use an ARIMA model in R for predicting an electrical load on a minutely basis. By examining the ACF I figured out which model could suit. The ACF has shown that the value one day ahead has a periodic autocorrelation. Therefore I'd like to implement a seasonal difference with a lag of 1440 (min/day). Thus, I f...
I'm looking for implementations of online learners. I guess that is possible with AdaBoost. Where you train the model and then you modify it by adding later more training data. However you don't have to re-train the entire model. Are you aware of this online implementation of AdaBoost in java?
I have been asked to help a colleague with analysing the following experimental design. 2 treatments (fixed), 5 time points (fixed) with 4 animals (random) at each time point. The animals within each time point are not the same. Each animal had two samples taken, one from a treated limb and one from an untreated limb ...
I'm not sure how to test for main effects and interaction effects between multiple moderator variables in metafor. Am I doing this right? My dataset is quite large, so we'll play with the iris dataset. Create dataset sp <- gsub("setosa", 0, iris$Species) sp <- gsub("versicolor", 1, sp) iris$Species <- as.numeric(gsub...
I want to use R to create 'random' planting plans - drawing plants manually (CAD) is neither random nor efficient - my aim is a list of plants, within an irregular region, (up to 10,000 plants) with their respective numbers and positions. This would use points (trees) of different diameters, with a coverage ratio for ...
I want to derive the moving average process 1 from the Wold decomposition theorem. I don't know how to define the coefficient of MA(1), though it seems that it should be easy.
Why and when we should use Mutual Information over statistical correlation measurements such as "Pearson", "spearman", or "Kendall's tau" ?
I need to do a matched analysis. However, I cannot find good reference for the best way of matching when each stratum may contain multiple cases and controls. As an extreme example, say we want to match cases/controls by their admission date (within a week for example). Within each week, there might be 10 cases and 10 ...
I have written a dozen scientific papers and posters about medical trials and psychological trials with a lot of statistical analysis, and a common question "perturbed my certainties": How do I write statistical significance so that it is easy to read, and avoids repetition and panegyric? Generally speaking the most ...
I want to make a function that does GARCH and ARCH in python for calculating variance. But I only have a general understanding of the model. Are there any good papers that can be recommend to give me a step by step calculation. I am not a statistician or have a econometrics background so it is difficult for me to get a...
I am trying to implement Bayesian Classification on the data set as follows: "Problem: classify whether a given person is a male or a female based on the measured features. The features include height, weight, and foot size." Example training set below (borrowed from http://en.wikipedia.org/wiki/Naive_Bayes_classifier...
I'm trying to create a prediction model. I have about 10,000 samples comprising of about 100 predictor variables and the response variable. At the moment I'm using a method which is apparently known as principal component regression (PCR). It's working ok, but I'm wondering whether we can do better. But I'm not a s...
I have written some code that basically does the following:- 1: creates a matrix of binary features and a matrix of scaled features ( in the range 0 to 1 ) 2: RBM trains separately on each of the above features matrices to get weight matrices 3: horizontally stacks a random row vector for bias unit weights and the two ...
I've around 3e3 two-dimensional data points, x, d 1 1, 0.1 2 3, 0.1 3 2, 0.2 4 1, 0.5 range(x) = [-600, 600], range(d) = [0, 1] We are trying to model d with a probability model. I believe the distribution of d should be dependent on x. So I'm up to model $Pr(d|x)$ rather than $Pr(d)$. To do this, I am now ...
Is there a way to calculate a number that evaluates the viability of an experiment? By that I mean the probability that the observed probability is just chance. I read about the $p$ value, but it doesn't seem to be that, as it doesn't take at all into account the number of experiments. Let's say I have an experience th...
Is there any relationship between the draw from a Bernoulli with parameter $p$ and the Normal CDF. Specifically is the condition $p>\Phi(x)$, where $x$ is drawn from the standard normal distribution, equivalent to a draw from Bernoulli$(p)$ ?
Following experimental design was done and some data as shown in table below was obtained: pretest> intervention1> intervention2> posttest > perception survey Number of students=60 Number of Students subjected to intervention=20 Independant variable is "Intervention2" which possible influences posttest .Perception surv...
I am looking to How do you solve for the optimum values with the lowest MSE for the coefficients and dampening constant in exponential smoothing and ARIMA models? What are the equation used?
I'm new to data analysis so this is kind of a simple question. I would like to understand why I cannot reproduce a survival curve generated by a fitted exponential model from Stata. I use the coefficients and make my function in R to plot but it looks nothing similar. I believe it's one of those daft problems where I a...
I have a list of 300 $p$ values selected from all $p$ values obtained in multiple testing such that $p<.05$. I do not know the values of $p>.05$ or their number. The $p$ values are not corrected for multiple testing, and I would like to do so for the 300 raw $p$ values that I have. Is it OK to apply the Benjamini-Hochb...
Let's say, I have an intelligence test made of 60 questions (items) which produces results for two intelligence constructs on a 0-100 scale (for instance crystallised and fluid intelligence). I only have respondent's final scores on the two constructs. So, I don't have answers to single items. In such a scenario, I can...
I'm trying to understand standard deviation. I understand how to determine standard deviation across a group, but I am not understanding using standard deviation to compare groups. Am I attempting to use the correct tool? For example, group 1, 2011, for 10 people, these are the results: 99 98 91 89 88 74 74 72 67 56 av...
I'm studying panel data models in my introductory econometrics class, especially random effects models. Consider the model: $$y_{it}=x_{it}'\beta +c_i+u_{it}$$ with the assumptions $E[c_i]=0=E[u_{it}]$, $E[c_i^2]=\sigma^2_c$, $E[u_{it}]=\sigma_u^2$, $\text{Corr}(x_{it},c_i)=0$ and $\text{Corr}(x_{is},u_{it})=0$. Denote...