Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
44 views67 pages

SPSS Practical MS Word PDF

The document outlines practical exercises for students in the Department of Mathematics & Statistics at Mahendra Arts & Science College, focusing on statistical software packages for social science. It includes algorithms for data handling, creating various types of diagrams (bar, pie, histogram), and calculating measures of central tendency using IBM SPSS. Each exercise provides a problem statement, aim, algorithm, and expected results for the students to follow during their practical examinations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views67 pages

SPSS Practical MS Word PDF

The document outlines practical exercises for students in the Department of Mathematics & Statistics at Mahendra Arts & Science College, focusing on statistical software packages for social science. It includes algorithms for data handling, creating various types of diagrams (bar, pie, histogram), and calculating measures of central tendency using IBM SPSS. Each exercise provides a problem statement, aim, algorithm, and expected results for the students to follow during their practical examinations.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 67

MAHENDRA ARTS & SCIENCE COLLEGE

(AUTONOMOUS)
Affiliated to Periyar University, Salem | Accredited With ‘A++’ Grade by NAAC
Recognized u/s 2(f) & 12(B) of the UGC Act 1956

Kalipatti (po) – 637501 , Tiruchengode (TK) , Namakkal (Dt), Tamilnadu


www.mahendraarts.org

DEPARTMENT OF MATHEMATICS & STATISTICS

----------2023
STATISTICAL SOFTWARE PACKAGES FOR SOCIAL SCIENCE

Name ………………………………………...................... Reg . No. …………………………………

Course………………………………………………………Paper Code ………………………………..

Paper Name………………………………………………………………………………………………….
MAHENDRA ARTS & SCIENCE COLLEGE
(AUTONOMOUS)
Affiliated to Periyar University, Salem | Accredited With ‘A++’ Grade by NAAC
Recognized u/s 2(f) & 12(B) of the UGC Act 1956

Kalippatti – 637 501, Namakkal (Dt), Tamil Nadu.

CERTIFICATE
Name ……………………………………………………………………………………………….

Register No………………………………..Class…………………………………………………

Subject Name…………………………………………………….Subject Code…………………

This is to certify that the Bonafide record of practical work done in the

DEPARTMENT OF MATHEMATICS & STATISTICS, Mahendra Arts & Science

College (Autonomous) during the academic year 2023- 2024

Staff In - Charge Head of the Department

Submitted for the Practical Examination held on …………………………………………….

Place: Kalippatti Examiners:

Date: ………….. 1.

2.
EX.NO.:1
DATA HANDLING
DATE:

Problem:
How to enter the data and labeling of dummy numbers?
Aim:

To present a enter the data and labeling of dummy numbers.

Algorithm

1. Start All Program IBMSPSS.

2. Click the variable view tab and Type the name for your first variable under the
name column.

3. Click the Data view tab.

4. Now you can enter the values for each case.

5. Click Transform and create dummy variable on the main menu .

6. Transfer the categorical independent variable , favorite_ sport, into the create Dummy variable
and box by selecting it .

7. Click on ok.

RESULT:
The given data are enter in data view and added dummy column.
EX.NO.:2
DATA HANDLING
DATE:

Problem:
How to recode into same variable and different variable?
Aim:

To present a recode into same variable and different variable.

Algorithm

1.Start All program IBMSPSS.

2.Click the Transform and click the recode into same variable .

3.Select the variable you want to recode . If you select multiple variables, they must
be the same type.

4.Click Old and New values.

5.Specify tan old value and new value and click add to place the specification into the
old .

6.Click the Transform and click the recode into different variable .

7.Select the variable you want to recode. In the output variable area and enter the
name for the new variable and click change.
RESULT:

The given data are entered in recode same variable and different variable
EX.NO.:3
SIMPLEBARDIAGRAM
DATE:

PROBLEM:

Represent the following data using simple bar diagram.

YEAR 2014 2015 2016 2017 2018


PRODUCTIONINMILLION
45 40 50 52 47
TONNES

AIM:

To present a Simple Bar Diagram for the given data by using IBMSPSS.

ALGORITHM:

1. Star All program IBMSPSS


2. Enter the variable in variable view and enter the data in data view.
3. Select the Graph menu.
4. Click Chart Builder
5. Under the Gallery Tab (Gallery), select the Bar option and the Simple
Bar Chart icon (top-left icon). Drag-and-drop this icon
into the Chart preview area.
6. Presented with the dialog boxes: Chart Builder and Elements
Properties. The Chart Preview Area has been populated with a
template of a simple bar chart.
7. Transfer the independent variable, (Year), into the “X-Axis?”Box
and the dependent (Production) variable, into the “Y-Axis?” box
with in the Preview Chart Area by drag–and–dropping the variables
from the Variables: box.
8. Click on OK.
9. Stop the process and then Output Window will be open.
SIMPLEBARDIAGRAM

