Z test for Binomail Data

Does ztest function work with binomial data? For example, I have a set of x = (1, 0, 0, 1, ...o, 1, 1) for n(x) = 1000. probability, p = 0.5, x has 700 times of '1' and 300 times of '0' Can I use ztest to compare with hypothesis mean = 0.5?
Thank you.

回答 (0 件)

質問済み:

OoM
2014 年 10 月 30 日

Community Treasure Hunt

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

Start Hunting!

Translated by