Sei sulla pagina 1di 21

Interpolazione polinomiale

y b a x a2 x 2 a3 x 3 a4 x 4

modello
x

y ripetute

0.1

1.1111

1.80170792 3.01227501 4.93543095 6.89027016 7.77820027 7.96141658 8.79151146

0.2

1.2496

1.42355062 1.97034215 2.62519343 3.18970131 3.87864978 3.88822232 5.30050458

0.3

1.4251

2.39516657 4.11079636 4.61940011 5.31814508 7.24709861 8.24517392 9.89084069

0.4

1.6496

2.75404846 4.61039739 5.07650308 6.47777252 7.16154723 7.98141209 8.56894282

0.5

1.9375

2.65982474 2.98970981

4.6973649

0.6

2.3056

3.85991065

5.59276763 7.44763729 7.79035349 9.57915827 10.7480254

0.7

2.7731

4.38092073 6.36376601 8.23839231 8.83473528

9.2973825

11.1114414 12.2248156

0.8

3.3616

4.39332784 4.54958365 6.25905698 6.39004394

8.3898094

9.26252008 11.1640494

0.9

4.0951

5.92218964 7.16613422 7.91264719 8.86810873 9.69469474 9.82751697 10.3329481

4.79652439 6.65032308 6.65404026 8.46937729

1.1

6.1051

6.39701652 7.06053589 7.59629863 9.00618352

1.2

7.4416

8.3107544

1.3

9.0431

10.1400025 11.9650388 13.1766144 15.0606411 16.2188589 17.3588835 18.8973504

1.4

10.9456

12.9175004 13.5234414 13.8142779 15.0008217 15.6220799 17.6071633 19.0195491

1.5

13.1875

14.2951404 15.2580084 16.6074354 17.0976328 17.2716682 18.1082048 19.8851976

1.6

15.8096

16.5532302 17.8069763 18.4641928 18.9051301 19.2068273 19.5200528 19.9273259

1.7

18.8551

20.6320199 20.9032055 22.7678314 24.6674224 25.1927644 26.1057255 26.2406328

1.8

22.3696

22.7268938 23.3258469 24.5997439

1.9

26.4011

27.346555

31

1
1
1
1
1

6.902234

4.2234816

8.13328747 9.15792995 10.3927461 11.7811272 12.2709391 13.8304772


10.2044047

28.824345

10.329153

10.525386

24.8986

9.25222

10.6046532 12.2296452

11.7236235 13.4284598 13.8217432

26.8932079 27.3684282 27.4339652

30.2028463 31.4932048 33.4101918 33.8314145 35.2631085

31.2151259 32.9956904 34.1104388

35.917951

37.2299109 37.4879136 38.1209463

Coefficienti
b
-1.92907
a
14.18309
a2
0
a3
0
a4
0

Analisi della Varianza


Sorgente di variazione

Somma dei quadrati

Gradi di
libert

Media dei
quadrati

F0

Fcrit

p-value

Lack of fit

2038.04028

18

113.2245 16.62854 2.065955 1.97E-26

Pure error

953.2662476

140

6.809045

Total

2991.306528

158

18.93232

20
160

param modello

lineare

quadratico

cubico

quartico

cubico

Ycalc

Ycalc

Ycalc

Ycalc

scarto2

scarto2

scarto2

scarto2

media Y

0.1

5.28523904

-0.5107625

5.894935258

4.049804225 4.44706103

33.59363391

0.371729473

1.526299195

0.70254238

-0.5107625

-1.92907113

0.2

2.94072052

0.907546132

5.290390606

4.610622261 4.58965479

4.133798105

5.520949495

2.788571811

2.718984219

0.90754613

6.72424144

0.3

5.40646517

2.325854765

4.910607484

5.072488688 4.84242945

9.490160453

0.245874842

0.111540289

0.31813629

2.32585476

3.35195063

0.4

5.53502795

3.744163398

4.755585895

5.473487457 5.18605614

3.207195841

0.607529916

0.003787232

0.121781323

3.7441634

4.441154

0.5

4.85683306

5.16247203

4.825325836

5.851702517 5.60838295

0.093415181

0.000992705

0.989765239

0.564827243

5.16247203

0.6

6.44336679

6.580780663

5.119827309

6.245217817 6.10443493

0.018882573

1.751756756

0.039263015

0.114874803

6.58078066

0.7

7.90306923

7.999089296

5.639090313

6.692117308 6.67641409

0.009219853

5.125600541

1.466404561

1.50468284

7.9990893

0.8

6.72124891

9.417397928

6.383114849

7.230484939 7.33369938

7.269219517

0.114334644

0.259321331

0.37509558

9.41739793

0.9

7.97741745

10.83570656

7.351900916

7.898404659 8.09284674

8.169816644

0.391270933

0.006243021

0.013323921

10.8357066

9.68359263

12.25401519

8.545448515

8.733960418 8.97758904

6.607072163

1.295372023

0.901801336

0.498441061

12.2540152

1.1

8.53145663

13.67232383

9.963757645

9.775236165 10.0188361

26.42851558

2.051486211

1.546987545

2.212297799

13.6723238

1.2

10.7231406

15.09063246

11.60682831

11.06031585 11.2546748

19.0749853

0.780903995

0.113687163

0.28252863

15.0906325

1.3

13.9825612

16.50894109

13.4746605

12.62728343 12.7303688

6.382595298

0.257963134

1.836777877

1.567985793

16.5089411

1.4

14.8063042

17.92724972

15.56725422

14.51422284 14.4983589

9.740300787

0.579044894

0.085311539

0.094830334

17.9272497

1.5

16.4638485

19.34555836

17.88460948

16.75921804 16.6182627

8.304251971

2.018561892

0.087243191

0.023843756

19.3455584

1.6

18.2741669

20.76386699

20.42672627

19.40035297 19.1568749

6.198606367

4.633511676

1.268294995

0.779173266

20.763867

1.7

23.1705877

22.18217562

23.19360458

22.4757116

22.188167

0.976958467

0.000529776

0.482852823

0.965150525

22.1821756

1.8

24.9520358

23.60048426

26.18524443

26.02337785 25.7932876

1.826691451

1.520803651

1.1477739

0.707704655

23.6004843

1.9

30.8465957

25.01879289

29.40164581

30.0814357

30.0605622

33.96328587

2.087880234

0.58546986

0.617848658

25.0187929

34.7597471

26.43710152

32.84280873

34.68796908 35.0854933

69.26642967

3.674652777

0.005152086

0.106110603

26.4371015

lineare

quad

quart

Stime iniziali

b
a

lineare

254.755035
-1.929071133

6.724241442

3.351950631

14.18308633

-9.416869498

7.790660227 -0.73065849

4.441154

quad

33.03074957

cubico

15.25254801

quart

14.29016368

Ycalc graph

a2
a3
a4

11.23807657

-8.75597538

8.48857172

6.347324939 -6.21187755
2.99039937

Parte per ANOVA


x

Ycalc

(yi-Ycalc,i)
rip1

rip5

rip6

rip7

1.6218625

2.312470419

3.523037512

5.446193449

7.40103266

8.28896277

8.47217909

13.61092788

0.342053868

0.516004484

1.062796015

1.717647299

2.28215517

2.97110365

2.98067619

58.78104001

-0.900754765

0.069311806

1.784941596

2.293545344

2.99229032

4.92124384

5.91931916

68.27691778

42.61935105

-2.094563398 -0.990114933

0.866233996

1.332339678

2.73360913

3.41738383

4.23724869

5.16247203

37.10892492

36.36160347

-3.22497203 -2.502647286

-2.172762219 -0.465107134 -0.36594764

1.48785105

1.49156823

0.6

6.58078066

60.78403563

60.63297505

-4.275180663 -2.720870016

-2.357299064 -0.988013034

0.86685663

1.20957283

2.99837761

0.7

7.9990893

73.06102417

72.98726534

-5.225989296 -3.618168563

-1.635323289

0.239303015

0.83564598

1.29829321

3.11235207

0.8

9.41739793

108.8802911

50.726535

-6.055797928 -5.024070091

-4.867814278

-3.15834095 -3.02735398 -1.02758853 -0.15487785

0.9

10.8357066

98.03102403

32.67249088

-6.740606561 -4.913516916

-3.669572342 -2.923059368 -1.96759783 -1.14101182 -1.00818959

12.2540152

114.0019039

61.14532658

-7.254015194 -5.351781194

-4.120727722

-0.472888

0.01692387

1.1

13.6723238

243.6289024

32.20077774

-7.567223826 -7.275307304

-6.611787935 -6.076025193 -4.66614031 -4.42010383

