pvalz: Obtain the P-value for a Standard Gaussian random variable

View source: R/pvalz.r

pvalzR Documentation

Obtain the P-value for a Standard Gaussian random variable

Description

Function to computes the P-value for a Standard Gaussian random variable.

Usage

pvalz(zval, decnum = 5)

Arguments

zval

A numeric random variable following a Standard Gaussian distribution.

decnum

the number of decimals to be used in the output. The default is set to 5.

Details

It is suited to compute the P-value for any random variable following a Standard Gaussian probability density function.

Value

This function returns the P-value or probability of getting a value as large as 'zval'.

Author(s)

Christian Salas-Eljatib

Examples


pvalz(1.96)


datana documentation built on June 13, 2025, 1:11 a.m.