*COMMENT Calculate the mean percentage of people in the 4 ethnic groups in each state.* *COMMENT no the answer is not always 25%.* COMPUTE ethnmean = (perc_White + perc_Latino + perc_Black + perc_Asian)/4. *COMMENT Calculate each piece of the std deviation: above mean subtracted from each ethnic specific percentage; then square this deviation score. (Notice that this is the square of how much each ethnic percentage differs from the overall percentage for all 4 groups.* COMPUTE ethn_std_dev1 = (perc_White - ethnmean)**2. COMPUTE ethn_std_dev2 = (perc_Latino - ethnmean)**2. COMPUTE ethn_std_dev3 = (perc_Black - ethnmean)**2. COMPUTE ethn_std_dev4 = (perc_Asian - ethnmean)**2. *COMMENT Now we take the square root of the mean of these four deviation scores.* COMPUTE ethn_std_deviation = sqrt(mean (ethn_std_dev1,ethn_std_dev2,ethn_std_dev3,ethn_std_dev4)). exe.