Question

PLEASE USE R CODE!! Continue to generate standard normal random variables until you have generated n...

PLEASE USE R CODE!!

Continue to generate standard normal random variables until you have generated n of them, where n≥100 is such that S/sqrt(n) <0.1, where S is the sample standard deviation of the n data value.

(a)How many normals do you think will be generated?

(b)What is the sample mean of all the normals generated?

(c)What is the sample variance?

Homework Answers

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. Variance of normal random variables. a. Run a simulation to determine what is the standard...
1. Variance of normal random variables. a. Run a simulation to determine what is the standard deviation of the sum of 16 standard normal variables. Make sure that you run a sufficient number of simulations so that your answer is stable (e.g., run the simulation a few times to make sure the answer comes up about the same). Include both your code and answer in your solutions. b. Given the results of your simulation, what do you think is the...
Use R to code a function to generate a random sample of size n from the...
Use R to code a function to generate a random sample of size n from the Beta(a, b) distribution by the acceptance-rejection method. (1) Generate a random sample of size 3000 from the Beta(4,3) distribution. (2) Graph the histogram of the sample with the theoretical Beta(4,3) density superimposed. Answer the above questions by showing the R codes and results.
4. Using R code, compare the pdfs of three normal random variables, one with mean 1...
4. Using R code, compare the pdfs of three normal random variables, one with mean 1 and standard deviation 1, one with mean 1 and standard deviation 10, and one with mean -4 and standard deviation 1. Thank you
Generate a data set from a normal distribution. Then you can apply bootstrap method to the...
Generate a data set from a normal distribution. Then you can apply bootstrap method to the generated data to obtain the empirical distribution of the coefficient of variation: sample standard deviation over sample mean, that is cv = s/¯ x. Describe this distribution. Also please describe the algorithm and attach the R code
(1) Generate 80 normally distributed random variables with the mean 30 and the standard deviation 8,...
(1) Generate 80 normally distributed random variables with the mean 30 and the standard deviation 8, and store them in the vector ‘rand.vec. Then plot their empirical distribution function. (2) Given a normal distribution with the mean 30 and the standard deviation 8, find the two values of x that contain the middle 70% of the normal curve area. (3) Calculate the probability for 2.5 < X < 10 in a Poisson distribution with the mean 6 use in R...
Use the programming language R to code the following project.. * Make sure you turn in...
Use the programming language R to code the following project.. * Make sure you turn in your code and answers from each question. (not the raw data). 1. Generate 1000 random samples of size 40 from the normal distribution with mean µ = 3 and standard deviation σ = 2. Compute 95% the confidence interval of 1000 samples and find the rate of confidence interval contains the true mean. What did you learn from this simulation study? 2. For each...
using r (include all code and packages used) Generate 25 variables, each of which consists of...
using r (include all code and packages used) Generate 25 variables, each of which consists of 25 random samples from a standard normal. Store these variables in a data frame – call it df.train – and randomly select one variable to be the response – rename it y. (The end result should be a data frame with 25 observations on 25 variables but with no relationships between any of the variables.) Repeat step (a) to create a test set called...
Use either R or Excel for the following. Provide the formulas or code that you are...
Use either R or Excel for the following. Provide the formulas or code that you are using. Let x1 be a random variable that is N(100, 225). Let x2 be a random variable that is U(50,150) and let x3 be a random variable that is U(500,1500). Set Y = (X1)(X2)/ (X3) a) Use R to create 500 random numbers of each type (X1, X2, X3 and Y). b) Estimate P(0.1 < Y < 0.25) c) Estimate E(Y) and the Standard...
Suppose that the random sample is taken from a normal distribution N(8,9), and the random sample...
Suppose that the random sample is taken from a normal distribution N(8,9), and the random sample is between 1 to 25. Find the distribution of the sample mean. Find probability that the sample mean is less than or equal to 8.8 and the sample variance is less than or equal to 12.45, where the probabilities are independent. Find probability that the sample mean is less than 8+(.5829)S, where S is the sample standard deviation.
Suppose X is a Normal random variable with with expected value 31 and standard deviation 3.11....
Suppose X is a Normal random variable with with expected value 31 and standard deviation 3.11. We take a random sample of size n from the distribution of X. Let X be the sample mean. Use R to determine the following: a)  What is the standard deviation of X when n = 19? b) What is the probability that X1 + X2 + ... +X20 > 630? PLEASE ANSWER IN R SCRIPT