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: How to generate conditional random numbers?


From   Grace Jessie <[email protected]>
To   <[email protected]>
Subject   st: How to generate conditional random numbers?
Date   Sun, 16 Jan 2011 13:35:50 +0000

Dear statalists,
I have a variable x generated randomly ranging from 85 to 95.
Now I want to generate three variables whose mean equals x and they are all on the interval [80,95).
How to generate these conditional variables randomly?
 
Thanks!
 
Grace
  		 	   		  
*
*   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