Search found 430 matches

by GeorgeLeckie
Thu Jan 09, 2020 7:36 pm
Forum: runmlwin user forum
Topic: The difference of the results of "mixed" and "runmlwin"
Replies: 1
Views: 420

Re: The difference of the results of "mixed" and "runmlwin"

Dear Umitotakao, Thank you for your query. I'm afraid I don't have a good answer for you. However, at least in the example below, mixed and runmlwin provide very similar model-based standard errors to one another and equally they provide very similar cluster-robust standard errors to one another. So...
by GeorgeLeckie
Wed Jan 08, 2020 4:00 pm
Forum: runmlwin user forum
Topic: How can I plot a caterpillar plot using odd ratios
Replies: 3
Views: 424

Re: How can I plot a caterpillar plot using odd ratios

Dear nabilshaaban, You need to first create a dataset with the predicted odds ratio of each hospital and the the associated limits of the 95% CI. Once you have done that you need to plot the results. You can do this with the twoway command and the scatter option for the point estiamates and the rcap...
by GeorgeLeckie
Fri Dec 06, 2019 3:59 pm
Forum: runmlwin user forum
Topic: Four-level CCM, variance components
Replies: 3
Views: 594

Re: Four-level CCM, variance components

Dear dand1994, "I have used: runmlwin s_roa cons, level6(home : cons) level5(firm: cons) level4(industry: cons) level3(host: cons) level2(unit: cons) level1(year: cons) mcmc(cc) initsprevious nopause, although I do not believe it to be forrect" What you have written is correct for a cross-classified...
by GeorgeLeckie
Fri Aug 23, 2019 4:02 pm
Forum: runmlwin user forum
Topic: Inconsistent results from runmlwin and svy:mean
Replies: 2
Views: 1121

Re: Inconsistent results from runmlwin and sys:mean

Dear Sun, Not sure, but am not that experienced in Stata's svyset commands runmlwin should give the same results as Stata's mixed command. So suggest you first compare your svyset method to mixed (where you use the mixed weights options). Assuming mixed and runmlwin give same results, Suggest then t...
by GeorgeLeckie
Thu Aug 01, 2019 3:18 pm
Forum: MLwiN user forum
Topic: Mediation
Replies: 1
Views: 1041

Re: Mediation

Dear Vicky, There is no automation of multilevel mediation analysis in MLwiN. You would need to implement the models and carry out any post-estimation tests by hand. There are no training materials on multilevel mediation analysis in MLwiN that I am aware of though you should be able to replicate th...
by GeorgeLeckie
Tue Jul 23, 2019 9:33 am
Forum: runmlwin user forum
Topic: jackknife replicate weight in runmlwin
Replies: 3
Views: 1453

Re: jackknife replicate weight in runmlwin

Hi Sun Lee, Yes you can specify weights in runmlwin. You need to specify weights at each level in the model. See the help file and search for "weight" to find the weights options. Unfortunately we do not have an example to show you. There is an example in the Stata ME manual for their -mixed- comman...
by GeorgeLeckie
Mon Jul 08, 2019 12:04 pm
Forum: runmlwin user forum
Topic: Mixed-effects, mixed distribution model
Replies: 1
Views: 2656

Re: Mixed-effects, mixed distribution model

Dear Gujarish, No you cannot fit this specific model in MLwiN. For these data, what you could do in MLwiN is fit the analyses in two parts. First, fit a multilevel model for whether peopled walked at all (0 steps vs 1+ steps) Then for the subset who had 1+ steps you could fit a multilevel model for ...
by GeorgeLeckie
Mon Jun 10, 2019 9:09 am
Forum: runmlwin user forum
Topic: autocorrelation problem in within-between random effect model
Replies: 10
Views: 3816

Re: autocorrelation problem in within-between random effect model

Dear umitotakao,

You can specify cluster robust standard errors in runmlwin

See the fpsandwich option

Note. If you wish to exclude the random effect from the model then you will need to constrain this parameter to zero, otherwise MLwiN won't know what the clusters are.

Best wishes

George
by GeorgeLeckie
Mon Apr 01, 2019 1:41 pm
Forum: MLwiN user forum
Topic: Level-2 variance be zero
Replies: 1
Views: 1146

Re: Level-2 variance be zero

Dear Helanidilk, This all sounds fine. Yes, when you set the true cluster variance to be small, in some simulated datasets the estimated cluster variance will be zero. Yes, this is part of the sampling variability of the cluster variance. Note, you should not drop the simulations which give estimate...
by GeorgeLeckie
Tue Dec 18, 2018 4:57 pm
Forum: runmlwin user forum
Topic: Illustrate lower-level interaction by use of a graph similar to margins command
Replies: 2
Views: 1739

Re: Illustrate lower-level interaction by use of a graph similar to margins command

Dear KazimovHH, There is a lot going on here, but at least from a quick scan it looks like you are doing something sensible. You fit your three level model You then set all variables to zero except for the the two variables of interest (one of which is binary, the other continuous) You then predict ...