All
and
more
about
Sh
arp PC-1
500
at
http
:/lwww.
PC-
1500.info
SHARP
PROGRAM
T I
TL
E
CORRELATION COEFFICIENT,
LI
NEAR
REGRESSION
AND
PLOT
I
Out
line I (Statistics)
Data
exists for analyses and estimations.
PROGRAM NO.
PS-6
- 1
CE
- I
SO
required
This program calculates
the
covariance, correlation coefficient, and linear
regression coefficients between related datas
(X,,
Y,)
. . . (Xn, Yn).
The
given
data is estimated for application to Y = AX+B, with a graphic printout
of
the
results.
[
Oper
ating Guide, I
l.
Data input {Xi. Yi) (
wh
ere
th
e capacity is i < I 0, in t
he
st
and
ard memory size.)
2.
The
covariance, correlation coefficient, linear regression coefficient and mean
value are
calculated for printouts.
3.
The
graph with X and Y centered on the X-axis and Y-axis
is
generated,
on
which the input
data
and estimated values are displayed in different colors.
4.
The
estimated value Y
is
determined from the value X for
the
printout
of
the X
and Y values.
I Example I
x
6.9
7.6
7.6 9.0
8.1
6.5
6.4
6.9
Y 12 JO 9 S 6 IS
14
12
Covaria
.
nce
= - 3. 060714286
Correlation coefficient =
-
9.
693968513 E ·
01
Linear regteuion coefficient
a = - 3. 9420423
18
" = 39.
4475621
I Contents ] (Formulas)
Srr
-
!r
.•
-
n'i'
I
Sry
= I r
.y
.- nr y
I I
S
yy
=
Iy
/ - nii'
C & S
ry
I ( n- 1) · · · · · · · Covariance
Me
an
v
alue
X = 7
315
, Y = 10315
Estimated
value
X = 7 , Y = I 1.85326587
X
8 , Y = 7.911223556
X= 7.S
, Y = 9.882244715
X - 7. 3 ,
Y = I0.67065318
X =
7.4
, Y = I0 .27644895
r -
Sr
v I
./
Srr
Syy · · · · · · · Correlation coefficient
a = S
ry
I S.r.r l
Regression coefficient ( y= a
:r
+ b )
b =
ji
- a i
Do not sale this PDF !!!
- 36 -
1