-3.0676706

1.2

15.0906325

187.5724747

34.97259231

-7.649032459

-4.886227787 -4.761479428 -4.56524647 -3.36700894 -1.66217267

1.3

16.5089411

136.6622329

85.60147053

-7.465841092 -6.368938624

-4.543902275

1.4

17.9272497

125.324448

47.40204174

-6.981649724 -5.009749305

-4.403808335

1.5

19.3455584

98.81023047

32.3762147

-6.158058357 -5.050417974

-4.087549989 -2.738122967 -2.24792553 -2.07389014 -1.23735352

1.6

20.763867

64.43207741

14.84322647

-4.95426699 -4.210636765

-2.956890715 -2.299674164 -1.85873693 -1.55703966 -1.24381415

1.7

22.1821756

62.55658616

54.74091843

-3.327075622 -1.550155725

-1.278970141

0.585655737

2.48524675

3.01058874

3.92354985

1.8

23.6004843

44.77229308

30.15876148

-1.230884255 -0.873590409

-0.274637308

0.999259638

1.29811577

3.29272365

3.76794398

1.9

25.0187929

343.6277726

71.92148558

1.382307112

2.327762072

3.805552066

5.184053392

6.4744119

8.3913989

8.81262158

26.4371015

610.5486706

56.4172332

4.56289848

4.778024342

6.558588912

7.673337268

9.48084953

10.7928093

11.0508121

sum(yi-Ycalc,i)2 sum(yij,Yavg,i)2

0.1

-0.5107625

331.8430814

63.09401012

0.2

0.90754613

46.68131272

0.3

2.32585476

134.7023236

0.4

3.7441634

0.5

Gradi di libert pure error


7

rip2

-6.77987806

140
calcolo residui

rip3

rip4

-3.09608524 -1.86126909

-3.33232666 -1.44829995 -0.29008218

0.84994241

-4.1129718 -2.92642806 -2.30516977 -0.32008639

7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7
7

Ycalc

res3

res4

res5

1.6218625

2.312470419

3.52303751

5.44619345

7.40103266

0.907546132

0.342053868

0.516004484

1.06279601

1.7176473

2.28215517

2.325854765

-0.900754765

0.069311806

1.7849416

2.29354534

2.99229032

0.4

3.744163398

-2.094563398 -0.990114933

0.866234

1.33233968

2.73360913

0.5

5.16247203

0.6

6.580780663

-4.275180663 -2.720870016 -2.35729906 -0.98801303

0.86685663

0.7

7.999089296

-5.225989296 -3.618168563 -1.63532329

0.83564598

0.8

9.417397928

-6.055797928 -5.024070091 -4.86781428 -3.15834095 -3.02735398

0.9

10.83570656

-6.740606561 -4.913516916 -3.66957234 -2.92305937 -1.96759783

12.25401519

-7.254015194 -5.351781194 -4.12072772 -3.09608524 -1.86126909

1.1

13.67232383

-7.567223826 -7.275307304 -6.61178794 -6.07602519 -4.66614031

1.2

15.09063246

-7.649032459

1.3

16.50894109

-7.465841092 -6.368938624 -4.54390228 -3.33232666 -1.44829995

1.4

17.92724972

-6.981649724 -5.009749305 -4.40380833

1.5

19.34555836

-6.158058357 -5.050417974 -4.08754999 -2.73812297 -2.24792553

1.6

20.76386699

1.7

22.18217562

-3.327075622 -1.550155725 -1.27897014

0.58565574

2.48524675

1.8

23.60048426

-1.230884255 -0.873590409 -0.27463731

0.99925964

1.29811577

1.9

25.01879289

1.382307112

2.327762072

3.80555207

5.18405339

6.4744119

26.43710152

4.56289848

4.778024342

6.55858891

7.67333727

9.48084953

0.1

-0.5107625

0.2
0.3

res1

res2

-3.22497203 -2.502647286 -2.17276222 -0.46510713 -0.36594764


0.23930302

-6.77987806 -4.88622779 -4.76147943 -4.56524647


-4.1129718 -2.92642806

-4.95426699 -4.210636765 -2.95689072 -2.29967416 -1.85873693

a2

a3

a4

14.1830863
-9.4168695

11.2380766

7.79066023 -8.75597538 6.34732494


-0.73065849 8.48857172 -6.21187755 2.99039937

rip8

