Professional Documents
Culture Documents
SPSS Assignment
SPSS Assignment
(Program: weekend)
3. Divorced/ separated
2. Muslim
3. Protestant
4. Catholic
5. Traditional belief
Season Yes No
Dry season
Wet season
2.5. Does your source of drinking water quality change seasonally?
1. Yes
2. No
2.6. If yes to Q 2.6 what describes the state of the water (Multiple responses are possible)
1. It is muddy
2. It has worm/s
3. It is salty
4. It has bad taste
5. It has bad smell
6. It finishes sop /leas lather/
7. It gives more lather
8. Others specify________________________________
2.7. Did you experienced the following problem in the last thirty days?
Problem Yes No
1. The household drink water that he/she thought might not be
safe for health
2. The household not cook a desirable food because there was not
enough water
3. Any boy children in the household, who is a student, go to
school late or stay home from school to help with water
collection
4. Any girl children in the household, who is a student, go to
school late or stay home from school to help with water
collection
5. Someone in the household sleep very few hours because he/she
wake up very early in the morning to go for collecting water
6. The household did not collect water when it wanted to.
7. The household collect water from an undesirable or dirty source
because it could not collect from its preferred source
8. The household take water from someone else in the village
9. Anyone who is not a member of the family take water from
your house because of shortage
10. The household unable to complete all of its work due to water
collection
Activity 2: The following small data set consists of four variables namely, Y= amount of body
fat, X1=triceps, X2=Thigh Circumference, and X3=Midarm Circumference.
X1 X2 X3 Y
19.5 43.1 29.1 11.9
24.7 49.8 28.2 22.8
30.7 51.9 37.0 18.7
29.8 54.3 31.1 20.1
19.1 42.2 30.9 12.9
25.6 53.9 23.7 21.7
31.4 58.5 27.6 27.1
27.9 52.1 30.6 25.4
22.1 49.9 23.2 21.3
25.5 53.5 24.8 19.3
A. Obtain the scatter plot of Y and X1, Y and X2, Y and X3, is there any linear relationship
between these variables?
Figure. 1 Scatter plot of amount of body fat and triceps
There is a linear relationship between amount of body fat and triceps.
Figures 2 Scatter plot of Amount of body fat and Thigh circumference
As we see the above scatter plot there is a linear relationships Amount of body fat and Thigh
circumference
As we see the graph above dots are far from the fit line, so, there is a linear relationship between
Amount of body fat and Midarm circumference
Model Summary
Mod R R Adjusted R Std. Error
el Square Square of the
Estimate
1 .894a .799 .699 2.6508
a. Predictors: (Constant), Midarm Circumference, Thigh
Circumference, Triceps
ANOVA
Model Sum of df Mean F Sig.
Squares Square
1 Regressi 167.894 3 55.965 7.964 .016b
on
Residual 42.162 6 7.027
Total 210.056 9
a. Dependent Variable: amount of body fat
b. Predictors: (Constant), Midarm Circumference, Thigh Circumference,
Triceps
Coefficientsa
Model Unstandardized Standar t Sig. 95.0% Confidence Interval for B
Coefficients dized
Coeffici
ents
B Std. Beta Lower Bound Upper Bound
Error
1 (Constant) 186.668 129.207 1.445 .199 -129.491 502.826
D. Which explanatory variable is the most determinant factor of body fat (Y)? Why?
The most determinant explanatory variable of body fat is Triceps. Since it has larger
positive coefficient.
Activity 3:
3. Using the data SBP1.sav, describe the data using the appropriate summary statistics, graph
and diagram based on the properties of the variable?
Summary statistics Include the followings
a. Measure of Central tendency (Mean, Median and Mode), measure of dispersion (range,
variance and standard deviation), measure of distribution (skewness and kurtosis),
measure of positions (percentile)
Statistics
Missing 0 0 2 2 31 41
d. Construct a bar chart showing the distribution of agecat by gender showing all necessary
components.
e. Recode the variable level HBP 0 to 1 and 1 to 2 in to the same variable.
See SPSS
height in inches
Frequency Percent Valid Percent Cumulative
Percent
Valid < 60.0 65 7.5 7.5 7.5
60.0 - 64.9 343 39.6 39.7 47.2
65.0 - 69.9 351 40.5 40.6 87.8
70.0 - 74.9 97 11.2 11.2 99.1
75.0+ 8 .9 .9 100.0
Total 864 99.8 100.0
Missing System 2 .2
g. Construct the pie chart for the variable race showing all necessary components.
h. Construct box plot for the variable weight using gender for group variable?
i. Construct the scatter plot using the variable weight and BMI?
j. Describe the variable gender, smoke and race using frequency?
Frequency
Statistics
sex of the race of the does respondent
subject subject smoke now?
N Valid 866 864 424
Missing 0 2 442
Mean .48 1.37 1.48
Std. Error of Mean .017 .020 .024
Median .00 1.00 1.00
Mode 0 1 1
Std. Deviation .500 .580 .500
Variance .250 .337 .250
Skewness .093 1.333 .095
Std. Error of Skewness .083 .083 .119
Kurtosis -1.996 .767 -2.000
Std. Error of Kurtosis .166 .166 .237
Range 1 2 1
Minimum 0 1 1
Maximum 1 3 2
Sum 413 1181 626
Percentil 25 .00 1.00 1.00
es 50 .00 1.00 1.00
75 1.00 2.00 2.00
k. Describe the variable age, weight and BMI using descriptive statistics.
Descriptive Statistics
Statisti Statisti Statistic Statis Statis Statistic Statisti Statisti Std. Statist Std. Error
c c tic tic c c Error ic
864 388 82 470 164.2 39.840 1587.2 1.348 0.083 5.505 0.166
weigh 8 29
t
BMI 863 66.08 13.29 79.37 26.98 5.94293 35.318 1.562 0.083 7.648 0.166
79
Valid 863
N
l. State gender and HBP are related, show column percentages? Crosstabulation
a. 0 cells (0.0%) have expected count less than 5. The minimum expected count is 82.03.
Hypothesis :
The key result in the Chi-Square Tests table is the Pearson Chi-Square.
The footnote for this statistic pertains to the expected cell count assumption (i.e.,
expected cell counts are all greater than 5): no cells had an expected count less than 5, so
this assumption was met.
Because the test statistic is based on a 2x2 crosstabulation table, the degrees of freedom
(df) for the test statistic is
df=(R−1)∗(C−1)=(2−1)∗(2−1)=1∗1=1, df=(R−1)∗(2−1)=(2−1)∗(2−1)=1∗1=1
Since the p-value (p = 0.737) is greater than our chosen significance level (α = 0.05), we do not
reject the null hypothesis. Rather, we conclude that there is not enough evidence to suggest an
association between gender and High blood Pressure .
No association was found between gender and High blood Pressure (Χ2(2)> = 0.113, p = 0.737).
One-Sample Test
Test Value = 25
Lower Upper
Notice that the 95% confidence interval of the mean of BMI does not contain the
hypothesized value 25. There fore we reject the null hypothesis.
ANOVA
Sum of df Mean F Sig.
Squares Square
systolic Between (Combined) 3233.923 1 3233.923 8.490 0.004
blood Groups
pressure * Within Groups 317311.873 833 380.927
sex of the
Total 320545.796 834
subject
Hypothesis
Ho : The mean of SBP Female and the mean of SBP of male is equal.
H1: There is the difference between SBP for male and female.
As the table show the P-value is 0.004 which is less than the level of significant (alpha =
0.05.) so, we reject the null hypothesis.