You are on page 1of 20

Ex. No.

: 9 Date: 06-05-2010
AIM:

ANALYSIS USING SELECT CASE (SPSS)

To find out the frequency table for male with respect to their height using SPSS software PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables.

Step 4:
Go to Data SELECT CASES Select if condition is satisfied and then click the IF button. Then the select case window will open, give the condition as sex =1 and give CONTINUE and click OK.

Step 5:
Go to ANALYZE DESCRIPTIVE STATISTICS FREQUENCIES choose the option as HEIGHT and shift it to variables and box and click OK

Step 6:
Output window is automatically generated.

Step 7:
Give the inference.

Step 8:
Go to DATA SELECT CASE GIVE ALL CASE and click OK

DATA SHEET

OUTPUT

Statistics
HEIGHT N Valid 124.4 125.5 126.3 128.0 128.5 129.0 129.5 130.0 130.6 131.5 133.5 135.6 137.8 139.6 139.8 Total Frequency Valid 21 Missing 0 1 2 1 2 1 1 2 1 1 1 1 1 3 1 2 21

HEIGHT
Cumulative Percent 4.8 9.5 4.8 9.5 4.8 4.8 9.5 4.8 4.8 4.8 4.8 4.8 14.3 4.8 9.5 100.0 Valid Percent 4.8 9.5 4.8 9.5 4.8 4.8 9.5 4.8 4.8 4.8 4.8 4.8 14.3 4.8 9.5 100.0 Percent 4.8 14.3 19.0 28.6 33.3 38.1 47.6 52.4 57.1 61.9 66.7 71.4 85.7 90.5 100.0

Inference:
From the data list 21 persons are male. Second table shows that the height of the individual male. Two persons are having 125.5 height values. Two persons are having 128.0 height values. Two persons are having 129.5 height. Three persons are having 137.8 heights. Two persons are having 139.8 heights. RESULT Thus frequency table of males with respect to their heights was calculated by using SPSS software.

Ex. No.: 10 Date: 06-05-2010


AIM:

ANALYSIS USING SPLIT CASE (SPSS)

To find out the frequency table males and females separately with respect to their weight and Body Mass Index using SPSS software. PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables.

Step 4:
Go to DATA SPLIT FILE COMPARE GROUPS. Give the option as GROUP BASED ON SEX and click OK.

Step 5:
Go to ANALYZE DESCRIPTIVE STATISTICS. Give the options as WEIGHT and BMI and click OK.

Step 6:
Output window is automatically generated.

Step 7:
Give the inference.

Step 8:
Go to DATA SPLIT CASE ALL CASES and click OK.

DATA SHEET

OUTPUT:

Statistics
SEX N FEMALE N Valid Missing Valid Missing WEIGHT 21 0 19 0 BODY INDEX 21 0 19 0 MASS

WEIGHT Cumulative SEX MALE Valid 23.0 23.5 24.0 24.5 25.0 25.5 29.0 30.0 30.5 Total FEMALE Valid 22.0 23.0 23.5 24.0 26.0 29.5 30.0 30.5 31.5 Total Frequency 3 5 2 1 1 1 1 2 5 21 2 1 3 2 1 1 4 3 2 19 Percent 14.3 23.8 9.5 4.8 4.8 4.8 4.8 9.5 23.8 100.0 10.5 5.3 15.8 10.5 5.3 5.3 21.1 15.8 10.5 100.0 Valid Percent 14.3 23.8 9.5 4.8 4.8 4.8 4.8 9.5 23.8 100.0 10.5 5.3 15.8 10.5 5.3 5.3 21.1 15.8 10.5 100.0 10.5 15.8 31.6 42.1 47.4 52.6 73.7 89.5 100.0 Percent 14.3 38.1 47.6 52.4 57.1 61.9 66.7 76.2 100.0

BODY MASS INDEX Cumulative SEX MALE Valid 4.4 4.5 4.6 4.7 5.0 5.3 5.5 6.2 6.8 Total FEMALE Valid 4.4 4.5 4.6 4.7 5.2 5.3 5.7 6.0 6.2 6.7 Total Frequency 3 5 3 1 2 2 3 1 1 21 3 3 1 2 1 2 3 1 1 2 19 Percent 14.3 23.8 14.3 4.8 9.5 9.5 14.3 4.8 4.8 100.0 15.8 15.8 5.3 10.5 5.3 10.5 15.8 5.3 5.3 10.5 100.0 Valid Percent 14.3 23.8 14.3 4.8 9.5 9.5 14.3 4.8 4.8 100.0 15.8 15.8 5.3 10.5 5.3 10.5 15.8 5.3 5.3 10.5 100.0 15.8 31.6 36.8 47.4 52.6 63.2 78.9 84.2 89.5 100.0 Percent 14.3 38.1 52.4 57.1 66.7 76.2 90.5 95.2 100.0

Inference
From the data list 21 persons are male and 19 persons are female. Second table shows the weight of individual male and individual female. Third table shows the Body Mass Index of individual male and individual female. RESULT: Thus the frequency table for males and females were separately created with respect to their weight and Body Mass Index using SPSS software

Ex. No.: 11

CHI-SQUARE TEST

Date : 06-05-2010
AIM:

(SPSS)

To perform cross tabulation analysis with sex and weight and test whether they are related using SPSS software. PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables.

Step 4:
Go to ANALYZE DESCRIPTIVE STATISTICS CROSS TABS.

Step 5:
Assign the variables weight in row and sex in columns.

Step 6:
In statistics, choose CHI-SQUARE and give CONTINUE and OK.

Step7:
Output window is automatically generated.

Step 8
Give the inference.

DATA SHEET