(yij-Yavg,i)
rip1
rip2

rip5

rip6

rip7

rip8

9.30227396

-4.17413904 -3.48353113 -2.27296403 -0.3498081

rip3

rip4

1.60503112

2.49296123

2.67617754

3.50627242

4.39295845

-1.69112052 -1.51716991 -0.97037838 -0.31552709 0.24898078

0.93792926

0.9475018

2.35978406

7.56498592

-3.98136517 -3.0112986 -1.29566881 -0.78706506 -0.08832009 1.84063344

2.83870875

4.48437552

4.82477942

-3.88542795 -2.78097948 -0.92463055 -0.45852487 0.94274457

1.62651928

2.44638414

3.03391487

3.30690526

-2.91933306 -2.19700831 -1.86712325 -0.15946816 -0.06030867 1.79349002

1.7972072

3.61254423

4.16724471

-4.13776679 -2.58345614 -2.21988519 -0.85059916

1.0042705

1.3469867

3.13579149

4.30465859

4.22572635

-5.12996923 -3.5221485 -1.53930322 0.33532308

0.93166605

1.39431327

3.20837214

4.32174642

1.74665149

-3.35964891 -2.32792107 -2.17166526 -0.46219193 -0.33120497 1.66856048

2.54127116

4.4428005

-0.50275847

-3.88231745 -2.0552278 -0.81128323 -0.06477026 0.89069129

1.71727729

1.85009953

2.35553064

1.57646205

-4.68359263 -2.78135863 -1.55030516 -0.52566267 0.70915347

2.09753456

2.58734644

4.14688462

-1.44267861

-2.42635663 -2.1344401 -1.47092073 -0.93515799

0.72076337

2.0731966

3.69818859

-1.26888921

-3.28154058 -2.41238618 -0.51873591 -0.39398755 -0.19775459 1.00048294

2.70531921

3.09860267

2.38840933

-4.93946121 -3.84255874 -2.0175224 -0.80594678 1.07807993

2.2362977

3.37632229

4.91478921

1.09229942

-3.86070423 -1.88880381 -1.28286284 -0.9920263

0.19451744

0.81577572

2.80085911

4.21324491

0.53963924

-3.27634845 -2.16870807 -1.20584009 0.14358694

0.63378438

0.80781976

1.64435639

3.42134914

-0.83654108

-2.46456693 -1.72093671 -0.46719066 0.19002589

0.63096313

0.9326604

1.24588591

1.65315898

4.05845716

-4.31548772 -2.53856782 -2.26738224 -0.40275636 1.49683466

2.02217665

2.93513776

3.07004507

3.83348092

-2.58243575 -2.22514191 -1.62618881 -0.35229186 -0.05343573 1.94117215

2.41639248

2.48192942

10.2443157

-4.44549572 -3.50004076 -2.02225077 -0.64374944 0.64660906

2.56359606

2.98481874

4.41651283

11.6838448

-3.75974711 -3.54462125 -1.76405668 -0.64930833 1.15820393

2.47016375

2.72816649

3.3611992

0.4747269

dati per grafico residui

res6

res7

res8

8.28896277

8.47217909

9.30227396

2.97110365

2.98067619

4.39295845

4.92124384

5.91931916

7.56498592

3.41738383

4.23724869

4.82477942

1.48785105

1.49156823

3.30690526

1.20957283

2.99837761

4.16724471

1.29829321

3.11235207

4.22572635

-1.02758853 -0.15487785

1.74665149

-1.14101182 -1.00818959 -0.50275847


-0.472888
-4.42010383

0.01692387

1.57646205

-3.0676706 -1.44267861

-3.36700894 -1.66217267 -1.26888921


-0.29008218

0.84994241

2.38840933

-2.30516977 -0.32008639

1.09229942

-2.07389014 -1.23735352

0.53963924

-1.55703966 -1.24381415 -0.83654108


3.01058874

3.92354985

4.05845716

3.29272365

3.76794398

3.83348092

8.3913989

8.81262158

10.2443157

10.7928093

11.0508121

11.6838448

n valori
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8
8

p1

rp1

p2

rp2

p3

rp3

p4

rp4

0.1

1.6218625

0.2

0.34205387

0.3

-0.90075476

0.4

-2.0945634

0.1

2.31247042

0.2

0.51600448

0.3

0.06931181

0.4

-0.99011493

0.1

3.52303751

