Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 33

NAME: SAMUEL MWARIRI MBUTHIA

REG NO: R12/5/1165/020


COURSE: BSC. ECONOMICS AND STATISTICS
PROGRAMME: INTERNAL ATTACHMENT
TASK: SPSS ASSIGNMENT

QUESTION 1
a) Frequencies

Statistics

TOTAL FAMILY WEIGHT WEIGHT


INCOME VARIABLE VARIABLE

Valid 142 142 142


N
Missing 0 0 0
Mean 21.26 1.0803 .969577
Std. Error of Mean 1.212 .05710 .0511196
Median 21.00 1.0000 .900000
Mode 25 1.00 .9000
Std. Deviation 14.448 .68045 .6091604
Variance 208.733 .463 .371
Skewness 4.148 3.396 3.407
Std. Error of Skewness .203 .203 .203
Kurtosis 20.688 19.651 19.771
Std. Error of Kurtosis .404 .404 .404
Range 97 5.50 4.9300
Minimum 1 .50 .4500
Maximum 98 6.00 5.3800

Frequency Tables

TOTAL FAMILY INCOME

Frequency Percent Valid Percent Cumulative


Percent

Valid 1 3 2.1 2.1 2.1

3 2 1.4 1.4 3.5


6 1 .7 .7 4.2

7 1 .7 .7 4.9

8 1 .7 .7 5.6

9 6 4.2 4.2 9.9

10 2 1.4 1.4 11.3

11 2 1.4 1.4 12.7

12 2 1.4 1.4 14.1

13 4 2.8 2.8 16.9

14 5 3.5 3.5 20.4

15 8 5.6 5.6 26.1

16 6 4.2 4.2 30.3

17 3 2.1 2.1 32.4

18 6 4.2 4.2 36.6

19 7 4.9 4.9 41.5

20 7 4.9 4.9 46.5

21 10 7.0 7.0 53.5

22 15 10.6 10.6 64.1

23 6 4.2 4.2 68.3

24 6 4.2 4.2 72.5

25 25 17.6 17.6 90.1

26 10 7.0 7.0 97.2

98 4 2.8 2.8 100.0

Total 142 100.0 100.0

WEIGHT VARIABLE

Frequency Percent Valid Percent Cumulative


Percent

Valid .50 39 27.5 27.5 27.5

.77 15 10.6 10.6 38.0

1.00 48 33.8 33.8 71.8

1.50 12 8.5 8.5 80.3

1.54 18 12.7 12.7 93.0

2.00 1 .7 .7 93.7

2.31 5 3.5 3.5 97.2

2.50 1 .7 .7 97.9
3.08 1 .7 .7 98.6

3.50 1 .7 .7 99.3

6.00 1 .7 .7 100.0

Total 142 100.0 100.0

WEIGHT VARIABLE

Frequency Percent Valid Percent Cumulative


Percent

.4500 39 27.5 27.5 27.5

.6900 15 10.6 10.6 38.0

.9000 48 33.8 33.8 71.8

1.3400 12 8.5 8.5 80.3

1.3800 18 12.7 12.7 93.0

1.7900 1 .7 .7 93.7
Valid
2.0700 5 3.5 3.5 97.2

2.2400 1 .7 .7 97.9

2.7600 1 .7 .7 98.6

3.1400 1 .7 .7 99.3

5.3800 1 .7 .7 100.0

Total 142 100.0 100.0

Data distribution in form of bar charts


b) Cross Tabulation

i) Household type and Marital Status

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

HOUSEHOLD TYPE *
142 100.0% 0 0.0% 142 100.0%
MARITAL STATUS

HOUSEHOLD TYPE * MARITAL STATUS Crosstabulation


Count

MARITAL STATUS Total


Married 2 Divorced Separated Single 9

1 39 0 0 0 4 0 43

2 0 0 3 3 6 1 13

3 0 1 3 1 10 0 15

4 2 7 8 2 22 0 41

HOUSEHOLD TYPE 5 0 1 1 0 3 0 5

11 18 0 0 0 1 0 19

13 0 0 1 0 1 0 2

15 0 0 0 0 2 0 2

18 0 0 1 0 1 0 2
Total 59 9 17 6 50 1 142

ii) Marital status and race of respondents

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

MARITAL STATUS * RACE


142 100.0% 0 0.0% 142 100.0%
OF RESPONDENT

MARITAL STATUS * RACE OF RESPONDENT Crosstabulation


Count

RACE OF RESPONDENT Total

1 2 3

Married 36 5 18 59

2 6 3 0 9

Divorced 11 3 3 17
MARITAL STATUS
Separated 3 2 1 6

Single 29 11 10 50

9 0 1 0 1
Total 85 25 32 142

iii) Perform a chi-square test to determine the association between household type
and marital status
HOUSEHOLD TYPE * MARITAL STATUS Crosstabulation

MARITAL STATUS Total

Married 2 Divorced Separated Single 9

Count 39 0 0 0 4 0 4
1 % within HOUSEHOLD
90.7% 0.0% 0.0% 0.0% 9.3% 0.0% 100.0%
TYPE

Count 0 0 3 3 6 1 1
HOUSEHOLD
2 % within HOUSEHOLD
TYPE 0.0% 0.0% 23.1% 23.1% 46.2% 7.7% 100.0%
TYPE

Count 0 1 3 1 10 0 1
3 % within HOUSEHOLD
0.0% 6.7% 20.0% 6.7% 66.7% 0.0% 100.0%
TYPE
Count 2 7 8 2 22 0 4
4 % within HOUSEHOLD
4.9% 17.1% 19.5% 4.9% 53.7% 0.0% 100.0%
TYPE

Count 0 1 1 0 3 0
5 % within HOUSEHOLD
0.0% 20.0% 20.0% 0.0% 60.0% 0.0% 100.0%
TYPE

Count 18 0 0 0 1 0 1
11 % within HOUSEHOLD
94.7% 0.0% 0.0% 0.0% 5.3% 0.0% 100.0%
TYPE

Count 0 0 1 0 1 0
13 % within HOUSEHOLD
0.0% 0.0% 50.0% 0.0% 50.0% 0.0% 100.0%
TYPE

Count 0 0 0 0 2 0
15 % within HOUSEHOLD
0.0% 0.0% 0.0% 0.0% 100.0% 0.0% 100.0%
TYPE

Count 0 0 1 0 1 0
18 % within HOUSEHOLD
0.0% 0.0% 50.0% 0.0% 50.0% 0.0% 100.0%
TYPE
Count 59 9 17 6 50 1 14
Total % within HOUSEHOLD
41.5% 6.3% 12.0% 4.2% 35.2% 0.7% 100.0%
TYPE

Chi-Square Tests
Value df Asymp. Sig. (2-
sided)

Pearson Chi-Square 147.687a 40 .000


Likelihood Ratio 165.174 40 .000
Linear-by-Linear Association .010 1 .919
N of Valid Cases 142

a. 44 cells (81.5%) have expected count less than 5. The minimum


expected count is .01.

iv) Perform a chi-square test to determine the association between race of


respondent and marital status
RACE OF RESPONDENT * MARITAL STATUS Crosstabulation

MARITAL STATUS Total

Married 2 Divorce Separate Single 9


d d

Count 36 6 11 3 29 0 85
1 % within RACE OF
42.4% 7.1% 12.9% 3.5% 34.1% 0.0% 100.0%
RESPONDENT

Count 5 3 3 2 11 1 25
RACE OF
2 % within RACE OF
RESPONDENT 20.0% 12.0% 12.0% 8.0% 44.0% 4.0% 100.0%
RESPONDENT

Count 18 0 3 1 10 0 32
3 % within RACE OF
56.2% 0.0% 9.4% 3.1% 31.2% 0.0% 100.0%
RESPONDENT

Count 59 9 17 6 50 1 142
Total % within RACE OF
41.5% 6.3% 12.0% 4.2% 35.2% 0.7% 100.0%
RESPONDENT

Chi-Square Tests

Value df Asymp. Sig. (2-


sided)
a
Pearson Chi-Square 14.513 10 .151
Likelihood Ratio 15.385 10 .119
Linear-by-Linear Association .039 1 .844
N of Valid Cases 142

a. 10 cells (55.6%) have expected count less than 5. The minimum


expected count is .18.

v) Perform ANOVA test to compare the income of married, divorced, separated


and single.

ANOVA
RESPONDENTS INCOME

Sum of Squares df Mean Square F Sig.

Between Groups 1116.798 5 223.360 1.569 .173


Within Groups 19362.667 136 142.373
Total 20479.465 141

vi) Plot two suitable graphs to display the distribution of highest school completion

Mothers’ Highest Degree


Fathers’ Highest Degree
Spouses Highest Degree
vii) Obtain the variance covariance matrix for the scale variables

Descriptive Statistics

N Minimum Maximum Mean Std. Deviation Variance

Statistic Statistic Statistic Statistic Std. Error Statistic Statistic

TOTAL FAMILY INCOME 142 1 98 21.26 1.212 14.448 208.733


WEIGHT VARIABLE 142 .50 6.00 1.0803 .05710 .68045 .463
WEIGHT VARIABLE 142 .4500 5.3800 .969577 .0511196 .6091604 .371
Valid N (listwise) 142

c) Perform a test to compare the number of children for married and Widow

Group Statistics

MARITAL STATUS N Mean Std. Deviation Std. Error Mean

Married 59 1.69 1.355 .176


NUMBER OF CHILDREN
Widow 9 2.67 2.236 .745
Question Two
Using the performance data
i) Compute a new variable called average performance which is the mean of
English Read and Mathematics
ii) Standardize the average performance variable

