Statalist


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

AW: AW: st: AW: Hello listers


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: AW: st: AW: Hello listers
Date   Tue, 13 Oct 2009 17:20:30 +0200

<> 


It is particularly irksome when people put their reply at the very bottom,
below all the previous stuff...



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Lachenbruch,
Peter
Gesendet: Dienstag, 13. Oktober 2009 17:19
An: [email protected]
Betreff: RE: AW: st: AW: Hello listers

Please do not repeat lengthy previous posts.  You can delete all that
isn't relevant.

Tony

Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Evans Jadotte
Sent: Tuesday, October 13, 2009 7:32 AM
To: [email protected]
Subject: Re: AW: st: AW: Hello listers

Martin Weiss wrote:
> <> 
>
> -cumul- takes given values and forms the cumulative distribution
function.
> These values could be distributed according to any density. -normal-
gives
> you the cumulative of the normal, and -normalden- gives you the
density
> function of the normal.
>
> *************
> clear*
> set obs 10000
>
> gen x=-5+10*runiform()
>
> gen z=normalden(x)
> cumul z, gen(cumz)
>
> line z x, sort name(den, replace) /* 
> */ nodraw
>
> gen y=rnormal()
>
> cumul y, gen(cumy)
>
> line cumy y, sort name(cumul, replace) /* 
> */ nodraw
>
> gr combine den cumul
> *************
>
> Note the -egen, std()- function for your standardization purposes
(such as
> your x and z)...
>
> HTH
> Martin
Many lines deleted
   
Many thanks Martin!

Simple stuff can sometimes make one lose precious time when knowledge is

lacking!

Evans
*
*   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/


*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index