# Week 5 independent t test exercises

Week 5 Independent t Test Exercises
Part I
The hypothesis being tested is: Women who are working will have a lower level of depression as compared to women who are not working.
Using Polit2SetC SPSS dataset, which contains a number of mental health variables, determine if the above hypothesis is true.
Follow these steps when using SPSS:

Open Polit2SetC dataset.
Click Analyze then click Compare Means, then Independent Sample T-test.
Move the Dependent Variable (CES_D Score “cesd”) in the area labelled Test Variable.
Move the Independent Variable (Currently Employed “worknow”) into the area labelled Grouping Variable. The worknow variable is coded as (0= those women who do not work and 1= those women who are working).  Click on Define Groups in group 1 box type 0 and in group 2 box type 1. Click Continue.
Click continue and then click OK.

Assignment: Through analysis of the data and use of the questions below write one to two paragraphs summarizing your findings from this t-test.

How many women were employed versus not employed in the sample?
What is the total sample size?
What are the mean (SD) CES-D scores for each group?
Interpret the Levene’s statistic. (Hint: Is the assumption of homogeneity of variance met? Are equal variances assumed or not assumed?)
What is the value of the t-statistic, number of degrees of freedom and the p-value?
Does the data support the hypothesis? Why or why not?

Part II
Hypothesis: Women who reported depression scores in wave 1 and wave 2 of the study did not have a significant difference in their level of depression.
Using Polit2SetC SPSS dataset, determine if the above hypothesis is true.
Follow these steps when using SPSS:

Open Polit2SetC dataset.
Click Analyze then click Compare Means, then Paired Samples T-test.
First click on CES-D Score (cesd) and move it into the box labelled Paired Variables (in the rectangle for Pair 1 of Variable 1 and then click on CESD Score, Wave 1 (cesdwav1) and move it into the Paired Variables box (in the rectangle next to CES-D Score, pair 1, variable 2).
Click continue and then click OK.

Assignment: Through analysis of the data and use of the questions below write one to two paragraphs summarizing your findings from this t-test.

What is the total sample size?
What are the mean (SD) CES-D scores at wave 1 and wave 2?
What is the mean difference between the two time periods?
What is the value of the t-statistic, number of degrees of freedom and the p-value(sig)?
Does the data support the hypothesis? Why or why not?

Part III
Using Polit2SetC dataset, run independent groups t-tests for three outcomes. The outcome variables are CES-D Score (cesd), SF12: Physical Health Component Score, standardized (sf12phys) and SF12: Mental Health Component Score, standardized (sf12ment).
Follow these steps when using SPSS:

Open Polit2SetC dataset.
Click Analyze then click Compare Means, then Independent Sample T-test.
Move the Dependent Variables (CES_D Score “cesd”, SF12: Physical Health Component Score, standardized (sf12phys), and SF12: Mental Health Component Score, standardized (sf12ment) ) in the area labelled Test Variable.
Move the Independent Variable (Educational Attainment “educatn”) into the area labelled Grouping Variable. The educatn variable is coded as (1= no high school credential and 2=diploma or GED).  Click on Define Groups in group 1 box type 1 and in group 2 box type 2. Click Continue.
Click continue and then click OK.

Assignment: Create a table to present your results, use the table 6.3 in Chapter 6 as a model.  Write one or two paragraphs explaining your results.
Week 5 ANOVA Exercises
Research Question: Is there a difference in the overall satisfaction of women based on the number of housing problems (no problems, 1 problem, 2 or more problems)?
Using Polit2SetA dataset, run an ANOVA using Overall Satisfaction, Material Well-Being (satovrl) as the dependent variable and Housing Problems (hprobgrp) (this is the last variable in the dataset) as the Independent Variable.
Follow these steps when using SPSS:

Open Polit2SetA dataset.
Click Analyze then click Compare Means, then One-way ANOVA.
Move the Dependent Variable (Overall Satisfaction “satovrl”) in the box labelled Dependent List by clicking the arrow button.  The dependent variable is a continuous variable.
Move the Independent Variable (Housing Problems “Hprobgrp”) into the box labelled Factor. The hprobgrp is a categorical variable coded as (1= no hoursing problem, 2=one housing problem, 3=two or more housing problems).
Click the Options button (right side of box) and click on Descriptives and Homogeneity of Variance and then click continue.
Click on Post Hoc (right side of box). Click on Tukey and then click continue.
Click OK.

Assignment: Through analysis of the data and use of the questions below write one to two paragraphs summarizing your findings from this ANOVA.

What is the total sample size?
How many women were in each of the different hprobgrp groups?
What are the mean (SD) overall satisfaction scores for each group?
Interpret the Levene’s statistic. (Hint: Is the assumption of homogeneity of variance met? Are equal variances assumed or not assumed?)
What is the value of the F-statistic, number of degrees of freedom and the p-value?
Is there a significant difference in the overall satisfaction level of women in each of the hprobgrp groups?
Interpret

#### What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but splendidwritings.com proved they are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 14***| Rating: ⭐⭐⭐⭐⭐
"The company has some nice prices and good content. I ordered a term paper here and got a very good one. I'll keep ordering from this website."