z2p

Converts z-statistic to p-value by integrating the standard normal pdf
431 téléchargements
Mise à jour 30 sept. 2010

Afficher la licence

Converts normally distributed z-statistic to one- or two-tailed p-value
by integrating the standard normal pdf. If no "tails" value is specified, z2p computes the two-tailed value by default. The output p is the same size as z, which can be a scalar, vector, or matrix.

Inputs:
z: normally distributed z-statistic (positive or negative)
(optional) tailed: the number of tails over which to compute the probability value. (Note: by symmetry of the normal distribution, the two-tailed p-value is twice the one-tailed value.)

This function is useful for hypothesis testing when the test statistic is normally distributed.

Citation pour cette source

Scott McKinney (2024). z2p (https://www.mathworks.com/matlabcentral/fileexchange/28908-z2p), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2009a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.0.0.0