Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

About 500 children were randomized into four nutritional groups: calorie, milk, meat, and control. The 0-1 variable malaria shows whether a child had malaria. The

About 500 children were randomized into four nutritional groups: calorie, milk, meat, and control. The 0-1 variable malaria shows whether a child had malaria. The dummy variable boy indicates a child's gender. The variable month is time in months elapsed since recruitment. The sin variable should be interpreted as sin(2 month/12), and cos should be similarly interpreted. The three dummy variables, calorie, meat, milk, identifies the group into which a child was randomized. We consider the following logit model. = 0 + 1baselineAge + 2Boy + 3 sin +4 cos +slopegrp month (1) Here, slopegrp signifies a group-dependent slope. That is, aside from seasonal cycles, there is a linear temporal trend within each nutritional group. To put it in still another way, your model should contain a common intercept but 4 distinct slopes.(with SAS) 1. Fit a random intercept logit model according to equation (1). using proc glimmix, would this set up the model correctly? I'm not sure if my model statement is correct proc glimmix data=one method=quad(qpoints=21) noclprint ; class id; model malaria (descending) = age_baseline boy sin cos calorie*month meat*month milk*month / s dist=binary link=logit; random intercept / s sub=id type=un; run;

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential Calculus Early Transcendental Functions

Authors: Ron Larson, Robert P. Hostetler, Bruce H. Edwards

1st Edition

618879188, 618879182, 978-0618879182

More Books

Students also viewed these Mathematics questions