I am using predict in Stata 17.0 after logit regression. I am trying to create predictions of 1 or 0 instead of probabilities of 1. Can specifications be made using predict which are not covered in the literature to change the response scale? Is there another program for this purpose?
logit outcome_decisive rebstrength_1 lmtnest thirdparty popcategory polity2 efindex i.Oil i.ConflictIntensity i.ethnic lgdp_percap i.terrcont_1, or vce(cluster conflictep_id)
predict pr1
summarize outcome_decisive pr1
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
outcome_de~e | 383 .464752 .4994084 0 1
pr1 | 1,582 .414112 .2158658 .0391781 .9871149
logit outcome_decisive rebstrength_1 lmtnest thirdparty popcategory polity2 efindex i.Oil i.ConflictIntensity i.ethnic lgdp_percap i.terrcont_1, or vce(cluster conflictep_id)
predict pr1
summarize outcome_decisive pr1
Variable | Obs Mean Std. dev. Min Max
-------------+---------------------------------------------------------
outcome_de~e | 383 .464752 .4994084 0 1
pr1 | 1,582 .414112 .2158658 .0391781 .9871149
Comment