I am working with a dataset in Stata 15.1 using the melogit command. My data structure is:
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input long location float(patient_tech_ratio major_error_event) 1 2.75 0 1 2.75 0 1 3 0 1 2.25 0 2 2.25 0 1 3 0 2 3 0 1 3 0 1 1.5 0 1 2.5 0 1 2.3333333 0 1 2 0 1 3 0 1 2.75 0 1 3 0 1 2.5 0 2 3 0 1 2.3333333 0 1 3 0 1 3 0 end label values location location label def location 1 "Cornell", modify label def location 2 "OVC", modify
where major_error_event is binary and patient_tech_ratio is theoretically continuous. I want to determine the location averaged estimated patient_tech_ratio and 95% CI for this estimate that the model predicts would result in a probability of a major error event of 0.1. I can back calculate by hand from the model output, but is there an easier way?
0 Response to How to determine the magnitude of a continuous predictor (and 95% CI) associated with a specific probability after logistic?
Post a Comment