Binomial CDF for multiple trials

This macro generates the cumulative probability of the binomial distribution with a number of trials from one column, a number of successes from a second column, and a specified probability of success, row by row.

Download the Macro

Be sure that Minitab knows where to find your downloaded macro. Choose File > Options > General. Under Macro location browse to the location where you save macro files.

Important

If you use an older web browser, when you click the Download button, the file may open in Quicktime, which shares the .mac file extension with Minitab macros. To save the macro, right-click the Download button and choose Save target as.

Required Inputs

  • Number of trials
  • Number of successes
  • Probability of success
  • An empty column to store the results

Running the Macro

For example, suppose the number of trials are in C1, the number of success are in C2, the probability of success is 0.95, and you want the results to be stored in C3. To run the macro, choose View > Command Line/History and type:

%BINOPROB C1 C2 0.95 C3

Click Run.