الانحدار وكيفية معالجة مخالفات فروضه

Page 207

‫‪F‬‬ ‫‪6.73243‬‬ ‫‬‫‪-‬‬

‫‪MS‬‬ ‫‪185623‬‬ ‫‪27571.5‬‬ ‫‪-‬‬

‫‪SS‬‬ ‫‪371246‬‬ ‫‪220572‬‬ ‫‪591818‬‬

‫‪df‬‬ ‫‪2‬‬ ‫‪8‬‬ ‫‪10‬‬

‫‪SSR 371246‬‬ ‫‪‬‬ ‫‪ .627.‬‬ ‫‪SYY 591818‬‬

‫‪S.O.V‬‬ ‫اﻹﻧﺣدار‬ ‫اﻟﺧطﺄ‬ ‫اﻟﻛﻠﻲ‬

‫‪R2 ‬‬

‫ﺳوف ﯾﺗم ﺣل ھذا اﻟﻣﺛﺎل ﺑﺈﺳﺗﺧدام ﺑرﻧﺎﻣﺞ ﻣﻛﺗوب ﺑﻠﻐﺔ ‪ Mathematica‬ﻻﯾﺟﺎد ﻗﯾﻣﺔ ‪R 2‬‬ ‫واﯾﺿﺎ ﻻﺟراء اﺧﺗﺑﺎرات ﺗﺧص ‪ i  0,i  0,1,2‬وﻓﯾﻣﺎ ﯾﻠﻰ ﺧطوا اﻟﺑرﻧﺎﻣﺞ واﻟﻣﺧرﺟﺎت ‪.‬‬ ‫‪=.05‬‬ ‫‪0.05‬‬ ‫‪p=2‬‬ ‫‪2‬‬ ‫}‪y={1000.,450,1200,700,800,1100,1050,1150,1000,950,1300.‬‬ ‫}‪{1000.,450,1200,700,800,1100,1050,1150,1000,950,1300.‬‬ ‫}‪x1={16,22.,23,13,17,25,18,20,21,19,22.‬‬ ‫}‪{16,22.,23,13,17,25,18,20,21,19,22.‬‬ ‫}‪x2={510,450,500,425,450,475,515,500,490,510,525‬‬ ‫}‪{510,450,500,425,450,475,515,500,490,510,525‬‬ ‫]}‪ss=Transpose[{x1,x2,y‬‬ ‫‪{{16,510,1000.},{22.,450,450},{23,500,1200},{13,425,700},‬‬ ‫‪{17,450,800},{25,475,1100},{18,515,1050},{20,500,1150},{2‬‬ ‫}}‪1,490,1000},{19,510,950},{22.,525,1300.‬‬ ‫]‪TableForm[ss‬‬

‫‪1000.‬‬ ‫‪450‬‬ ‫‪1200‬‬ ‫‪700‬‬ ‫‪800‬‬ ‫‪1100‬‬ ‫‪1050‬‬ ‫‪1150‬‬ ‫‪1000‬‬ ‫‪950‬‬ ‫‪1300.‬‬

‫‪510‬‬ ‫‪450‬‬ ‫‪500‬‬ ‫‪425‬‬ ‫‪450‬‬ ‫‪475‬‬ ‫‪515‬‬ ‫‪500‬‬ ‫‪490‬‬ ‫‪510‬‬ ‫‪525‬‬

‫‪16‬‬ ‫‪22.‬‬ ‫‪23‬‬ ‫‪13‬‬ ‫‪17‬‬ ‫‪25‬‬ ‫‪18‬‬ ‫‪20‬‬ ‫‪21‬‬ ‫‪19‬‬ ‫‪22.‬‬

‫]‪l[x_]:=Length[x‬‬ ‫]}]‪xx=Table[{1,x1[[i]],x2[[i]]},{i,1,l[x1‬‬

‫‪٢٠٧‬‬


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.