全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1822 2
2013-04-12
有一张表,有3000多行,每行有一个a、b、c、d值,如图所示,a、b、c、d表示四格表的数字,我想对每一行的数据都计算列联系数C和fisher概率p值,并和原始数据一起输出到一张表中,每一行要求有原始的数字及计算出的联系数C和fisher概率p值,如图所示,请问怎么完成啊?
ab
cd


附件列表
图结果要求.jpg

原图尺寸 34.13 KB

结果要像图中所示

结果要像图中所示

二维码

扫码加我 拉你入群

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

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

全部回复
2013-4-13 07:18:19
I don't really know what C stands for, but for Fishers' P: jingju
If you want to self-define a function to compute Fishers' P value, you can refer to the blog. But you may notice that computing fishers' is involving lots of calculations, thus might-be over-floating during the computation. that is one reason why calculating fishers' in more than 2 by 2 is time-consuming.

http://blog.sina.com.cn/s/blog_a3a92636010134mn.html

复制代码




二维码

扫码加我 拉你入群

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

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

2013-4-14 11:37:06
学习
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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