Advanced Analysis Library Only
AnalysisLibErrType InvT_Dist (double probabilityT, int degreesOfFreedom, double *t);
Calculates t, given a probability (0 < p < 1), such that:
prob(T < t) = p
where T is a random variable from a T-distribution with the specified degrees of freedom
double p, t;
int n;
p = 0.635;
n = 2;
InvT_Dist (p, n, &t);
| Input | ||
| Name | Type | Description |
| probabilityT | double-precision | Input probability value (0 < p < 1). |
| degreesOfFreedom | integer | Degrees of freedom for the T-distribution. |
| Output | ||
| Name | Type | Description |
| t | double-precision | The unique number t such that prob(T < t) = p where T is a random variable from a T-distribution with the specified degrees of freedom. |
| Name | Type | Description |
| status | AnalysisLibErrType | A value that specifies the type of error that occurred. Refer to analysis.h for definitions of these constants. |