This macro creates an ogive curve. The default settings create a cumulative relative frequency ogive curve. There is an option to create a relative frequency ogive curve.

This macro creates an ogive curve. The default settings create a cumulative relative frequency ogive curve. There is an option to create a relative frequency ogive curve.

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

  • A column of raw data, or a column of values and a corresponding column of frequencies. In either case, the data represents the midpoints of the intervals on the histogram. The midpoints must be equally spaced.

Optional Inputs

RELFREQ
Use to specify a relative frequency ogive.

Running the Macro

Raw data

Suppose you have a column of raw data in C2. To run the macro, choose View > Command Line/History and type:

%OGIVE C2

Click Run.

Frequency data

Suppose your data are arranged in a frequency table where the midpoints of the intervals that you want are in C2 and the frequencies are in C3. To run the macro, choose View > Command Line/History and type

%OGIVE C2;
FREQ C3.

Click Run.