I have installed the package pmcalplot in my Stata version 18, to help me with the calibration plot for my risk prediction model. I have run into an error (see below) when I run the commands. The same error shows with my data buut also with the data provided in the package. Below are the steps
webuse lbw, clear
gen val = runiform()<.4
logistic low age lwt i.race smoke ptl ht ui if val==0
predict p_dev
When i run the next command I get the error message
pmcalplot p_dev low if val==0, ci
The error message is shown next:
Binary option selected: Calibration plot for logistic prediction model displaying...
command running is unrecognized
r(199);
How can I proceed?
webuse lbw, clear
gen val = runiform()<.4
logistic low age lwt i.race smoke ptl ht ui if val==0
predict p_dev
When i run the next command I get the error message
pmcalplot p_dev low if val==0, ci
The error message is shown next:
Binary option selected: Calibration plot for logistic prediction model displaying...
command running is unrecognized
r(199);
How can I proceed?
Comment