## Lab Assignment: Univariate Analysis and Recoding

Part I: Research Topic / Research Question
What is your research question? This is the question based on the two variables you selected in the first lab assignment.

How old do children have to be for parents to deem spanking as not necessary anymore?

Part II: Variables and Univariate Analysis

Step 1:
From the GSS Data Explorer (https://gssdataexplorer.norc.org/), find your GSS variables and answer the following questions.

• What is your dependent variable?:
The level of favor for spanking to discipline a child
• What is the name of your dependent variable in GSS?:
spanking
• What is the exact question asked in GSS?:
Do you strongly agree, agree, disagree, or strongly disagree that it is sometimes necessary to discipline a child with a good, hard spanking?
• What are the answer categories or attributes of the variable?:
Strongly agree, Agree, Disagree, Strongly disagree, Don’t know, No answer, or Not applicable
• What is your independent variable?:
The Age of the respondent
• What is the name of your independent variable in GSS?:
Age
• What is the exact question asked in GSS?:
RESPONDENT’S AGE
• What are the answer categories or attributes of the variable?:
Age in years

Step 2:

• Run univariate analysis for your dependent and independent variables using SPSS and GSS2018.
• Copy-and-Paste your output table for your dependent variable here (recommended to copy and paste as image):
• What is the level of measurement for your dependent variable (nominal, ordinal, interval, ratio)?:
Ordinal
• What is the appropriate measure of central tendency for dependent variable (mode, median, mean)?:
Mode
• How do you know that the measure of central tendency that you chose is appropriate for your dependent variable (be specific in your answer)?:
The dependent variable is qualitative so the only appropriate measure of central tendency is mode.
• Copy-and-Paste your output table for your independent variable here (recommended to copy and paste as image):
• What is the level of measurement for your independent variable (nominal, ordinal, interval, ratio)?:
Ratio
• What is the appropriate measure of central tendency for independent variable (mode, median, mean)?:
Mean
• How do you know that the measure of central tendency that you chose is appropriate for your independent variable (be specific in your answer)?:
The independent variable is quantitative (in ratio level) and age is not skewed so the appropriate measure of central tendency is mean.

Part III: Recoding Variables

Step 1:
After you recode MARITAL into MARITALRecode, copy and paste your SPSS output here. You will using Marital as a PRACTICE variable.

• Frequency Table for MARITAL: Copy and paste your SPSS output table for MARITAL (recommended to copy and paste as image):
• Frequency Table for MARITALRecode: Copy and paste your SPSS output table for MARITALRecode (recommended to copy and paste as image):

Step 2:
In this step you will recode YOUR 2 variables.

• Describe the process of recoding your dependent variable. Be specific.
• Describe the process of recoding your independent variable. Be specific.

Step 3:
Run the Frequency Tables for Your Recoded Dependent Variable: Copy and paste your SPSS output (recommended to copy and paste as image):

Run the Frequency Tables for Your Recoded Independent Variable: Copy and paste your SPSS output (recommended to copy and paste as image):

Step 4:

• What is the name of your recoded dependent variable?:
• What is the level of measurement of your recoded dependent variable?:
• What is the appropriate measure of central tendencies for your recoded dependent variable?:
• What is the value of the measures of central tendencies for your recoded dependent variable?:
• How do you interpret/summarize your recoded dependent variable?:
• What is the name of your recoded independent variable?:
• What is the level of measurement of your recoded independent variable?:
• What is the appropriate measure of central tendencies for your recoded independent variable?:
• What is the value of the measures of central tendencies for your recoded independent variable?:
• How do you interpret/summarize your recoded independent variable?: