作者Parabellum (关关难过关关过)
看板Statistics
标题[程式] R
时间Tue Jan 19 02:27:17 2010
------------------------------------------------------------------------
R
[软体程式类别]:
R
[程式问题]:
模拟
[软体熟悉度]:
新手(不到1个月)
[问题叙述]:
想用下列几种抽样分配来测试中央极限定理
1) X~Binomial(n,p) for p=0.9
2) X~Expential(1) with rate parameter 1
3) X=|S|^S, where S~N(0,1)
4) X ~ Chisquared with parameter k=5
5) Y ~ C(0, 1), where C is the Cauchy distrituion wih location parameter
0 and scale parameter 1.
[程式范例]:
-----------------------------------------------------------------------------
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 76.212.195.218
1F:推 Wush978:不知道函数的时候可以先试着用 help.search('关键字') 01/19 03:51
2F:推 Wush978:ex: help.search('the binomial distribution') 01/19 04:00
3F:→ Wush978:搜出来的结果你会看到 01/19 04:00
4F:→ Wush978:BSagri::ExNBCov Simulated example data, drawn f 01/19 04:00
5F:→ Wush978:BSagri 表示这个function 在 package BSagri 01/19 04:00
6F:→ Wush978:名字叫做 ExNBCov 01/19 04:00
7F:→ Wush978:後面是解说 01/19 04:01
8F:→ Wush978:根据你的状况, 应该是找 stat:: 这种的就够了 试试看吧 01/19 04:01
9F:→ Wush978: stats 更正, sorry 01/19 04:01