Вы находитесь на странице: 1из 4

[Previously saved workspace restored]

>
consumo=c(1534052735466,1582110001732,1650146131454,1728981646933,174437077147
4,1729251631521,1814836763015,1875583307415,1932010097618,2012195536300,2040543
923696,2051343309320,2043243770102,2075371942519,2133958609820,2183635783876,22
33582942652,2264901161041,2348866384745,2440391178358,2568633883306,2699846419
247,2751786253950,2725474628467,2792449673948,2840972414089,2864208659764,29171
73625485,2974922531540,3034038256878,3123907846525,3176872812246,3176872812246,
3154319996079,3191224606760,3213777436171,3332692329600,3441355939341,34786022
64777,3283144458442,3417094562649,3542160228940,3559587403263,3577014590830,364
6039898346,3709597862509,3781698549835,3865759081374)

>
inversion=c(391217433242,414592051871,425722826373,427656069945,390690174569,3731
15267584,386179285659,403519868184,423028018740,449273197849,459408064759,43796
6689703,417989871157,430526630426,431171051395,434100202559,447925803634,457240
496728,480322200214,515061936876,556245806019,585830232802,609938201409,5843027
34344,605554939206,605355692791,602367102517,607082437664,630725520043,66001371
0027,675487967512,658419791682,620365064048,612129832511,612395485569,616977994
187,663334360001,690298092354,700857781521,630194213929,664131319173,7117495303
87,707100615126,698201250946,724301617485,735459019409,757973069672,78301082398
1)

>
gasto=c(280255893430,298135375658,312794619019,332115975001,350620265856,3663368
89706,374123122280,382005473502,397866294329,413679036694,428049905437,44765965
5110,442997523682,440930822096,446265821673,449918612931,456359071194,459194797
590,465923630604,456022637185,465202684257,480630933355,506635702936,5091839088
35,525126535785,536626142499,549432505848,554071554147,565505813759,57203967639
5,579814975051,582820544446,589811783823,593013368039,588308985881,591183887560
,596868357059,605623729812,626140057958,645022920445,653386263559,659528096556,
666453988831,675470723506,685924895776,705526483683,731400585547,742704164199)

>
crecimiento=c(1534052735466,1582110001732,1650146131454,1728981646933,1744370771
474,1729251631521,1814836763015,1875583307415,1932010097618,2012195536300,20405
43923696,2051343309320,2043243770102,2075371942519,2133958609820,2183635783876,
2233582942652,2264901161041,2348866384745,2440391178358,2568633883306,26998464
19247,2751786253950,2725474628467,2792449673948,2840972414089,2864208659764,291
7173625485,2974922531540,3034038256878,3123907846525,3176872812246,31768728122
46,3154319996079,3191224606760,3213777436171,3332692329600,3441355939341,347860
2264777,3283144458442,3417094562649,3542160228940,3559587403263,3577014590830,3
646039898346,3709597862509,3781698549835,3865759081374)

> c=data.frame(consumo,inversion,gasto,crecimiento)

>c
consumo inversion gasto crecimiento

1 1.534053e+12 391217433242 280255893430 1.534053e+12

2 1.582110e+12 414592051871 298135375658 1.582110e+12

3 1.650146e+12 425722826373 312794619019 1.650146e+12

4 1.728982e+12 427656069945 332115975001 1.728982e+12

5 1.744371e+12 390690174569 350620265856 1.744371e+12

6 1.729252e+12 373115267584 366336889706 1.729252e+12

7 1.814837e+12 386179285659 374123122280 1.814837e+12

8 1.875583e+12 403519868184 382005473502 1.875583e+12

9 1.932010e+12 423028018740 397866294329 1.932010e+12

10 2.012196e+12 449273197849 413679036694 2.012196e+12

11 2.040544e+12 459408064759 428049905437 2.040544e+12

12 2.051343e+12 437966689703 447659655110 2.051343e+12

13 2.043244e+12 417989871157 442997523682 2.043244e+12

14 2.075372e+12 430526630426 440930822096 2.075372e+12

15 2.133959e+12 431171051395 446265821673 2.133959e+12

16 2.183636e+12 434100202559 449918612931 2.183636e+12

17 2.233583e+12 447925803634 456359071194 2.233583e+12

18 2.264901e+12 457240496728 459194797590 2.264901e+12

19 2.348866e+12 480322200214 465923630604 2.348866e+12

20 2.440391e+12 515061936876 456022637185 2.440391e+12

21 2.568634e+12 556245806019 465202684257 2.568634e+12

22 2.699846e+12 585830232802 480630933355 2.699846e+12

23 2.751786e+12 609938201409 506635702936 2.751786e+12

24 2.725475e+12 584302734344 509183908835 2.725475e+12

25 2.792450e+12 605554939206 525126535785 2.792450e+12

26 2.840972e+12 605355692791 536626142499 2.840972e+12

27 2.864209e+12 602367102517 549432505848 2.864209e+12

28 2.917174e+12 607082437664 554071554147 2.917174e+12

29 2.974923e+12 630725520043 565505813759 2.974923e+12

30 3.034038e+12 660013710027 572039676395 3.034038e+12


31 3.123908e+12 675487967512 579814975051 3.123908e+12

32 3.176873e+12 658419791682 582820544446 3.176873e+12

33 3.176873e+12 620365064048 589811783823 3.176873e+12

34 3.154320e+12 612129832511 593013368039 3.154320e+12

35 3.191225e+12 612395485569 588308985881 3.191225e+12

36 3.213777e+12 616977994187 591183887560 3.213777e+12

37 3.332692e+12 663334360001 596868357059 3.332692e+12

38 3.441356e+12 690298092354 605623729812 3.441356e+12

39 3.478602e+12 700857781521 626140057958 3.478602e+12

40 3.283144e+12 630194213929 645022920445 3.283144e+12

41 3.417095e+12 664131319173 653386263559 3.417095e+12

42 3.542160e+12 711749530387 659528096556 3.542160e+12

43 3.559587e+12 707100615126 666453988831 3.559587e+12

44 3.577015e+12 698201250946 675470723506 3.577015e+12

45 3.646040e+12 724301617485 685924895776 3.646040e+12

46 3.709598e+12 735459019409 705526483683 3.709598e+12

47 3.781699e+12 757973069672 731400585547 3.781699e+12

48 3.865759e+12 783010823981 742704164199 3.865759e+12

> summary(c)

consumo inversion gasto

Min. :1.534e+12 Min. :3.731e+11 Min. :2.803e+11

1st Qu.:2.049e+12 1st Qu.:4.334e+11 1st Qu.:4.425e+11

Median :2.772e+12 Median :6.039e+11 Median :5.172e+11

Mean :2.693e+12 Mean :5.606e+11 Mean :5.163e+11

3rd Qu.:3.231e+12 3rd Qu.:6.608e+11 3rd Qu.:5.940e+11

Max. :3.866e+12 Max. :7.830e+11 Max. :7.427e+11

crecimiento

Min. :1.534e+12

1st Qu.:2.049e+12

Median :2.772e+12

Mean :2.693e+12
3rd Qu.:3.231e+12

Max. :3.866e+12

> pairs(c)

> cor(c)

consumo inversion gasto crecimiento

consumo 1.0000000 0.9794928 0.9850522 1.0000000

inversion 0.9794928 1.0000000 0.9467060 0.9794928

gasto 0.9850522 0.9467060 1.0000000 0.9850522

crecimiento 1.0000000 0.9794928 0.9850522 1.0000000

>

4e+11 6e+11 1.5e+12 3.0e+12

3.0e+12
consumo

1.5e+12
6e+11

inversion
4e+11

3e+11 5e+11 7e+11

gasto
3.0e+12

crecimiento
1.5e+12

1.5e+12 3.0e+12 3e+11 5e+11 7e+11