Hi all,
I've been trying to better understand the covariance structure to select for a multilevel logistic model that includes two random intercepts and a random slope. The data are not repeated measures and the DV is binary. Essentially, the model is:
melogit dv i.iv1 c.iv2 c.iv3 || clustera: || clusterb: iv1
The random slope (iv1) is a binary variable. I'd like to better understand if the best choice is covariance(unstructured) or the default (independent). Reading Rabe-Hesketh & Skrondal as well as some forum posts, it seems that unstructured may be best because of the number of random parameters, but I'm not quite sure. Is it appropriate to run models with both covariance structures and use lrtest to determine which is preferred?
EDIT: Apologies - the title states "random slopes." It should read "random slope"
Related Posts with covariance structure for melogit model with random slopes
Creating a foreach loop for all string values of a variable.Hello, I am looking to code a foreach loop that completes a ustrlen() command for all string values…
Diff in Diff: DRDID and CSDIDDear all Thanks to Prof Baum, the commands drdid and csdid are up. drdid implements the Doubly Robus…
marginal effects command with pwcompareAfter running a xtlogit regression, I was trying to compare the effects of investing on the mental h…
Missing data Treatment in STATA - Zero or BlankDear Statalist, I tried to find the thread of missing data treatment in STATA but I could not find …
on biprobit modelHi everyone, This might seem a silly question but for some reason, I am trying to use biprobit model…
Subscribe to:
Post Comments (Atom)
0 Response to covariance structure for melogit model with random slopes
Post a Comment