Compares probabilities of two binomial samples

Compares probabilities of two binomial samples X, Y
533 download
Aggiornato 25 feb 2010

Visualizza la licenza

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

Cita come

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. Recuperato .

Compatibilità della release di MATLAB
Creato con R14
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0