Hi George,
I have figured out why the MLwiN crash. However, I want to ask for some clarifications to make sure I did not do it in a wrong way.
Suppose I have 3 dummy variables (
edu2,
edu3 and
edu4) for the categorical variable
edu (with 4 categories) and I want to calculate the predicted probability for the four dummies on the outcome (with 3 categories: very low, low, some (high is used as referenced), so this is what I'm doing now:
- Select customised predictions from model menu
- For dummy variable edu2, I change the range to 2 values (0 and 1)
- For dummy variable edu3, I change the range to 2 values (0 and 1)
- For dummy variable edu4, I change the range to 2 values (0 and 1)
- I leave other variables at their means (even they are dummies)
- Check Median under Predictions to
- Click Fill Grid and click Predictions
The resulting prediction table has 24 rows.
I'm not sure which rows are the cumulative predicted probabilities that I need. Should I only consider these 12 rows?
Code: Select all
outcome edu2.pred edu3.pred edu4.pred median.pred
v low 0 0 0 0.404825
low 0 0 0 0.909902
some 0 0 0 0.993264
v low 1 0 0 0.454619
low 1 0 0 0.925090
some 1 0 0 0.994399
v low 0 1 0 0.343601
low 0 1 0 0.886221
some 0 1 0 0.991421
v low 0 0 1 0.341411
low 0 0 1 0.885214
some 0 0 1 0.991341
Do the first three rows represent the (cumulative) predicted probability for edu1? the 4th-6th row represent the (cumulative) predicted probability for edu2 and etc.?
Thank you very much.
Regards,
Vivian