Question

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

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?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

hlo we may enerake 100 nomag. fsom skandd norH3 f Column1 1.798198 -0.44769 0.58881 0.15581 2.10724 0.50085 0.76118 2.48041 2.42184 1.169215 0.36108 0.336447 0.8679 -0.48c) Sample varas lance-o-qqq604

Add a comment
Know the answer?
Add Answer to:
PLEASE USE R CODE!! Continue to generate standard normal random variables until you have generate...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 1. Let Xi, X2,... be independent random variables each with the standard normal distribution, and for...

    1. Let Xi, X2,... be independent random variables each with the standard normal distribution, and for each n 2 0 let Sn-1 Xi. Use importance sampling to obtain good estimates for each of the following probabilities: (a) Pfmaxn<100 Sn> 10; and (b) Pímaxns100 Sn > 30) HINTS: The basic identity of importance sampling implies that d.P n100 where Po is the probability measure under which the random variables Xi, X2,... are independent normals with mean 0 amd variance 1. The...

  • Exercise 2. Use R script please Advanced Math use R studio I would like to see...

    Exercise 2. Use R script please Advanced Math use R studio I would like to see a very well documented pdf file with your comments on the steps, and the complete information on your generated sample. Thank you! NOTE for R users: Please export your generated sample as a .csv file (or Rdata file if you prefer). You can find some useful info here. Exercise 2 (20pt). Generate a random sample of size 25 from a normal distribution with mean...

  • 1. Let X1, X2,... be independent random variables each with the standard normal distribution, and for...

    1. Let X1, X2,... be independent random variables each with the standard normal distribution, and for each n 0 let Sn 너 1 i. Use importance sampling to obtain good estimates for each of the following probabilities: (a) P[maxns 100 Sn > 10); and (b) P[maxns100 Sn > 30 HINTS: The basic identity of importance sampling implies that n100 where Po is the probability measure under which the random variables Xi, X2,... are independent normals with mean 0 amd variance...

  • What is the code and result in Rstudio or R 1. Suppose we have a random...

    What is the code and result in Rstudio or R 1. Suppose we have a random sample 1.12, 0.44, -1.49, 0.02, 0.81, -1.34,1.34, 0.51,-0.12, 0.97. (a). Use two methods to find the sample mean (b). Use two methods to find the sample variance. (c). Find the sample standard deviation. 2. We can use function rt(n 100, df 2) to generate a random sample from a t-distribution with two degrees of freedom. The sample size is n 100. (a). Generate a...

  • R Programming Exercise Book Problem 57 (Difficulty: Easy) A normal distribution has a standard deviation of...

    R Programming Exercise Book Problem 57 (Difficulty: Easy) A normal distribution has a standard deviation of 35 and mean of 15. From this generate 2 to 400 samples. After generating the samples utilize the plot command to plot the mean of the generated sample (x-axis) against the number of samples. Create a second plot of the density of the 400 samples that you generated. This code can be solved in 4 to 8 lines. For this problem use the following...

  • Conduct a computer simulation to generate the sample means of Poisson random variables. First generate X...

    Conduct a computer simulation to generate the sample means of Poisson random variables. First generate X ∼ Poisson(3), and plot a histogram of this Poisson random variable. Then generate X = 1/5(X1 + X2 + X3 + X4 + X5), where X1, X2, . . . , X5 are all from Poisson(3). Plot a histogram of this sample mean statistic X. Compare the histograms and describe the changes you see in the histograms. Explain the changes using Central Limit Theorem....

  • pick a number for mean and standard deviation generate 5 random numbers using a normal distribution...

    pick a number for mean and standard deviation generate 5 random numbers using a normal distribution and mean and standard deviation from (i) using your 5 numbers find the mean and the standard deviation of your data How far is your sample mean from your true mean? By 'far' I mean how many sample standard deviations. use the absolute value of distance here Repeat steps 2-4 1000 times. you should now have 1000 measures how far your sample mean is...

  • Suppose that X is a standard normal random variable with mean 0 and variance 1 and...

    Suppose that X is a standard normal random variable with mean 0 and variance 1 and that we know how to generate X. Explain how you would generate Y from a normal density with mean μ and variance σ"? That is, given that we already generated a random variate X from N(0,1), how would you convert X into Y so that Y follows N (μ, σ 2)?

  • I must use R Program to solve them. Please help! Thank you ünif uniform random variable...

    I must use R Program to solve them. Please help! Thank you ünif uniform random variable 1) Draw the graphs of the p.d.f. of the following distributions (a) The standard normal p.d.f (b) The normal pdf with ? = 50, ? = 10 (c) The uniform p.d.f. over interval [10, 20] (d) The exponential P.d.f with parameter ? 4. 2) Illustrating the central limit theorem. Let X be a random variable having the uniform distribution over the interval [6, 12]...

  • R commands 2) Illustrating the central limit theorem. X, X, X, a sequence of independent random variables with the same distribution as X. Define the sample mean X by X = A + A 2 be a random va...

    R commands 2) Illustrating the central limit theorem. X, X, X, a sequence of independent random variables with the same distribution as X. Define the sample mean X by X = A + A 2 be a random variable having the exponential distribution with A -2. Denote by -..- The central limit theorem applied to this particular case implices that the probability distribution of converges to the standard normal distribution for certain values of u and o (a) For what...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT