In: Statistics and Probability
r programming
generate 100 samples of size n= 5 from a normal random variable with u=2, o= 3 in r
To generate 100 samples of size 5 we need to use rnorm(number of values required, mean, SD). And we need to call this into matrix function which divide total observations in sample of size 5.
Following is the screen shot of R script:
Following is the screen shot of some part of output: