Sunteți pe pagina 1din 6

Cheltuieli Alte

Salariu
totale venituri
Y X1 X2 yc=ŷ=-2.25+0.75*X1+0.20*X2 e e^2 1543844.08
250 300 0 221.48 28.52 813.12 442880.03
760 940 500 798.51 -38.51 1482.84 772658.37
570 520 1000 584.99 -14.99 224.70 933033.24
560 604 250 498.06 61.94 3836.12 18224190.12
5600 3560 15445 5732.98 -132.98 17683.68 978013.48
500 640 0 475.05 24.95 622.28 89899.83
800 1564 0 1164.17 -364.17 132617.60 8419.31
1000 1843 0 1372.24 -372.24 138565.01 16432.61
1600 1500 1100 1335.81 264.19 69796.23 985451.48
3000 2420 3280 2456.70 543.30 295175.88 173606976.00
14640 14640.00 660817.46 197601798.54
SSE SSR
Estimati modelul de regresie adecvat si realizati predictia pentru urmatorul set nou de valori:
Alte
Salariu
venituri
X01 X02 ym=y̅= 1464
500 100

n= 10
m= 2
k= 3

1. Estimare a modelului
y= 250
10x1 760
570 y'= 250 760 570
560 1x10
5600 X1 X2
500 b0 b1 b2
800 X= 1 300 0
1000 10x3 1 940 500
1600 1 520 1000
3000 1 604 250
1 3560 15445
1 640 0
1 1564 0
1 1843 0
1 1500 1100
1 2420 3280

X'= 1 1 1
3x10 300 940 520
0 500 1000

X'*X= 10 13891 21575


3x3 13891 28641161 65712800
21575 65712800 251828925

(X'*X)-1= 0.45168319 -0.00032464 0.00004602


3x3 -0.00032464 0.00000032 -0.00000006
0.00004602 -0.00000006 0.00000001

(X'*X)-1X'= 0.354290 0.169526 0.328884


3x10 -0.000229 -0.000051 -0.000214
0.000029 0.000001 0.000032

b=(X'*X)-1*X'*y= -2.25 b0
3x1 0.75 b1
0.20 b2

y=-2.25+.75*X1+.2*X2+e

2. Testare model
Testul t
s^2= 94402.4946

b0 b1 b2
Sb= 42640.0194 -30.64721 4.34404327276909 b0
-30.647213 0.030241 -0.00526543603038575 b1
4.34404327 -0.005265 0.00137667388970556 b2

CoeficientiValori sbj tcalc p-value Linf Lsup


b0 -2.25 206.49 0.011 0.992 -490.54 486.03
b1 0.75 0.17 4.289 0.004 0.33 1.16
b2 0.20 0.04 5.375 0.001 0.11 0.29
a= 0.05 tcritic= 2.365
Test F H0:b0=b1=b2=0?
Fcalc= 1046.59
Fcritic= 4.74
p-value= 0.000
Rezultat test F H0:b0=b1=b2=0? Nu
3. Calitate model
R=
2
0.997
R= 0.998
R̅ 2= 0.996
Interpretare calitate model
Modelul are calitate foarte buna, valorile indicatorilor de calitate sunt foarte apropiate de 1

4. Utilizare model
Simulare de scenarii
Set de Alte
Salariu
valori noi venituri x0= 1
X1
0
X02 3x1 500 X01
500 100 100 X02

x0'= 1 500
1x3
Estimatie punctuala
La ce valoare a cheltuielilor ne asteptam cel mai probabil pentru o persoana noua pentru care salariul este 500 eur si alte veni
yc0=ŷ0= 390.59 eur

Estimatie prin interval de incredere


In ce interval se vor incadra cheltuielile reale ale persoanei noi? y0

x0'*(X'X)-1*x0= 0.211
sy= 338.10
Linf Lsup
-408.89 1190.07 P=1-0.05 0.95 (95%)
1473796
495616
799236
817216
17106496
929296
440896
215296
18496
2359296
173606976
198262616.00
SST
198262616.00

560 5600 500 800 1000 1600 3000

1 1 1 1 1 1 1
604 3560 640 1564 1843 1500 2420
250 15445 0 0 0 1100 3280

0.267102 0.006670 0.243911 -0.056060 -0.146636 0.015335 -0.183022


-0.000145 -0.000046 -0.000120 0.000176 0.000266 0.000095 0.000268
0.000016 0.000073 0.000010 -0.000041 -0.000057 -0.000022 -0.000041

Rezultat test t
b0=0 H0:b0=0?
b1<>0 H0:b1=0?
b2<>0 H0:b2=0?
100

riul este 500 eur si alte venituri sunt egale cu 100 eur?

S-ar putea să vă placă și