统计计算方法代写 R语言代写 统计作业代写 Bayesian代写
1359HW 10 统计计算方法代写 Question (7 pts) Recall the Beta distribution, which is defined for θ ∈ (0, 1) with parameters α and β, has a density proportional to: Question (7 pts) 统计计算方法代...
View detailsSearch the whole station
数学统计作业代写 Instructions: Solve the problems in the spaces provided and save as a single PDF. Then upload the PDF to Canvas Assignments by the due date.
Instructions: Solve the problems in the spaces provided and save as a single PDF. Then upload the PDF to Canvas Assignments by the due date. The recommended procedure is to download and print the homework. Fill in your solutions. Then scan the document and upload to Canvas Assignments. If this is not feasible, you may solve the problems on your paper, scan your solutions, then upload to Canvas. Neatness and presentation are important. Late homework not accepted. Show all work. Total points: 30
Let Y1, Y2, . . . , Yn be independent and identically distributed random variables from the Bernoulli distribution with parameter 0 < p < 1.
f(y|p) = py (1 − p)1−y y = 0, 1
a) Find the method of moments estimator for p. (0.5 points)
b) Find the MLE (maximum likelihood estimator) for p. (1.5 points)
Let Y1, Y2, . . . , Yn be independent and identically distributed from the distribution with density
f(y| θ) = θ cθ y−(θ+1) y > c.
where c > 0 is a constant and θ > 0. Find the MLE for θ. (1.5 points)
Let Y1, Y2 be an iid sample of size n = 2 from the pdf
f(y| θ) = 2yθ2 0 < y < 1/θ
Find the value c so that the statistic c(Y1 + 2Y2) is unbiased for 1/θ. (1.0 point)
Let Y1, Y2, . . . Yn be iid from the normal density N(µ, σ2 ) and assume that σ2 is known.
a) What is the Fisher information I1(µ)? (1.5 points)
e) Let Y = max(X1, . . . , Xn) = X(n). Find the bias (2.0 points)
bY (θ) = E[Y ] − θ.
f) How can you correct Y to make it unbiased? (1.0 point)
c) Based on b) what is an approximate 95% confidence interval for θ? (0.5 points)
Let Y1, Y2, . . . , Yn be independent and identically distributed from the geometric distribution with parameter 0 < θ < 1,
f(y| θ) = θ (1 − θ)y−1 y = 1, 2, 3, . . .
c) Find an approximate 95% confidence interval for θ based on part b). (0.5 points)
a) Is this distribution a member of the exponential family? (1.5 points)
b) Now let Y1, . . . , Yn be iid N(θ, 1). Find a sufficient statistic for θ. (1.0 point)
#set the seed so we all get the same answers
set.seed(123)
#this command generates 1,000 multinomial random variables
simdat <- rmultinom(1000,size=1029,prob=c(0.331,0.489,0.180))
#this is a function to calculate the MLE
thfun <- function(y) {
(2*y[3] + y[2])/(2*1029) }
#this command applies the function to the columns of the simulated data
theta <- apply(simdat,2,thfun)
#makes a histogram, calculates mean and standard error
hist(theta,freq=F,col="lightblue"); mean(theta); sd(theta)
更多代写:CS加拿大网课代修 雅思线上考试 英国微积分网课代上 研究论文内容代写 北美留学生essay代写 Sci代写代发
合作平台:essay代写 论文代写 写手招聘 英国留学生代写
HW 10 统计计算方法代写 Question (7 pts) Recall the Beta distribution, which is defined for θ ∈ (0, 1) with parameters α and β, has a density proportional to: Question (7 pts) 统计计算方法代...
View detailsCSC165H1 Problem Set 3 数学表达与推理代写 General instructions Please read the following instructions carefully before starting the problem set. They contain important information about ...
View details数学作业代写了解一下,可以快速完成数学作业 数学作业代写,我们每个人生活的方方面面都因为网络时代的来临而有所改变。就比如日常购物方面,从前的我们购买东西还需要到街上去,用一张一张的现金购买东西,...
View detailsCHAPTER 1. LINEAR ORDINARY DIFFERENTIAL EQUATIONS 线性常微分方程代写 2.Suppose that the data in Table 1.3 gave the absolute difference as a constant instead of the relative change. The recursio...
View details