Search found 2 matches

by laurasmith
Tue May 23, 2023 7:13 am
Forum: Stat-JR user forum
Topic: Error running 2LevelUnordered Template in MCMCglmm and Rrstan
Replies: 9
Views: 31754

Re: Error running 2LevelUnordered Template in MCMCglmm and Rrstan

3). After getting results from Mcmcglmm, I noticed that MCMCglmm in stat-jr estimates the multinomial logit keeping the effect of the independent variable constrained across response categories. Is there a way to have the effect of the independent variable be unconstrained across responses in the 2...
by laurasmith
Tue May 23, 2023 7:02 am
Forum: R2MLwiN user forum
Topic: level 1 variance poisson model
Replies: 7
Views: 7991

Re: level 1 variance poisson model

Hi mapquest driving directions To specify this correctly, you need to nest the "household" random intercept within the "region" random intercept. You can modify your model formula as follows: model <- log(death) ~ 1 + gender + education + parentdeath + offset(log(personyears)) + ...