Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/Random-numbers/SAS/random-numbers.sas
Normal file
12
Task/Random-numbers/SAS/random-numbers.sas
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* Generate 1000 random numbers with mean 1 and standard deviation 0.5.
|
||||
SAS version 9.2 was used to create this code.*/
|
||||
|
||||
data norm1000;
|
||||
call streaminit(123456);
|
||||
/* Set the starting point, so we can replicate results.
|
||||
If you want different results each time, comment the above line. */
|
||||
do i=1 to 1000;
|
||||
r=rand('normal',1,0.5);
|
||||
output;
|
||||
end;
|
||||
run;
|
||||
Loading…
Add table
Add a link
Reference in a new issue