pFromZ: Calculate p-values from z-statistics.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/format.R

Description

Calculate p-values from z-statistics.

Usage

1
pFromZ(z_value = 1.96, two.sided = FALSE)

Arguments

z_value

The z-statistics to be converted into a p-Value.

two.sided

Indicator of the statistics be calculatede as two-sided (TURE) or one-sided (FALSE).

Details

utility function for conversion of p-values

Value

corresponding p-Value from the t-, z- or F-statistics

Author(s)

Roland Rapold

See Also

Link{pFromT} and Link{pFromF}

Examples

1
2
3
4
5
6
7
        pFromF(f_value=35.68, df1=2,  df2=5)
        pFromF(f_value=35.68, df1=2,  df2=5, two.sided=TRUE)
        pFromF(f_value= 1.96, df1=10, df2=10)
        pFromF(f_value= 1.96, df1=10, df2=100)
        pFromF(f_value= 1.96, df1=10, df2=1000)
        pFromF(f_value= 1.96, df1=10, df2=1000, two.sided=TRUE)
        pFromF(f_value= 1.96, df1=10, df2=1000, two.sided=TRUE)

rrMisc documentation built on June 25, 2021, 3 a.m.