You are on page 1of 29
Unit -2 Unit 2 Lat Regression: @QWhol a5 tehorp habion 2 > Tt as en cess, of abinaading She value. of oe rake £6) comrecpondig do dhe val De, 1 Seer bed \nwn Ah He method cng i mea “Tole oints whe Se aw dsc wile egal disoe Pie te of iiss oh of the he selporlnd vole a @. inl 45 exe. lacion? => Eshapoladton 1s the process ¢ caleukabing unleroor valbes bagel de grocidl'pae Aeglications: Pikes devas ave zed de fed abit etn fi) het peal set of In u ae Be goon replant fae Ha fin q ese, stechvi vies are th ac applicactions " the felt meetin eon ofan wi oa 115 Nes Mosd of She modern, day meaguements are ohegi monk we do vol nose. BM alte furch in to repreg sent thas hare Ledion ove, used fa nd J ° ob honed nie 1 » Tidal ard extrapolation i sad fuel rn an ina pra nit fre a doly 1% Inforpol: é: 7 See. ee si log, he Deivatio: A second, Orde p omlal canbe wrttlen tn the fom; fae i = by(e-x,)' (o-34 Ve be (3 Jee Ma) +h )B%) ol orto)3 (asf) and (x, (‘Seago em el BG) = & = be (a-94) 25) Alad=f= bs (24-2) (24-25) Bade Gaby (om-0) (4-24) From absve. three eguaty calculate b45b2, and b%, as; Cpetions we can, cealee valucof * Tees) = 4 ° Cy-20.) (%-%) y= & (or%)02-%G) Subshihding these values of ba sbgard be te equatin® me gel, RO=F,G Vom) § Gem ern) Cee) le) Caray Ge) + fj-uyex) Ca) 04-%) lel we yeanane : BOD =f, (xr) rx, ) a fa(anra) (xe) hl c-2%) (2a) C4) (ta) (9G) 04%) This equadtion can be voritten Ge) Ca*4) R= fie +h Hite _ et) ——§$® haw, ijn Fe OD | Grenerallaig an (© for nad pombsswe relalinn J20 fy (y=) iC = = hl Dy wher, d= Fr (2-24) : Eqr @® £8 calle Lagrange raberpolebon fern 0) PA IA fe eh pe Te ® Alasathm and C am $57 lagran oluhion [V-Day Mosrithra: 1. Start 2 Read number of pomés, say m. : = 3. Read dhe value, ab which cadet needed say % 4. Read given clade, pein S. . 5. Calulabe values of Ly a8 helna; for Yet bon ft fotdn 4 (sl=4) L ate *@=00/@(d-=8) End End for. 6.Caldake mbepaaled vale al as bela Rr #210” vavefax O7*LxBT nd + ind the arterpotetion value val x. 3. Tenninate, mga: & #indude cebdior> + Induide cconlos nt main() E aud andy fs Float 14, y=0, ax[401, fxc[iol, L{so]; printf (“Ernles the number of poinbs \n), -scanf (Kd, Ginds PUneE (Ender he valic of x \); Scant ("4 $F", dx); for (42 Osten; f+) , 2 prtalf (Elen fhe value of xond fx af te%d \n), 1s sean§ (Uf ef, axl, &fxL1); for (4205 225 t44) PB Le.0; te make flak. (= =05 fans j++) sf (1154) tel (arty) / axy]-axtyD)3 : Legals For (4205 421; $44) vev+ fel *| LT; puns ("Inlorpolaled value= %4",v)5 bch (3 hn D: 4 a the numberof potnls Ferdes the value. of oe Edo the value of sand $e at t20 Fal “he vale of and fx at tod on ie value. op ocand fie ad t22 pd. val of ac and fx. at #23 Tid value= 2, 00, . wood, vebbct a@ rocked di 4 Se Tce tte wdaa 4 atom hn ! en | Veloctby | ‘ 6 oO ; % 10 294.04 | TOF | 15 362.48 20 S135 5 | 602.9% | 92. 901 -6F elerndne. tho. val fo 216 seconds using av firsh ee Lagrange papal. —_ me ‘ _Solubton 5 For frat avdes polycratal anbrpabetton, the vlocthy #8 gtven by, A= 2 4s = beh +4of Sine. we. want tp fond Lhe veloerhy odd ta16,and Wwe ana, UB : fre order polypnernial, we need fo ‘choose tee, two data pinks Bok cane choses ty fare Hat abo bracket f-t6. Hage foo PHS ate $y=15 and, $290. this rs d(x) = PG tg OO No Sey ey GER = £08 Lede je mm re Lag Thus, ROS) = Lyf, +L) f, = 0.3% 362,4840.2%514.55 = 393.69 Srample the value of oX9 gien 40 table bebra x ex oO 4a a [2-783 . = Te BIL k = + 0855| . elermine tho. clue of ee Lo usin second een : “pigeon oioweain laa Lesage polyondal andepolaion 5 For cord orden. potgrot ab snberpolabion the pel wegen i Mage = dytcyfy = Le §-+4lok rhe)h, Since we want to find value, of eb? cd, weane ud 3 cA Second ord omials we need to ch Hrree dade. porns ‘that pegoniate wen eee Hed ie bracked X=1,2. The three dala fords ane. %, 20) %=1 and ey = 2. Thay : oO) = Fp Se 8 Gs Vl) _(nrayay - 520 34073} Gy Gay) ‘Caen = 00) Lod = 4 Xp _ (x-%) (x-%2) -0)(42-2) A tay = Gr% Gm) _ 2-0)(4.2-2) _p.9¢ (4-%)(40) G0) @— 4 (2) =It et 8 (2-2) -,) = (02-0) (4.2-)_ 012. 320 p42 2-°9G “G%) Gs) eas) N a (a2) Fol) f.thite§ +4. =O OBF1 +0. 960-4193 4.0,19* F,3891 = 3.41696, Wiis. @. NEWTON'S DIVIDED DIFCERENCE INTERPOLATZON: Dahialin: het us cmstden a perma of degreen, of te quer. laelaa; BCC) = Ayr (oes) +g(x9) (X44) Fan Fy (He) a srg) To construck the palynomiall we need fo ford coefficients M94 My. 0G Ay- Lot “Lig suppose > a ~ spon whole ee (21 $€2)), (25 s44)), +++ 5 Cen fn) Now, ok x0%q eg® beames plx)=4(%) =a, > &=Fl%) Stotlaoly jal 2234 ef" @ hewmen | Avge HE pls )= fe)=ata (ary) (Minato, Paya FG) Ay — G-% ye Kone anf = fej-4eey CE ID . (a3) , at xan, eg@ becomes ; plead= $O2)= a,+aylrr—%) +n Sa-%) Ga) => Fa) = FE )+ £6) $09) (ay) tay berrs,) bor) Xo y- acabn slant Fs) F() _ flu) —H) ie 7% -% =X > aS BE” Node Bhat a, scrz, arch ay ane fille divided, cefferences. a, ,aard % we the fret, second and third fintle’ cltvided, dnffereneseapectie We clende the fire ee yee by; Xo) 2 $C) The second divided dttference. by, Ff iasxet = £62) fle) 7 eta = Sty rd dhe Hird davdel ference $ Lapa st] = Sad-fts at sp-F00) | This 5 teads us te withing he sal Lamaf he Nak \ : cdl ANfereece ial for nL da ponds, Corfe) > pO YD, arte Sto a \ p= Aetealenas) ty (X-%) (ota) na) + whens a= He] a4 = Fs) O9=$ asx ste] Qn" os fat 23° 2%] Pin s%n-29°73% where the definition of the rl ade "ioe ty n= $n | New the eg" © can be writbn 2g pld= tel ts Basta oo] Foy) —@ This ep" @ a eld. talons dave, fone srchpalbin rid = lk uur el of da velit $6 veeded oo : la it "Tide difference aa; ier 1 €.Cabeulate secord, do vith diutded, difference. a8; For 420. ob f+1 . for sont dott ° dd G= dd Ce]— dd fy-21 £nd for acy Epa End for, 4, Sel v0 and ped. 8. Calculate srberpolaled. value ag, Por 420 4 wd BG jz0 7 pm (ty) Evd for Perm © “ V=vedd [1]*p Rad for Resel pet S. Pant ft, soknpaed value-v, 10. Terminate . : . b ima, ovsell rf dias ee £ fa a pee , melee Lak pes of prigams ane vorttlen here . Example: The, 4, veloct of a. vockel as iver 8 a -functm of ne om le us me. (£) a iS) eee [eh | to 227,08 as 362,78 20 514,55 “ae del Delemmine Lhe value veloofhy at 4-16 seconds, with phir eile papel sep Mea Not cian pena Sit Drive ores = Hhe vlocty 4 given by 7D) = Oty X-%) Hay (ra oe \ or ~ So het the 4 date Foe for eine ee 2 al a, fl%9 =224,04- 34 215, fly) = 362-48 %= 20 5, £(o0) = 594,25 X3=99, 55 fl) = 602.97 oa values of elturded, alefferences 2 bello: =fEe1 =H(% J= 29404 ( a. F E4936] = $4) £6) 362. v6 20h OF _ 04,148 ; 34-%y 415-4 : Og = F [5% 56] — Fhe f [a — Ge %J= Flay 29%] —f Pa s%a5% | EE bg For ay we kno Lat aK. FOG.) 2 foto, P4) _ 51%35- SiR 35 562-18 og = SEBS 80 55 gg and £ [x56] =97, 148 (jm og above thal cmd Now, un fio £24536] _0, 244-24.148 2a-%, Tape = OSF660, j ain for as we know that i. F D4 5%53= a) ete 602.97— / SI-35 _ 34, 249 22.5-20 F [q5.J= ses seats), 514.38 -362-78 _ sp gag “~~Ze-35. = >F Biss 26] = “flyer, Saas gone Xg 22:5 15 =049453 Thoetee, Gee O42 $055 % 9247 fla 5%, eI 0: 44453— 0.34660 ae ‘— %-% 15-10 = 54344x107) =F [Be 5x95 Now, Thive, orden polynomial canbe wrllen as: i pls) =0y tas (4-26) 44g (x6) (0-94) 4af 2%) (2-54) (2-24) = 22404494, 148(x-10) + 0,84 66(2-10) (X-19)-+.0.00 55349 (+40) (x-18) (2-20) : . Now al x=16 plas)=22%.04-+9%.146 16-10) +0259 (s639) Ga tone = 392.06 @_ Dnwided Di evence. Table Trp | We know that Une forek ord © c fer jn snp pk hy Homes cam be calcd F Urge = $64)-F65)_ a= — be, 4 = fra) fz) | “Se And second orden divided, diflerone can be calculated erm fash ded, belevo: order, divi. enences, : £ Cases] =f Gea maf bead 3G -Xy Thus we car say that higher orden dyvtded ditt nb Cede fom Ma Qe dine secuehey i om F Bina yxole FE -F Pemeag ay a Thus, frome Hus formule, divided, Aifforone table fr cubie polytomial 903 follessy a? flo e Oe " : FIN oe > rae x ” FO cea) _ SS fren | § Dest og % $n) § Das] dale, pants crecfe the fable Bho table sCaven Ho foblosi of divided dafferences.l £ (2.8) ty uaiag seton r= Tipe Ts [4 a RCS a ie & > & q _Setubton » . a Os 2 x4 O om How # came’ eS ® lant Featta ae st a me iex-0= a0 % 63 Now, Byal de ing, SCCNA OYE 1 Rvaluadig C8) by vag d order 34-19 ~ 4% 249 Heb P ane? af - 253-1 2a? So hs > je kaw Ahat, Plz) 2Ay+Ay (-%0)-+ Af 2-20) (x-%) e (408) = p(1B= OF EXAB1)+EXA-BALAB-2) =045.6-0.96 . = hhh Again Evaluaciog by using. Hu'rd arden polyoma © Plt) Ag+ (0024) y (4) (1H) + Ag (Lo) (LH) (00-y ) erejore, $ (2-8) =f, (1 8)= OF Fx18-D-+6%4-8-D(18-)HIKA SD (4-3-2) (14-3) , 2 04 5.60.96 +0192 This extimple shes hab hh eocamp Ors en- ordes, ial moe accurcbe y wn potiynom wre Uh alu han bower order. Polenta & Newton's Forward De ¢ We Eno that Newdons- Divided dtfferne pobyrril 18 given, toy 5 Palad= Og Q4 (20-23) +A (ee-m2)(e-2%) pees 1p (a3) by). » «(X~ C4): he, Pylde Fa + fe i] ene) + $e Gea) orate 44 Eerste aere] ex lag) Gna) —O Leb ug trbroduec. dee webetion ho2ty,-25 fer each F201, coated. Suopese, a220,+5h be a pant whee we ae Lay to tind. valuc. of y- Gi bed next pain £0 ve bea as a> ae tleh, Then. subtracting 2, frome 2 we get, 3h, = Hatch oth) : om a, = sh-k or nog, =(s-k)h. ‘his aves - -xyesh ; + : awh an, = (snDh Now the Aewhors Dwded difference selene female @) bewmes; Rabo) = Ry (=g4sh) = Beltftaalsh +f tera xJsh(s1) 4... + GLa 825+ Ma] SH"(5-1) (3-2), + 6-n4d)_ OP) Now the Newden's forward, once. formula 98 cle raking use of 7 a ciflomee So de ee firexy= fEi)-flJ =A Ate) = hfe) | Q-X FPoras) = $n I-f leg] _ A fee) 1 A flrs), age oe Thy Gaenal a F R635 es tnarn d= ar Fl) Now, €99 @® can he writen a3; Pada hCorsh) =f +3 Aft) sh tA Af) shea) sheet Ass Ae-5(x). si(s-2)(s-2) «.. (e-nad). BORE =Fil+ afb) + Af) ED AS (2) s{2-a)(s-2)...(o-ne) _@ This or B+ called Newton —Cmegery foneaid, alifference formu, : Ua sthle can consdruck luodon's Faruoand el ferences by. conschrunction yy Nesodons Los able. 2g hebnos , AS (te) —_ 0 : A$) Ae 3 eam a AF(2) Le $e.) — A$(a2) % £43) SgunerTable of Forward differences Loran cube norial, oritnm: . 4. Short 2.Read, number of data. pets, say n, B.Read the value ot ehteh tnberpatated value ys needed, sauy =p. 4, Read m dled. points, 2 Erland, foe Fé, 5. Set hax G-x[0Jand S= (=p-2[0T) Ah & Caleulale frst forcend altfferences ag, bobao For 426 ton fd =f> [4] % Calenbele coca fo nth forward clefferences as bolna: Fer 420 +o rt 1 : Fat de ee San Fala] End for Ed for. # 8. set vefdtol and Sel p=. 3. Caleulale, aylorpolated. value a8 belns: For t21 ton-t. For kat fo 4 sind Foy P= P* (s-k+2) Vevtfd (sl * p Reseb pai” ; End For, 40. Prive 2s aderplade value y att =p. 41. Tenminate. mete tle value ffed 1) Beangle : Cork nat Newden's foward dfaone 4 able for late p oinks lable below and then if aay Ne Naozton's forward lif {hrente. “Fema and fowdh Anided oltffeence. 1 iC [49 20° 0.11 03623) [= [ro 0.6200860)0.4554022]6.2848186 |$@ loxteas4z _Seudion: — ety 16 Hots hay 4 3>G = 0-3 Sine, x=x,+5h > sax = 11-10 4 n Os 3 “ ny $l Aft) _ Pf) “eho ate 40 OFF sy sattt ~0.019594 15 0.6200860 a cacnse 0.0106423 Lé 0.458499 ~— 0.008998 0.003548 : — 0.135856 00410241 1.9 02833186 songs * 0.002124-% = 0. 1414563 Affe) > £(xya)-f (40) 2.2 01403624 rere sta a8) fey This 43 Lhe regutreal Newdonis Fonoard dab a pon, Now, We kno ple) fe agteh) = ON () A ¢(o0) whee, (5) 5G) ete b Thus, : , Ged=ALe}+ (4) af Oe)S\a"tla)+(8 a $e) + (Sat $s) =feal+s AFC) Dg K Fly) +8 DE2 2& Pet fee) entenes ce CIE x) ve D=0. 51st +4 (-0145111%)+ % be weVe 0.019 5724) SND wey 4 (4) tC Al 4) = O412 (0.0003548) roo thal Neg r4 ference petynomiel 05 ghven MB Ril) = 40+a,Genr,) hata 2-8) one ty Dread, New af he apulespolading pans are recorded beck as: ty Snag 9471953, 1 Newton's cLivided Ab florence pelyremial can be unitlen 0B; Mi) =a, Cor) MO ty N) 44 Gin) ) oe (2-4) C= FON +8 Bes feat) +f tpg rg) Grn )le-a.3) Fe tf [tio tnay +53 5%] (2) (2% ,)oo ors) 48 let us inbroci velaion hema at foreach toyed uy Aus = mph a Patel where we ane Laying, bo fre set be =a, ag 7H, =25, Hkh des P New, subkerliys aj, fom 2 we gel, se= 2, = atch a9 —Chedh he (k-n)b = (s-kawh This gies , 9G = (Seng osh 2 tna= G(nadinh=leeyh 3 = (5-247) = (era) b 94 = (s-t4n)he (stn—a)h Now the. Newlong —clvided claffaenee. formula, () heenmes s Ri =$EH] + FL 5 443) Sh fn hnasa | steed) 4, + FL neas voy ~o7, | 5H (oun), a4n-2) (sen 4, foo ,Neywhens achwosel cliflrene fannule. gar be cmshrced hy weltg wc of badwand ciference vada <7 as} $ few stn-s) = Fv Pe) shy Som rcs te) Tn Generel . k. Finny tee Sank PO)= eg vi fle) Noo eg@ car be torihten ass P= fy ntsh) =f ay) + 7 er i +V7f(om) se + tot hfe) SG) ++ Grn-2) (sin) kl # Maothhm. oeel, oinks » Read number say. 3-Taber the aa sohtch ‘rlopollel value 6 requ, oy P A Read n dota . 5. Se hex lt—xfo]! and g= (xp-x[n-1]) Jb 6. Caleulrbe first backward difference.as belna:- Fer 420 tom-1 bd Ci] Mavinize che cum of af enrsrs(leaats ware, resin) he rninimtze Ste? = Sti tly), 924, oon a | 1 @leash Sy Method: The Tel = quares method d9 2 fori. of vali! / TH Ession aye used, tod elewne. the dine. of bes oF was set “pois visual lemonstrabion of 5 “eladioaslas! behoeen. the pi b fell | nize ‘Wd Steve fancier i rp pao mantel set = 2ly— eae 1 1525 00-50, > ‘ tie a Brace ines to find He. best ful for a, “edad a cm ees ly aed cach 1 Tt 4a, “used to Sf the behav, of dependend variables, 1 ty hin Pobla a id Ane deve. 48, repel ri hag of jajesson i oodbysts, ch 88 i jopled by mn sae A Asta ! be e presented Maxne mate. Ll & Hits “ie where oo P co repression ir het the sum wm ef quan of sridvtdual yrs can he. ane ae Es Zee Slur 64) = z (y-a- bee)” We showd choose reset ent E Bw vehtonon, (i ve Sac Eg ith at . : RE -0 ~2E_=0, 7 Oa partial (forte donietve Aula 2 ye antagy | BE = 22 ty-a- bry) (2) =0 eS SESE] 3 geal a 2 22) (gy ob) (04) =p =0 a Wines oe Selig above. geal ge. ——~—S O he US oa = dy Z a+ Zoey: 0 and Ts)y. x +S! ay, 28 Bay > + Zio =0, Smee * Zia satat. +a a =na . Above equations can be wills 28, 7 ~S na-tbZ cy = Zt, —@ “ ‘ga- =na) and Bh Bat « Zry — Solv) aboe cnalg @ ad @ ges satshnetatotaae geo » ns =f — Buy give xe oR rie =Y-bE n nN ; urhere _ - ‘ g7 =u and X= zx FH Aagoathme 1.Starf - 2+ Read munber. of patnks, say. 3 Read aver. dala porns, Say x[tlandyldl. +.Aind summations of oy omy and? ag below; for 420 don-1 ; Sxosx4xriy) s =syt al | a asp Sad fa), Sxd ssx2 +x eo j | . End for S- Calculate valucs cf paramelas aa belnat- b= (Cn¥s24)-(sx*sy))/( (nt-ex2) —(Sx*5%)) : annd.a, = (Sy/n Dabrss/n) , 1! » Dreplasy the epucction axt OF Texel 7 aici i! Eecample: The val ir corresponding ve | we hom re ail ee bebnos po shes “a | =x jo [slo 4 i! Yef®l2}als5 [4 [é |] iF a) Find the lensd square sein Lene. yzarth. sont PD) Retimale the valuio of Y yhoo acat0. Zoubion, Tg BN U3 x qth a 2 V0 o.| 3 a 3 | a Ss 4 ] 10 4 3 12 & 4 24 2 y= 20 45" 30 2G y = 45 + . mM N Sug — Seq 2 low, _ Met, Beit b nea? (i ~ Sx30—10% “E-(2) a= Thus the giver. Noo pubtivg n a nn ah Let 4 pg abe pends 483 a Ode +2. =1.0 Non-linear Re SEIN: 48a form of reqressisn analyses am utlich observackonal Ht dado axe modeled bay a fun | 5X49 - 10X20, 45 _ 05 SO = 20 9.9%10 4.19299 Ss Ss 2 =1 2 ep"® Wwe get UF 0.9X10+2.2 Oy Frbling Exfoyentigl Model: ential model 48 deserthed by fhe epucion: 1 zach equation, the cootfcierds aand b eve the. constants and An +e. th 4s gen as, Bt boxy a= et é n a= yet t= Zt y gel 421 Seartle Cel n bx, > et m obxs Hue Fy eS Ze - n jee Square regression Line thal bes! fle Hrgh chion can be, clescatbed mm choo mays wn 99 the ren wadive ardensthy shradiatim a3 afinckon. we, Be (£itme) 5 a Cndenathy af vocoh o {1 |3 jon)| 4.0 6,894 0.408 0.562, =] CAKE kiss] ee of fe relative -rlenenty of vadishion #8 reladed vale ee Be erent formula. yoae® find He. Sctution y. the values of aand b are evaluated by satumg folbming manbinoan, eguations ; arses a= sue —_& Bo 4at a eEf(b= 2 bee typ eh% = Zaygdt_ BU yy sey @, aay Yo1 ~ 44 °@ car be solved for b uatng breection methed.Te estimate the aitial giesses, we. assume b=—-0.120 and b= — 0-110. We peed fo check whebrer Lhoge values first bracket +he rool of Seu), Y )=° bag | J 1p | uyqeere yer obey acre i 1 To 4 0.00000 | 4.00000 | 1.00000] 0.00000 a {4 0.991 | 0.79205 | O- #9205 |0-78663} 0.48663 3 |= losog |1-a913 |0-29395 p.ag6FS) 4.4603 it 4 |s 0-562] 4.5422 |0.3084% |O,30119| 4.5060 - i 5 |X jo.44%)4.5508 |0.19097 0.19637 \1-5046 6 |S (00355 [1.0850 | 0.12056 [0.11533 |4.0379 | nz6 $1 =6,2501| 4-29962 |4.=29763) F =6.0954, ~ 1 Now, (-0.190)= (6.2501)— 2.9062 (4 p54 f 0) Ras ( >) = 0.091357 ratte (0-110) 20,1000, ance £0120) x £(-0410) 40, the value falls m "the brackel of [-0.120,—0.110 [the next geuses of gop Heon $8; l= —0-1204(~0.110) . j = zm a 0.115 Condinutna, with the breeclion sna Y= found abe de bee” mtg ot of fOI=0 , be caleulabed aa! : ” From 6"), as can — a= be 2983 _ e085, 5 ose E = Thus the yearescion formula, 2 ma Y=0s0902 odie, by Felting Exponential Model contzation: . We know that, exponendial model by zae’™__@y Taking nabirad bg on bof srdeg va ; tog g= log (ach) > “a a= tga th —@. ° Ths eguatin, 48 stmtlan to Lhe fom of Ahnean equation yea.tboa, Thus peacithele tearihe ant by sig al of dn, be me hg - 2424 Up a a, 2 ne = (2% ded 421 i _—b o —@ n ‘ . n Bax veh, p= BY a And. log an Zty yy nm mn e Now @ be diga = R aS me ad Ore we ge azeh —@ Now, we can wlte values of veprestion coefficients epuatons OD od @ aN Org pone Pcanple Fl the curve (fede thrnsah. the date gen belo: Solutio: x TO Ta 2 14 -4- | -2 ‘ 2f()|0.57 | 4.52 [412 [6.65[ 19 [20.3 We know that exponenctial mrnodel 32 given by, 2a0eh™ , dog y = gan tbe. This epuatio, 43. stile mn fom fo she Lm win yo athe ‘la oe Can. évaluate paramebrs a and b Wy aig A epecbo. oF linear. Yap reson, model as belos: a on be nay by th - ES tt | fa 21 Bin? _— Bix; = a fe1 | n mn Ard slog a = ee, es oy St nm Nao calculate required summations 2s belan: 4 Ly 2 | Th |e th | > '9 gy] = a —4+ 10.57 |-0.5¢2] 2.248 Ie 2 -2 . 14.32 | 0.227 | -0.555-] 4 3 ° 412) 1.445 | oO 0 + 4 6-65 | 1.894 | 4.894 4 5 2 11.0 | 2.394 | 4-796 | 4 | 6 4 30.4 [3-442 13,645 16 nee | SH=4] A= 8835/4.-29,03 |A=41 Ne oo ba §X 22:03-1xX0835 = 193.345 0.803 oxga—4 DAS tof a= 2.835 _6503axe = - i G B22 GT 14F2- 0,084 = 1.388 Sree 199 a = 1.388 >a eet 2t = 4.006 Thus the regression. forrnuly then 3 Yr ti00b e503 4 | ’ @. ft Fob nowial) Tt 48 a. form of weqression anabuts am which she rebalionshye beehocen the mdependank se and He clependend variable 4 +8 rnedaled ax an oth dyree, Polyremial qo. » bet mn dada poinks are (24 sy), (% sy2)9-~ > Cn in)and we. want tb fb an we sehen patyndmtal. Lh the, hla. pads. Greneral form of raged clegree mh fon | belexsy” . GH tax+9, x24... 44,2", men Nets the residual ab cath. abe pared x by wy oan oer, 2 By adam a, nem The swn of te Square of the residual s 18 gran by Base. GBD ta _2 \2 SF Up 4— a, ang”) HT Rid the corstanls of the polynomial regression model we eqeint. a ences pe eae 200 ay sebtng these equations n 2m 2 ~ Bs) B|ry [28 a, m1) |%)_ | sey, 2) Ba) Be4 i) |B (2) Ex") -(B%) 2a"y The above equatim: can be gobvred. for Ay 50s 5 «+ 9% . c ah omy clot. etn See tle dan OM ® ]alzl4tsle eH i + 2 | F| 3 [10] # Sdudion Ce General form of quadyabic equation 48 Y=Qtgxthr he. a cocffictents ay sar, p ay, af the guadbttc eguation can be, found. ag form. fom ‘olla maktces; * * a9) & i) a, at yi (2:4) : = [ay a2 (2) (2) (2s ai) Se as Now calewlale’ nut summations as belnor eT Ee Ps] 4 zt 4 2 4 2 2 3 - 3 oF |e1 Qa 3 4 |8 [16 [64 |256 [so 4 s 10 [25 /425 |625 | 50 5 6 a4 |3e 216 }19%6 | 66 6 2 42 145 B45 [2901 |*% Ft 8 10 |6+ }|s512 |409¢ |80 3 9 9 |a1 yoo |és61 [2 5 10 |@ |400 | 1000/410000) 80 1153 | 2-76 \eexeila—sonrla -ansie| rial cad ls . hus we shave folloomg ri 3S SB 381 BS 384 S017 381 301¢ 253514 coxg the above. Bystem of Manes Lines» cpuactions, meade eget Thus Me. quadvecte cunse rate nos a nas pb. = Es 46 43.605 — P aca mah Gren ae fee 212 tn ab PARE MHOC a 46-43. c05x19—O0GxiT 3208.

You might also like