
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
A set of homework problems for math 304, focusing on probability theory and statistics. The tasks involve approximating log functions using uniform generators, calculating confidence intervals, generating random observations from specific probability distributions, and implementing the gibbs algorithm for generating standard normal random variables.
Typology: Assignments
1 / 1
This page cannot be seen from the preview
Don't miss anything!
∫ (^1) 0
1 x+1 dx.
∫ (^1). 96
0
2 π
exp{−t^2 / 2 } dt.
f (x) = 4x^3.
Write an R function to generate a random sample of size n observations from this pdf. Check that your function works by calculating a confidence interval for the mean of the distribution.
f (x) =
e−x (1 + e−x)^2
, −∞ < x < ∞.
Obtain a sample from this distribution and graph the histogram. Overlay a plot of the pdf.
2 π
, −∞ < x < ∞, 0 < y < e−x
(^2) / 2
the marginal density of X is standard normal. The conditional distributions are Y |X = x ∼ U (0, ex
(^2) / 2 ), and X|Y = y ∼ U (−
−2 log y,
−2 log y). Start with a number in the support of X. Obtain a sample from this distribution and graph the histogram. Overlay a plot of the pdf.