Hello!
I am trying to make a specific type of histogram in Stata 12.1 and am not sure how to get there.
Thus far I have a histogram that looks like this:

Here is my code if it's necessary or there is interest:
I want to overlay a curve that communicates the proportion positive depending on the cutoff used. I saw an example of this graph from the figure below.

Sorry that I couldn't make the photo focus in on the figure because I had to print screen the image. Hopefully that is not distracting.
If you would like to see the paper in which this figure is displayed I am putting the citation below this message.
In this figure they put the frequency on the left and the proportion positive depending on the cutoff of the TST used on the
right hand side. Is a figure like this possible in Stata?
Thanks for any help you can provide! Have a great weekend!
Leo
Figure 1A from
Andrews, Jason R., Mark Hatherill, Hassan Mahomed, Willem A. Hanekom, Monica Campo, Thomas R. Hawn, Robin Wood, and Thomas J. Scriba. "The Dynamics of QuantiFERON-TB Gold In-Tube Conversion and Reversion in a Cohort of South African Adolescents." American journal of respiratory and critical care medicine (2015).
I am trying to make a specific type of histogram in Stata 12.1 and am not sure how to get there.
Thus far I have a histogram that looks like this:
Here is my code if it's necessary or there is interest:
Code:
histogram manres if manres<80, freq xtitle("Tuberculin Skin Reaction Size, millimeters") color(green) lcolor(black) xlabel(0(10)35) ylabel(0(50)200)
I want to overlay a curve that communicates the proportion positive depending on the cutoff used. I saw an example of this graph from the figure below.
Sorry that I couldn't make the photo focus in on the figure because I had to print screen the image. Hopefully that is not distracting.
If you would like to see the paper in which this figure is displayed I am putting the citation below this message.
In this figure they put the frequency on the left and the proportion positive depending on the cutoff of the TST used on the
right hand side. Is a figure like this possible in Stata?
Thanks for any help you can provide! Have a great weekend!
Leo
Figure 1A from
Andrews, Jason R., Mark Hatherill, Hassan Mahomed, Willem A. Hanekom, Monica Campo, Thomas R. Hawn, Robin Wood, and Thomas J. Scriba. "The Dynamics of QuantiFERON-TB Gold In-Tube Conversion and Reversion in a Cohort of South African Adolescents." American journal of respiratory and critical care medicine (2015).
Comment