Dear all, thanks in advance.
I have an issue that freaks me out.
I wonder if I'm wrong to set up the cross-structure of my data.
I have a study in which I have 500 surgeons (ID variable 1-500) in which a binary "success" outcome is measured.
"Success" is measured for each surgeon in a condition (surgery schedule: morning, afternoon, evening Variable "schedule") crossed with the variable "assisting by another surgeon" (variable "assisted". Three levels: no assistance, one surgeon, two surgeons).
In the model I also correct for hypothetical variables predicting the outcome.
After transforming the dataset to long and assuming an exchangeable matrix between random effects, the command I use is:
xi: melogit success i.schedule##i.assisted continuouspredictor i.categoricalpredictor || _all: R.schedule: || assisted:, or cov (exc)
It does not converge in any way or in any case takes a full day.
If, on the other hand, I consider the factors "schedule" and "assisted" nested and not crossed (ie I remove _all: R.) The model converges and gives me interpretable results.
Does anybody have ideas?
Thanks again!
Gianfranco
Related Posts with melogit with crossed (non nested!) factors does not work
why the bias corredted confidence interval is missing?Hi all, why the confidence interval after bootstraping is missing? Code: * Example generated by -…
Just trying to compute least square means for a repeated measures ANOVA!I can't get adjusted means for both treatment conditions (drug and placebo) across three time points…
Twoway graph X axisHi all, Would anyone know whether there is a similar over () function such as with the graph bar (a…
Creating Lagged variables with repeated valuesDear all, I wanted help in creating lagged variables when there are repeated values in the dataset.…
Specifying IV with panel data, binary treatment and binary/count outcomeDear all Statalisters I am working on an application of an instrumental variable (IV) approach to a…
Subscribe to:
Post Comments (Atom)
0 Response to melogit with crossed (non nested!) factors does not work
Post a Comment