Lee Chuntao
>
> 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:
>
>
> clear
> 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
> rude
>
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.
Nick
[email protected]
*
* 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/