所以我已经粘贴了我的完整代码供您参考,我想知道ppf和cdf在这里的用途是什么?你能解释一下吗?我做了一些研究,发现ppf (百分比点函数)是cdf (累积分布函数)的逆,如果真的是这样,如果我将ppf和cdf分别替换为1/cdf和1/ppf,这段代码不是应该起作用吗?z_a/2, by using percent point function of the norm of scipy
#ppf = percent point function, inverse of CDF
在C中,我有协方差矩阵,平方残差值和拟合系数。使用这些,我如何计算p值?有人能确认它的有效性吗?与R.2*(1-gsl_cdf_tdist_P(-t0,n-2)):2*(1-gsl_cdf_tdist_P(t0,n-2));//This is the p-value of the constant termR.提供的结果: Estimate Std.