Questions tagged [random-effects]
170 questions
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…
![](../../users/profiles/1155579.webp)
Sese AK
- 105
- 3
- 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…
![](../../users/profiles/2283987.webp)
Bosley
- 211
- 1
- 10
0
votes
1 answer
Frailty estimates in coxph object
If one uses obj=coxph(... + frailty(id) ), then the object also returns (log)frailty estimates for each individual, which can be extracted with obj$frail.
Does anybody knows how these estimates are being obtained? Are they Empirical Bayes…
![](../../users/profiles/2236837.webp)
Theodor
- 896
- 3
- 7
- 20
-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…
![](../../users/profiles/5893585.webp)
nak5120
- 3,410
- 3
- 23
- 62
-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)
![](../../users/profiles/293548.webp)
TKBell
- 33
- 1
- 4