Professional Documents
Culture Documents
Customer Customer
Satisfaction Quality x² y² xy N=27
score (Y) Ratings(X)
5 5 25 25 25 Mean of X = ƩX/N = 86/27 = 3.1852
5 5 25 25 25
Mean of Y= ƩY/N= 93/27 = 3.4444
5 4 16 25 20
5 4 16 25 20 Byx = NƩxy-Ʃx*Ʃy
5 5 25 25 25 NƩ(x²)-Σ(x²)
5 5 25 25 25
5 3 9 25 15 = 27*340 - 86*93
5 5 25 25 25 27*320 – (86²)
4 4 16 16 16
4 4 16 16 16 = 9180-7998
4 4 16 16 16 8640-7396
4 4 16 16 16
4 3 9 16 12
= 0.9502
4 3 9 16 12
4 4 16 16 16
4 2 4 16 8
3 3 9 9 9 Regression Line Y on X
3 3 9 9 9
Y-Mean of Y = Byx (X- Mean of X)
3 3 9 9 9
3 2 4 9 6 Y-3.4444 = 0.9502 (X-3.1852)
2 2 4 4 4
2 2 4 4 4 Y -3.4444 = 0.9502*X-3.0264
1 1 1 1 1
1 1 1 1 1 Y = 0.9502 X-3.0264+ 3.4444
1 1 1 1 1
1 3 9 1 3 Y = 0.9502X + 0.418
1 1 1 1 1
1 1 1 1 1
Ʃy = 86 Ʃx = 93 Ʃ x² = Ʃ y² = Ʃxy = 340
320 377
Linear regression uses the values from an existing data set consisting of measurements of the values of two variables, X
and Y, to develop a model that is useful for predicting the value of the dependent variable, Y for given values of X.
A linear regression line has an equation of the form Y = a + bx, where X is the explanatory variable and Y is the
dependent variable. The slope of the line is b, and a is the intercept (the value of y when x = 0).
Bl or Beta is the coefficient of X; the slope of the regression line also represents how much Y changes for each one-unit
change in X.
6651
Relative Frequency
WEST TRIPURA
8.00%
6.00% SOUTH TRIPURA
7.00% DHALAI
44.00% NORTH TRIPURA
8.00%
KHOWAI
UNAKOTI
13%
SEPAHIJALA
6.00% 9.00%
GOMATI
B.1. Analyse the following data and show the top 2 districts using Bar chart.
Hence Derived that Top Two Districts are SPSR NELLORE (54,059) and PRAKASAM (45,171)
B.2. Calculate the median and provide the list of districts above median value
Since the sample size n (Districts) = 13 is odd number, Therefore (n+1) /2 = (13+1)/2 = 7 which is an integer value
Hence the median is calculated directly by finding the value located at position 7th,
Therefore based on the sample data provided the sample median is 27670
The Districts above median are: Visakhapatnam, Vizianagaram, West Godavari, Y.S.R, Prakasam & SPSR Nellore