p_val_norm {mnda}R Documentation

Calculate p.value for x given a Gaussian null pdf

Description

Calculate p.value for x given a Gaussian null pdf

Usage

p_val_norm(x, null.pdf, alternative = "two.sided")

Arguments

x

numeric value

null.pdf

a numeric vector of null distribution samples

alternative

alterative test including: "two.sided" [default], "greater", and "less"

Value

p.value

Examples

p.val = p_val_norm(1, rnorm(1000,0,1))


[Package mnda version 1.0.9 Index]