Av Pf Std Av Pf
460.53 1.93
442.33 .10
439.07 -.23
431.80 -.96
431.85 -.96
407.84 -3.37
427.41 -1.40
421.65 -1.98
418.36 -2.31
421.86 -1.96
428.14 -1.33
429.07 -1.24
425.11 -1.64
417.71 -2.38
437.67 -.37
428.04 -1.34
440.55 -.08
431.84 -.96
438.87 -.25
430.14 -1.13
427.23 -1.42
419.67 -2.18
429.52 -1.19
427.73 -1.37
440.62 -.07
428.90 -1.25
440.04 -.13
438.97 -.24
434.39 -.70
419.79 -2.17
443.17 .18
437.68 -.37
438.57 -.28
435.04 -.64
434.01 -.74
429.69 -1.17
436.64 -.47
428.86 -1.26
440.00 -.14
435.89 -.55
435.38 -.60
433.97 -.74
429.14 -1.23
436.51 -.49
431.43 -1.00
429.96 -1.15
436.85 -.45
424.85 -1.66
429.99 -1.14
437.97 -.34
435.40 -.60
432.68 -.87
433.73 -.77
438.06 -.33
431.66 -.98
427.42 -1.40
433.03 -.84
432.60 -.88
432.80 -.86
434.62 -.68
434.28 -.71
433.03 -.84
441.51 .01
428.10 -1.33
428.49 -1.30
425.11 -1.64
433.10 -.83
428.27 -1.32
442.09 .07
441.40 .00
424.63 -1.68
427.74 -1.37
430.65 -1.08
436.06 -.53
444.68 .33
431.71 -.97
425.16 -1.63
425.49 -1.60
423.63 -1.78
423.73 -1.77
435.36 -.60
428.19 -1.33
435.98 -.54
435.62 -.58
433.90 -.75
425.00 -1.65
434.68 -.67
444.28 .29
429.15 -1.23
426.34 -1.51
425.05 -1.64
425.12 -1.63
437.94 -.34
425.30 -1.62
431.02 -1.04
428.63 -1.28
431.93 -.95
437.70 -.37
438.67 -.27
435.13 -.63
430.27 -1.12
429.58 -1.19
427.31 -1.41
431.34 -1.01
432.22 -.92
433.91 -.75
432.65 -.88
431.92 -.95
427.24 -1.42
429.81 -1.16
440.55 -.08
430.07 -1.14
432.36 -.91
441.66 .03
430.20 -1.12
440.41 -.10
445.60 .43
441.34 .00
428.16 -1.33
439.68 -.17
431.01 -1.04
433.25 -.82
434.89 -.65
429.52 -1.19
431.99 -.94
434.17 -.72
443.33 .20
443.95 .26
435.00 -.64
434.16 -.72
429.31 -1.21
431.66 -.98
438.83 -.25
429.51 -1.19
446.42 .51
433.43 -.80
434.12 -.73
431.21 -1.02
436.81 -.46
433.82 -.76
439.85 -.15
435.25 -.61
444.65 .33
430.17 -1.13
430.37 -1.11
435.92 -.55
431.47 -.99
430.50 -1.09
446.67 .53
430.92 -1.05
431.44 -1.00
435.40 -.60
430.93 -1.05
436.57 -.48
433.01 -.84
443.19 .18
446.26 .49
436.86 -.45
436.43 -.50
442.95 .16
431.53 -.99
436.09 -.53
433.16 -.83
445.20 .39
439.36 -.20
433.25 -.82
434.85 -.65
445.66 .43
436.01 -.54
441.94 .06
437.53 -.39
435.95 -.54
435.27 -.61
434.03 -.74
435.62 -.58
436.42 -.50
438.89 -.25
433.77 -.76
433.93 -.75
433.93 -.75
444.71 .34
438.40 -.30
434.23 -.72
435.55 -.58
435.12 -.63
438.10 -.33
434.57 -.68
435.25 -.62
436.21 -.52
436.48 -.49
443.91 .26
439.86 -.15
450.83 .95
434.90 -.65
435.52 -.59
434.93 -.65
435.00 -.64
437.66 -.37
441.08 -.03
439.08 -.23
436.42 -.50
445.12 .38
438.62 -.28
438.30 -.31
439.13 -.22
440.07 -.13
435.97 -.54
446.47 .51
436.59 -.48
439.34 -.20
436.20 -.52
444.49 .31
439.75 -.16
438.54 -.28
436.92 -.45
442.80 .14
438.36 -.30
438.13 -.33
437.92 -.35
447.77 .64
440.06 -.13
438.99 -.24
441.35 .00
438.09 -.33
442.80 .14
437.48 -.39
439.45 -.19
437.64 -.37
437.67 -.37
440.01 -.14
440.95 -.04
438.10 -.33
438.25 -.31
451.24 .99
443.55 .22
445.32 .40
441.05 -.03
438.55 -.28
438.33 -.30
439.67 -.17
442.42 .11
439.83 -.15
446.18 .48
439.43 -.19
441.96 .06
439.08 -.23
442.05 .07
441.36 .00
446.28 .49
439.50 -.19
444.23 .29
442.51 .12
446.28 .49
440.33 -.10
440.62 -.07
449.56 .82
440.12 -.12
444.71 .34
440.20 -.12
440.57 -.08
441.67 .03
456.69 1.54
448.54 .72
450.77 .95
442.54 .12
442.84 .15
442.98 .16
441.87 .05
444.15 .28
444.76 .34
441.71 .04
441.60 .02
444.73 .34
442.10 .07
453.45 1.22
444.91 .36
442.44 .11
441.89 .05
441.99 .06
441.83 .05
442.22 .09
444.07 .27
442.30 .09
442.33 .10
443.38 .20
449.49 .82
443.33 .20
447.21 .59
447.09 .58
443.41 .21
450.45 .92
443.07 .17
444.02 .27
442.97 .16
443.87 .25
449.35 .80
445.37 .40
449.45 .81
454.09 1.28
444.79 .34
448.68 .74
452.99 1.17
448.11 .68
448.19 .69
446.30 .50
449.02 .77
447.82 .65
447.34 .60
445.21 .39
444.53 .32
446.08 .47
446.06 .47
446.76 .54
447.10 .58
444.63 .33
445.40 .41
445.85 .45
445.21 .39
446.44 .51
444.97 .36
445.04 .37
445.07 .37
451.28 1.00
446.89 .56
448.78 .75
447.06 .57
452.66 1.14
448.41 .71
455.08 1.38
449.59 .83
447.74 .64
450.95 .96
446.28 .49
446.92 .56
449.09 .78
446.53 .52
448.16 .68
447.95 .66
447.19 .59
448.33 .70
450.41 .91
447.53 .62
447.82 .65
448.22 .69
447.82 .65
447.80 .65
449.07 .78
448.02 .67
447.93 .66
449.47 .82
448.85 .75
448.03 .67
448.20 .69
450.04 .87
448.30 .70
450.51 .92
450.65 .93
453.46 1.22
450.06 .88
449.03 .77
449.03 .77
456.60 1.53
449.27 .80
449.55 .82
451.18 .99
451.03 .97
450.77 .95
451.08 .98
451.07 .98
454.92 1.36
451.30 1.00
451.50 1.02
451.99 1.07
452.03 1.07
452.27 1.10
457.55 1.63
453.43 1.21
453.88 1.26
453.59 1.23
454.66 1.34
453.31 1.20
454.21 1.29
453.81 1.25
458.06 1.68
457.99 1.67
454.40 1.31
455.06 1.38
455.51 1.42
456.74 1.55
455.96 1.47
455.10 1.38
461.48 2.02
455.60 1.43
456.20 1.49
456.38 1.51
458.56 1.73
460.01 1.88
458.49 1.72
460.68 1.94
462.48 2.13
459.93 1.87
461.20 2.00
464.36 2.31
463.31 2.21
463.39 2.22
463.66 2.24
463.50 2.23
464.27 2.31
464.79 2.36
465.02 2.38
465.66 2.45
466.44 2.52
466.09 2.49
466.45 2.53
467.55 2.64
471.53 3.04
472.74 3.16
438.09 -.33
449.12 .78
438.84 -.25
iii) Fit a regression model for average performance using the other variables except
the county.

