首页 > 其他 > 详细

37357 Advanced Statistical Modelling

时间:2019-08-14 19:45:53      阅读:78      评论:0      收藏:0      [点我收藏+]


37357 Spring 2019 Page 1 of 5
37357 Advanced Statistical Modelling
Lab Week 4
Distribution Theory and MLE
Name: Student Number:
Part 1: Poisson Distribution
Let Y1, …, Yn be independent random variables that follow the Poisson distribution
(1) Write down the likelihood function,
(2) Write down the log-likelihood function.
37357 Spring 2019 Page 2 of 5
(3) Calculate 
(4) Find the maximum likelihood estimator of.
Part 2: Unbiased Estimators
Let Yi = μ + εi, i=1,…,n with independent and identically distributed errors εi such that E[εi] = 0 and
Var[εi] = σ2
.
(5) Find the least squares estimator of μ. 
Part 3: Binomial Distribution
Let Y be a random variable that follows the Binomial distribution
(7) Write down the likelihood function,
37357 Spring 2019 Page 4 of 5
(8) Write down the log-likelihood function,
(10) Find the maximum likelihood estimator of.
Open the Excel sheet “MLE Bin Dist.xlsx” on UTSOnline. This sheet calculates based on n = 30
Bernoulli trials both algebraically (the MLE found in Q10) and numerically (by finding the maximum

37357留学生作业代做、代做Statistical Modelling作业、代写Python,c++编程作业
likelihood from a list of possibilities). You can re-run the trails by pressing F9.
(11) Leave the “true p” at 0.3 and re-run the trails 10 times. Each time you re-run the trials, write
down . Do to algebraic and numeric estimates of p agree with one another in each re-run?
37357 Spring 2019 Page 5 of 5
(12) Calculate the mean and standard deviation of the 10 estimates of p in the previous question.
What do you think will happen to the mean and standard deviation when n is larger?
(13) Increase n from 30 to 60 by creating 30 more trials in Row 7. You can do this by copying the
contents of row 6 from column E to AH. Check that the calculation of n in the top left corner has
changed. Repeat question 11 with the increased sample size.
(14) Increase n from 60 to 90 by creating 30 more trials in Row 8. Repeat question 11 with the
increased sample size.
(15) Calculate the mean and standard deviation of the estimates of p in each of Q13 and Q14.
Comment on the effect of increasing n.
More fun things to play with: change the value of “true p”.

因为专业,所以值得信赖。如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

微信:codehelp

37357 Advanced Statistical Modelling

原文:https://www.cnblogs.com/rightpy/p/11354171.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!