# Chi-Square Test Expected Range and Expected Values

**Expected Range.** By default,
each distinct value of the variable is defined as a category. To establish
categories within a specific range, select Use specified range and enter integer values for lower and upper bounds. Categories
are established for each integer value within the inclusive range,
and cases with values outside of the bounds are excluded. For example,
if you specify a value of 1 for Lower and a value of 4 for Upper,
only the integer values of 1 through 4 are used for the chi-square
test.

**Expected Values.** By default, all categories have equal expected values. Categories
can have user-specified expected proportions. Select Values, enter a value that is greater than
0 for each category of the test variable, and then click Add. Each time you add a value, it appears
at the bottom of the value list. The order of the values is important;
it corresponds to the ascending order of the category values of the
test variable. The first value of the list corresponds to the lowest
group value of the test variable, and the last value corresponds to
the highest value. Elements of the value list are summed, and then
each value is divided by this sum to calculate the proportion of cases
expected in the corresponding category. For example, a value list
of 3, 4, 5, 4 specifies expected proportions of 3/16, 4/16, 5/16,
and 4/16.