Compares probabilities of two binomial samples
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
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Discrete Distributions > Binomial Distribution >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |