Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: AW: drawnorm for discrete variables


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   st: AW: drawnorm for discrete variables
Date   Fri, 30 Apr 2010 13:30:11 +0200

<> 


What do you want your _discrete_ normal variable to look like in theory? As
in:


*****
clear*
set obs 10000
gen mydiscrvar=irecode(rnormal(),-4,-3,-2,-1,0,1,2,3,4)
hist mydiscrvar
*****



HTH
Martin

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Tyler Frazier
Gesendet: Freitag, 30. April 2010 12:50
An: [email protected]
Betreff: st: drawnorm for discrete variables

Whats the best way to drawnorm for discrete variables in stata -- for
example ethnicity, education, religion, occupation, etc...

Thank you,
Ty Frazier
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index