Professional Documents
Culture Documents
Practical - 592 MA SOCIOLOGY SPSS Fourth Sem
Practical - 592 MA SOCIOLOGY SPSS Fourth Sem
Practical - 592 MA SOCIOLOGY SPSS Fourth Sem
Department of Sociology
Saraswoti Multiple Campus
A 1 1 30 20
B 2 2 40 26
C 1 3 60 22
Analysis of Nominal Scale
Data
• Univariate data analysis: Analysis of
one variable; one way frequency table
• Bivariate data analysis: Analysis of two
variables; two way frequency table,
Chi-square test
• Level of significance
Go to DISDATA
One way frequency table
• Analyze
– Descriptive
• Frequencies
– Ecological region (choose any one of the variables)
» ok
Two Way Frequency Table
• Analyze
– Descriptive
• Cross-tab
– Poverty and Education (choose any two categorical
variables)
– OK
For Chi-square test tick (√) Pearson box after you
insert variables and then OK.
Formula is, χ2=∑(O-E)2/E
Where, χ2= Chi-square, O= Observed frequency,
E=Expected frequency
Go to New File
Analysis of Ordinal Scale
Data
• Univariate data analysis: Analysis of
one variable; one way frequency table
• Bivariate data analysis: Analysis of two
variables; Spearman rho, Chi-square
test of indepedence
Ordinal Scale Data-Frequency
(K4 in 04538-0011.sav CVFS)
Spearman’s Rank Order
Correlation
Spearman’s rho(ρ)=1-6∑D2/N(N2-1)
Where, ρ=rho, D= Difference between two ranks,
N=Number of observations/frequency
Where R denotes coefficient of rank
correlation, D denotes the differences
between paired ranks, and N stands for
the number of pairs.
Spearman’s rho (rank in ordinal)
Analysis of Interval and Ratio-scale Data
• Analyze
Descriptive
Frequencies
variable
Statistics
OK
One Sample t-Test
• Analyze
Compare means
One sample t-test
Dependent variable
Test value
OK
Compare means
• Analyze
Compare means
One sample t-test
Independent sample t-test
Paired sample t-test
One way Anova
Variables
OK
One sample test (pcinc in income &
expenditure.sav)
Independent Sample test (age in New one. sav)
Paired sample test (E15 & E15_BLT2 in 04538-0011 CVFS.sav)
Same samples at different points in time (1996 and 2008)
One Way ANOVA
• Correlation:Karl Pearsons
• Anlyze
Correlate
Bivariate
Variable(pcinc &pcexp)
Pearson
OK
Calculation
• Two continuous (quantitative) variables
• Formula
r=∑xy/√∑x ∑y 2 2
Regression equation is
Y= ά+ βX+µ
Where, Y= Dependent Variable (Effect)
ά = Intercept (constant)
β = Value of effects of X on Y
X= Independent variable (Cause)
Simple linear regression model is
ŷ=a+bx
Multiple Correlation (Linear regression)
(04538-0011.sav)
• Analyze
Regression
Linear
Dependent Variable
(minutes for interview)
Independent Variable
(Education, Age and Gender)
Statistics → (√) Model Fit (√)
Estimate→Continue→OK
Output (Result)
3
Regression . . .
4
Interpretation
1. First table shows variable entered and
method (enter)
2. Second table model summary shows 0.347
which means about 35 (34.7)% variance in
the dependent variable is caused by
independent variable (education, age and
gender)
3. Third table ANOVA shows that fitted model
is significant (F value significant as p<0.001)
4. Fourth table coefficient shows the effects of
independent variables (age, education and
gender) on dependent variable (length of
interview)
Logistic (binary) regression
Logistic Regression
Equation takes the form:
β0 =Intercept
β1 =Regression coefficient (Logit coefficient)
Xn =Independent (or explanatory) variable
Binary logistic. . .
Logistic Regression
Logistic Regression
How to Transform?
• Analyze
Regression
Binary
Dependent variable (response)
Covariates (age, gender)
Covariates Categorical
Age Age
Gender Gender
Indicator-Reference group
o Last o First Change
Continue
OK
Binary logistic regression
(salaried job, uch, gender and
ed_recode
Omni bus Tests of Model Coeffici ents
Chi-square df Sig.
Step 1 Step 1487.077 2 .000
Block 1487.077 2 .000
Model 1487.077 2 .000
Model Summary
Classification Tablea
Predic ted