| Q2 | *Unverified author* | R Software Module: rwasp_multipleregression.wasp (opens new window with default values) | Title produced by software: Multiple Regression | Date of computation: Thu, 27 Nov 2008 18:01:26 -0700 | | Cite this page as follows: | Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd.htm/, Retrieved Fri, 28 Nov 2008 01:03:37 +0000 | | BibTeX entries for LaTeX users: | @Manual{KEY,
author = {{YOUR NAME}},
publisher = {Office for Research Development and Education},
title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd.htm/},
year = {2008},
}
@Manual{R,
title = {R: A Language and Environment for Statistical Computing},
author = {{R Development Core Team}},
organization = {R Foundation for Statistical Computing},
address = {Vienna, Austria},
year = {2008},
note = {{ISBN} 3-900051-07-0},
url = {http://www.R-project.org},
}
| | Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data) | | | Feedback Forum: | | 2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] | [reply] | test | |
Post a new message | | Original text written by user: | | | IsPrivate? | No (this computation is public) | | User-defined keywords: | | | Dataseries X: | » Textbox « » Textfile « » CSV « | 1687 0 -183,9235445
1508 0 -177,0726091
1507 0 -228,6351091
1385 0 -237,4476091
1632 0 -127,7601091
1511 0 -193,0101091
1559 0 -220,6351091
1630 0 -164,5101091
1579 0 -268,3226091
1653 0 -333,6976091
2152 0 -34,26010911
2148 0 -154,8851091
1752 0 -97,74528053
1765 0 101,1056549
1717 0 2,543154874
1558 0 -43,26934513
1575 0 -163,5818451
1520 0 -162,8318451
1805 0 46,54315487
1800 0 26,66815487
1719 0 -107,1443451
2008 0 42,48065487
2242 0 76,91815487
2478 0 196,2931549
2030 0 201,4329835
1655 0 12,28391886
1693 0 -0,278581137
1623 0 42,90891886
1805 0 87,59641886
1746 0 84,34641886
1795 0 57,72141886
1926 0 173,8464189
1619 0 -185,9660811
1992 0 47,65891886
2233 0 89,09641886
2192 0 -68,52858114
2080 0 272,6112475
1768 0 146,4621829
1835 0 162,8996829
1569 0 10,08718285
1976 0 279,7746829
1853 0 212,5246829
1965 0 248,8996829
1689 0 -41,97531715
1778 0 -5,787817149
1976 0 52,83718285
2397 0 274,2746829
2654 0 414,6496829
2097 0 310,7895114
1963 0 362,6404468
1677 0 26,07794684
1941 0 403,2654468
2003 0 327,9529468
1813 0 193,7029468
2012 0 317,0779468
1912 0 202,2029468
2084 0 321,3904468
2080 0 178,0154468
2118 0 16,45294684
2150 0 -68,17205316
1608 0 -157,0322246
1503 0 -76,18128917
1548 0 -81,74378917
1382 0 -134,5562892
1731 0 77,13121083
1798 0 199,8812108
1779 0 105,2562108
1887 0 198,3812108
2004 0 262,5687108
2077 0 196,1937108
2092 0 11,63121083
2051 0 -145,9937892
1577 0 -166,8539606
1356 0 -202,0030252
1652 0 43,43447482
1382 0 -113,3780252
1519 0 -113,6905252
1421 0 -155,9405252
1442 0 -210,5655252
1543 0 -124,4405252
1656 0 -64,25302518
1561 0 -298,6280252
1905 0 -154,1905252
2199 0 23,18447482
1473 0 -249,6756966
1655 0 118,1752388
1407 0 -180,3872612
1395 0 -79,19976119
1530 0 -81,51226119
1309 0 -246,7622612
1526 0 -105,3872612
1327 0 -319,2622612
1627 0 -72,07476119
1748 0 -90,44976119
1958 0 -80,01226119
2274 0 119,3627388
1648 0 -53,49743261
1401 0 -114,6464972
1411 0 -155,2089972
1403 0 -50,02149721
1394 0 -196,3339972
1520 0 -14,58399721
1528 0 -82,20899721
1643 0 17,91600279
1515 0 -162,8964972
1685 0 -132,2714972
2000 0 -16,83399721
2215 0 81,54100279
1956 0 275,6808314
1462 0 -32,46823322
1563 0 17,96926678
1459 0 27,15676678
1446 0 -123,1557332
1622 0 108,5942668
1657 0 67,96926678
1638 0 34,09426678
1643 0 -13,71823322
1683 0 -113,0932332
2050 0 54,34426678
2262 0 149,7192668
1813 0 153,8590954
1445 0 -28,28996923
1762 0 238,1475308
1461 0 50,33503077
1556 0 8,022530771
1431 0 -61,22746923
1427 0 -140,8524692
1554 0 -28,72746923
1645 0 9,460030771
1653 0 -121,9149692
2016 0 41,52253077
2207 0 115,8975308
1665 0 27,03735936
1361 0 -91,11170524
1506 0 3,325794759
1360 0 -29,48670524
1453 0 -73,79920524
1522 0 50,95079476
1460 0 -86,67420524
1552 0 -9,54920524
1548 0 -66,36170524
1827 0 73,26329476
1737 0 -216,2992052
1941 0 -128,9242052
1474 0 -142,7843767
1458 0 27,06655875
1542 0 60,50405875
1404 0 35,69155875
1522 0 16,37905875
1385 0 -64,87094125
1641 0 115,5040587
1510 0 -30,37094125
1681 0 87,81655875
1938 0 205,4415587
1868 0 -64,12094125
1726 0 -322,7459413
1456 0 -139,6061127
1445 0 35,24482274
1456 0 -4,317677263
1365 0 17,86982274
1487 0 2,557322737
1558 0 129,3073227
1488 0 -16,31767726
1684 0 164,8073227
1594 0 21,99482274
1850 0 138,6198227
1998 0 87,05732274
2079 0 51,43232274
1494 0 -80,42784867
1057 1 -105,1918797
1218 1 5,245620328
1168 1 68,43312033
1236 1 -0,879379672
1076 1 -105,1293797
1174 1 -82,75437967
1139 1 -132,6293797
1427 1 102,5581203
1487 1 23,18312033
1483 1 -180,3793797
1513 1 -267,0043797
1357 1 30,13544892
1165 1 23,98638432
1282 1 90,42388432
1110 1 31,61138432
1297 1 81,29888432
1185 1 25,04888432
1222 1 -13,57611568
1284 1 33,54888432
1444 1 140,7363843
1575 1 132,3613843
1737 1 94,79888432
1763 1 4,173884316
| | Output produced by software: | Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!
Multiple Linear Regression - Estimated Regression Equation | Cons[t] = + 2324.06337309061 -226.385033603347Inc[t] + 1.00000000000397Price[t] -451.374973249478M1[t] -635.461053319472M2[t] -583.133697992862M3[t] -694.556342649877M4[t] -555.47898732608M5[t] -609.464131986533M6[t] -532.074276654236M7[t] -515.434421318189M8[t] -460.857065991641M9[t] -319.717210652969M10[t] -118.389855331297M11[t] -1.76485533229718t + e[t] |
Multiple Linear Regression - Ordinary Least Squares | Variable | Parameter | S.D. | T-STAT H0: parameter = 0 | 2-tail p-value | 1-tail p-value | (Intercept) | 2324.06337309061 | 0 | 391993752573.563 | 0 | 0 | Inc | -226.385033603347 | 0 | -40968397489.9617 | 0 | 0 | Price | 1.00000000000397 | 0 | 99080745599.4007 | 0 | 0 | M1 | -451.374973249478 | 0 | -62141580921.7964 | 0 | 0 | M2 | -635.461053319472 | 0 | -87487368071.2471 | 0 | 0 | M3 | -583.133697992862 | 0 | -80298349345.8315 | 0 | 0 | M4 | -694.556342649877 | 0 | -95657585277.173 | 0 | 0 | M5 | -555.47898732608 | 0 | -76514615361.6142 | 0 | 0 | M6 | -609.464131986533 | 0 | -83961679974.9732 | 0 | 0 | M7 | -532.074276654236 | 0 | -73308241116.192 | 0 | 0 | M8 | -515.434421318189 | 0 | -71021997300.7483 | 0 | 0 | M9 | -460.857065991641 | 0 | -63506180850.2231 | 0 | 0 | M10 | -319.717210652969 | 0 | -44059279702.8501 | 0 | 0 | M11 | -118.389855331297 | 0 | -16315442153.8021 | 0 | 0 | t | -1.76485533229718 | 0 | -54485436388.4545 | 0 | 0 |
Multiple Linear Regression - Regression Statistics | Multiple R | 1 | R-squared | 1 | Adjusted R-squared | 1 | F-TEST (value) | 2.71658123083033e+21 | F-TEST (DF numerator) | 14 | F-TEST (DF denominator) | 177 | p-value | 0 | Multiple Linear Regression - Residual Statistics | Residual Standard Deviation | 2.05237307523673e-08 | Sum Squared Residuals | 7.45565637472327e-14 |
Multiple Linear Regression - Actuals, Interpolation, and Residuals | Time or Index | Actuals | Interpolation Forecast | Residuals Prediction Error | 1 | 1687 | 1687.00000000809 | -8.09466233742612e-09 | 2 | 1508 | 1508.00000000584 | -5.83672302286647e-09 | 3 | 1507 | 1506.99999999994 | 5.54353707539376e-11 | 4 | 1385 | 1385.00000001060 | -1.05964211598314e-08 | 5 | 1632 | 1632.00000000253 | -2.53260473223269e-09 | 6 | 1511 | 1511.00000000952 | -9.52327192249162e-09 | 7 | 1559 | 1559.00000000941 | -9.41417004823992e-09 | 8 | 1630 | 1630.00000001339 | -1.33865384877148e-08 | 9 | 1579 | 1579.00000000722 | -7.2239640656975e-09 | 10 | 1653 | 1653.00000001334 | -1.33392586399936e-08 | 11 | 2152 | 2151.99999999390 | 6.09609561726636e-09 | 12 | 2148 | 2148.00000000242 | -2.42475577019582e-09 | 13 | 1752 | 1751.99999999088 | 9.12362036742162e-09 | 14 | 1765 | 1765.00000001937 | -1.93749806906656e-08 | 15 | 1717 | 1716.99999998730 | 1.27038276209283e-08 | 16 | 1558 | 1557.99999999380 | 6.19812893690176e-09 | 17 | 1575 | 1575.00000001482 | -1.48239883312839e-08 | 18 | 1520 | 1520.00000002208 | -2.20769605557911e-08 | 19 | 1805 | 1804.99999999291 | 7.09159628874473e-09 | 20 | 1800 | 1799.99999999658 | 3.42047753899862e-09 | 21 | 1719 | 1719.00000002030 | -2.02981678493176e-08 | 22 | 2008 | 2007.99999999727 | 2.73271044185949e-09 | 23 | 2242 | 2241.99999998678 | 1.32211427103247e-08 | 24 | 2478 | 2478.00000001625 | -1.62530602616941e-08 | 25 | 2030 | 2030.0000000345 | -3.4498530019966e-08 | 26 | 1655 | 1654.99999999146 | 8.54384477578644e-09 | 27 | 1693 | 1692.99999998872 | 1.12812772140773e-08 | 28 | 1623 | 1622.99999999658 | 3.42216026118904e-09 | 29 | 1805 | 1804.99999998826 | 1.17447738234229e-08 | 30 | 1746 | 1745.99999999549 | 4.50762107651805e-09 | 31 | 1795 | 1794.99999999539 | 4.6134640980979e-09 | 32 | 1926 | 1926.00000003960 | -3.95976708543584e-08 | 33 | 1619 | 1619.00000003242 | -3.24188796478388e-08 | 34 | 1992 | 1991.99999999972 | 2.78330331271626e-10 | 35 | 2233 | 2232.99999998926 | 1.07387994836616e-08 | 36 | 2192 | 2191.99999998763 | 1.23648134311047e-08 | 37 | 2080 | 2080.00000004722 | -4.72149109583496e-08 | 38 | 1768 | 1768.00000004442 | -4.44228019432756e-08 | 39 | 1835 | 1835.0000000388 | -3.88006169964304e-08 | 40 | 1569 | 1568.99999999888 | 1.11877062353349e-09 | 41 | 1976 | 1976.00000004145 | -4.14521883661812e-08 | 42 | 1853 | 1853.00000004844 | -4.84351266452844e-08 | 43 | 1965 | 1965.00000004858 | -4.85794990005347e-08 | 44 | 1689 | 1689.00000000117 | -1.17458082219511e-09 | 45 | 1778 | 1777.99999999657 | 3.43179310164736e-09 | 46 | 1976 | 1976.00000000218 | -2.17600242830424e-09 | 47 | 2397 | 2397.00000004243 | -4.24302813057513e-08 | 48 | 2654 | 2654.00000004199 | -4.1987589276188e-08 | 49 | 2097 | 2096.9999999598 | 4.01996795873908e-08 | 50 | 1963 | 1962.99999995772 | 4.22849363240074e-08 | 51 | 1677 | 1676.99999999069 | 9.30901768509177e-09 | 52 | 1941 | 1940.99999996288 | 3.71236017589809e-08 | 53 | 2003 | 2002.99999995408 | 4.59226681823917e-08 | 54 | 1813 | 1812.99999996079 | 3.92057253101091e-08 | 55 | 2012 | 2011.99999996128 | 3.87159069529794e-08 | 56 | 1912 | 1911.99999996458 | 3.5422119879629e-08 | 57 | 2084 | 2083.9999999593 | 4.06987706059973e-08 | 58 | 2080 | 2079.99999996511 | 3.48931176320159e-08 | 59 | 2118 | 2117.99999999384 | 6.15963482585196e-09 | 60 | 2150 | 2149.99999999250 | 7.49569164811917e-09 | 61 | 1608 | 1607.99999997038 | 2.96235402814871e-08 | 62 | 1503 | 1502.99999999841 | 1.59370936413413e-09 | 63 | 1548 | 1547.99999999270 | 7.30330630143498e-09 | 64 | 1382 | 1381.99999997317 | 2.68254735954740e-08 | 65 | 1731 | 1730.99999999552 | 4.48487430293789e-09 | 66 | 1798 | 1797.99999997325 | 2.67475172651107e-08 | 67 | 1779 | 1778.99999997288 | 2.71232582289066e-08 | 68 | 1887 | 1886.99999997700 | 2.30035021307751e-08 | 69 | 2004 | 2003.9999999715 | 2.84984609135775e-08 | 70 | 2077 | 2076.99999997761 | 2.23870794758279e-08 | 71 | 2092 | 2091.99999999626 | 3.74496581191342e-09 | 72 | 2051 | 2050.99999996463 | 3.53708228377979e-08 | 73 | 1577 | 1576.99999998277 | 1.72286655834564e-08 | 74 | 1356 | 1355.99999998034 | 1.96595352968932e-08 | 75 | 1652 | 1651.99999999563 | 4.37237675761424e-09 | 76 | 1382 | 1381.99999998569 | 1.43076026827758e-08 | 77 | 1519 | 1518.99999997719 | 2.28088511484011e-08 | 78 | 1421 | 1420.99999998427 | 1.57265713464459e-08 | 79 | 1442 | 1441.99999998406 | 1.59434716242434e-08 | 80 | 1543 | 1542.99999998815 | 1.18514906285199e-08 | 81 | 1656 | 1656.00000000264 | -2.63743127612705e-09 | 82 | 1561 | 1560.99999998808 | 1.19181646036450e-08 | 83 | 1905 | 1904.99999997803 | 2.19696202524785e-08 | 84 | 2199 | 2198.99999999773 | 2.26532298329701e-09 | 85 | 1473 | 1472.99999999488 | 5.12377882481993e-09 | 86 | 1655 | 1654.99999999405 | 5.95424918809887e-09 | 87 | 1407 | 1406.99999998717 | 1.28274649830031e-08 | 88 | 1395 | 1395.00000000826 | -8.26198345287567e-09 | 89 | 1530 | 1529.99999999975 | 2.47282173868373e-10 | 90 | 1309 | 1308.99999999635 | 3.65350688474578e-09 | 91 | 1526 | 1525.99999999691 | 3.09212312502133e-09 | 92 | 1327 | 1326.99999999981 | 1.91390262382428e-10 | 93 | 1627 | 1627.00000000504 | -5.04009698508406e-09 | 94 | 1748 | 1748.00000001134 | -1.13423036838369e-08 | 95 | 1958 | 1958.00000000076 | -7.5867117573887e-10 | 96 | 2274 | 2273.99999999055 | 9.44969327054e-09 | 97 | 1648 | 1647.99999999809 | 1.91094934839675e-09 | 98 | 1401 | 1401.00000000555 | -5.55500313370994e-09 | 99 | 1411 | 1410.99999999971 | 2.93593083814679e-10 | 100 | 1403 | 1403.00000000081 | -8.11653928989127e-10 | 101 | 1394 | 1394.00000000173 | -1.73060759510710e-09 | 102 | 1520 | 1519.99999999970 | 2.97690458438329e-10 | 103 | 1528 | 1527.99999999943 | 5.66358796766865e-10 | 104 | 1643 | 1643.00000000358 | -3.58139559156053e-09 | 105 | 1515 | 1515.00000000711 | -7.11343152204831e-09 | 106 | 1685 | 1685.00000001361 | -1.36100591957914e-08 | 107 | 2000 | 1999.99999999344 | 6.55655519611814e-09 | 108 | 2215 | 2214.99999999283 | 7.1659353604642e-09 | 109 | 1956 | 1956.00000002183 | -2.18300096796505e-08 | 110 | 1462 | 1461.99999999832 | 1.68486022056954e-09 | 111 | 1563 | 1562.99999999283 | 7.17202884349938e-09 | 112 | 1459 | 1459.00000000355 | -3.55186189622869e-09 | 113 | 1446 | 1446.00000001446 | -1.44550390728575e-08 | 114 | 1622 | 1622.00000002263 | -2.26252693284799e-08 | 115 | 1657 | 1657.00000000246 | -2.46393420331570e-09 | 116 | 1638 | 1638.00000000608 | -6.07943357267753e-09 | 117 | 1643 | 1643.00000000014 | -1.39675341088314e-10 | 118 | 1683 | 1683.00000002612 | -2.61200199208287e-08 | 119 | 2050 | 2049.99999999616 | 3.84012225239023e-09 | 120 | 2262 | 2262.00000001554 | -1.55385939436452e-08 | 121 | 1813 | 1813.00000003378 | -3.37800490886401e-08 | 122 | 1445 | 1445.00000000077 | -7.65504954082656e-10 | 123 | 1762 | 1762.00000002614 | -2.61360653902929e-08 | 124 | 1461 | 1461.00000000608 | -6.07770177169053e-09 | 125 | 1556 | 1555.99999999841 | 1.5903317131173e-09 | 126 | 1431 | 1431.00000000438 | -4.3847528245859e-09 | 127 | 1427 | 1427.00000003407 | -3.40684481694932e-08 | 128 | 1554 | 1554.00000000826 | -8.26383691434723e-09 | 129 | 1645 | 1645.00000000367 | -3.665419847865e-09 | 130 | 1653 | 1653.00000003852 | -3.85187600164273e-08 | 131 | 2016 | 2015.99999999854 | 1.45727752674211e-09 | 132 | 2207 | 2207.00000002784 | -2.78380455126278e-08 | 133 | 1665 | 1665.00000000571 | -5.7102330655916e-09 | 134 | 1361 | 1361.00000000295 | -2.94989473368423e-09 | 135 | 1506 | 1505.99999999664 | 3.36269176642351e-09 | 136 | 1360 | 1360.00000000819 | -8.19468739814986e-09 | 137 | 1453 | 1452.99999999952 | 4.81517691848854e-10 | 138 | 1522 | 1522.00000000726 | -7.26392580952587e-09 | 139 | 1460 | 1460.00000000672 | -6.71743458272675e-09 | 140 | 1552 | 1552.00000001077 | -1.07738883429402e-08 | 141 | 1548 | 1548.00000000480 | -4.79809677720584e-09 | 142 | 1827 | 1827.00000001173 | -1.17276250342147e-08 | 143 | 1737 | 1737.00000003995 | -3.99527835454640e-08 | 144 | 1941 | 1941.0000000393 | -3.92997509888455e-08 | 145 | 1474 | 1473.99999995747 | 4.25302709394121e-08 | 146 | 1458 | 1458.00000000585 | -5.85291511132981e-09 | 147 | 1542 | 1542.00000000030 | -2.98226691651927e-10 | 148 | 1404 | 1404.00000001089 | -1.08872419114997e-08 | 149 | 1522 | 1522.00000000231 | -2.31035572659452e-09 | 150 | 1385 | 1385.00000000924 | -9.23784131142284e-09 | 151 | 1641 | 1640.99999995995 | 4.00459062245221e-08 | 152 | 1510 | 1510.00000001312 | -1.31248267300459e-08 | 153 | 1681 | 1681.00000000784 | -7.84421439661115e-09 | 154 | 1938 | 1937.99999996469 | 3.5313683209073e-08 | 155 | 1868 | 1868.00000000299 | -2.99072843532721e-09 | 156 | 1726 | 1725.99999995096 | 4.90360715324301e-08 | 157 | 1456 | 1455.99999996992 | 3.00839536726539e-08 | 158 | 1445 | 1445.00000000832 | -8.31916109299814e-09 | 159 | 1456 | 1455.99999999947 | 5.25458088982008e-10 | 160 | 1365 | 1365.00000001325 | -1.32502706775981e-08 | 161 | 1487 | 1487.00000000169 | -1.68940994600398e-09 | 162 | 1558 | 1557.99999997244 | 2.75572497284067e-08 | 163 | 1488 | 1488.00000001186 | -1.186441992304e-08 | 164 | 1684 | 1683.99999997633 | 2.36662949519726e-08 | 165 | 1594 | 1594.00000001002 | -1.00166979658726e-08 | 166 | 1850 | 1849.99999997685 | 2.31453154274353e-08 | 167 | 1998 | 1998.00000000602 | -6.02491851770193e-09 | 168 | 2079 | 2079.00000000488 | -4.883585609956e-09 | 169 | 1494 | 1494.00000001258 | -1.25849422133831e-08 | 170 | 1057 | 1056.99999997685 | 2.31513023437012e-08 | 171 | 1218 | 1217.9999999996 | 4.00246563087357e-10 | 172 | 1168 | 1168.00000001254 | -1.25381522317927e-08 | 173 | 1236 | 1236.00000000176 | -1.76299537810104e-09 | 174 | 1076 | 1075.99999998060 | 1.94010217734595e-08 | 175 | 1174 | 1174.00000001069 | -1.06878570900814e-08 | 176 | 1139 | 1138.99999998424 | 1.57602684258114e-08 | 177 | 1427 | 1426.99999997942 | 2.05762401740005e-08 | 178 | 1487 | 1487.00000001548 | -1.54835637229191e-08 | 179 | 1483 | 1482.99999997405 | 2.59497722624189e-08 | 180 | 1513 | 1512.99999997271 | 2.72938285889219e-08 | 181 | 1357 | 1357.00000001211 | -1.21111212420314e-08 | 182 | 1165 | 1165.00000000980 | -9.79545283057834e-09 | 183 | 1282 | 1282.00000000437 | -4.37181520033531e-09 | 184 | 1110 | 1110.00000001483 | -1.48257634301992e-08 | 185 | 1297 | 1297.00000000652 | -6.52310988762609e-09 | 186 | 1185 | 1185.00000001355 | -1.35497554456525e-08 | 187 | 1222 | 1222.00000001340 | -1.33963223218506e-08 | 188 | 1284 | 1284.00000001733 | -1.73333725022492e-08 | 189 | 1444 | 1443.99999999201 | 7.99081087953359e-09 | 190 | 1575 | 1574.99999999835 | 1.64919152118771e-09 | 191 | 1737 | 1737.00000000758 | -7.57660295918251e-09 | 192 | 1763 | 1763.00000000222 | -2.21679828952258e-09 |
Goldfeld-Quandt test for Heteroskedasticity | p-values | Alternative Hypothesis | breakpoint index | greater | 2-sided | less | 18 | 0.25441634700421 | 0.50883269400842 | 0.74558365299579 | 19 | 0.139368070162068 | 0.278736140324137 | 0.860631929837932 | 20 | 0.0777139931301931 | 0.155427986260386 | 0.922286006869807 | 21 | 0.0601079286188914 | 0.120215857237783 | 0.939892071381109 | 22 | 0.0281429714294561 | 0.0562859428589122 | 0.971857028570544 | 23 | 0.0134164307678835 | 0.0268328615357670 | 0.986583569232117 | 24 | 0.0178444184166024 | 0.0356888368332049 | 0.982155581583398 | 25 | 0.0759148021328167 | 0.151829604265633 | 0.924085197867183 | 26 | 0.0729232425936494 | 0.145846485187299 | 0.92707675740635 | 27 | 0.0445242310558552 | 0.0890484621117105 | 0.955475768944145 | 28 | 0.0263686070316675 | 0.0527372140633351 | 0.973631392968332 | 29 | 0.0224533105698135 | 0.044906621139627 | 0.977546689430187 | 30 | 0.0179179610776893 | 0.0358359221553786 | 0.98208203892231 | 31 | 0.0102498108899575 | 0.0204996217799151 | 0.989750189110042 | 32 | 0.035717308361152 | 0.071434616722304 | 0.964282691638848 | 33 | 0.0409781471323376 | 0.0819562942646751 | 0.959021852867662 | 34 | 0.0271575234370097 | 0.0543150468740193 | 0.97284247656299 | 35 | 0.0172699873048468 | 0.0345399746096936 | 0.982730012695153 | 36 | 0.0146309264541951 | 0.0292618529083902 | 0.985369073545805 | 37 | 0.0430335060381143 | 0.0860670120762286 | 0.956966493961886 | 38 | 0.102275486418376 | 0.204550972836753 | 0.897724513581624 | 39 | 0.204646525250238 | 0.409293050500475 | 0.795353474749762 | 40 | 0.166534816965717 | 0.333069633931434 | 0.833465183034283 | 41 | 0.226310319003934 | 0.452620638007867 | 0.773689680996066 | 42 | 0.318615805658878 | 0.637231611317757 | 0.681384194341122 | 43 | 0.488317605074127 | 0.976635210148254 | 0.511682394925873 | 44 | 0.468963867120699 | 0.937927734241398 | 0.531036132879301 | 45 | 0.530381178191019 | 0.939237643617961 | 0.469618821808981 | 46 | 0.486883881801159 | 0.973767763602318 | 0.513116118198841 | 47 | 0.692860221354185 | 0.61427955729163 | 0.307139778645815 | 48 | 0.798845658825341 | 0.402308682349317 | 0.201154341174659 | 49 | 0.972177395630894 | 0.0556452087382126 | 0.0278226043691063 | 50 | 0.996427411909037 | 0.00714517618192599 | 0.00357258809096299 | 51 | 0.994922463156412 | 0.0101550736871756 | 0.00507753684358779 | 52 | 0.997985840104917 | 0.00402831979016596 | 0.00201415989508298 | 53 | 0.999579051212168 | 0.000841897575663576 | 0.000420948787831788 | 54 | 0.999854371501368 | 0.000291256997263222 | 0.000145628498631611 | 55 | 0.999930957503599 | 0.000138084992802769 | 6.90424964013846e-05 | 56 | 0.999952709436868 | 9.45811262643576e-05 | 4.72905631321788e-05 | 57 | 0.99998608141554 | 2.7837168919201e-05 | 1.39185844596005e-05 | 58 | 0.99998819274066 | 2.36145186795220e-05 | 1.18072593397610e-05 | 59 | 0.99998206851808 | 3.58629638402982e-05 | 1.79314819201491e-05 | 60 | 0.999970999962195 | 5.80000756101692e-05 | 2.90000378050846e-05 | 61 | 0.999960773122255 | 7.845375549047e-05 | 3.9226877745235e-05 | 62 | 0.999950386519154 | 9.92269616912215e-05 | 4.96134808456107e-05 | 63 | 0.999926440346046 | 0.000147119307907884 | 7.3559653953942e-05 | 64 | 0.999912785304465 | 0.000174429391069744 | 8.72146955348722e-05 | 65 | 0.999873870273858 | 0.000252259452284146 | 0.000126129726142073 | 66 | 0.999857404098957 | 0.0002851918020865 | 0.00014259590104325 | 67 | 0.999836996801038 | 0.000326006397924642 | 0.000163003198962321 | 68 | 0.999801908473383 | 0.000396183053234694 | 0.000198091526617347 | 69 | 0.999823649251333 | 0.00035270149733406 | 0.00017635074866703 | 70 | 0.999820497159067 | 0.000359005681865601 | 0.000179502840932800 | 71 | 0.99975276838735 | 0.000494463225299941 | 0.000247231612649970 | 72 | 0.999794991923993 | 0.000410016152013235 | 0.000205008076006617 | 73 | 0.999721692026607 | 0.000556615946786427 | 0.000278307973393213 | 74 | 0.9996275236897 | 0.000744952620600793 | 0.000372476310300396 | 75 | 0.999513685037828 | 0.000972629924344838 | 0.000486314962172419 | 76 | 0.999491956449603 | 0.00101608710079433 | 0.000508043550397166 | 77 | 0.999447269408787 | 0.00110546118242509 | 0.000552730591212546 | 78 | 0.999275783040917 | 0.00144843391816680 | 0.000724216959083402 | 79 | 0.999133339712274 | 0.00173332057545144 | 0.000866660287725722 | 80 | 0.998907989152643 | 0.00218402169471315 | 0.00109201084735658 | 81 | 0.998717561387558 | 0.00256487722488425 | 0.00128243861244213 | 82 | 0.998469397434514 | 0.00306120513097173 | 0.00153060256548586 | 83 | 0.998399907764253 | 0.00320018447149297 | 0.00160009223574648 | 84 | 0.997920663623979 | 0.00415867275204263 | 0.00207933637602131 | 85 | 0.997349594877768 | 0.00530081024446414 | 0.00265040512223207 | 86 | 0.996799293380324 | 0.00640141323935293 | 0.00320070661967647 | 87 | 0.996074449484627 | 0.00785110103074656 | 0.00392555051537328 | 88 | 0.99647239045701 | 0.00705521908598174 | 0.00352760954299087 | 89 | 0.995784942117938 | 0.00843011576412427 | 0.00421505788206213 | 90 | 0.994537584702507 | 0.0109248305949868 | 0.00546241529749339 | 91 | 0.993567530826723 | 0.0128649383465538 | 0.00643246917327689 | 92 | 0.991903154024801 | 0.0161936919503980 | 0.00809684597519902 | 93 | 0.990216160535756 | 0.0195676789284874 | 0.00978383946424371 | 94 | 0.99000597159211 | 0.0199880568157789 | 0.00999402840788946 | 95 | 0.98764438965346 | 0.0247112206930793 | 0.0123556103465396 | 96 | 0.986094006615101 | 0.0278119867697973 | 0.0139059933848987 | 97 | 0.98295336397318 | 0.0340932720536406 | 0.0170466360268203 | 98 | 0.979393500020088 | 0.0412129999598243 | 0.0206064999799122 | 99 | 0.974590297117022 | 0.0508194057659562 | 0.0254097028829781 | 100 | 0.97255430879765 | 0.0548913824046994 | 0.0274456912023497 | 101 | 0.966690090963763 | 0.066619818072474 | 0.033309909036237 | 102 | 0.959883247626245 | 0.0802335047475099 | 0.0401167523737549 | 103 | 0.954055996043906 | 0.0918880079121873 | 0.0459440039560937 | 104 | 0.946164257329736 | 0.107671485340528 | 0.0538357426702641 | 105 | 0.935815141645378 | 0.128369716709243 | 0.0641848583546215 | 106 | 0.930239473071097 | 0.139521053857805 | 0.0697605269289027 | 107 | 0.923714716998776 | 0.152570566002447 | 0.0762852830012235 | 108 | 0.919627304770009 | 0.160745390459983 | 0.0803726952299914 | 109 | 0.919471987155253 | 0.161056025689494 | 0.0805280128447468 | 110 | 0.905545881628386 | 0.188908236743229 | 0.0944541183716143 | 111 | 0.898264422577884 | 0.203471154844232 | 0.101735577422116 | 112 | 0.893778382061142 | 0.212443235877717 | 0.106221617938858 | 113 | 0.881421240465326 | 0.237157519069348 | 0.118578759534674 | 114 | 0.878753759755103 | 0.242492480489794 | 0.121246240244897 | 115 | 0.867669209277218 | 0.264661581445565 | 0.132330790722782 | 116 | 0.84778329047148 | 0.304433419057039 | 0.152216709528519 | 117 | 0.824569497236676 | 0.350861005526648 | 0.175430502763324 | 118 | 0.830603242560702 | 0.338793514878595 | 0.169396757439298 | 119 | 0.825889291876634 | 0.348221416246733 | 0.174110708123366 | 120 | 0.8057109338574 | 0.388578132285198 | 0.194289066142599 | 121 | 0.82946069113264 | 0.341078617734721 | 0.170539308867361 | 122 | 0.802021606184519 | 0.395956787630963 | 0.197978393815481 | 123 | 0.798565634895313 | 0.402868730209373 | 0.201434365104687 | 124 | 0.780325737018195 | 0.439348525963609 | 0.219674262981805 | 125 | 0.75394543006825 | 0.492109139863499 | 0.246054569931750 | 126 | 0.715011012168886 | 0.569977975662228 | 0.284988987831114 | 127 | 0.748826585804325 | 0.502346828391349 | 0.251173414195675 | 128 | 0.710686022132589 | 0.578627955734822 | 0.289313977867411 | 129 | 0.668433804811996 | 0.663132390376008 | 0.331566195188004 | 130 | 0.7748531101388 | 0.4502937797224 | 0.2251468898612 | 131 | 0.756795554839873 | 0.486408890320254 | 0.243204445160127 | 132 | 0.750817936326599 | 0.498364127346803 | 0.249182063673401 | 133 | 0.715381964541412 | 0.569236070917176 | 0.284618035458588 | 134 | 0.67102545556207 | 0.65794908887586 | 0.32897454443793 | 135 | 0.626353268682426 | 0.747293462635148 | 0.373646731317574 | 136 | 0.583245480191446 | 0.833509039617107 | 0.416754519808554 | 137 | 0.533606209509147 | 0.932787580981707 | 0.466393790490853 | 138 | 0.487968400438105 | 0.97593680087621 | 0.512031599561895 | 139 | 0.440230394692037 | 0.880460789384075 | 0.559769605307963 | 140 | 0.401019490555284 | 0.802038981110567 | 0.598980509444716 | 141 | 0.357377960555302 | 0.714755921110603 | 0.642622039444698 | 142 | 0.352939961894736 | 0.705879923789472 | 0.647060038105264 | 143 | 0.547812548953098 | 0.904374902093805 | 0.452187451046903 | 144 | 0.88685098293993 | 0.226298034120139 | 0.113149017060070 | 145 | 0.908593603390162 | 0.182812793219675 | 0.0914063966098377 | 146 | 0.897692583185964 | 0.204614833628073 | 0.102307416814036 | 147 | 0.874973685583066 | 0.250052628833869 | 0.125026314416934 | 148 | 0.849390790519289 | 0.301218418961422 | 0.150609209480711 | 149 | 0.821791745402747 | 0.356416509194507 | 0.178208254597253 | 150 | 0.867261611434073 | 0.265476777131855 | 0.132738388565927 | 151 | 0.934570699576498 | 0.130858600847004 | 0.0654293004235022 | 152 | 0.960748980906454 | 0.0785020381870912 | 0.0392510190935456 | 153 | 0.973680787218484 | 0.0526384255630315 | 0.0263192127815158 | 154 | 0.974111213231409 | 0.0517775735371826 | 0.0258887867685913 | 155 | 0.979944184378637 | 0.0401116312427254 | 0.0200558156213627 | 156 | 0.982757955102377 | 0.0344840897952464 | 0.0172420448976232 | 157 | 0.988323887080338 | 0.0233522258393249 | 0.0116761129196624 | 158 | 0.985935323567654 | 0.0281293528646929 | 0.0140646764323464 | 159 | 0.977170965906824 | 0.0456580681863525 | 0.0228290340931762 | 160 | 0.96491561596504 | 0.070168768069921 | 0.0350843840349605 | 161 | 0.945992338967006 | 0.108015322065988 | 0.054007661032994 | 162 | 0.95278068746694 | 0.0944386250661187 | 0.0472193125330594 | 163 | 0.927920763110677 | 0.144158473778645 | 0.0720792368893226 | 164 | 0.961494401831549 | 0.077011196336903 | 0.0385055981684515 | 165 | 0.985585762714865 | 0.0288284745702710 | 0.0144142372851355 | 166 | 0.997658101617354 | 0.00468379676529241 | 0.00234189838264621 | 167 | 0.994506741408981 | 0.0109865171820377 | 0.00549325859101885 | 168 | 0.98956952646772 | 0.0208609470645606 | 0.0104304735322803 | 169 | 0.97734842783681 | 0.0453031443263801 | 0.0226515721631900 | 170 | 0.970296270679802 | 0.0594074586403966 | 0.0297037293201983 | 171 | 0.940431126691284 | 0.119137746617431 | 0.0595688733087157 | 172 | 0.889554866014048 | 0.220890267971904 | 0.110445133985952 | 173 | 0.794353569768726 | 0.411292860462548 | 0.205646430231274 | 174 | 0.734807171275903 | 0.530385657448195 | 0.265192828724097 |
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity | Description | # significant tests | % significant tests | OK/NOK | 1% type I error level | 40 | 0.254777070063694 | NOK | 5% type I error level | 66 | 0.420382165605096 | NOK | 10% type I error level | 86 | 0.547770700636943 | NOK |
| Charts produced by software: | | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/10k6d71227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/10k6d71227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/1dl2t1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/1dl2t1227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/2xqu91227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/2xqu91227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/3w0k41227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/3w0k41227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/4qd7g1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/4qd7g1227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/5bczt1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/5bczt1227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/6ejrg1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/6ejrg1227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/74vy51227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/74vy51227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/8p0pj1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/8p0pj1227834072.ps (open in new window) |
| http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/93m6t1227834072.png (open in new window) | http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/28/t122783421747x7frfevyh7zzd/93m6t1227834072.ps (open in new window) |
| | Parameters (Session): | par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ; | | Parameters (R input): | par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ; | | R code (references can be found in the software module): | library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
| |
Copyright
This work is licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.
Software written by Ed van Stee & Patrick Wessa
Disclaimer
Information provided on this web site is provided
"AS IS" without warranty of any kind, either express or implied,
including, without limitation, warranties of merchantability, fitness
for a particular purpose, and noninfringement. We use reasonable
efforts to include accurate and timely information and periodically
update the information, and software without notice. However, we make
no warranties or representations as to the accuracy or
completeness of such information (or software), and we assume no
liability or responsibility for errors or omissions in the content of
this web site, or any software bugs in online applications. Your use of
this web site is AT YOUR OWN RISK. Under no circumstances and under no
legal theory shall we be liable to you or any other person
for any direct, indirect, special, incidental, exemplary, or
consequential damages arising from your access to, or use of, this web
site.
Privacy Policy
We may request personal information to be submitted to our servers in order to be able to:
- personalize online software applications according to your needs
- enforce strict security rules with respect to the data that you upload (e.g. statistical data)
- manage user sessions of online applications
- alert you about important changes or upgrades in resources or applications
We NEVER allow other companies to directly offer registered users
information about their products and services. Banner references and
hyperlinks of third parties NEVER contain any personal data of the
visitor.
We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.
We carefully protect your data from loss, misuse, alteration,
and destruction. However, at any time, and under any circumstance you
are solely responsible for managing your passwords, and keeping them
secret.
We store a unique ANONYMOUS USER ID in the form of a small
'Cookie' on your computer. This allows us to track your progress when
using this website which is necessary to create state-dependent
features. The cookie is used for NO OTHER PURPOSE. At any time you may
opt to disallow cookies from this website - this will not affect other
features of this website.
We examine cookies that are used by third-parties (banner and
online ads) very closely: abuse from third-parties automatically
results in termination of the advertising contract without refund. We
have very good reason to believe that the cookies that are produced by
third parties (banner ads) do NOT cause any privacy or security risk.
FreeStatistics.org is safe. There is no need to download any
software to use the applications and services contained in this
website. Hence, your system's security is not compromised by their use,
and your personal data - other than data you submit in the account
application form, and the user-agent information that is transmitted by
your browser - is never transmitted to our servers.
As a general rule, we do not log on-line behavior of
individuals (other than normal logging of webserver 'hits'). However,
in cases of abuse, hacking, unauthorized access, Denial of Service
attacks, illegal copying, hotlinking, non-compliance with international
webstandards (such as robots.txt), or any other harmful behavior, our
system engineers are empowered to log, track, identify, publish, and
ban misbehaving individuals - even if this leads to ban entire blocks
of IP addresses, or disclosing user's identity.
FreeStatistics.org is powered by
|
|