Questions tagged [random-effects]
238 questions
0
votes
2 answers
How to get individual coefficients and residuals in panel data using fixed effects
I have a panel data including income for individuals over years, and I am interested in the income trends of individuals, i.e individual coefficients for income over years, and residuals for each individual for each year (the unexpected changes in…

Aslı Gürer
- 39
- 1
- 9
0
votes
0 answers
Warning Messages : confint command for lmer model
I am doing a simulation study for sample size calculation for multilevel modeling. I am using R for both simulation and estimation . As posted in this post , confint function was not working and that was due to model mis-specification . As, I have…

user81411
- 437
- 1
- 7
- 13
0
votes
1 answer
How do I get properly accounted for nested random effects with lme4?
I have a data frame with subject, wd, and group variables, and a value response variable. Each subject is assigned to one group and has 7 measurements taken over each weekday. Because each subject is completely nested within a group, I want to use…

Max Candocia
- 4,294
- 35
- 58
0
votes
1 answer
Random effects model in R - error
I am running econometric model with panel data in R. I am using plm package and pooled model and fixed effects model works great. But I get this error when trying to do random effects model and I don't know how to fix it.
There is my whole dataset…

veyer
- 11
- 2
0
votes
1 answer
Nested design and F-, p- & R²-values in eHOF package
I would like to consider my nested study design in the HOF function of the eHOF package.
We sampled in points which where nested in sample blocks and those where nested in villages (random).
So far I used GLMM to describe the effect of habitat…

Lula
- 3
- 3
0
votes
1 answer
Random effect Estimate in SAS
I have a panel data of firms (Panel specification: ID,Time) and trying to run Logit Random Effect model on this data in SAS where my binary (0,1) dependent variable is Def. This is the code that I am using:
PROC GLIMMIX DATA=mydata…

Sese AK
- 105
- 4
- 10
0
votes
0 answers
Simulating random effects / mixed models in SAS
I'm trying to create a simulation of drug concentration based on the dose of a drug given. I have some preliminary data and I used a random effects model to analyze the relationship between log(dose), predicting log(drug concentration), modelling…

Bosley
- 231
- 2
- 11
-1
votes
0 answers
Random Effect Model
I am trying to use random effects model for my regression analysis
model_re_subset = RandomEffects.from_formula('excess_return ~ 1 + ADJ_MV + BP + CP + change_in_esg_3yr + VAR', data=df_subset)
result_re_subset =…
-1
votes
1 answer
How to specify counterbalance as random effects when analyzing random-effects modelling using the lme4 package?
I am analyzing a dataset with multilevel modelling in R using the lme4 package. I conducted a study where The influence of participants and learning materials were counterbalanced. Participants went through either the two conditions: (a) learning A…

user8460166
- 73
- 1
- 6
- 24
-1
votes
1 answer
SAS proc glm random effects model with contrasts translated into R
My apologies for any errors; I only recently began learning SAS. I was given this SAS code (the code below is a reprex, not the exact code) that uses proc glm to assumedly make a random effects model. Instead of using color, the SAS code uses…

jrcalabrese
- 2,184
- 3
- 10
- 30
-1
votes
1 answer
Find Fixed Effects not just for intercept
I am using the lmer function to gather the random effects and fixed effects. When running my function I am able to get the random effects for all coefficients by group. When I search for the fixed effects though, I only get it for the intercept. How…

nak5120
- 4,089
- 4
- 35
- 94
-2
votes
3 answers
How do I specify random factors in R?
How do I specify random factors in R ?
If I have a factor x1 which is supposed to be random , can I try something like this ?
lm(y ~ x1, data = p)

TKBell
- 33
- 1
- 4