[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: RE: 2 Prof. Nick
> therotically we can learn everything from the manual.
> in this regard, the list is needless
> i think the answer of the type nick gave me should be band.
> 1 can answer my question in detail, or don't bother to answer.
> actually i have written the following code to generate the
> bell curve, i
> just don't know if there are short ways:
> set obs 1000
> gen t = (uniform()-.5)*7
> gen x = sqrt(2*_pi)*exp(-t^2/2)
> sort t
> gr x t, c(l) symbol(i) pen(6)
> i am afraid that someone who always answer questions
> without detail is 2
I'd let others comment if they so wish on issues of fact, of
principle and indeed of etiquette raised here.
In terms of your specific solution,
. range t -3.5 3.5
is an alternative to the generation of random
numbers while -normden()- is a built-in function
for the normal density.
* For searches and help try: