Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
In class midterm
Logic behind multiple regressions
Model fitting, if your adding an additional variable to the model what will
happen to the rest of the variables.
Categorical variable
Why do we need to do those types of things?
Link 2 article is science
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Interval variables
When you have several variables you always wanna say holding constant variable
Categorical variables:
Interpretation is always the same: a comparison to something
EX: number of hours worked: impossible to be a categorical variable
Can r
Sociology 113
Computer and Research Methods in Social Research
Course Syllabus
UCLA
Summer 2014
Lecture: Tuesday & Thursday, 12:001:45 pm: Humanities 135
Lab: Tuesday, 2:304:20 pm: Public Affairs 2035H
Instructor: Matthew Curry
Email: [email protected]
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Nicole Elkin
Sociology 113
Discussion Section 1D
110915
Homework #5
1) a) Fulltime job is 40 hours per week, so the threshold would be anybody worked 40 hours
per week. If two people each work 40 hours per week but one makes more or less annual
income
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Nicole Elkin
Sociology 113
Discussion 1D
October 26, 2015
Final: A students grade on the final exam, from 0100 percent
Midterm: A students grade on the midterm, from 0100 percent
Mystery: A mystery variable ranging 0100. You will have to make an inform
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Kristina Elkin
Sociology 113
Discussion Section 1D
12115
1) Do some recoding. For each of these recodes, double click in the SPSS output to paste in
the command SPSS used for the recoding. Do not paste in full tables any more.
a) Recode educ in to a var
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Nicole Elkin
Sociology 113
Discussion Section 1D
101915
1.
Independent Samples Test
Levene's Test
for Equality of
Variances
ttest for Equality of Means
95% Confidence
Interval of the
Sig.
(2F
Sig.
t
df
Mean
Std. Error
Difference
tailed) Difference Diff
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Kristina Elkin
Sociology 113
Discussion Section 1D
102615
1) Do a regression with a students grade on the final as the dependent variable and their midterm
grade as the independent variable.
a) Provide the appropriate tables (2 pts)
Model Summary
Adjust
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Homework 6
Nicole Elkin
Sociology 113
Discussion Section 1D
112315
List of variables for the assignment, which comes from the 2012 GSS:
age: Age of respondent. Note that people under 18 are not allowed to take the
survey.
childs: Number of children re
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Kristina Elkin
Sociology 113
Discussion Section 1D
111015
1a: Assume you dont know anything about what kind of job someone has, but you know their
annual income and how many hours they worked last week. People who work more probably
get paid more. At wh
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Kristina Elkin
Sociology 113
Discussion Section 1D
101215
1) Run a ttest of violent crime, comparing states with below average poverty to those with above
average poverty. Do this by specifying a cut point of 8.5 in SPSS instead of choosing groups. Wha
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Kristina Elkin
Sociology 113
Discussion Section 1D
101215
1. Identify whether each of these variables is nominal, ordinal or interval.
The students grades from 0102 points are interval variables.
How long it took students to complete the test, from 0
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Nicole Elkin
Sociology 113
Discussion Section 1D
10615
Good Example:
A line chart is an effective tool for visualizing trends in data over time. The graph above
is particularly a good example of the usage of a line graph as opposed to a bar graph
becaus
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Download the HW 4 data.xlsx file and open it in SPSS. This data contains three variables
from a made up statistics class:
Final: A students grade on the final exam, from 0100 percent
Midterm: A students grade on the midterm, from 0100 percent
Mystery: A
Sociology 113 Final Exam
Spring, 2017
100 points possible
Neil Steers, Ph.D.
Ravaris Moore
Lei Feng
This is an openbook test. You may consult books, slides, and notes for anything having to do
with statistical content or specific questions. But you must
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Homework 5:
Download the 2012 GSS data from the course website. Unzip it and then open it in
SPSS. This data set has every variable in the GSS, but we will only focus on the
following:
educ: Respondents years of education. Max allowed in GSS is 20.
conrin
Sociology 113 Midterm Exam
Spring, 2017
75 points possible
SCORING KEY
Neil Steers, Ph.D.
Ravaris Moore
Lei Feng
This is an openbook test. You may consult books, slides, and notes for anything having to do
with statistical content or specific questions.
Sociology 113 Midterm Exam
Winter, 2017
75 points possible
Neil Steers, Ph.D.
Ravaris Moore
Lei Feng
This is an openbook test. You may consult books, slides, and notes for anything having to do
with statistical content or specific questions. But you must
*wk1_hw.do
*Uses appropriate tab and sum commands to describe GSS variables (% breakdowns for categorical variables, averages for continuous variables)
*closes open log files
cap log close
*allows STATA to run all commands without "more" button
set more o
capture log close
set more off
cd "G:\soc113"
log using "log\wk2_hw.log", text replace
codebook polviews
capture drop pv3
recode polviews (1/3=1 "Liberal") (4=2 "Moderate") (5/7=3 "Conservative"), gen(pv3)
tab polviews pv3
codebook happy
capture drop sad
*wk1_lab.do
*Introduces STATA for week 1 of lab. Tab and sum commands.
*close any open log file
cap log close
*allows STATA to run all commands
set more off
*change directory
cd "F:\soc113\"
*start log file
log using "log/wk1_lab.log", text replace
*Start
*wk4_lab.do
*Multiple regression for week 4 of lab
*Setup
capture log close
set more off
*change directory to soc113 folder
cd "F:\soc113\"
*start a new log file
log using "log/wk4_lab.log", text replace
*Start analysis
* #1
* Recode variables
* Outcome:
*wk5_lab.do
*Squared terms, tables, and graphs
*Setup
capture log close
set more off
*change directory to soc113 folder
cd "F:\soc113\"
*start a new log file
log using "log/wk5_lab.log", text replace
*Start analysis
/ #1
/ Recode variables
*Recode gender
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Homework 2: Due 10/12
Soc 113
Hye Weon Kang
904336749
Dis 1E
In the case of stats freakout, your homework assignments can also be used as a study guide!
Each question is 10 pts (Questions 10a and 10b are each 5 pts)
Download the dataset testdata1 from the
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Sociology 113
Bad Example
Plotting variables with different scales on the same chart is likely to result in erroneous conclusions. The fact that
two curves move together is not sufficient to establish a correlation. The chart above attempts to link suicid
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
1) Identify whether each of these variables is nominal, ordinal or interval.
For the data supplied, we can infer that grades is an interval variable. The amount of
time is took the students to complete the exam is an interval variable. The essay
question
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
1) Do a regression with a students grade on the final as the dependent variable and their midterm
grade as the independent variable.
a) Provide the appropriate tables (2 pts)
Model Summary
Adjusted R
Model
R
R Square
Square
Std. Error of the Estimate
a
1
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Correlation vs. Regression
Correlation:
Measure correspondence of variables
No causal inference
Measured in standard deviations
Regression:
Measure independent and dependent variables
Assume causal order
Measured in units for each variable
Possible Reason
Statistical and Computer Methods in Social Research
SOC 113

Fall 2015
Is there a difference between men and women and how large is this difference
6049.53 coefficients for years of education is saying for any racial group and gender,
wed expect people to earn 6049.53 more per year of schooling. Controlling for all
other var
Social Science Research
Methods Overview,
Research Designs and
Descriptive Statistics
March 28, 2016
Neil Steers, Ph.D.
Fundamental Purposes of Social
Science Research
To generate knowledge that results from:
Testing theories of social behavior
To genera
Mika Foster
UID:104425056
Sociology 113
Lab/Dis: Ravaris; Monday 1111:50 AM
March 22, 2017
Sociology 113 Final Exam
Winter, 2017
100 points possible
Neil Steers, Ph.D.
Ravaris Moore
Lei Feng
This is an openbook test. You may consult books, slides, and
SOCIOLOGY 113
Winter, 2017
Homework Assignment #3
25 POINTS TOTAL
DUE WEDNESDAY MARCH 8, 2017
Neil Steers, Ph.D.
Ravaris Moore
Lei Feng
Complete the following exercises. Type your answers directly into the spaces below. Answer all
questions thoroughly and
Name
Major
Kauai Arieana Taylor
Psychology
Brittnee Wright
Psychobiology
Breeanna Wright
Physiologic Science
Raslyn Carol T. Preston
Biology
Kelsee Thomas
Fine Arts
Tyler Hamilton
Sociology
Khadejah Ray
Sociology
Nyesha Blewett
African American Studies
An