Question

In: Statistics and Probability

Dr. Lee wants to calculate the mean of a t distribution with ν = 4 degrees...

Dr. Lee wants to calculate the mean of a t distribution with ν = 4 degrees of freedom. However, he doesn’t remember the full probability density function (pdf) of the t distribution. Luckily, he remembers the pdf of the t distribution up to some constant. f(x) ∝ (1 + x2/ν)−(ν+1)/2, −∞ < x < ∞. 1. Use the rejection sampling to generate a random sample of size 10,000 from the t dis- tribution with ν = 4 degrees of freedom. Find the Monte Carlo estimate of Ef(X) from the generated sample and draw a plot to show the convergence of the Monte Carlo approximation. (Hint: Use the standard Cauchy distribution (location = 0, scale = 1) as proposal dis- tribution. To calculate the Cauchy density, use dcauchy().) 2. Use the importance sampling to estimate the mean of the t distribution with ν = 4 de- grees of freedom. In other words, find the Monte Carlo estimate of Ef (X ) directly using the importance sampling. Also, draw a plot to show the convergence of the importance sampling approximation. (Hint: Use the standard Cauchy distribution (location = 0, scale = 1) as importance function. To calculate the Cauchy density, use dcauchy().)

Solutions

Expert Solution

The means obtained from both the sampling techniques are nearly 0 and we also know that t distribution has mean 0(if its mean exist which eventually will exist since degrees of freedom=4>1 where t with degree of freedom =1 is cauchy whose mean doesn't exist).


Related Solutions

Dr. Lee now wants to generate a random sample of size 10,000 from the F distribution...
Dr. Lee now wants to generate a random sample of size 10,000 from the F distribution with df1 = 1 and df2 = 4 degrees of freedom. But he doesn’t remember the probability density function (pdf) of the F distribution at all. Fortunately, he knows the relationship between t distribution and F distribution. He knows that if X follows the t distribution with ν = 4 degrees of freedom, then X2 follows the F distribution with df1 = 1 and...
a)For the t distribution with 15 degrees of freedom, calculate P(T < 0.691). b)Consider the population...
a)For the t distribution with 15 degrees of freedom, calculate P(T < 0.691). b)Consider the population of electric usage per month for houses. The standard deviation of this population is 132 kilowatt-hours. What is the smallest sample size to provide a 90% confidence interval for the population mean with a margin of error of 34 or less? (Enter an integer number.) c)In order to estimate the average electric usage per month, a sample of 47 houses were selected and the...
Find the value of t for a t-distribution with 3 degrees of freedom such that the...
Find the value of t for a t-distribution with 3 degrees of freedom such that the area to the left of t equals 0.10. Possible Answers: A. 5.841 B. 4.541 C. -2.333 D. -1.638
Given a random variable X that has a t(ν) distribution, determine the value of xo such...
Given a random variable X that has a t(ν) distribution, determine the value of xo such that P (|X | <xo)=0.025 for (i) ν = 5; (ii) (i) ν = 25; (iii) ν = 50; (iv) ν = 100. Compare your results with the single value of x0 such that P (|X | <x 0)=0.025 for a standard normal random variable X .
As the degrees of freedom increase, the t distribution approaches the z distribution. Explain.
As the degrees of freedom increase, the t distribution approaches the z distribution. Explain.
a. In theory, the t distribution is exactly equal to the z distribution when the degrees...
a. In theory, the t distribution is exactly equal to the z distribution when the degrees of freedom are equal to ___________. b. Given the confidence interval (5.5, 6.5), 5.5 and 6.5 are not included in the interval. (True/False) c. Which of the two general types of statistics yields estimates about populations? _______________ Statistics. d. According to the Empirical Rule, _____% of the data exists between the transition points of the normal distribution?
Find the critical value of t for a t-distribution with 30 degrees of freedom such that...
Find the critical value of t for a t-distribution with 30 degrees of freedom such that the area between -t and t is 99% A student records the repair costs for 25 randomly selected computers from a local repair shop where he works. A sample mean of $216.53 and standard deviation of $15.86 are subsequently computed. Assume that the population distribution is approximately normal and s is unknown. Determine the 98% confidence interval for the mean repair cost for all...
What happens to a Student's t-distribution as the degrees of freedom increase? a.A student's t-distribution diverges...
What happens to a Student's t-distribution as the degrees of freedom increase? a.A student's t-distribution diverges from the standard normal distribution as the degrees of freedom increases b.A student's t-distribution converges to the standard normal distribution as the degrees of freedom increases
For a t-distribution with 15 degrees of freedom, 90% of the distribution is within how many...
For a t-distribution with 15 degrees of freedom, 90% of the distribution is within how many standard deviations of the mean? Select one: a. 1.235 b. 1.576 c. 1.753 d. 1.960
the table t-value associated with the upper 1% of the t- distribution and 5 degrees of...
the table t-value associated with the upper 1% of the t- distribution and 5 degrees of freedom is_________________ .
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT