Compares probabilities of two binomial samples

Compares probabilities of two binomial samples X, Y
533 descargas
Actualizado 25 feb 2010

Ver licencia

Compares probabilities of two binomial samples X, Y from a Bernoully experiments with probability p1 for set X and p2 for set Y

Test the null hypothesis
H_0: p1 = p2
vs alternatives
H_1: p1 > p2
H_2: p1 < p2
H_3: p1 != p2

Input:
X - row of 0 or 1
Y - row of 0 or 1

Output:
z - normal statistics N(0,1) for H_0
pv1 - p-value for H_1
pv2 - p-value for H_2
pv3 - p-value for H_3

Citar como

Dimitar Atanasov (2024). Compares probabilities of two binomial samples (https://www.mathworks.com/matlabcentral/fileexchange/26788-compares-probabilities-of-two-binomial-samples), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R14
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Etiquetas Añadir etiquetas

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0