ptvdf | R Documentation |
This function computes the cumulative distribution function (p-values) for a given random variable x
and corresponding degrees of freedom df
using the t-distribution. The function can compute the lower or upper tail probabilities depending on the value of the lower
argument.
ptvdf(x, df, lower)
x |
arma::mat (vector) - A matrix or vector of random variable values for which the p-values will be calculated. |
df |
arma::mat (vector) - A matrix or vector of degrees of freedom for the t-distribution, matching the size of |
lower |
bool - If |
arma::mat (vector) - A matrix containing the computed cumulative distribution function (p-values) for each element in x
. The result is returned as a 1xN matrix, where N is the number of elements in x
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.