<>
<>
This is for Stata 10 and assuming you want normally distributed random
variables.
/* begin */
clear*
set seed 12345
set obs 20
g var1 = rnormal(15, 4)
g var2 = rnormal(18, 6)
summ
/* end */
T
On Sun, May 24, 2009 at 8:15 AM, Nikolaos Pandis <[email protected]> wrote:
> Hi,
>
> I would like to ask for help in the following:
>
> I would like to generate a small dataset with 2 columns:
> column 1: observations 20, mean= 15, sd= 4
> column 2: observations 20, mean=18, sd=6
>
> How would I do that?
>
> Many thanks in advance.
>
> Nick
>
>
>
> *
> * 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/
>
--
To every ω-consistent recursive class κ of formulae there correspond
recursive class signs r, such that neither v Gen r nor Neg(v Gen r)
belongs to Flg(κ) (where v is the free variable of r).
*
* 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/