Search found 30 matches

by vivian1234
Fri Aug 04, 2017 6:36 pm
Forum: R2MLwiN user forum
Topic: Level 2 residuals for ML cumulative logit model
Replies: 5
Views: 7506

Re: Level 2 residuals for ML cumulative logit model

The problem also exists in the random part estimations. Result obtained by MLwiN Random Part Level: state_long cons.123/cons.123 0.24907945 0.06827134 1 agecen50^1.123/cons.123 0.00349785 0.0013245 0.65697408 agecen50^1.123/agecen50^1.123 0.00011381 0.00003864 1 Result by R2MLwin The random part est...
by vivian1234
Fri Aug 04, 2017 6:22 pm
Forum: R2MLwiN user forum
Topic: Level 2 residuals for ML cumulative logit model
Replies: 5
Views: 7506

Level 2 residuals for ML cumulative logit model

Hi, I was trying to replicate the analysis from module 9 Practice using R2MLwiN. I used the following codes to calculate the residual for random intercept and slope: ## to calculate random intercept residual u0 <- model03@residual$lev_2_resi_est_Intercept.123/2 ## to calculate random slope residual ...
by vivian1234
Mon Jul 31, 2017 2:09 pm
Forum: R2MLwiN user forum
Topic: Interpretation of coefficient in multilevel cumulative logit model
Replies: 4
Views: 6443

Interpretation of coefficient in multilevel cumulative logit model

Hi, I am running a 2-level random slope cumulative logit model using R2MLwiN (level 1: individual, level 2: country). I understand that when interpreting the estimated coefficients of the model, we have to reverse the sign of coefficient before transforming it back to odds ratio. As I need to examin...
by vivian1234
Fri Jul 21, 2017 2:32 pm
Forum: R2MLwiN user forum
Topic: Combine MCMC models
Replies: 2
Views: 4009

Re: Combine MCMC models

Thanks! I will have a try.
by vivian1234
Thu Jul 20, 2017 4:30 pm
Forum: R2MLwiN user forum
Topic: Graphing level 2 variance for random slope cumulative logit model
Replies: 2
Views: 4094

Graphing level 2 variance for random slope cumulative logit model

Hi, I have another question about graphing the level 2 variance for a random slope cumulative logit model. I was reading https://www.cmm.bristol.ac.uk/forum/viewtopic.php?f=7&t=1530&sid=3df12c9c7eb08774b53ac09477ba83f4 and it was mentioned that one way to do this would be to create a new dat...
by vivian1234
Thu Jul 20, 2017 2:13 pm
Forum: R2MLwiN user forum
Topic: Combine MCMC models
Replies: 2
Views: 4009

Combine MCMC models

Hi, I would like to know if there is any way to combine the MCMC estimates from two models (same specification, only with different seeds)? Let say I have MCMC.1 and MCMC.2 models, both of them are estimated by MCMC estimation (with 500000 iterations and burn-in = 5000) but using different random se...
by vivian1234
Mon Jul 10, 2017 2:14 pm
Forum: R2MLwiN user forum
Topic: Wald Test in MCMC estimation
Replies: 3
Views: 5199

Wald Test in MCMC estimation

Hello, I understand that I can use linearHypothesis function from the car library to calculate Wald Test for categorical variable if I use IGLS estimation. However, when I applied the same function on my result generated by MCMC estimation, it gave the following error: Error: $ operator not defined ...
by vivian1234
Tue May 23, 2017 8:32 am
Forum: runmlwin user forum
Topic: Predicted Values
Replies: 1
Views: 3201

Predicted Values

Hi, I have some questions about the calculation of predicted values in runmlwin. My model has two levels (level 1: individual; level 2: country). I was trying to fit a random slope model on my data with a continuous outcome. The continuous outcome ranges between 0 and 18. There are around 10 categor...
by vivian1234
Thu Jan 12, 2017 3:33 pm
Forum: R2MLwiN user forum
Topic: Specifying weight in R2MLwiN
Replies: 8
Views: 11099

Specifying weight in R2MLwiN

Hi,

I would like to know if it is possible to specify sampling weight in R2MLwiN when fitting multilevel model. I know that this can be done through using the software and runmlwin in STATA. However, as I'm a R user, I also want to know how to specify weights in R2MLwiN.

Thanks.

Vivian