[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: Superimposed graphs
> I would like to compare the normal curves for a number of
> parameters by
> having the one graph with the normal curves superimposed.
> Is there a way of doing this in Stata?
> Also, is there a way of graphing normal curves without the
> (bin doesn't help)?
You are referring to Stata 7, it seems.
If you have several means and standard deviations,
you just need to use -range- to set a variable
with desired range and use the -normden()- function.
set obs 1001
range x 0 10
gen n1 = normden(x-5,1)
gen n2 = normden(x-4,0.8)
gen n3 = normden(x-6,1.2)
graph n? x , c(sss) s(iii)
* For searches and help try: