全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 R语言论坛
1655 5
2012-01-12
悬赏 300 个论坛币 未解决
ass2.pdf
大小:(120.08 KB)

 马上下载



跪求作业(附件)里Part A 第二题和Part B 第三第四第五题 里的R code,作业还有11个小时就要交。作业分值很大,自己的R水平实在有限。如果有哪位老师能帮忙,不胜感激。如果没全做完,做多少都行。谢谢各位了。

回帖或者发邮箱都行:     lyz_nju@yahoo.cn



二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2012-1-12 07:49:45
方便大家看,把题贴上来 :题一
Assuming the number of telephone calls made by the salesperson before a successful sales call
may be modelled by the geometric distribution, give a Monte Carlo algorithm for simulating
this random variable, using p=0.21.
Implement this algorithm in R and simulate 5 data sets of size 100. Present your results in
a frequency table with one row (or column) for each simulated data set.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-1-12 07:50:46
题二:
Extend your computer programme so that it computes the test statistic X平方 for each simulated
sample. Run this programme 1000 times to obtain a (parametric) bootstrap distribution of
X平方 that represents the distribution of the test statistic under the null hypothesis. Plot the
histogram and nd the 5% critical value.
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-1-12 07:51:26
题三:Compare the bootstrap distribution of the test statistic with the theoretical distribution.
What is your test decision if you use the critical value from the simulation?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-1-12 13:52:38
作业交了么?300论坛币还有效么?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2012-1-12 15:18:14
还有2个小时交有效阿,您会做么?
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群