Professional Documents
Culture Documents
1.problem Regres Linear
1.problem Regres Linear
1.problem Regres Linear
Detyrë Kursi
Punoi:Jonida Aliu
x i → notat e matematik ë s
y i →notat e fizik ë s
Nx.
1 8.2 7.9 64.78 67.24 0.289494 7.610506 57.91980158 62.41
2 6.3 4 25.2 39.69 0.406038 3.593962 12.91656286 16
3 7.9 6.2 48.98 62.41 0.307894 5.892106 34.71691312 38.44
4 8 5 40 64 0.30176 4.69824 22.0734591 25
5 9.8 8 78.4 96.04 0.191348 7.808652 60.97504606 64
6 8.4 8.4 70.56 70.56 0.277224 8.122776 65.97948995 70.56
7 6.8 5.2 35.36 46.24 0.375368 4.824632 23.27707394 27.04
8 7.2 5.3 38.16 51.84 0.350832 4.949168 24.49426389 28.09
9 9.6 6.1 58.56 92.16 0.203616 5.896384 34.76734428 37.21
10 5.8 5.1 29.58 33.64 0.436708 4.663292 21.74629228 26.01
Shuma 78 61.2 489.58 623.82 3.140282 58.05972 358.866247 394.76
{
n n
∑ y i=na+b ∑ x i
i=1 i =1
n n n
∑ xi y i=a ∑ x i +b ∑ x i 2
12.22=15.42 b
12.22
b=
15.42
b=0.79248
61.2=10 a+78∗0.79248
a=−0.06134
d= |1078 87
623.82|=( 10∗623.82 )−( 78∗78 )=154.2
da= |489.58
61.2
623.82|
78
= (61.2∗623.82 )−( 78∗489.58 )=−9.456
da
a= =−0.06134
d
db
b= =0.79248
d
y=−0.06134 x+ 0.79248
Paraqitja grafike:
9
8
7
6
Notat e fizikës
5
4
Series2
3 Linear (Series2)
2
1
0
5.5 6 6.5 7 7.5 8 8.5 9 9.5 10 10.5
Notat e matematikës
Gabimi:
√
n
∑ ( y i− y c)2
σ xy = i=1
n−2
=
√ 358.866247
10−2
= √ 44.858280875=6.69