Variables Entered/Removeda

Model Variables Variables Method


Entered Removed

Math, computer,
expenditure,
English,
1 calworks, . Enter
income, lunch,
students, Read,
teachersb

a. Dependent Variable: Average_Performance


b. All requested variables entered.

Model Summary

Model R R Square Adjusted R Std. Error of the


Square Estimate

1 1.000a 1.000 1.000 .00000

a. Predictors: (Constant), Math, computer, expenditure, English,


calworks, income, lunch, students, Read, teachers

ANOVAa

Model Sum of Squares df Mean Square F Sig.

1 Regression 41379.666 10 4137.967 . .b

Residual .000 409 .000


Total 41379.666 419

a. Dependent Variable: Average_Performance


b. Predictors: (Constant), Math, computer, expenditure, English, calworks, income, lunch,
students, Read, teachers

Coefficientsa

Model Unstandardized Coefficients Standardized t Sig.


Coefficients

B Std. Error Beta

(Constant) -3.682E-013 .000 .000 1.000

students 2.537E-016 .000 .000 .000 1.000

teachers -5.515E-015 .000 .000 .000 1.000

calworks -1.198E-015 .000 .000 .000 1.000

lunch 3.567E-015 .000 .000 .000 1.000

1 computer 1.310E-016 .000 .000 .000 1.000

expenditure -3.019E-018 .000 .000 .000 1.000

income 6.536E-015 .000 .000 .000 1.000

English .333 .000 .613 260076052.848 .000

Read .333 .000 .674 132774698.576 .000

Math .333 .000 .629 161091350.135 .000

a. Dependent Variable: Average_Performance

iv) Interpret the results.


 The significant coefficients for English, Read, and Math suggest that these variables are
strong predictors of average performance.
 The large t-values and small p-values for English, Read, and Math coefficients indicate
potential issues such as multicollinearity.

You might also like