myBinomTest(s,n,p,S​ided)

1 or 2 sided binomial test with arbitrary binomial probabilities

Download
Download

You are now following this Submission

Cite As

Matthew Nelson (2026). myBinomTest(s,n,p,Sided) (https://uk.mathworks.com/matlabcentral/fileexchange/24813-mybinomtest-s-n-p-sided), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.0.0

Updated use of array inputs.
Sided accepts ‘one’ as input instead of 'greater' or 'lesser'.
Uses method of small p-values for default two-sided p-value. The previous method can still be done by inputting ‘two, equal counts’ as the variable Sided.

Download
1.7.0

Fixed bug that occurs when the expected value is equaled by the number of successes, caught by Nelson Lau in the comments.

Download
1.3.0

Fixed a bug in the previous update to allow the program to accept arrays as well as scalars in the inputs.

Download
1.2.0

Allowed for the inputs to be arrays of the same dimensions and sizes rather than just scalars.

Download
1.0.0

Download