public class ContinuousDistributions extends Object
| 构造器和说明 |
|---|
ContinuousDistributions() |
| 限定符和类型 | 方法和说明 |
|---|---|
static double |
ChisquareCdf(double x,
int df)
给定卡方值和自由度,计算从0到x的累积分布函数值
|
static double |
ChisquareInverseCdf(double p,
int df)
给定卡方分布的p值和自由度,返回卡方值。
|
protected static double |
GammaCdf(double x,
double a)
伽马函数
|
static double |
GaussCdf(double z)
给定高斯函数的z值,返回p值(累积分布函数值)
http://jamesmccaffrey.wordpress.com/2010/11/05/programmatically-computing-the-area-under-the-normal-curve/ |
protected static double |
Gcf(double x,
double A)
Internal function used by GammaCdf
|
protected static double |
Gser(double x,
double A)
Internal function used by GammaCdf
|
static double |
LogGamma(double Z)
Log Gamma Function
|
public static double ChisquareCdf(double x,
int df)
throws IllegalArgumentException
x - 卡方值df - 自由度IllegalArgumentExceptionpublic static double GaussCdf(double z)
z - 从负无穷到正无穷的值public static double LogGamma(double Z)
Z - protected static double Gcf(double x,
double A)
x - A - protected static double Gser(double x,
double A)
x - A - protected static double GammaCdf(double x,
double a)
throws IllegalArgumentException
x - a - IllegalArgumentExceptionpublic static double ChisquareInverseCdf(double p,
int df)
p - p值(置信度)df - Copyright © 2014–2017 码农场. All rights reserved.