Hi, I am an undergraduate student attempting repeat measure multilevel modelling for my dissertation and would really appreciate help in producing the code for my project!
I am studying protein intake of high school students and seeing whether breakfast, lunch or dinner provides the most protein. I'm planning on doing this through regression using the overall daily protein intake.
I have collected their intake over two 24 hour periods (therefore have repeated measures data.)
My fixed explanatory variables are mealtimes (breakfast, lunch, dinner) and my levels are level 2 (day of observation (either first or second 24hr period)), level 3 ( Pupil Number) and level 4 (School).
My fixed covariates are sociodemographic variables such as age, gender however I'm struggling to understand how I fit these into the model
Currently i'm doing:
xtmixed TotalProtein_ Breakfast_ Lunch_ Dinner_ || Sch: || PupilN: || DayObs:
but i don't know how to account for my fixed covariates- any help would be VERY appreciated.
Related Posts with Fixed Covariates
Interpreting an Statistically Insignifcant interaction of a classical DID analysisDear Stata Members Based on the below result, I have the following questions Code: reghdfe lever_w…
x*x Frequency Table Across A VariableHi Everyone, I am working with a datset that has following variables: 1) mrn: unique identifier 2)…
rifhdreg svy optionDear list members, I have been using the rifhdreg command a lot and it worked out very well. The ba…
Finding the two binary variables most frequently equalling one together across a set of binary variablesHi I have a dataset in which the unit of analysis is individual citizens. I then have a large numbe…
Confirmatory Factor Analysis (CFA) with single-item scalesHi everyone, I am interested in running a confirmatory factor analysis (CFA) to SEM model with five …
Subscribe to:
Post Comments (Atom)
0 Response to Fixed Covariates
Post a Comment