RESULT:

The given Yearly Production is represented in Simple Bar Diagram


EX.NO.:4
MULTIPLEBARDIAGRAM
DATE:

PROBLEM:

The data given below gives the yearly profit of two companies ‘A ’and ‘B’.

Year 2015 2016 2017 2018


ProfitA 10000 8000 13000 5000
ProfitB 15000 13000 14000 12000

AIM:

To present a multiple bar diagram for the given data for by using IBM
SPSS.

ALGORITHM:

1. Start All program IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. Select the Graphs menu.
4. Click Chart Builder.
5. Under the Gallery Tab (Gallery), select the Clustered option and the
clustered chart icon (top-left icon).Drag-and-drop this icon the
Chart Preview Area.
6. Presented with the dialog boxes: Chart Builder and Elements
Properties. The Chart Preview Area has been populated with a
template of a cluster chart.
7. Transfer the independent variable, (Year), into the “X-Axis?” box and two
dependent (Profit A & Profit B) variables, into the “Y-Axis?” box with in the
Preview Chart Area by drag–and–dropping the variables from the
Variables: box.
8. Click on OK.
9. Stop the process and then Output Window will be open.
MULTIPLEBARDIAGRAM

RESULT:

The given profits data are presented in Multiple Bar Diagram.


EX.NO.5
SUBDIVIDEDBARDIAGRAM
DATE:

PROBLEM:

The given table shows a faculty-wise strength for 4 years. Represent the
data by subdivided bar diagram.

NO.OF.STUDENTS.
YEAR
COMMERCE
ARTS SCIENCE
1400
2014-2015 800 800
2015-2016 750 1000 1750
1800
2016-2017 700 1100
2017-2018 900 1200 1900

AIM:
To present a subdivided bar diagram for the given data for by using IBM

SPSS.

ALGORITHM:

1. Start → All program→ IBMSPSS.


2. Enter the variable in variable view and the data in data view.
3. Select the Graphs menu.
4. Click Chart Builder.
5. Under the Gallery Tab (Gallery), select the Stacked Bar option and the
Stacked bar chart icon (top-left icon).Drag–and-drop this icon into the
Chart Preview Area.
6. Presented with the dialog boxes: Chart Builder and Elements
Properties. The Chart Preview Area has been populated with a
template of cluster chart.
7. Transfer the independent variable, (Year), into the “X-Axis?” box and the
three dependent (Arts, science and commerce) variables, into the “Y-
Axis?” box with in the preview Chart Area by drag–and–dropping the
variables from the Variable: box.
8. Click on OK.
9. Stop the process and then Output Window will beopen.
SUB DIVIDED BAR DIAGRAM

RESULT:

The given year wise student strength data were presented in the subdivided
bar diagram.
EX.NO.:6
PIEDIAGRAM
DATE:

PROBLEM:

Construct a pie chart for the distribution of 200 patients given below is
observed in a medical survey.

BLOODGROUP O A B AB
NO.OF.PATIENTS 94 36 62 8

AIM:

TopresentapiediagramforthegivendataforbyusingIBMSPSS..

ALOGRITHM:

1. Start AllProgram IBMSPSS.


2. Enterthevariableinvariableviewandenterthedataindataview.
3. SelecttheGraphsmenu.
4. ClickonChartBuilder.
5. Under the GalleryTab (Gallery), select the PieChart option
andthePieCharticon(top-lefticon).Drag-and-
dropthisiconintotheChartPreviewArea.
6. Presentedwiththedialogboxes:ChartBuilderandElementsProperties.Th
eChartPreviewAreahasbeenpopulatedwithatemplateofaclusterchart.
7. TransfertheBloodGroup,intothe“X-Axis?”boxandpatientsintothe“Y-
Axis?”boxwithinthePreviewChartAreabydrag–and–
droppingthevariablesfromtheVariables:box.
8. ClickonOK.
9. StoptheprocessandthenOutput Windowwillbeopen.
PIEDIAGRAM

RESULT:

Thegivenbloodgroupdatawerepresentedinthepiediagram.
EX.NO.:7
HISTOGRAM
DATE:

PROBLEM:

Thefollowingdatareferstothedistributionofthebodylengthof120fishobserved
inalake.

Class 10-12 12-14 14-16 16-18 18-20 20-22


Frequency 2 46 43 31 16 2

AIM:

TopresenttheHistogramforthegivendatabyusingIBMSPSS.

ALGORITHM:

1. Start Allprogram IBMSPSS.


2. Enterthevariableinvariableviewandenterthedataindataview.
3. SelecttheGraphsmenu.
4. ClickChartBuilder.
5. Under the Gallery Tab (Gallery),select the Histogram option and
theHistogramCharticon(top-lefticon).Drag-and-
dropthisiconintotheChartPreviewArea.
6. Presentedwiththedialogboxes:ChartBuilderandElementsProperties.Th
eChartPreviewAreahasbeenpopulatedwithatemplateofaclusterchart.
7. Transferthemidvalue,intothe“X-Axis?”boxandfrequency,intothe“Y-Axis?”
boxwithinthePreviewChartArea bydrag–and–
droppingthevariablesfromtheVariables:box.
8. ClickonOK.
9. StoptheprocessandthenOutput Windowwillbeopen.
HISTOGRAM

RESULT:

The given class and frequency data were presented in histogram.


EX.NO.:8
MEASURESOFCENTRALTENDENCY(INDIVIDUALDATA)
DATE:

PROBLEM:

Find Calculate mean , median ,mode, standard deviation, skewness and


kurtosis for the following data monthly wages in a factory

WAGES 268 300 423 400 440 210 300 400 700 150 100

Calculate mean , median , mode ,standard deviation, s kewness and


kurtosis of marks in Statistics among these students.

AIM:

To compute mean , median , mode,standard deviation, skewness and


kurtosis for the given wages by using IBM SPSS.

ALGORITHM:

1. Start AllProgram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. Select the Analyze menu.
4. Click on Descriptive Statistics and the non Frequencies: …. .to open
the Frequency dialogue box.
5. Select the variable require (i.e.,wages) and click on the button to move
the variable into the Variable(s):box.
6. Selecton Statistics….. Command push button to open the Frequencies :
Statistics sub -dialoguebox.
7. In the Central Tendency box , select the Mean ,Median and Mode
check boxes.
8. In the Distribution box, select the skewness and kurtosis and
Dispersionbox, select the standard deviation check boxes.
9. Click on Continue and then OK.

10. Stop the process and then Output Window will be open.
MEASURES OF CENTRAL TENDENCY (INDIVIDUALCASE)
RESULT:

The mean, median ,mode, standard deviation, skewness and kurtosis of


given wages were successfully computed. The required values are.,

 Mean=339.10
 Median= 350.
 Mode=400
 Standard deviation = 173.546
 Skewness = 0.693
 Kurtosis = 0.954
EX.NO.:9
MEASURESOFCENTRALTENDENCY(DISCRETEDATA)
DATE:

PROBLEM:

Find mean , median ,mode, standard deviation, skewness and kurtosis


for the following data.

MARKS 10 20 30 40 50 60
NO.OF.STUDENTS 4 10 15 18 8 8

AIM:

To compute mean , median , mode ,standard deviation, skewness and kurtosis


For the given marks by using IBM SPSS.

ALOGORITHM:

1. Start AllProgram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. To select Weighted Box then weighted box will be open then choose
Frequency to transfer to the frequency.
4. Select the Analyze menu.
5. Click on Descriptive Statistics and then on Frequencies:…. .to open
the Frequency dialogue box.
Select the variable require (i.e.,marks) and click on the buttom to move the variable in to the
Variable(s):box.
6. Click on Statistics….. command push buttom to open the Frequencies:
Statistics sub-dialogue box.
7. In the Central Tendency box , select the Mean , Median and Mode
check boxes.
8. In the Distribution box, select the skewness and kurtosis and
Dispersionbox, select the standard deviation check boxes.
10. Click on Continue and then OK.

11. Stop the process and then Output Window will be open.
MEASURESOFCENTRALTENDENCY(DISCRETEDATA)
RESULT:

The mean , median , mode , standard deviation, skewness and kurtosis of


given marks were successfully computed .The required values are.,

 Mean=36.35
 Median=40
 Mode=40
 Standard deviation = 14.062
 Skewness = 0.038
 Kurtosis = -0.674
EX.NO: 10 MEASURES OF CENTRAL TENDENCY (DISCRITE DATA)
DATE:

PROBLEM :

Find mean,median,mode,statndarddeviation,skewness and kurtosis for the


following data.

MARKS 15 13 16 18 20 26 30
NO.OF.STUDENTS 2 7 11 15 10 4 1

AIM:

To compute mean , median, mode,standarddeviation,skewness and kurtosis for the


given data by using IBM SPSS.

ALGORITHM:

1.Start All program IBM SPSS


