Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: graphing normal density


From   Philip Ryan <[email protected]>
To   [email protected]
Subject   Re: st: graphing normal density
Date   Thu, 19 Feb 2004 08:49:38 +1030

or, more directly:

twoway function y=normden(x), range(-4 4)


see p268/269 of the graphics manual for a prettier version.

Phil

At 04:02 PM 18/02/2004 -0600, you wrote:

You can try:

drawnorm x, n(90000) means(0) sds(1) clear
kdensity x

DVM


On Wed, 18 Feb 2004, Richard Sherman wrote:

> Dear Statalist,
>
> I think this has been asked and answered before, but I can't find it...
>
> How can a create a graph of a normal density function in Stata (not a
> histogram of a random normal variable, nor a normal distribution
> overlaid on a histogram, but just the normal curve)?
>
> Thanks,
>
> Richard Sherman
>
> -----------------------------------------------------------------
> Richard Sherman
> Assistant Professor of Political Science
> Maxwell School of Citizenship and Public Affairs
> Syracuse University
> Syracuse, NY 13244
> http://faculty.maxwell.syr.edu/sherman
>
> *
> *   For searches and help try:
> *   http://www.stata.com/support/faqs/res/findit.html
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>

_______________________________________________________________________________
Dimitriy V. Masterov

Work:
Center for Social Program Evaluation
1155 East 60th St. Room 038
Chicago, IL 60637
Work: (773)256-6005
Fax: (773)256-6313

Home:
1312 East 53rd St., Apt.309
Chicago, IL 60615
Mobile: (773)220-2760


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
Philip Ryan
Associate Professor,
Department of Public Health
Associate Dean (Information Technology)
Faculty of Health Sciences
University of Adelaide 5005
South Australia
tel 61 8 8303 3570
fax 61 8 8223 4075
http://www.public-health.adelaide.edu.au/
CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright. If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index