OUTPUT:

Case Processing Summary


Cases Valid N WEIGHT * SEX 40 Percent 100.0% N 0 Missing Percent .0% N 40 Total Percent 100.0%

WEIGHT * SEX Cross tabulation


Count SEX MALE WEIGHT 22.0 23.0 23.5 24.0 24.5 25.0 25.5 26.0 29.0 29.5 30.0 30.5 31.5 Total 0 3 5 2 1 1 1 0 1 0 2 5 0 21 FEMALE 2 1 3 2 0 0 0 1 0 1 4 3 2 19 Total 2 4 8 4 1 1 1 1 1 1 6 8 2 40

Chi-Square Tests
Asymp. Sig. (2Value Pearson Chi-Square Likelihood Ratio Linear-by-Linear Association N of Valid Cases 12.598
a

df 12 12 1

sided) .399 .169 .411

16.500 .676 40

a. 26 cells (100.0%) have expected count less than 5. The minimum expected count is .48.

Inference:
From the above table, the weight and sex are cross tabulated.

Second table shows the cross tabulation result. Third table shows the result of Chi-Square test. Null hypothesis: There is no significant relationship between groups. Alternative hypothesis: There is significant relationship between groups. Calculated value is 0.399. It is greater than the value 0.05. So accept null hypothesis. There is no significant relationship between sex and weight.

RESULT: Thus the cross tabulation analysis with sex and weight were tested using SPSS software.

Ex. No.: 12 Date: 06-05-2010

CORRELATION ANALYSIS (SPSS)

AIM: To do the correlation analysis between heights and weights and offer finding using SPSS software. PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables.

Step 4:
Go to ANALYZE CORRELATE BIVARIATE give variables HEIGHT and WEIGHT.

Step 5:
Choose KARL PERSON CO-EFFICIENT of correlation.

Step 6:
Output window is automatically generated.

Step 7:
Give the inference.

DATA SHEET

OUTPUT:

Correlations
HEIGHT HEIGHT Pearson Correlation Sig. (2-tailed) N WEIGHT Pearson Correlation Sig. (2-tailed) N 40 .818
**

WEIGHT 1 .818** .000 40 1

.000 40 40

**. Correlation is significant at the 0.01 level (2-tailed).

Inference:
There is a positive correlation existing between weight and height and also the strength of the correlation is highly significant.

RESULT: Thus correlation between weights and heights was analyzed using SPSS software.

Ex. No.: 13

REGRESSION ANALYSIS

Date : 06-05-2010
AIM:

(SPSS)

Through regression analysis to find out the height of the male when his weight is 24.8 using SPSS Software. PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables.

Step 4:
Go to ANALYZE REGRESSION LINEAR.

Step 5:
Give the DEPENDENT VARIABLE as HEIGHT and INDEPENDENT VARIABLE as WEIGHT and click OK.

Step 6:
Output window is automatically generated.

Step 7:
Give the inference.

DATA SHEET

OUTPUT

ANOVAb
Model 1 Regression Residual Total Sum of Squares 628.239 311.709 939.948 df 1 38 39 Mean Square 628.239 8.203 F 76.588 Sig. .000a

a. Predictors: (Constant), WEIGHT b. Dependent Variable: HEIGHT

Coefficientsa
Model Unstandardized Coefficients B 1 (Constant) WEIGHT a. Dependent Variable: HEIGHT 100.723 1.169 Std. Error 3.590 .134 .818 Standardized Coefficients Beta t 28.054 8.751 Sig. .000 .000

Inference:
Y= ax + b a =1.169 x=24.8 b=100.723 Y= (1.619*24.8) +100.723 Y= 129.7142 The height of male is 129.7142 when the weight is 24.8.

RESULT: Thus the height of male is calculated with the given weight using SPSS software.

Ex. No.: 14 Date : 6-5-2010


AIM:

PAIRED T TEST (SPSS)

To find out the difference between scores of employees before and after the training program using SPSS software.

PROCEDURE:

Step 1:
Go to START PROGRAMS SPSS Ins PASW statistics 18 PASW statistics 18.

Step 2:
In the variable view sheet give the variables which are needed for analysis.

Step 3:
In data view sheet enter the data for corresponding variables

Step 4:
Go to ANALYZE COMPARE MEANS PAIRED SAMPLES T TEST give the VARIABLE 1 as BEFORE and VARIABLE 2 as AFTER and click OK.

Step 5:
Output window is automatically generated.

Step 6:
Give the inference.

DATA SHEET

OUTPUT:

Paired Samples Statistics


Mean Pair 1 BEFORE AFTER Pair 1 68.15 N 20 Std. Deviation 11.878 Sig. .000 Std. Error Mean 2.656 2.031

Paired Samples 20 Correlations 78.95 9.081


N Correlation 20 .828

BEFORE & AFTER

Paired Samples Test


Paired Differences 95% Confidence Interval of Std. Mean Pair 1 BEFORE AFTER -10.800 Deviation 6.701 Std. Error Mean 1.498 the Difference Lower -13.936 Upper -7.664 t -7.208 df 19 Sig. (2-tailed) .000

Inference:
From the above table, shows the Paired Samples Statistics. Second table shows the Paired Samples Correlations. Third table shows the result of Paired Samples Test. Null hypothesis: There is no significant difference between scores of employees before training and after training. Alternative hypothesis: There is significant difference between scores of employees before training and after training. The mean value of employees scores after training is increasing and the significant level is 0.000 which is less than 0.05. So reject null hypothesis. There is significant difference between scores of employees before training and after training.

RESULT: Thus the scores of individuals before training and after training programs are compared with T test using SPSS software.

You might also like