You are on page 1of 4

GET

  FILE='C:\Documents and Settings\Administrator\Desktop\aaaa.sav'.
DATASET NAME DataSet0 WINDOW=FRONT.
RECODE annualincome (1 thru 2=1) (3 thru 5=2) INTO incom.
VARIABLE LABELS  incom 'incom'.
EXECUTE.
CROSSTABS
  /TABLES=purchasedinsurance BY incom
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ
  /CELLS=COUNT

  /COUNT ROUND CELL.

Crosstabs

Notes

Output Created 19-Jul-2010 15:37:25

Comments

Input Data C:\Documents and


Settings\Administrator\Desktop\aaaa.sa
v

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data


100
File

Missing Value Handling Definition of Missing User-defined missing values are


treated as missing.

Cases Used Statistics for each table are based on


all the cases with valid data in the
specified range(s) for all variables in
each table.

Syntax CROSSTABS
/TABLES=purchasedinsurance BY
incom
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ
/CELLS=COUNT
/COUNT ROUND CELL.

Resources Processor Time 00:00:00.015

Elapsed Time 00:00:00.015

Dimensions Requested 2
Cells Available 174762

[DataSet1] C:\Documents and Settings\Administrator\Desktop\aaaa.sav

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

purchasedinsurance * incom 100 100.0% 0 .0% 100 100.0%

purchasedinsurance * incom Crosstabulation

Count

incom

1 2 Total

purchasedinsurance yes 9 58 67

no 9 24 33

Total 18 82 100

Chi-Square Tests

Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-


Value df sided) sided) sided)

Pearson Chi-Square 2.869a 1 .090

Continuity Correctionb 2.008 1 .156

Likelihood Ratio 2.738 1 .098

Fisher's Exact Test .104 .080

Linear-by-Linear Association 2.841 1 .092

N of Valid Casesb 100

a. 0 cells (.0%) have expected count less than 5. The minimum expected count is 5.94.

b. Computed only for a 2x2 table

CROSSTABS
  /TABLES=gender BY purchasedinsurance
  /FORMAT=AVALUE TABLES
  /STATISTICS=CHISQ
  /CELLS=COUNT
  /COUNT ROUND CELL.

Crosstabs

Notes

Output Created 19-Jul-2010 15:41:57

Comments

Input Data C:\Documents and


Settings\Administrator\Desktop\aaaa.sa
v

Active Dataset DataSet1

Filter <none>

Weight <none>

Split File <none>

N of Rows in Working Data


100
File

Missing Value Handling Definition of Missing User-defined missing values are


treated as missing.

Cases Used Statistics for each table are based on


all the cases with valid data in the
specified range(s) for all variables in
each table.

Syntax CROSSTABS
/TABLES=gender BY
purchasedinsurance
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ
/CELLS=COUNT
/COUNT ROUND CELL.

Resources Processor Time 00:00:00.000

Elapsed Time 00:00:00.000

Dimensions Requested 2

Cells Available 174762

[DataSet1] C:\Documents and Settings\Administrator\Desktop\aaaa.sav

Case Processing Summary


Cases

Valid Missing Total

N Percent N Percent N Percent

gender *
100 100.0% 0 .0% 100 100.0%
purchasedinsurance

gender * purchasedinsurance Crosstabulation

Count

purchasedinsurance

yes no Total

You might also like