Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down at the end of May, and its replacement, **statalist.org** is already up and running.

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

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: plot population distribution over sample histogram |

Date |
Thu, 2 Jun 2011 21:07:05 +0100 |

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/

**Follow-Ups**:**Re: st: plot population distribution over sample histogram***From:*jacques detiege <pies.stata@gmail.com>

**References**:**st: plot population distribution over sample histogram***From:*jacques detiege <pies.stata@gmail.com>

- Prev by Date:
**st: Looping or macro needed???** - Next by Date:
**Re: st: Looping or macro needed???** - Previous by thread:
**st: plot population distribution over sample histogram** - Next by thread:
**Re: st: plot population distribution over sample histogram** - Index(es):