computePvalue | R Documentation |
Based on the asymptotic t-distribution, comptue the 2-tailed p-value that estimate != 0. This function is not intended to be used directly, but is included for reference or if an alternative estimate of the degrees of freedom is available.
computePvalue(Zscore, df)
Zscore |
A numeric vector containing the Z scores for each fixed effect parameter |
df |
A numeric vector containing the estimated degrees of freedom for each fixed effect parameter |
Based on sampling from a 2-tailed t-distribution with df
degrees of freedom,
compute the probability that the calculated Zscore
is greater than or equal to what would be
expected from random chance.
Numeric vector of p-values, 1 per fixed effect parameter
Mike Morgan & Alice Kluzer
NULL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.