Hi all,
I am trying to combine 2 plots (attached) that show observed versus predicted value of a previously established score. First plots is the plot before and the second plot after recalibration.
* Validation
* Recalibration
I would like to overlie this two plots and have tried the following, which didnt work at all:
The following, which I found on the forum, gave me both graphs side by side (attached):
But I would like to have them overlying each other
I have read the information in "help addplot" and "help graph combine" and have read the posts in the forum but I can't make it work.
I am using stata 15.
Thanks for any help.
I am trying to combine 2 plots (attached) that show observed versus predicted value of a previously established score. First plots is the plot before and the second plot after recalibration.
* Validation
Code:
hl Indepat30d ICHgsscore_funcout_p, q(ICHgsscore) plot
Code:
logistic Indepat30d ICHgsscorefunclo, coef hl, q(ICHgsscore) plot
Code:
hl Indepat30d ICHgsscore_funcout_p, q(ICHgsscore) plot || hl, q(ICHgsscore) plot hl Indepat30d ICHgsscore_funcout_p, q(ICHgsscore) plot [addplot hl, q[ICHgsscore] plot]
Code:
graph combine "Graph ICHGS for mort obs vs pred before recal, 09.05.2018.gph" "Graph ICHGS for mort obs vs pred after recal,09.05.2018.gph"
I have read the information in "help addplot" and "help graph combine" and have read the posts in the forum but I can't make it work.
I am using stata 15.
Thanks for any help.