You are on page 1of 9

Q2: Compute bmi as bmi= weight/height**2 then recode as less than 18=1, 18-25=2, 25above=3 and hence construct

a cross table for sex by bmi.

bmi_gr * sex Cross tabulation Count sex Female bmi_gr Under Weight Standard weight Over Weight Total 31 53 7 91 Male 28 162 22 212 Total 59 215 29 303

Chi-Square Tests Asymp. Sig. (2Value Pearson Chi-Square 17.669a df 2 sided) .000

Comment: Gender is significantly related with bmi. That means the bmi for male and
female both are equal.

Q3: Construct a frequency table for gender, gender by health.

Gender Cumulative Frequency Valid 1 2 Total 28 275 303 Percent 9.2 90.8 100.0 Valid Percent 9.2 90.8 100.0 Percent 9.2 100.0

Gender by Health Cumulative Frequency Valid 1 2 3 4 5 6 8 10 Total 2 36 16 69 4 139 12 25 303 Percent .7 11.9 5.3 22.8 1.3 45.9 4.0 8.3 100.0 Valid Percent .7 11.9 5.3 22.8 1.3 45.9 4.0 8.3 100.0 Percent .7 12.5 17.8 40.6 41.9 87.8 91.7 100.0

Q4: Find average an standard deviation for height, weight age monthly income.

Descriptive Statistics N health wgt age inc Valid N (leastwise) 303 303 303 303 303 Mean 2.77 55.05 22.02 2.80E4 Std. Deviation 1.022 7.422 1.566 14700.637

Q5: Create weight_gr variable from weight into categories 1 for less than 140 and 2 for above or equal 140 and hence construct a contingency table for gender by weight_gr.

weight_gr * gender Cross tabulation Count Gender 1 weight_gr Total 1 28 28 2 275 275 Total 303 303

Q6. Find median, mode, coeff variation, skew ness &kurtosis for height weight, age & monthly family income.

Statistics age Median Mode Std. Deviation Skewness Kurtosis Coeff of variation 22.00 22 1.566 -.074 -.760 7.11. inc 2.50E4 30000 1.470E4 1.232 2.755 52.5 Hgt 65.000 67.0 3.2384 -.454 -.336 5.02 wgt 55.00 60 7.422 -.066 -.458 13.49

Q7: Construct a box plot, steam & leaf plot.

Q8: Draw a bar chart & pie chart for sex.

Q9: Plot height vs. weight.

Q10: Find correlation between height and weight.


Correlations hgt hgt Pearson Correlation Sig. (2-tailed) N wgt Pearson Correlation Sig. (2-tailed) N 303 .259** .000 303 303 1 wgt .259** .000 303 1

Q11: Fit a regression model between height and weight.


Model Summary Adjusted R Model 1 R .259a R Square .067 Square .064 Std. Error of the Estimate 7.181

a. Predictors: (Constant), hgt

ANOVA Model 1 Regression Residual Total Sum of Squares 1116.605 15521.152 16637.757 df 1 301 302 Mean Square 1116.605 51.565 F 21.654 Sig. .000a

Coefficient Standardized Unstandardized Coefficients Model 1 (Constant) hgt a. Dependent Variable: wgt B 16.755 .594 Std. Error 8.240 .128 .259 Coefficients Beta t 2.033 4.653 Sig. .043 .000

Q12: Test at 5% level whether the average bmi score is 25. Step-1: H0: bmi=25 H1: bmi 25 Step-2: At 5% level of significant. We may test the null hypothesis. Step-3: Under the null hypothesis,
X-? s The Test statistics Z = n

Step-4: Calculation:
20.601-25.000 3.096 Z c= 303

= -24.733 Step-5: Critical Value Zt =1.96 Step-6: Decision rule: Since Zc >Zt so the null hypothesis do not rejected. Step-7: Comment: At 5% level of the average score is 25.

You might also like