0.2

1.06279601

0.3

1.7849416

0.4

0.866234

0.1

5.44619345

0.2

1.7176473

0.3

2.29354534

0.4

1.33233968

0.1

7.40103266

0.2

2.28215517

0.3

2.99229032

0.4

2.73360913

0.1

8.28896277

0.2

2.97110365

0.3

4.92124384

0.4

3.41738383

0.1

8.47217909

0.2

2.98067619

0.3

5.91931916

0.4

4.23724869

0.1

9.30227396

0.2

4.39295845

0.3

7.56498592

0.4

4.82477942

p5

rp5

p6

rp6

p7

rp7

p8

rp8

p9

rp9

p10

rp10

p11

rp11

0.5

-3.22497203

0.6

-4.27518066

0.7

-5.2259893

0.8

-6.05579793

0.9

-6.74060656

-7.25401519

1.1

-7.56722383

0.5

-2.50264729

0.6

-2.72087002

0.7

-3.61816856

0.8

-5.02407009

0.9

-4.91351692

-5.35178119

1.1

-7.2753073

0.5

-2.17276222

0.6

-2.35729906

0.7

-1.63532329

0.8

-4.86781428

0.9

-3.66957234

-4.12072772

1.1

-6.61178794

0.5

-0.46510713

0.6

-0.98801303

0.7

0.23930302

0.8

-3.15834095

0.9

-2.92305937

-3.09608524

1.1

-6.07602519

0.5

-0.36594764

0.6

0.86685663

0.7

0.83564598

0.8

-3.02735398

0.9

-1.96759783

-1.86126909

1.1

-4.66614031

0.5

1.48785105

0.6

1.20957283

0.7

1.29829321

0.8

-1.02758853

0.9

-1.14101182

-0.472888

1.1

-4.42010383

0.5

1.49156823

0.6

2.99837761

0.7

3.11235207

0.8

-0.15487785

0.9

-1.00818959

0.01692387

1.1

-3.0676706

0.5

3.30690526

0.6

4.16724471

0.7

4.22572635

0.8

1.74665149

0.9

-0.50275847

1.57646205

1.1

-1.44267861

p12

rp12

p13

rp13

p14

rp14

p15

rp15

p16

rp16

p17

rp17

p18

rp18

1.2

-7.64903246

1.3

-7.46584109

1.4

-6.98164972

1.5

-6.15805836

1.6

-4.95426699

1.7

-3.32707562

1.8

-1.23088426

1.2

-6.77987806

1.3

-6.36893862

1.4

-5.0097493

1.5

-5.05041797

1.6

-4.21063677

1.7

-1.55015572

1.8

-0.87359041

1.2

-4.88622779

1.3

-4.54390228

1.4

-4.40380833

1.5

-4.08754999

1.6

-2.95689072

1.7

-1.27897014

1.8

-0.27463731

1.2

-4.76147943

1.3

-3.33232666

1.4

-4.1129718

1.5

-2.73812297

1.6

-2.29967416

1.7

0.58565574

1.8

0.99925964

1.2

-4.56524647

1.3

-1.44829995

1.4

-2.92642806

1.5

-2.24792553

1.6

-1.85873693

1.7

2.48524675

1.8

1.29811577

1.2

-3.36700894

1.3

-0.29008218

1.4

-2.30516977

1.5

-2.07389014

1.6

-1.55703966

1.7

3.01058874

1.8

3.29272365

1.2

-1.66217267

1.3

0.84994241

1.4

-0.32008639

1.5

-1.23735352

1.6

-1.24381415

1.7

3.92354985

1.8

3.76794398

1.2

-1.26888921

1.3

2.38840933

1.4

1.09229942

1.5

0.53963924

1.6

-0.83654108

1.7

4.05845716

1.8

3.83348092

p19

rp19

p20

rp20

1.9

1.38230711

4.56289848

1.9

2.32776207

4.77802434

1.9

3.80555207

6.55858891

1.9

5.18405339

7.67333727

1.9

6.4744119

9.48084953

1.9

8.3913989

10.7928093

1.9

8.81262158

11.0508121

1.9

10.2443157

11.6838448

p21

rp21

Grafico interpolazione

45
40
35
30

25
20
15
10
5
0
0

0.5

1.5

-5
x

2.5

Grafico dei residui

15

10

residui

0
0

0.5

1.5

-5

-10
x

2.5