全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1061 2
2012-04-13
data xxb5;
p=probf(3,32,2,30);/*计算自由度为(32,2)的非中心参数为30的F分布小于3的概率*/
put p=;
run;

请问上面这个程序是不是计算自由度为(32,2)的非中心参数为30的F分布小于3的概率?
为什么书上是按下面这样写的呢:
data xxb5;p=1-probf(3,32,2,30);/*计算自由度为(32,2)的非中心参数为30的F分布小于3的概率*/
put p=;
run;
我如果是计算自由度为(32,2)的非中心参数为30的F分布小于3的概率的话到底哪个是正确的呢?




二维码

扫码加我 拉你入群

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

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

全部回复
2012-4-13 22:24:47
应该是前者。


The PROBF function returns the probability that an observation from an F distribution, with numerator degrees of freedom ndf, denominator degrees of freedom ddf, and noncentrality parameter nc, is less than or equal to x. The PROBF function accepts noninteger degrees of freedom parameters ndf and ddf. If the optional parameter nc is not specified or has the value 0, the value returned is from the central F distribution.

The significance level for an F test statistic is given by

p=1-probf(x,ndf,ddf);
二维码

扫码加我 拉你入群

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

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

2012-4-14 20:38:31
webgu 发表于 2012-4-13 22:24
应该是前者。
嗯  谢谢了
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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