Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: plot population distribution over sample histogram


From   jacques detiege <pies.stata@gmail.com>
To   statalist@hsphsun2.harvard.edu
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 <njcoxstata@gmail.com> 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 <pies.stata@gmail.com> 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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index