2.Enter the variable in variable view and enter the data in data view.
3.To select weighted Box then weighted box will be open then choose frequency to
transfer to the frequency.
4.Select the Analyze menu.
5.Click on Descriptive Statistics and then on Frequencies ;….to open the frequency
dialogue box.
6.Select the variable require (i.e.,marks) and click on the button to move the variable into
the variable into the variable(S): box.
7.Click on Statistics….. command push button to open the Frequencies:
Statistics sub-dialogue box.
8.In the Central Tendency box ,select the Mean ,Median and Mode check
boxes.
9.In the Distribution box, select the skewness and kurtosis and Dispersion box,
select the standard deviation check boxes.
10. Click on Continue and then OK.
11.Stop the process and then Output Window will be open.
MEASURES OF CENTRAL TENDENCY (DISCRETE DATA)
RESULT:

The mean, median ,mode, standard deviation, skewness and kurtosis of


given wages were successfully computed .The required values are.,

 Mean=18.02
 Median=18.00
 Mode=18
 Standard deviation = 3.717
 Skewness = 1.158
 Kurtosis =1.855.
EX.NO.:11
MEASURESOFCENTRALTENDENCY(CONTINUOUS DATA)
DATE:

PROBLEM:

Find mean , median ,mode , standard deviation, skewness and kurtosis


for the following data.

CLASS 0-10 10-20 20-30 30-40 40-50 50-60 60-70


NO.OF.STUDENTS 12 18 27 20 17 6 2

AIM:

To compute mean ,median ,mode ,standard deviation, skewness and kurtosis


For the given classes by using IBM SPSS.

ALOGORITHM:

1. Start AllProgram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. To select Weighted Box then weighted box will be open then choose
Frequency to transfer to the frequency.
4. To find the mid value for the class interv al.
5. Select the Analyze menu.
6. Click on Descriptive Statistics and the non Frequencies:….. to open
the Frequency dialogue box.
7. Select the variable require (i.e.,class) and click on the button to move the
variable in to the Variable(s): box.
8. Click on Statistics….. command push button to open the Frequencies:
Statistics sub-dialogue box.
9. In the Central Tendency box , select the Mean ,Median and Mode
check boxes.
10 .In the Distribution box, select the skewness and kurtosis and
Dispersion box , select the standard deviation check boxes.
11. Click on Continue and then OK.

12. Stop the process and then Output Window will be open.
MEASURES OF CENTRAL TENDENCY (CONTINUOUS)
RESULT:

The mean ,median ,mode ,standard deviation , skewness and kurtosis of


given classes were successfully computed .The required values are.,

 Mean=28.73
 Median=25
 Mode=25
 Standard deviation = 14.953
 Skewness= 0.224
 Kurtosis =-0.571.
EX.NO : 12
MEASURES OF CENTRAL TENDENCY ( CONTINUOUS DATA)
DATE :

PROBLEM:

Find mean ,median ,mode ,standard deviation, skewness and kurtosis for the following
data.

HEIGHT IN 95-105 105-115 115-125 125-135 135-145


INCHES
NO.OF.CHILDREN 19 23 36 70 52

AIM:

To compute mean ,median ,mode ,standard deviation, skewness and kurtosis


For the given classes by using IBM SPSS

ALOGORITHM:

1.Start AllProgram IBM SPSS.


2.Enter the variable in variable view and enter the data in dataview.
3.To select Weighted Box then weighted box will be open then choose
Frequency to transfer to the frequency.
4.To find the mid value for the class interval.
5.Select the Analyze menu.
6.Click on Descriptive Statistics and the non Frequencies: …..to open
The Frequency dialogue box.
7.Select the variable require (i.e.,class) and click on the button to move the
variable into the Variable(s): box.
8.Click on Statistics….. command push button to open the Frequencies:
Statistics sub-dialogue box.
9.In the Central Tendency box , select the Mean ,Median and Mode check
boxes.
10.In the Distribution box, select the skewness and kurtosis and Dispersion
box, select the standard deviation check boxes.
11. Click on Continue and then OK.
12 .Stop the process and then Output Window will be open.
MEASURES OF CENTRAL TENDENCY (CONTINUOUS)
RESULT:

The mean ,median ,mode, standard deviation, skewness and kurtosis of


given classes were successfully computed .The required values are.,

 Mean=125.65
 Median=130.00
 Mode=130
1. Standard deviation=12.544
2. Skewness=-0.658
3. Kurtosis= -0.563
EX.NO.:13
KARLPEARSON’SCO-EFFICIENTOFCORRELATION
DATE:

PROBLEM:

Find the coefficient correlation between the heights of fathers and


daughters both from the following Ganguli family members.

Height of father (in cm) 64 65 66 67 68 69 70


Height of daughters(in cm) 66 67 68 69 70 71 72

AIM:

To calculate Karl pearson’s coefficient of correlation for the given heights


Of daughter’s and father’s data by using IBM SPSS.

ALGORITHM:

1. Start AllProgram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. Select the Analyze menu.
4. Click on Correlate and then Bivariate….. to open the Bivariate
Correlations dialogue box.
5. Select the variables require (i.e.IQ and TEE) and click on the button to
move the variables in to the Variables: box.
6. Ensure that the Pearson correlation option has been selected.
7. In the Test of Significance box ,select the One-tailed radio button.
8. Click on OK.
9. Stop the process and then Output Window will be open.
KARL PEARSON’S CO-EFFICIENT OF CORRELATION

RESULT:

The Correlation of heights of father’s and daughter’s was calculated


successfully. The required for karl pearson’s coefficient of correlation is 1.
EX.NO.:14
KARLPEARSONCOEFFICIENTOFCORRELATION
DATE:

AIM:

Find the karl pearson’s coefficient correlation between the marks in


statistics and economic obtained by 10 students.

Marks in Statistics 32 38 48 43 40 22 41 69 35 64
Marks in Economic 30 31 38 43 33 11 27 76 40 59

AIM:

To calculate the correlation coefficient for the given two subject marks
using IBM SPSS.

ALGORITHM:

1. Start AllProgram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. Select the Analyze menu.
4. Click on Correlate and then Bivariate….. to open the Bivariate
Correlations dialogue box.
5. Select the variables require (i.e.Statistics and Economic) and click on the
button to move the variables in to the Variables: box.
6. Ensure that the Pearson correlation option has been selected.
7. In the Test of Significance box, select the One-tailed radio button.
8. Click on OK.
9. Stop the process and then Output Window will be open.
KARL PEARSON’S CO-EFFICIENT OF CORRELATION

RESULT:

The correlation value of the given subjects was calculated


succesfully.The required for karl pearon’s coefficient of correlation is
0.935.
EX.NO.:15
REGRESSIONANALYSIS
DATE:

Problem:

Find the two regression line least square method from the following
data.

X 58 60 63 65 67 70 72 76 77 81
Y 63 68 67 70 60 80 70 75 72 75

AIM:

To find the two regression lines by method of least square for the given X
and Y data by using IBM SPSS.

ALGORITHM:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Choose analyze Regression Linear.
4. Choose X- as dependent variable.
5. Choose all Y- variable as independent variable.
6. Select ‘stepwise’ under the option method.
7. Click on statistics button and select estimates and model fit.
8. Press continue button and click on the option button.
9. For the stepping method criteria use probability ofF as 0.09 for entry
and 0.10 for removal.

10.Select the option ‘include constant in equation’.

11.Click on OK.

12. Stop the process and then output window will be open.
REGRESSIONANALYSIS
RESULT:

The regression line was fitted successfully. The required regression line is
X=12.634+0.804Y.
EX.NO.:16
REGRESSIONANALYSIS
DATE:

PROBLEM:

Work out the linear regression equation of trunk lengths (Ymm) on


wing lengths (Xmm), using the following data from a sample of 10
grasshoppers:

ANIMAL 1 2 3 4 5 6 7 8 9 10
TRUNKLENGTH(Y) 45 55 45 50 60 70 35 55 50 35
WINGLENGTH(X) 20 35 25 30 40 45 22 40 30 23

AIM:

To compute two regression line by least square method.

ALGORITHM:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Choose analyze Regression Linear.
4. Choose Y- as dependent variable.
5. Choose all X-variable as independent variable.
6. Select ‘stepwise’ under the option method.
7. Click on statistics button and select estimates and model fit.
8. Press continue button and click on the option button.
9. For the stepping method criteria use probability of F as 0.09 for
entry and 0.10 for removal.

10.Select the option ‘include constant in equation’.

11.Click on OK.

12.Stop the process and then output window will be open.


Regression analysis
RESULT:

The required regression line is Y=14.565+1.143X.


The required regression line is x= - 5.905+0.738y.
EX.NO :17
MULTIPLE REGRESSION ANALYSIS
DATE:

PROBLEM :

Find the two regression line,least square for the given x and y data using IBM SPSS.

WAGES 58 60 63 67 70 72 76 77 81
WORKS 63 68 67 60 80 70 75 72 75

AIM :

To find the multiple regression lines by using IBM SPSS.

ALGORITHM:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Choose analyze Regression Linear.
4. Choose Y- as dependent variable.
5. Choose all X- variableas independent variable.
6. Select ‘stepwise’ under the option method.
7. Click on statistics button and select estimates and model fit.
8. Press continue button and click on the option button.
9. For the stepping method criteria use probability of F as 0.09 for
entry and 0.10 for removal.

10.Select the option ‘include constant in equation’

11.Click on OK.

12.Stop the process and then output window will be

open.
MULTIPLE REGRESSION ANALYSIS
Result :

The Multiple regression line was fitted successfully. The required regression line is

X =12.634+0.804Y
EX.NO.:18
ONESAMPLE“t”TEST
DATE:

PROBLEM:

The life time of electric bulb from a random sample of 10 from a


large consignment given the following data.

1 2 3 4 5 6 7 8 9 10
Items
Life Time(‘000Hrs) 4.2 4.6 3.9 4.1 5.2 3.8 3.9 4.3 4.4 5.6

Can be accept the hypothesis that the average life of bulb is 4000hours.

AIM:

To construct the one sample–‘t’ test for the following data.

PROCEDURE:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in data view.
3. Select the Analyze menu.
4. Click on Compare means and then One–Sample T Test…..to open the
One-Sample T Test dialogue box.
5. Select the variable require (i.e.,LifeTime) and click on the button to
move the variable in to the Test Variable(S): box.
6. In the Test Value: box type the mean score(i.e.,4)
7. Click on OK.
8. Stop the process and then Output Window will be open.
One sample T Test

RESULT:

The life time of the electrical bulb is 2.148. If the value for two –tail
significance is greater than .05(p>0.05),Then the difference between the
means is not significant.
EX.NO.:19
INDEPENDENT SAMPLE “T”TEST

: PROBLEM:

The monthly expenses spent for mobile phone recharge obtained from the college students
in Bengaluru are as follows:

S.no 1 2 4 5 6 7 8 9 10 11 12 13 14
3
Gender Boy Boy Girl Boy Girl Boy Girl Boy Boy Boy Girl Girl Boy Boy
Expenses 225 300 175 125 250 175 200 150 325 350 125 175 250 275
S.no 15 16 17 18 19 20 21 22 23 24 25 26 27
Gender Girl Boy Girl Boy Girl Boy Boy Girl Girl Boy Boy Girl Girl
Expenses 150 175 125 200 150 225 300 250 175 275 325 175 225

Can you justify that the boys spend more expenses per month on mobile phone recharge than the girls in Bengaluru?

ALGORITHM:
1. Start All program IBM SPSS.
2. Enter the variable in variable view and enter the data in view data.
3. Select the Analyze Menu.
4. Click on Compare Means and then independent-sample T test…….to open the independent-sample
T test dialogue box.
5. Select the test variable (i.e.genter) and click on the button to move the variable into the Test
variable(s): box.
6. Select the grouping variable (i.e.expenses) and click on the button to move the variable into the
Grouping variable : box.
7. Click on define groups……command push button to open the Define groups sub-dialogue box.
8. In the Group 1: box, type the lowest value for the variable (i.e,1), then tab enter the second value for
the variable (i.e,2)in the Group2:box.
9. Click on the Continue and then OK.
10. Stop the process and then output window will be open.
INDEPENDENT SAMPLE “T” TEST
RESULT:

The required independent t test is 0.002 is less than the 0.01(p<0.01) there is a significant different
between the monthly recharge expenses of boys and girls.
EX.NO:20
PARIED SAMPLE “T” TEST
DATE:

PROBLEM:

An IQ test was administered to 5 person before and after they are


Trained the results are given below:
IQ before training 110 120 123 132 125
IQ after training 120 118 125 136 121

Test whether there is any change in IQ after training programme.

AIM:

To construct the paired-‘t’ test for the following data.

ALOGORITHM:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Select the Analyze menu.
4. Click on the compare mean and then paired-sample T Test…. .to open the
paired – sample T Test dialogue box.
5. Select the variable 1 is require (i.e,before) and variable 2 is require
(i.e,After) click on the button to move the variable.
6. Click on OK.
7. Stop the process and then output window will be open.
PARIED SAMPLE T TEST
RESULT:

The required paired t test is 0.816. if the value for two –tail significance is
greater than .05(p>0.05) , no significant difference after training programmer.
EX.NO:21 ANALYSIS OF VARIANCE (ONE –WAY CLASSIFICATION)
DATE:

PROBLEM:

The following data give the yields on 12 plots of land in three samples
under three varieties of fertilizers.

A B C
25 20 24
22 17 26
24 16 30
21 19 20
Is there any significant difference in the average yield so fland under the three
varieties of fertilizers?

AIM:

To calculate the ANOVA (one way classification)for the following data.

ALGORITHM:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view
data.
3. Select the Analyze menu.
4. Click on the compare mean and then One-way ANOVA….. to open
One-way ANOVA the dialogue box.
5. Select the dependent variable (I.e.yields) and click on the button to
move the variable in to the Dependent List: box.
6. Select the independent variable (i.e.fertilizers) and click on the
button to move the variable into the Factor: box.
7. Click on the Options…. Command push button to open the One-
Way ANOVA: Options sub-dialogue box.
8. Select the check boxes. For Descriptive and Homogeneity of
variance.
9. Click on Continue and then OK.

10.Stop the process and then Output Window will be open.


