Question
The R function runif(10, min=0, max=1) generates 10 random numbers uniformly distributed between 0 and 1. Generate 1000 random numbers uniformly distributed between 0 and
The R function runif(10, min=0, max=1) generates 10 random numbers uniformly distributed between 0 and 1. Generate 1000 random numbers uniformly distributed between 0 and 3 and save them in a vector. Compute the mean of these numbers. Is the computed value of the mean acceptable?
The R function rnorm(10, mean=0,sd=1) generates 10 random numbers with mean = 0 and standard deviation = 1. Generate 1000 random numbers with mean = 150, sd = 9 and save them in a vector. Compute the mean and the standard deviation of these numbers. Are the computed values of these two numbers acceptable?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started