A question about CCMM with runmlwin

Welcome to the forum for runmlwin users. Feel free to post your question about runmlwin here. The Centre for Multilevel Modelling take no responsibility for the accuracy of these posts, we are unable to monitor them closely. Do go ahead and post your question and thank you in advance if you find the time to post any answers!

Go to runmlwin: Running MLwiN from within Stata >> http://www.bristol.ac.uk/cmm/software/runmlwin/
Post Reply
auctor21
Posts: 13
Joined: Wed Nov 16, 2016 6:36 am

A question about CCMM with runmlwin

Post by auctor21 » Tue May 15, 2018 8:47 am

I am currently analyzing Cross Classified Multiple Membership Growth Curve Model using runmlwin.
And I used Professor Bess Rose's data and runmlwin code for this study.
My question is about ID at Level1.
That is, what code should be used for runmlwin at level 1 and what the structure of the data should be
Bess Rose's runmlwin code is below

runmlwin gpa cons time, ///
level4(firstsch: cons time) level3(subsch1: time) level2(id: cons time)
level1(lev1_id: cons) nopause

Bess used the sign "lev1_id" as the at Level1. But I could not understand the exact data of it.
The first level of data structure Bess Rose has shown for each id gives a variety of values.(refernce. attached file)

In general, in the case of the multi-level growth model, the first level is the measurement point(or occasion), the second level is the individual, and the third level is the group.
If so, should not level 1 be the measurement point, or occation value?

My model is the same as the picture file shown below.(refernce. attached file)

I am writing the following runmlwin code based on my data.

runmlwin dependent cons time, ///
level4(firstsch: cons time) level3(subsch1: time) level2(id: cons time)
level1(???: cons) nopause

What should be the level 1 value(in other words, ???) here?
And What is the actual value of the data?
If each id has 4 viewpoints, is it a value between 0 and 3?
Or should there be a different value?

Can anyone advise please?
Many thanks
Attachments
bess01.png
Bess Rose's data structure
bess01.png (171.06 KiB) Viewed 220 times
level.png
My research model
level.png (20.54 KiB) Viewed 220 times

GeorgeLeckie
Site Admin
Posts: 414
Joined: Fri Apr 01, 2011 2:14 pm

Re: A question about CCMM with runmlwin

Post by GeorgeLeckie » Tue May 15, 2018 12:27 pm

Dear Auctor,

The level-1 ID is not actually used by MLwiN, but conceptually the occasion number is the relevant variable to put at the level-1 ID.

Note, you will also need to declare the model to be cross-classified, specify the multiple membership strucutre and weights, and fit the model by MCMC.

See the following

http://www.bristol.ac.uk/cmm/media/runm ... Models.log

http://www.bristol.ac.uk/cmm/media/runm ... Models.log

Best wishes

George

auctor21
Posts: 13
Joined: Wed Nov 16, 2016 6:36 am

Re: A question about CCMM with runmlwin

Post by auctor21 » Thu May 17, 2018 3:00 pm

Thank you

I would like to ask you a little more specifically.

The files you suggested are basically code for multi-level models.

But what I would like to ask you for....
Could you please provide an example of the code and data of runmlwin in the growth model?

Thank you professor.

Post Reply