The document provides instructions for analyzing several variables from a dataset. It asks to:
1) Create frequency tables for race and political identity variables.
2) Create histograms for age and police contact variables.
3) Calculate measures of central tendency and dispersion for self-control and trust in police variables.
4) Transform school commitment raw scores to z-scores.
Seal of Good Local Governance (SGLG) 2024Final.pptx
Q1) Create a frequency table for each of the following variables..pdf
1. Q1) Create a frequency table for each of the following variables.
a) Race
Let Hispanic be 1
Let White be 2
Let African American be 3
Let Asian be 4
b) Political Identity
Let Liberal be 1
Let Moderate be 2
Let Very Liberal be 3
Let Conservative be 4
Let Very Conservative 5
--------------------------------------------------------------------------------------------------------------------
-----------
2. Q2) Create a histogram showing the distribution of each of the following variables.
a) Age
b) Police Contact
--------------------------------------------------------------------------------------------------------------------
-----------
Q3) For each of the following variables, calculate the MEAN, MEDIAN, MODE, and Standard
Deviation.
a) Self-Control
b) Trust in Police
--------------------------------------------------------------------------------------------------------------------
-----------
Q4) For each of the following variable, transform each RAW SCORE into a Z SCORE. a)
School Commitment
4. b) Political Identity
Let Liberal be 1
Let Moderate be 2
Let Very Liberal be 3
Let Conservative be 4
Let Very Conservative 5
--------------------------------------------------------------------------------------------------------------------
-----------
Q2) Create a histogram showing the distribution of each of the following variables.
a) Age
b) Police Contact
--------------------------------------------------------------------------------------------------------------------
5. -----------
Q3) For each of the following variables, calculate the MEAN, MEDIAN, MODE, and Standard
Deviation.
a) Self-Control
b) Trust in Police
--------------------------------------------------------------------------------------------------------------------
-----------
Q4) For each of the following variable, transform each RAW SCORE into a Z SCORE. a)
School Commitment
Race cumulativeloweruppermidpointwidthfrequencypercent
frequencypercent0.0<1.00.51.000.000.01.0<2.01.51.0426.7426.72.0<3.02.51.0746.71173.33.0<4
.03.51.0320.01493.34.0<5.04.51.016.715100.0