Академический Документы
Профессиональный Документы
Культура Документы
FREQUENCY TABLE
14.12.18
AIM:
PROCEDURE:
STEP 3: Enter Sno, Sname, Gender, Course and Total under the name in
the Variable view
STEP 7: Go to columns tab and enter number value to specify the width of
the column in the table
STEP 8: Then go to align column & select any option, which you want to
appear on the cell in data views
1
Variable View
Data View
2
Output - Univariate Frequency Table
Frequencies
Statistics
Gender Course
Valid 11 11
N
Missing 0 0
Frequency Table
Gender
Course
3
Output – Bivariate Frequency table
Crosstabs
Cases
Gender Total
Male Female
BA 1 1 2
Course BCA 4 1 5
BCOM 2 2 4
Total 7 4 11
4
EX NO:2
GRAPHICAL REPRESENTATION OF DATA
21.12.18
AIM:
To construct various graphs like bar diagram, pie chart, histogram for
the given set of data
PROCEDURE:
STEP 3: Enter Uname, Gender, Bloodgroup and Height under the name in
the Variable view
STEP 7: Go to columns tab and enter number value to specify the width of
the column in the table
STEP 8: Then go to align column & select any option, which you want to
appear on the cell in data views
STEP 12: Construct various graphs for the given dataset by clicking Graph->
Chart Builder and selecting appropriate option based on graph type
Simple Bar - Choose Bar from gallery and double click Simple Bar
icon. Drag Blood Group to X-Axis and Click Ok button
Clustered Bar - Choose Bar from gallery and double click Clustered
Bar icon. Drag Blood Group to X-Axis, Gender to Cluster on X-set
color and Click Ok button
Stacked Bar - Choose Bar from gallery and double click Stacked Bar
icon. Drag Blood Group to X-Axis, Gender to Cluster on X-set color
and Click Ok button
Pie Chart - Choose Pie/Polar from gallery and double click Pie chart
option. Drag Blood Group to X-Axis and Click Ok button
Histogram – Choose Histogram option from gallery and double click
Simple Histogram option. Drag Height to X-Axis and click Ok button
5
VARIABLE VIEW:
DATA VIEW:
6
OUTPUT:
7
STACKED BAR GRAPH
PIE CHART
8
HISTOGRAM
9
EX NO:3 MEASURES OF CENTRAL TENDENCY
03.01.19 MEAN, MEDIAN & MODE
DEFINITION:
The MEAN is the average value, calculated by adding all the observations
and dividing by the number of observations
The MODE is the value that occurs the most frequently in your data set
FORMULA:-
MEAN:- ∑x/n
AIM:-
PROCEDURE:-
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to
appear on the cell in the data view
10
STEP 12: Click Statistics button and Select the options – Mean, Median,
Mode under Central Tendency group. Now Click continue button.
VARIABLE VIEW
DATAVIEW
11
Output:
Frequencies
Statistics
Valid 8 8
N
Missing 0 0
Mean 3.25000 9.7500
Median 3.25000 9.5000
a
Mode 3.000 9.00
12
EX NO:4 MEASURES OF DISPERSION
STANDARD DEVIATION, QUARTILES, SKEWNESS, KURTOSIS
10.01.19
DEFINITION:-
When the distribution is skewed to the right, mean is greater than the mode.
When the distribution is skewed to the left, mean is less than the mode. This
measures of skewness is based on person’s coefficient of skewness
FORMULA:-
√
Standard deviation σ=
Skewness= mean-mode
SD
Kurtosis= β2-ɰ4
ɰ2
AIM:-
PROCEDURE:-
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to
appear on the cell in the data view
13
STEP 9: Save the file
STEP 12: Click Statistics button and Select the option Quartiles under
Percentile Value group and select all options under Dispersion and
Distribution group. Then Click Continue button.
VARIABLE VIEW
14
DATAVIEW
Output:
Frequencies
Statistics
Valid 8 8
N
Missing 0 0
Std. Error of Mean .283473 .45316
Std. Deviation .801784 1.28174
Variance .643 1.643
Skewness .000 .611
Std. Error of Skewness .752 .752
Kurtosis -.311 -.021
Std. Error of Kurtosis 1.481 1.481
Range 2.500 4.00
Minimum 2.000 8.00
Maximum 4.500 12.00
25 2.62500 9.0000
75 3.87500 10.7500
15
EX NO:5
CALCULATION OF CORRELATION CO-EFFICIENT
22.01.19
DEFINITION:-
TYPES OF CORRELATION:
MATHEMATICAL FORMULA:-
r= ∑(x1-x)(y1-y) .
2
R=1-6(∑l2)
n(n-1)
AIM:
PROCEDURE:-
STEP 3: Enter Cno, Cname, Height and Weight under the Name in the
Variable view.
STEP 5: Decide and enter width and decimal places for each variable
16
STEP 6: Go to label column and describe each variable in a sentence
STEP 7: Go to align column and select any option which you want to appear
on the cell in the data view
STEP 11: Move Height and Weight to Variables list. Select Pearson and
Spearman under correlation coefficients group. Click Ok Button.
VARIABLE VIEW:
17
DATAVIEW:
18
OUTPUT:
Correlations
Correlations
Height Weight
**
Pearson Correlation 1 .926
N 15 15
**
Pearson Correlation .926 1
N 15 15
Nonparametric Correlations
Correlations
Height Weight
**
Correlation Coefficient 1.000 .952
N 15 15
Spearman's rho **
Correlation Coefficient .952 1.000
N 15 15
**. Correlation is significant at the 0.01 level (2-tailed).
19
EX NO:6
CALCULATION OF REGRESSION TRENDS
29.01.19
DEFINITION:-
NOTE:
FORMULA:
Yi=a+b xi
Yi=ith term of variable y
Xi=ithterm of variable x
a=constant z is called y intercept
b=parameter termed as regression co-efficient
AIM:
PROCEDURE:-
STEP 3: Enter pname, bp, and age under the Name in the Variable view.
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to appear
on the cell in the data view
20
STEP 12: Click Statistics button and select descriptive box and press
Continue button
VARIABLE VIEW:
DATA VIEW:
21
OUTPUT:
Regression
Descriptive Statistics
bp 124.14 22.952 7
age 44.43 13.290 7
Correlations
bp age
bp 1.000 .921
Pearson Correlation
age .921 1.000
bp . .002
Sig. (1-tailed)
age .002 .
bp 7 7
N
age 7 7
a
Variables Entered/Removed
Total 3160.857 6
a. Dependent Variable: bp
b. Predictors: (Constant), age
a
Coefficients
a. Dependent Variable: bp
22
EX NO:7
ONE SAMPLE T-TEST
05.02.19
DEFINITION:
AIM:
PROCEDURE:
STEP 3: Enter Month and Sale value under the Name in the Variable view.
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to appear
on the cell in the data view
STEP 11: Move Sale Value to Variable list and enter 15000 in Test Value and
click Ok Button
23
VARIABLE VIEW:
DATAVIEW
24
OUTPUT:
One-Sample Statistics
One-Sample Test
Lower Upper
25
EX NO:8
INDEPENDENT SAMPLES T- TEST
12.02.19
DEFINITION:
AIM:
PROCEDURE:
STEP 3: Enter Type and Height under the Name in the Variable view.
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to appear
on the cell in the data view
STEP 12: Select Type and move to Grouping variable. Next you click on the
Define Groups button. In the Define group Dialog Window, enter 1 for Group
1 and 2 for Group 2 and click Continue Button
26
VARIABLE VIEW:
DATAVIEW
27
OUTPUT:
Group Statistics
Lower Upper
Equal
variances .739 .407 5.481 12 .000 2.400000 .437914 1.445867 3.354133
Height assumed
of the Equal
plant variances
5.481 10.346 .000 2.400000 .437914 1.428676 3.371324
not
assumed
28
EX NO:9
PAIRED SAMPLES T-TEST
19.02.19
DEFINITION:
The Paired Samples t-Test compares two means that are from the same
individual, object, or related units. The two means typically represent two
different times. Examples include,
AIM:
To compare two means from the same set of samples using Paired samples
t-test.
PROCEDURE:
STEP 3: Enter Sno, Sname, Score1 and Score2 under the Name in the
Variable view.
STEP 5: Decide and enter width and decimal places for each variable
STEP 7: Go to align column and select any option which you want to appear
on the cell in the data view
STEP 11: Select Score1, hold down Ctrl Key and select Score2. Move them to
Paired variables list and click Ok Button
29
VARIABLE VIEW:
DATAVIEW:
30
OUTPUT
N Correlation Sig.
Lower Upper
Pair 1 Score1 - Score2 -11.375 6.722 1.680 -14.957 -7.793 -6.769 15 .000
31
EX NO:10
CHI SQUARE TEST
05.03.19
DEFINITION:
The chi-square test for independence, also called Pearson's chi-square test
is used to discover if there is a relationship between two categorical
variables.
FORMULA:
X2=∑(oi-ti)2/Ei
AIM:
PROCEDURE:
STEP 7: Go to columns tab and enter number value to specify the width of
the column in the table
STEP 8: Then go to align column & select any option, which you want to
appear on the cell in data views
STEP12: Select Gender and Click the upper right arrow to move to Row list.
Select PLM and Click the middle right arrow to move to Column list.
32
STEP 13: Click Statistics Button and select the option Chi-Square, Phi and
Cramer’s V. Then Click Continue button
STEEP 14: Click Cells Button and select all the option under Percentage
group
VARIABLE VIEW:
DATA VIEW:
33
OUTPUT:
Crosstabs
Cases
Books Onlline
Count 3 2 5
Chi-Square Tests
Value df Asymp. Sig. (2- Exact Sig. (2- Exact Sig. (1-
sided) sided) sided)
a
Pearson Chi-Square .533 1 .465
b
Continuity Correction .000 1 1.000
Likelihood Ratio .541 1 .462
Fisher's Exact Test 1.000 .500
N of Valid Cases 8
a. 4 cells (100.0%) have expected count less than 5. The minimum expected count is 1.50.
b. Computed only for a 2x2 table
34