I'm interested in combining outcome variables after running the command: mlogtest, combine
My data is as follows
. dataex CSA $X2list in 1/10
----------------------- copy starting from the next line -----------------------
The results of mlogtest, combine command is as follows;
. mlogtest, combine
Wald tests for combining alternatives (N=447)
Ho: All coefficients except intercepts associated with a given pair
of alternatives are 0 (i.e., alternatives can be combined)
| chi2 df P>chi2
-----------------+-------------------------
FoVoCo & F1VoCo | 14.035 6 0.029
FoVoCo & FoV1Co | 5.612 6 0.468
FoVoCo & FoVoC1 | 13.790 6 0.032
FoVoCo & F1V1Co | 6.722 6 0.347
FoVoCo & F1VoC1 | 32.485 6 0.000
FoVoCo & FoV1C1 | 38.973 6 0.000
FoVoCo & F1V1C1 | 34.625 6 0.000
F1VoCo & FoV1Co | 14.468 6 0.025
F1VoCo & FoVoC1 | 20.372 6 0.002
F1VoCo & F1V1Co | 11.974 6 0.063
F1VoCo & F1VoC1 | 6.962 6 0.324
F1VoCo & FoV1C1 | 30.602 6 0.000
F1VoCo & F1V1C1 | 26.501 6 0.000
FoV1Co & FoVoC1 | 10.893 6 0.092
FoV1Co & F1V1Co | 4.004 6 0.676
FoV1Co & F1VoC1 | 22.222 6 0.001
FoV1Co & FoV1C1 | 10.876 6 0.092
FoV1Co & F1V1C1 | 12.591 6 0.050
FoVoC1 & F1V1Co | 3.701 6 0.717
FoVoC1 & F1VoC1 | 50.407 6 0.000
FoVoC1 & FoV1C1 | 39.307 6 0.000
FoVoC1 & F1V1C1 | 31.340 6 0.000
F1V1Co & F1VoC1 | 9.935 6 0.127
F1V1Co & FoV1C1 | 2.042 6 0.916
F1V1Co & F1V1C1 | 1.371 6 0.968
F1VoC1 & FoV1C1 | 63.720 6 0.000
F1VoC1 & F1V1C1 | 49.980 6 0.000
FoV1C1 & F1V1C1 | 8.244 6 0.221
This results indeed indicates that some outcomes must be combined. Kindly assist me learn how to combine the outcomes.
Thank you
My data is as follows
. dataex CSA $X2list in 1/10
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float CSA double(LnRainfall LnTempMax) byte(ReceiveEW DairySystm CoopMember) 4 7.30459072871209 3.2576040571261 1 1 1 4 7.3047311520909 3.25763483969567 1 1 0 4 7.30484719693626 3.25765065610546 1 1 0 4 7.30485105190397 3.25765132788405 1 1 0 4 7.30486224337103 3.25765461388177 1 1 0 4 7.30486569715882 3.26845600368271 0 3 0 4 7.30502120808853 3.25768208097711 0 2 0 3 7.30547671743472 3.26833016211082 0 1 0 4 7.30557414347333 3.26833833888383 0 2 0 1 7.30587754809625 3.25783774133195 1 1 0 end label values CSA CSA label def CSA 1 "FoVoCo", modify label def CSA 3 "FoV1Co", modify label def CSA 4 "FoVoC1", modify
. mlogtest, combine
Wald tests for combining alternatives (N=447)
Ho: All coefficients except intercepts associated with a given pair
of alternatives are 0 (i.e., alternatives can be combined)
| chi2 df P>chi2
-----------------+-------------------------
FoVoCo & F1VoCo | 14.035 6 0.029
FoVoCo & FoV1Co | 5.612 6 0.468
FoVoCo & FoVoC1 | 13.790 6 0.032
FoVoCo & F1V1Co | 6.722 6 0.347
FoVoCo & F1VoC1 | 32.485 6 0.000
FoVoCo & FoV1C1 | 38.973 6 0.000
FoVoCo & F1V1C1 | 34.625 6 0.000
F1VoCo & FoV1Co | 14.468 6 0.025
F1VoCo & FoVoC1 | 20.372 6 0.002
F1VoCo & F1V1Co | 11.974 6 0.063
F1VoCo & F1VoC1 | 6.962 6 0.324
F1VoCo & FoV1C1 | 30.602 6 0.000
F1VoCo & F1V1C1 | 26.501 6 0.000
FoV1Co & FoVoC1 | 10.893 6 0.092
FoV1Co & F1V1Co | 4.004 6 0.676
FoV1Co & F1VoC1 | 22.222 6 0.001
FoV1Co & FoV1C1 | 10.876 6 0.092
FoV1Co & F1V1C1 | 12.591 6 0.050
FoVoC1 & F1V1Co | 3.701 6 0.717
FoVoC1 & F1VoC1 | 50.407 6 0.000
FoVoC1 & FoV1C1 | 39.307 6 0.000
FoVoC1 & F1V1C1 | 31.340 6 0.000
F1V1Co & F1VoC1 | 9.935 6 0.127
F1V1Co & FoV1C1 | 2.042 6 0.916
F1V1Co & F1V1C1 | 1.371 6 0.968
F1VoC1 & FoV1C1 | 63.720 6 0.000
F1VoC1 & F1V1C1 | 49.980 6 0.000
FoV1C1 & F1V1C1 | 8.244 6 0.221
This results indeed indicates that some outcomes must be combined. Kindly assist me learn how to combine the outcomes.
Thank you
Comment