ANALYSIS OF VARIANCE (ONE – WAY CLASSIFICATION)
RESULT:
F –Value between groups (Fertilizers) is 6.500 and the degrees of
freedom are (2,9) .F is Significant at 0.05 levels , since p<0.05. Conclude
that the difference in average yields under the three varieties is
significant.
EX.NO:22
MANN - WHITNEY U TEST
DATE:

PROBLEM:

KSR Enterprises Ltd.has appraised the performance of its employees . The performance appraisel
report of managerial employees has revealed the following information.

EMPLOYEE ID NATURE OF JOB PERFORMANCE LEVEL


1 MANAGERIAL EXCELENT
2 MANAGERIAL GOOD
3 MANAGERIAL VERYGOOD
4 NON MANAGERIAL GOOD
5 NON MANAGERIAL GOOD
6 MANAGERIAL FAIR
7 MANAGERIAL EXCELENT
8 NON MANAGERIAL FAIR
9 NON MANAGERIAL EXCELENT
10 NON MANAGERIAL FAIR
11 NON MANAGERIAL GOOD
12 MANAGERIAL VERY GOOD
13 MANAGERIAL FAIR
14 MANAGERIAL GOOD
15 NON MANAGERIAL VERY GOOD
16 NON MANAGERIAL FAIR
17 NON MANAGERIAL GOOD
18 NON MANAGERIAL VERY GOOD
19 MANAGERIAL EXCELENT
20 NON MANAGERIAL FAIR
21 NON MANAGERIAL POOR
22 NON MANAGERIAL GOOD
23 MANAGERIAL EXCELENT
24 NON MANAGERIAL FAIR
25 NON MANAGERIAL POOR
26 NON MANAGERIAL GOOD
27 MANAGERIAL EXCELENT
28 NON MANAGERIAL POOR
29 NON MANAGERIAL VERY GOOD
30 NON MANAGERIAL GOOD
Procedure :

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Select the Analyze menu.
4. Click on the Non-parametric test and then open 2 independent samples dialogue box.
5. Select the test variable (Performance level) and the select the grouping variable(Nature of
job)
6. Click the Define Group. In the Group 1: box, type the lowest value for the variable (i.e,1),
then tab enter the second value for the variable (i.e,2)in the Group2:box.
7. Click the Mann- Whitney U under Test type.
8. Click on the Continue and then OK.
9. Stop the process and then output window will be open.
Result :

Since the p value 0.019 is less than 0.05(p<0.05),there is a significant difference between the
performance level of managerial and non- managerial employees.

It is concluded that the performance level of managerial and non- managerial employees is
significantly different.
EX.NO:23
KRUSKAL WAILLIS TEST
DATE:

PROBLEM :

KSR Enterprises Ltd.has appraised the performance of its employees. The performance of
skilled,semi - skilled and un skilled employees of the KSR Enterprises Ltd.has been furnished bellow.

EMPLOYEE ID TYPE OF EMPLOYEE PERFORMANCE LEVEL


1 SEMI SKILLED EXCELENT
2 SKILLED GOOD
3 UNSKILLED VERY GOOD
4 SEMI SKILLED GOOD
5 SKILLED GOOD
6 UNSKILLED FAIR
7 SKILLED VERY GOOD
8 SEMI SKILLED FAIR
9 UNSKILLED EXCELENT
10 UNSKILLED FAIR
11 SKILLED GOOD
12 SEMI SKILLED VERY GOOD
13 SEMI SKILLED FAIR
14 SKILLED GOOD
15 UNSKILLED VERY GOOD
16 SEMI SKILLED FAIR
17 UNSKILLED GOOD
18 UNSKILLED VERY GOOD
19 SEMI SKILLED EXCELENT
20 SKILLED FAIR
21 UNSKILLED POOR
22 SEMI SKILLED GOOD
23 SKILLED EXCELENT
24 UNSKILLED FAIR
25 SEMI SKILLED POOR
26 SKILLED GOOD
27 UNSKILLED EXCELENT
28 UNSKILLED POOR
29 SEMI SKILLED VERY GOOD
30 SEMI SKILLED GOOD
Procedure:

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Select the Analyze menu.
4. Click on the Non-parametric test and then open K independent samples dialogue box.
5. Select the test variable (Performance level) and the select the grouping variable(types of
employee)
6. Click the Define Range. In the Minimum box, type the lowest range for the variable (i.e,1),
then tab enter the Highest range for the variable (i.e 3)in the Maximum box.
7.Click the Kruskal Wallis Test .
8. Click on the Continue and then OK.
9. Stop the process and then output window will be open.

Krushal Wallis test


Result :

Since the p value 0.911 is greater than 0.05 (p>0.05),there is no significant difference in the
performance level of skilled,semi skilled and un skilled employees.

