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

# st: AW: how to find the integral for a portion of a normal distribution.

 From "Martin Weiss" To Subject st: AW: how to find the integral for a portion of a normal distribution. Date Tue, 4 May 2010 09:38:42 +0200

```<>

Have you had a look at -h integ- yet?

HTH
Martin

-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Buzz Burhans
Gesendet: Dienstag, 4. Mai 2010 04:58
An: statalist@hsphsun2.harvard.edu
Betreff: st: how to find the integral for a portion of a normal
distribution.

My weak math skills are showing up here -

For demonstration purposes, I have generated a set of 100,000 observations
with a normal distribution, mean 2.02, SD 1.74 and visualized this data and
the portion of observations above 1  with a histogram

drawnorm x , means(2.02) sds(1.75) n(100,000) clear
hist, xline(1)

I also computed the proportion of the observations <=1 from the Z score.

What I don't know how to do in Stata is find the integral for the
proportions of the distribution above and below 1.

How can I determine those two integrals in Stata?

Thanks

Buzz Burhans, Ph.D.

Dairy-Tech Group
So. Albany, VT / Twin Falls ID

Phone: 802-755-6842
Cell: 208-320-0829
Fax VT: 802-755-6842
Fax ID: 208-735-1289

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```