如何从C中的卡方(1df)分布计算p值? [英] How to calculate the p value from a chi-square (1df) distribution in C?

查看:342
本文介绍了如何从C中的卡方(1df)分布计算p值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有某种方法可以从C中的给定卡方值(1 df)中计算出p值.我已经尝试了一些ALGLIB函数,但是它没有用(或者我没有用)不知道该怎么做)...

有什么猜想吗?

谢谢

Diego Mazzotti

I want to know if there is some way to calculate the p value from a given chi-square value (1 df) in C. I''ve tried some ALGLIB function but it did not work (or I didn''t know how to do it)...

Any guess?

Thank you

Diego Mazzotti

推荐答案

此讨论可能对您有所帮助:
http://www.mathkb. com/Uwe/Forum.aspx/statistics/2678/P-value-from-chi-square-value-source-code [ gnumeric [
This discussion might help you out:
http://www.mathkb.com/Uwe/Forum.aspx/statistics/2678/P-value-from-chi-square-value-source-code[^]

You should find a suitable implementation in mathfunc.c of the gnumeric[^] project.

Best regards
Espen Harlinn


这篇关于如何从C中的卡方(1df)分布计算p值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