It is concluded that the performance level of different types of employees is not significantly
different.
EX.NO :24
WILCOXON TEST
DATE:

PROBLEM :

KSR Bank wants to know whether level of utilization of ATM cards/debit cards by its customers has
increased after demenetization . The utilization level of ATM cards/debit cards by its customers before
and after demonetization has been summarized below :

CUSTOMER ID BEFORE DEMONETIZATION AFTER DEMONETIZATION


1 MEDIUM HIGH
2 HIGH VERY HIGH
3 VERY LOW MEDIUM
4 LOW LOW
5 VERY HIGH VERY HIGH
6 MEDIUM VERY HIGH
7 HIGH VERY HIGH
8 VERY LOW LOW
9 LOW MEDIUM
10 LOW MEDIUM
11 VERY HIGH HIGH
12 LOW MEDIUM
13 LOW VERY HIGH
14 LOW VERY HIGH
15 VERY LOW MEDIUM
16 VERY LOW HIGH
17 MEDIUM MEDIUM
18 VERY HIGH VERY HIGH
19 HIGH VERY HIGH
20 LOW HIGH
21 HIGH VERY HIGH
22 LOW MEDIUM
23 HIGH VERY HIGH
24 LOW HIGH
25 VERY LOW MEDIUM
26 VERY LOW LOW
27 VERY HIGH HIGH
28 LOW VERY HIGH
29 LOW VERY LOW
30 MEDIUM VERY HIGH
PROCEDURE

1. Start Allprogram IBMSPSS.


2. Enter the variable in variable view and enter the data in view data.
3. Select the Analyze menu.
4. Click on the Non-parametric test and then open 2 Related samples dialogue box.
5. Enter the Test pairs (before-after).
6. Click on the Wilcoxon Test under test type.
7. Click on the Continue and then OK.
8. Stop the process and then output window will be open
Result :

Since the p value 0.000 is less than 0.05 (p<0.010,there is a significant difference in the
utilization level of ATM cards/debit cards by the customers of KSR bank has increased significantly after
demonetization.
EX.NO :25
CHI – SQUARE TEST
DATE:

PROBLEM :

The following table outlines the attitudes of sixty six people towards US military bases in Australia.
A chi – square test for goodness of fit will allow us to determine if difference in frequency exist across
response categories.

ATTITUDE TOWARDS US MILITARY IN AUSTRALIA FREQUENCY OF RESPONSE


IN FAVOUR 10
AGAINST 24
UNDECIDED 32

AIM :

To test the chi – square test for the given attitudes towards US military bases in Australia by using IBM
SPSS.

ALGORITHM :

1.Start All program IBM SPSS.


2.Enter the variable in variable view and enter the data in data view
3.select the Data menu
4.Click on weight Cases…to open the weight cases dialogue box.
5.Click on the weight casesby ratio button.
6.Select the variable require (i.e.,frequency) and click on the button to move the variable into the
frequency variable box.
7.Click on Ok. The message weight on should appear on the status bar at the bottom oh the application
window.
8.Select the analyze menu.
9.ClickNonparametric Tests and then Chi – square …..to open the Chi – square Test dialogue box.
10.Select the variable require (i.e.,attitude) and click on the button to move the variable into theTest
Variable List : box.
11.click on ok.
12.Stop the process and the Output Window will be open.
CHI – SQUARE TEST

RESULT :
The chi-square value is significant (p<0.05). There is significant difference in the frequency of
attitudes towards military bases in Australia and the results show that people are largely undecided on
the issue.
EX.NO :26
CHI - SQUARE
DATE :

PROBLEM :

A Random sample of 500 students was classified according to economic condition of their family
and according to merit.

ALGORITHM :

1.Start → All program → IBM SPSS.


2.Enter the variable in variable view and enter the data in data view .
3.select the Data menu.
4.Click on weight Cases…to open the weight cases dialogue box.
5.Click on the weight cases by ratio button.
6.Select the variable require (i.e., family) and click on the button to move the variable into the
frequencyvariable box.
7.Click on Ok. The message weight on should appear on the status bar at the bottom to the application
window.
8.Select the Analyze menu.
9.ClickDescriptive statistics and then Cross table….to open the Cross tables dialogue box.
10.Select the row variable (i.e., merit) and click on the button to move the variable into the Row(s) : box
11.Select a column variable (i.e., economic condition) and click on the button to move the variable into
the column(S):box.
12.Click on the Statistics …..command pushbutton to open the cross tables : statistics sub _ dialogue
box.
13.click on the Chi – square check box.
14.click on ok .
15.Stop the process and the Output Window will be open.
CHI – SQUARE TEST

RESULT :

The chi – square statistic is no longer significant (p>0.05). Therefore merit and econic
conditions are associated.

You might also like