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, is already up and running.

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

st: draw overlapping normal densities

From   "Cohen, Elan" <>
To   "" <>
Subject   st: draw overlapping normal densities
Date   Tue, 13 Jul 2010 15:55:27 -0400

Hi all,

I'd like to draw two overlapping Normal densities based on 2 sets of population means and sds.  For example:

sysuse auto
su price if !foreign , meanonly
local mean0 = r(mean)
local sd0 = r(sd)
su price if foreign , meanonly
local mean1 = r(mean)
local sd1 = r(sd)

This is where I'd like to draw a normal curve based on (mean0, sd0) and another based on (mean1, sd1).  Any help would be appreciated.


- Elan

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index