楼主: kebayi
1676 5

[有偿编程] 救急!求Rcode~~ [推广有奖]

  • 0关注
  • 0粉丝

高中生

42%

还不是VIP/贵宾

-

威望
0
论坛币
28858 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
108 点
帖子
17
精华
0
在线时间
42 小时
注册时间
2009-6-23
最后登录
2016-9-20

楼主
kebayi 发表于 2012-1-12 03:15:44 |AI写论文
300论坛币
ass2.pdf (120.08 KB)

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

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



关键词:Rcode code COD ODE YAHOO 不胜感激

沙发
kebayi 发表于 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.

藤椅
kebayi 发表于 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.

板凳
kebayi 发表于 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?

报纸
xiaobing212 发表于 2012-1-12 13:52:38
作业交了么?300论坛币还有效么?

地板
kebayi 发表于 2012-1-12 15:18:14
还有2个小时交有效阿,您会做么?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-9 11:49