楼主: casperyc
1434 1

已解决。。。。。。。。。。。。。。。。。。。。 [推广有奖]

  • 0关注
  • 0粉丝

硕士生

61%

还不是VIP/贵宾

-

威望
0
论坛币
26 个
通用积分
0
学术水平
0 点
热心指数
1 点
信用等级
0 点
经验
1445 点
帖子
218
精华
0
在线时间
56 小时
注册时间
2009-7-29
最后登录
2019-6-9

楼主
casperyc 发表于 2010-3-3 05:37:13 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
  1. library(MASS)
  2. x=c(rep(0,8096),
  3.         rep(1,1629),
  4.         rep(2,233),
  5.         rep(3,38),
  6.         rep(4,4)
  7.         )

  8. x.bar=round(mean(x),4)
  9. x.var=round(var(x),4)

  10. p.hat=round(x.bar/x.var,4)
  11. alpha.hat=round(x.bar*p.hat/(1-p.hat),4)

  12. fitdistr(x, "Negative Binomial")
复制代码
请问 我那个fitdistr(x, "Negative Binomial") 出来的参数 是不是 negative binomial type 2 的?

我要怎样 fit negative binomial type 2 然后做一个 goodness of fit 的 test?

谢谢
二维码

扫码加我 拉你入群

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

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

关键词:已解决 negative Binomial Goodness Library test pearson Chi

沙发
casperyc 发表于 2010-3-4 06:19:13
已解决。。。。。。。。。。。。。。。。。。。。

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

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