Hello R-helpers,

I need to generate standard variates normal to 'create' chi-squared variates. 
To make you more understand,

(1)   a<-rnorm(3,0,1)

*after do (1), I need to squared and summed the three values. My problem is, 
how am I going to continue the programming if I had to repeat the process for 
15 times, which in the end I will get 15 values from the whole programme.Hope 
you can help. 


Sincerely,
Agnes
        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to