Select the method or formula of your choice.

The mean is the sum of all observations divided by the number of (non-missing) observations. Use the following formula to calculate the mean for each cell or margin using the data corresponding to that cell or margin.

Term | Description |
---|---|

x | data value for each observation |

n | count of number of observations for each cell or margin |

The median is the middle value in an ordered data set. Thus, at least half the observations are less than or equal to the median, and at least half the observations are greater than or equal to the median.

If the number of observations in a data set is odd, the median is the value in the middle. If the number of observations in a data set is even, the median is the average of the two middle values.

Use the following method to calculate the median for each cell or margin using the data corresponding to that cell or margin.

- N is odd
- For example, when N = 5, and you have ordered data (smallest value to largest value), x
_{1}, x_{2}, x_{3}, x_{4}, and x_{5}, then the median = x_{3}. - N is even
- For example, when N = 6, and you have ordered data (smallest value to largest value), x
_{1}, x_{2}, x_{3}, x_{4}, x_{5}, and x_{6}, then:

The smallest data value that is in a table cell or margin.

The largest data value that is in a table cell or margin.

The sum is the total of all the data values that are in a table cell or margin.

Sum = Σ x

The standard deviation is the most common measure of dispersion, or how spread out the data are about the mean. The more widely the values are spread out, the larger the standard deviation. The standard deviation is calculated by taking the square root of the variance.

Use this formula to calculate the standard deviation for each cell or margin using the data from that cell or margin.

Term | Description |
---|---|

x | data value for each observation |

mean for each cell or margin | |

n | count of number of observations for each cell or margin |

The number of non-missing observations that are in a table cell or margin.

The number of missing observations that are in a table cell or margin.

The count is the number of times each combination of categories occurs.

The row percent is obtained by multiplying the ratio of a cell count to the corresponding row total by 100 and is given by:

Term | Description |
---|---|

n_{ i+} | number of observations in the i ^{th} row |

n _{ij} | number of observations in the cell corresponding to i ^{th} row and j ^{th} column |

The column percent is obtained by multiplying the ratio of a cell count to the corresponding column total by 100 and is given by:

Term | Description |
---|---|

n_{ +j} | counts of all the observations in the j ^{th} column |

n _{ij} | counts of observations in the cell corresponding to i ^{th} row and j ^{th} column |

The total percent is obtained by multiplying the ratio of a cell count to the total number of observations by 100 and is given by:

Term | Description |
---|---|

n _{++} | number of observations in the table |

n _{ij} | number of observations in the cell corresponding to i ^{th} row and j ^{th} column |