Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: plot population distribution over sample histogram


From   jacques detiege <[email protected]>
To   [email protected]
Subject   Re: st: plot population distribution over sample histogram
Date   Tue, 7 Jun 2011 13:49:29 -0500

Sorry for the late reply,  was on vacation the last few days.

Thanks that was a great help.


On Thu, Jun 2, 2011 at 3:07 PM, Nick Cox <[email protected]> wrote:
> Some technique
>
> . sysuse auto
> (1978 Automobile Data)
>
> . histogram mpg , addplot(function normalden(x,26,10), ra(10 42))
>
> But -qnorm- is a better method in my view.
>
> Nick
>
> On Thu, Jun 2, 2011 at 8:11 PM, jacques detiege <[email protected]> wrote:
>
>> I would like to plot the normal curve for my population (mean=80,
>> SD=10) over a histogram for a set of sample scores.
>> I have only been able to produce the normal distribution of my sample
>> data over the histogram.
>> Using Stata, how would I produce a graph of both the normal curve for
>> the population and the histogram for the sample data?
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Jacques J Detiege, MEd
Xavier University of Louisiana
JDetiege @ XULA . edu

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index