Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationMon, 14 Dec 2009 12:39:00 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Dec/14/t1260819571bftv7gc3ytdpgt1.htm/, Retrieved Mon, 29 Apr 2024 09:38:48 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=67643, Retrieved Mon, 29 Apr 2024 09:38:48 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact148
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 14:03:14] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [] [2009-11-19 09:42:44] [d181e5359f7da6c8509e4702d1229fb0]
-    D      [Multiple Regression] [multiple regressi...] [2009-11-20 18:12:11] [34d27ebe78dc2d31581e8710befe8733]
-    D          [Multiple Regression] [multiple regression] [2009-12-14 19:39:00] [371dc2189c569d90e2c1567f632c3ec0] [Current]
Feedback Forum

Post a new message
Dataseries X:
441	1919
449	1911
452	1870
462	2263
455	1802
461	1863
461	1989
463	2197
462	2409
456	2502
455	2593
456	2598
472	2053
472	2213
471	2238
465	2359
459	2151
465	2474
468	3079
467	2312
463	2565
460	1972
462	2484
461	2202
476	2151
476	1976
471	2012
453	2114
443	1772
442	1957
444	2070
438	1990
427	2182
424	2008
416	1916
406	2397
431	2114
434	1778
418	1641
412	2186
404	1773
409	1785
412	2217
406	2153
398	1895
397	2475
385	1793
390	2308
413	2051
413	1898
401	2142
397	1874
397	1560
409	1808
419	1575
424	1525
428	1997
430	1753
424	1623
433	2251
456	1890




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]4 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=0

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
wkl[t] = + 320.083426664051 + 0.0464088862435987bvg[t] + 33.8886705568584M1[t] + 37.9779189524650M2[t] + 30.5991332418776M3[t] + 17.5105061587709M4[t] + 27.4422350170458M5[t] + 25.3476416778572M6[t] + 19.2667480074425M7[t] + 25.0559262757284M8[t] + 12.9714982920935M9[t] + 13.9087390021608M10[t] + 11.7025539540255M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
wkl[t] =  +  320.083426664051 +  0.0464088862435987bvg[t] +  33.8886705568584M1[t] +  37.9779189524650M2[t] +  30.5991332418776M3[t] +  17.5105061587709M4[t] +  27.4422350170458M5[t] +  25.3476416778572M6[t] +  19.2667480074425M7[t] +  25.0559262757284M8[t] +  12.9714982920935M9[t] +  13.9087390021608M10[t] +  11.7025539540255M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]wkl[t] =  +  320.083426664051 +  0.0464088862435987bvg[t] +  33.8886705568584M1[t] +  37.9779189524650M2[t] +  30.5991332418776M3[t] +  17.5105061587709M4[t] +  27.4422350170458M5[t] +  25.3476416778572M6[t] +  19.2667480074425M7[t] +  25.0559262757284M8[t] +  12.9714982920935M9[t] +  13.9087390021608M10[t] +  11.7025539540255M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=1

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Estimated Regression Equation
wkl[t] = + 320.083426664051 + 0.0464088862435987bvg[t] + 33.8886705568584M1[t] + 37.9779189524650M2[t] + 30.5991332418776M3[t] + 17.5105061587709M4[t] + 27.4422350170458M5[t] + 25.3476416778572M6[t] + 19.2667480074425M7[t] + 25.0559262757284M8[t] + 12.9714982920935M9[t] + 13.9087390021608M10[t] + 11.7025539540255M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)320.08342666405130.44337510.514100
bvg0.04640888624359870.0120613.84790.0003510.000176
M133.888670556858415.4882682.1880.0335680.016784
M237.977918952465016.373752.31940.0246720.012336
M330.599133241877616.2870271.87870.066360.03318
M417.510506158770915.8319551.1060.2742290.137115
M527.442235017045816.9600511.61810.1122050.056102
M625.347641677857216.2976611.55530.1264460.063223
M719.266748007442515.7879151.22030.2282950.114147
M825.055926275728416.1181761.55450.1266310.063316
M912.971498292093515.7545240.82340.4143810.20719
M1013.908739002160815.8636250.87680.3849790.19249
M1111.702553954025515.9951780.73160.4679510.233976

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 320.083426664051 & 30.443375 & 10.5141 & 0 & 0 \tabularnewline
bvg & 0.0464088862435987 & 0.012061 & 3.8479 & 0.000351 & 0.000176 \tabularnewline
M1 & 33.8886705568584 & 15.488268 & 2.188 & 0.033568 & 0.016784 \tabularnewline
M2 & 37.9779189524650 & 16.37375 & 2.3194 & 0.024672 & 0.012336 \tabularnewline
M3 & 30.5991332418776 & 16.287027 & 1.8787 & 0.06636 & 0.03318 \tabularnewline
M4 & 17.5105061587709 & 15.831955 & 1.106 & 0.274229 & 0.137115 \tabularnewline
M5 & 27.4422350170458 & 16.960051 & 1.6181 & 0.112205 & 0.056102 \tabularnewline
M6 & 25.3476416778572 & 16.297661 & 1.5553 & 0.126446 & 0.063223 \tabularnewline
M7 & 19.2667480074425 & 15.787915 & 1.2203 & 0.228295 & 0.114147 \tabularnewline
M8 & 25.0559262757284 & 16.118176 & 1.5545 & 0.126631 & 0.063316 \tabularnewline
M9 & 12.9714982920935 & 15.754524 & 0.8234 & 0.414381 & 0.20719 \tabularnewline
M10 & 13.9087390021608 & 15.863625 & 0.8768 & 0.384979 & 0.19249 \tabularnewline
M11 & 11.7025539540255 & 15.995178 & 0.7316 & 0.467951 & 0.233976 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]320.083426664051[/C][C]30.443375[/C][C]10.5141[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]bvg[/C][C]0.0464088862435987[/C][C]0.012061[/C][C]3.8479[/C][C]0.000351[/C][C]0.000176[/C][/ROW]
[ROW][C]M1[/C][C]33.8886705568584[/C][C]15.488268[/C][C]2.188[/C][C]0.033568[/C][C]0.016784[/C][/ROW]
[ROW][C]M2[/C][C]37.9779189524650[/C][C]16.37375[/C][C]2.3194[/C][C]0.024672[/C][C]0.012336[/C][/ROW]
[ROW][C]M3[/C][C]30.5991332418776[/C][C]16.287027[/C][C]1.8787[/C][C]0.06636[/C][C]0.03318[/C][/ROW]
[ROW][C]M4[/C][C]17.5105061587709[/C][C]15.831955[/C][C]1.106[/C][C]0.274229[/C][C]0.137115[/C][/ROW]
[ROW][C]M5[/C][C]27.4422350170458[/C][C]16.960051[/C][C]1.6181[/C][C]0.112205[/C][C]0.056102[/C][/ROW]
[ROW][C]M6[/C][C]25.3476416778572[/C][C]16.297661[/C][C]1.5553[/C][C]0.126446[/C][C]0.063223[/C][/ROW]
[ROW][C]M7[/C][C]19.2667480074425[/C][C]15.787915[/C][C]1.2203[/C][C]0.228295[/C][C]0.114147[/C][/ROW]
[ROW][C]M8[/C][C]25.0559262757284[/C][C]16.118176[/C][C]1.5545[/C][C]0.126631[/C][C]0.063316[/C][/ROW]
[ROW][C]M9[/C][C]12.9714982920935[/C][C]15.754524[/C][C]0.8234[/C][C]0.414381[/C][C]0.20719[/C][/ROW]
[ROW][C]M10[/C][C]13.9087390021608[/C][C]15.863625[/C][C]0.8768[/C][C]0.384979[/C][C]0.19249[/C][/ROW]
[ROW][C]M11[/C][C]11.7025539540255[/C][C]15.995178[/C][C]0.7316[/C][C]0.467951[/C][C]0.233976[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=2

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)320.08342666405130.44337510.514100
bvg0.04640888624359870.0120613.84790.0003510.000176
M133.888670556858415.4882682.1880.0335680.016784
M237.977918952465016.373752.31940.0246720.012336
M330.599133241877616.2870271.87870.066360.03318
M417.510506158770915.8319551.1060.2742290.137115
M527.442235017045816.9600511.61810.1122050.056102
M625.347641677857216.2976611.55530.1264460.063223
M719.266748007442515.7879151.22030.2282950.114147
M825.055926275728416.1181761.55450.1266310.063316
M912.971498292093515.7545240.82340.4143810.20719
M1013.908739002160815.8636250.87680.3849790.19249
M1111.702553954025515.9951780.73160.4679510.233976







Multiple Linear Regression - Regression Statistics
Multiple R0.532195561733823
R-squared0.283232115929179
Adjusted R-squared0.104040144911474
F-TEST (value)1.58060717966651
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.129508196192337
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation24.7632969005885
Sum Squared Residuals29434.6019225614

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.532195561733823 \tabularnewline
R-squared & 0.283232115929179 \tabularnewline
Adjusted R-squared & 0.104040144911474 \tabularnewline
F-TEST (value) & 1.58060717966651 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 48 \tabularnewline
p-value & 0.129508196192337 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 24.7632969005885 \tabularnewline
Sum Squared Residuals & 29434.6019225614 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.532195561733823[/C][/ROW]
[ROW][C]R-squared[/C][C]0.283232115929179[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.104040144911474[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.58060717966651[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]48[/C][/ROW]
[ROW][C]p-value[/C][C]0.129508196192337[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]24.7632969005885[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]29434.6019225614[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=3

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Regression Statistics
Multiple R0.532195561733823
R-squared0.283232115929179
Adjusted R-squared0.104040144911474
F-TEST (value)1.58060717966651
F-TEST (DF numerator)12
F-TEST (DF denominator)48
p-value0.129508196192337
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation24.7632969005885
Sum Squared Residuals29434.6019225614







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1441443.030749922375-2.0307499223753
2449446.7487272280332.25127277196703
3452437.46717718145814.532822818542
4462442.61724239208619.3827576079145
5455431.15447469206123.8455253079386
6461431.89082341373229.1091765862677
7461431.65744941001129.3425505899889
8463447.09967601696615.9003239830345
9462444.85393191697417.1460680830264
10456450.1071990476965.89280095230446
11455452.1242226477282.87577735227236
12456440.6537131249215.3462868750798
13472449.24954067901722.7504593209827
14472460.764210873611.2357891264003
15471454.54564731910216.4543526808977
16465447.07249547147117.9275045285290
17459447.35117599107711.6488240089226
18465460.2466529085714.75334709142888
19468482.243135415534-14.2431354155336
20467452.43669793497914.5633020650206
21463452.09371817097510.9062818290250
22460425.51048933858834.4895106614118
23462447.06565404717514.9343459528246
24461422.27579417245538.7242058275449
25476453.7976115308922.2023884691101
26476449.76530483386726.2346951661332
27471444.05723902804926.942760971951
28453435.70231834178917.2976816582107
29443429.76220810475313.2377918952465
30442436.2532587206315.74674127936941
31444435.4165691957438.58343080425745
32438437.4930365645410.50696343545938
33427434.319114739677-7.31911473967667
34424427.181209243358-3.18120924335777
35416420.705406660811-4.70540666081134
36406431.325526989957-25.3255269899568
37431452.080482739877-21.0804827398768
38434440.576345357634-6.5763453576343
39418426.839542231674-8.83954223167388
40412439.043758151328-27.0437581513285
41404429.808616990997-25.8086169909971
42409428.270930286732-19.2709302867316
43412442.238675473552-30.2386754735516
44406445.057685022247-39.0576850222472
45398420.999764387764-22.9997643877639
46397448.854159119118-51.8541591191183
47385414.997113652849-29.9971136528487
48390427.195136114277-37.1951361142766
49413449.15672290653-36.1567229065300
50413446.145411706866-33.1454117068662
51401450.090394239717-49.0903942397168
52397424.564185643326-27.5641856433257
53397419.923524221111-22.9235242211106
54409429.338334670334-20.3383346703344
55419412.4441705051616.55582949483881
56424415.9129044612678.08709553873278
57428425.7334707846112.26652921538908
58430415.3469432512414.6530567487599
59424407.10760299143716.8923970085631
60433424.5498295983918.45017040160858
61456441.68489222131114.3151077786893

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 441 & 443.030749922375 & -2.0307499223753 \tabularnewline
2 & 449 & 446.748727228033 & 2.25127277196703 \tabularnewline
3 & 452 & 437.467177181458 & 14.532822818542 \tabularnewline
4 & 462 & 442.617242392086 & 19.3827576079145 \tabularnewline
5 & 455 & 431.154474692061 & 23.8455253079386 \tabularnewline
6 & 461 & 431.890823413732 & 29.1091765862677 \tabularnewline
7 & 461 & 431.657449410011 & 29.3425505899889 \tabularnewline
8 & 463 & 447.099676016966 & 15.9003239830345 \tabularnewline
9 & 462 & 444.853931916974 & 17.1460680830264 \tabularnewline
10 & 456 & 450.107199047696 & 5.89280095230446 \tabularnewline
11 & 455 & 452.124222647728 & 2.87577735227236 \tabularnewline
12 & 456 & 440.65371312492 & 15.3462868750798 \tabularnewline
13 & 472 & 449.249540679017 & 22.7504593209827 \tabularnewline
14 & 472 & 460.7642108736 & 11.2357891264003 \tabularnewline
15 & 471 & 454.545647319102 & 16.4543526808977 \tabularnewline
16 & 465 & 447.072495471471 & 17.9275045285290 \tabularnewline
17 & 459 & 447.351175991077 & 11.6488240089226 \tabularnewline
18 & 465 & 460.246652908571 & 4.75334709142888 \tabularnewline
19 & 468 & 482.243135415534 & -14.2431354155336 \tabularnewline
20 & 467 & 452.436697934979 & 14.5633020650206 \tabularnewline
21 & 463 & 452.093718170975 & 10.9062818290250 \tabularnewline
22 & 460 & 425.510489338588 & 34.4895106614118 \tabularnewline
23 & 462 & 447.065654047175 & 14.9343459528246 \tabularnewline
24 & 461 & 422.275794172455 & 38.7242058275449 \tabularnewline
25 & 476 & 453.79761153089 & 22.2023884691101 \tabularnewline
26 & 476 & 449.765304833867 & 26.2346951661332 \tabularnewline
27 & 471 & 444.057239028049 & 26.942760971951 \tabularnewline
28 & 453 & 435.702318341789 & 17.2976816582107 \tabularnewline
29 & 443 & 429.762208104753 & 13.2377918952465 \tabularnewline
30 & 442 & 436.253258720631 & 5.74674127936941 \tabularnewline
31 & 444 & 435.416569195743 & 8.58343080425745 \tabularnewline
32 & 438 & 437.493036564541 & 0.50696343545938 \tabularnewline
33 & 427 & 434.319114739677 & -7.31911473967667 \tabularnewline
34 & 424 & 427.181209243358 & -3.18120924335777 \tabularnewline
35 & 416 & 420.705406660811 & -4.70540666081134 \tabularnewline
36 & 406 & 431.325526989957 & -25.3255269899568 \tabularnewline
37 & 431 & 452.080482739877 & -21.0804827398768 \tabularnewline
38 & 434 & 440.576345357634 & -6.5763453576343 \tabularnewline
39 & 418 & 426.839542231674 & -8.83954223167388 \tabularnewline
40 & 412 & 439.043758151328 & -27.0437581513285 \tabularnewline
41 & 404 & 429.808616990997 & -25.8086169909971 \tabularnewline
42 & 409 & 428.270930286732 & -19.2709302867316 \tabularnewline
43 & 412 & 442.238675473552 & -30.2386754735516 \tabularnewline
44 & 406 & 445.057685022247 & -39.0576850222472 \tabularnewline
45 & 398 & 420.999764387764 & -22.9997643877639 \tabularnewline
46 & 397 & 448.854159119118 & -51.8541591191183 \tabularnewline
47 & 385 & 414.997113652849 & -29.9971136528487 \tabularnewline
48 & 390 & 427.195136114277 & -37.1951361142766 \tabularnewline
49 & 413 & 449.15672290653 & -36.1567229065300 \tabularnewline
50 & 413 & 446.145411706866 & -33.1454117068662 \tabularnewline
51 & 401 & 450.090394239717 & -49.0903942397168 \tabularnewline
52 & 397 & 424.564185643326 & -27.5641856433257 \tabularnewline
53 & 397 & 419.923524221111 & -22.9235242211106 \tabularnewline
54 & 409 & 429.338334670334 & -20.3383346703344 \tabularnewline
55 & 419 & 412.444170505161 & 6.55582949483881 \tabularnewline
56 & 424 & 415.912904461267 & 8.08709553873278 \tabularnewline
57 & 428 & 425.733470784611 & 2.26652921538908 \tabularnewline
58 & 430 & 415.34694325124 & 14.6530567487599 \tabularnewline
59 & 424 & 407.107602991437 & 16.8923970085631 \tabularnewline
60 & 433 & 424.549829598391 & 8.45017040160858 \tabularnewline
61 & 456 & 441.684892221311 & 14.3151077786893 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=4

[TABLE]
[ROW][C]Multiple Linear Regression - Actuals, Interpolation, and Residuals[/C][/ROW]
[ROW][C]Time or Index[/C][C]Actuals[/C][C]InterpolationForecast[/C][C]ResidualsPrediction Error[/C][/ROW]
[ROW][C]1[/C][C]441[/C][C]443.030749922375[/C][C]-2.0307499223753[/C][/ROW]
[ROW][C]2[/C][C]449[/C][C]446.748727228033[/C][C]2.25127277196703[/C][/ROW]
[ROW][C]3[/C][C]452[/C][C]437.467177181458[/C][C]14.532822818542[/C][/ROW]
[ROW][C]4[/C][C]462[/C][C]442.617242392086[/C][C]19.3827576079145[/C][/ROW]
[ROW][C]5[/C][C]455[/C][C]431.154474692061[/C][C]23.8455253079386[/C][/ROW]
[ROW][C]6[/C][C]461[/C][C]431.890823413732[/C][C]29.1091765862677[/C][/ROW]
[ROW][C]7[/C][C]461[/C][C]431.657449410011[/C][C]29.3425505899889[/C][/ROW]
[ROW][C]8[/C][C]463[/C][C]447.099676016966[/C][C]15.9003239830345[/C][/ROW]
[ROW][C]9[/C][C]462[/C][C]444.853931916974[/C][C]17.1460680830264[/C][/ROW]
[ROW][C]10[/C][C]456[/C][C]450.107199047696[/C][C]5.89280095230446[/C][/ROW]
[ROW][C]11[/C][C]455[/C][C]452.124222647728[/C][C]2.87577735227236[/C][/ROW]
[ROW][C]12[/C][C]456[/C][C]440.65371312492[/C][C]15.3462868750798[/C][/ROW]
[ROW][C]13[/C][C]472[/C][C]449.249540679017[/C][C]22.7504593209827[/C][/ROW]
[ROW][C]14[/C][C]472[/C][C]460.7642108736[/C][C]11.2357891264003[/C][/ROW]
[ROW][C]15[/C][C]471[/C][C]454.545647319102[/C][C]16.4543526808977[/C][/ROW]
[ROW][C]16[/C][C]465[/C][C]447.072495471471[/C][C]17.9275045285290[/C][/ROW]
[ROW][C]17[/C][C]459[/C][C]447.351175991077[/C][C]11.6488240089226[/C][/ROW]
[ROW][C]18[/C][C]465[/C][C]460.246652908571[/C][C]4.75334709142888[/C][/ROW]
[ROW][C]19[/C][C]468[/C][C]482.243135415534[/C][C]-14.2431354155336[/C][/ROW]
[ROW][C]20[/C][C]467[/C][C]452.436697934979[/C][C]14.5633020650206[/C][/ROW]
[ROW][C]21[/C][C]463[/C][C]452.093718170975[/C][C]10.9062818290250[/C][/ROW]
[ROW][C]22[/C][C]460[/C][C]425.510489338588[/C][C]34.4895106614118[/C][/ROW]
[ROW][C]23[/C][C]462[/C][C]447.065654047175[/C][C]14.9343459528246[/C][/ROW]
[ROW][C]24[/C][C]461[/C][C]422.275794172455[/C][C]38.7242058275449[/C][/ROW]
[ROW][C]25[/C][C]476[/C][C]453.79761153089[/C][C]22.2023884691101[/C][/ROW]
[ROW][C]26[/C][C]476[/C][C]449.765304833867[/C][C]26.2346951661332[/C][/ROW]
[ROW][C]27[/C][C]471[/C][C]444.057239028049[/C][C]26.942760971951[/C][/ROW]
[ROW][C]28[/C][C]453[/C][C]435.702318341789[/C][C]17.2976816582107[/C][/ROW]
[ROW][C]29[/C][C]443[/C][C]429.762208104753[/C][C]13.2377918952465[/C][/ROW]
[ROW][C]30[/C][C]442[/C][C]436.253258720631[/C][C]5.74674127936941[/C][/ROW]
[ROW][C]31[/C][C]444[/C][C]435.416569195743[/C][C]8.58343080425745[/C][/ROW]
[ROW][C]32[/C][C]438[/C][C]437.493036564541[/C][C]0.50696343545938[/C][/ROW]
[ROW][C]33[/C][C]427[/C][C]434.319114739677[/C][C]-7.31911473967667[/C][/ROW]
[ROW][C]34[/C][C]424[/C][C]427.181209243358[/C][C]-3.18120924335777[/C][/ROW]
[ROW][C]35[/C][C]416[/C][C]420.705406660811[/C][C]-4.70540666081134[/C][/ROW]
[ROW][C]36[/C][C]406[/C][C]431.325526989957[/C][C]-25.3255269899568[/C][/ROW]
[ROW][C]37[/C][C]431[/C][C]452.080482739877[/C][C]-21.0804827398768[/C][/ROW]
[ROW][C]38[/C][C]434[/C][C]440.576345357634[/C][C]-6.5763453576343[/C][/ROW]
[ROW][C]39[/C][C]418[/C][C]426.839542231674[/C][C]-8.83954223167388[/C][/ROW]
[ROW][C]40[/C][C]412[/C][C]439.043758151328[/C][C]-27.0437581513285[/C][/ROW]
[ROW][C]41[/C][C]404[/C][C]429.808616990997[/C][C]-25.8086169909971[/C][/ROW]
[ROW][C]42[/C][C]409[/C][C]428.270930286732[/C][C]-19.2709302867316[/C][/ROW]
[ROW][C]43[/C][C]412[/C][C]442.238675473552[/C][C]-30.2386754735516[/C][/ROW]
[ROW][C]44[/C][C]406[/C][C]445.057685022247[/C][C]-39.0576850222472[/C][/ROW]
[ROW][C]45[/C][C]398[/C][C]420.999764387764[/C][C]-22.9997643877639[/C][/ROW]
[ROW][C]46[/C][C]397[/C][C]448.854159119118[/C][C]-51.8541591191183[/C][/ROW]
[ROW][C]47[/C][C]385[/C][C]414.997113652849[/C][C]-29.9971136528487[/C][/ROW]
[ROW][C]48[/C][C]390[/C][C]427.195136114277[/C][C]-37.1951361142766[/C][/ROW]
[ROW][C]49[/C][C]413[/C][C]449.15672290653[/C][C]-36.1567229065300[/C][/ROW]
[ROW][C]50[/C][C]413[/C][C]446.145411706866[/C][C]-33.1454117068662[/C][/ROW]
[ROW][C]51[/C][C]401[/C][C]450.090394239717[/C][C]-49.0903942397168[/C][/ROW]
[ROW][C]52[/C][C]397[/C][C]424.564185643326[/C][C]-27.5641856433257[/C][/ROW]
[ROW][C]53[/C][C]397[/C][C]419.923524221111[/C][C]-22.9235242211106[/C][/ROW]
[ROW][C]54[/C][C]409[/C][C]429.338334670334[/C][C]-20.3383346703344[/C][/ROW]
[ROW][C]55[/C][C]419[/C][C]412.444170505161[/C][C]6.55582949483881[/C][/ROW]
[ROW][C]56[/C][C]424[/C][C]415.912904461267[/C][C]8.08709553873278[/C][/ROW]
[ROW][C]57[/C][C]428[/C][C]425.733470784611[/C][C]2.26652921538908[/C][/ROW]
[ROW][C]58[/C][C]430[/C][C]415.34694325124[/C][C]14.6530567487599[/C][/ROW]
[ROW][C]59[/C][C]424[/C][C]407.107602991437[/C][C]16.8923970085631[/C][/ROW]
[ROW][C]60[/C][C]433[/C][C]424.549829598391[/C][C]8.45017040160858[/C][/ROW]
[ROW][C]61[/C][C]456[/C][C]441.684892221311[/C][C]14.3151077786893[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=4

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1441443.030749922375-2.0307499223753
2449446.7487272280332.25127277196703
3452437.46717718145814.532822818542
4462442.61724239208619.3827576079145
5455431.15447469206123.8455253079386
6461431.89082341373229.1091765862677
7461431.65744941001129.3425505899889
8463447.09967601696615.9003239830345
9462444.85393191697417.1460680830264
10456450.1071990476965.89280095230446
11455452.1242226477282.87577735227236
12456440.6537131249215.3462868750798
13472449.24954067901722.7504593209827
14472460.764210873611.2357891264003
15471454.54564731910216.4543526808977
16465447.07249547147117.9275045285290
17459447.35117599107711.6488240089226
18465460.2466529085714.75334709142888
19468482.243135415534-14.2431354155336
20467452.43669793497914.5633020650206
21463452.09371817097510.9062818290250
22460425.51048933858834.4895106614118
23462447.06565404717514.9343459528246
24461422.27579417245538.7242058275449
25476453.7976115308922.2023884691101
26476449.76530483386726.2346951661332
27471444.05723902804926.942760971951
28453435.70231834178917.2976816582107
29443429.76220810475313.2377918952465
30442436.2532587206315.74674127936941
31444435.4165691957438.58343080425745
32438437.4930365645410.50696343545938
33427434.319114739677-7.31911473967667
34424427.181209243358-3.18120924335777
35416420.705406660811-4.70540666081134
36406431.325526989957-25.3255269899568
37431452.080482739877-21.0804827398768
38434440.576345357634-6.5763453576343
39418426.839542231674-8.83954223167388
40412439.043758151328-27.0437581513285
41404429.808616990997-25.8086169909971
42409428.270930286732-19.2709302867316
43412442.238675473552-30.2386754735516
44406445.057685022247-39.0576850222472
45398420.999764387764-22.9997643877639
46397448.854159119118-51.8541591191183
47385414.997113652849-29.9971136528487
48390427.195136114277-37.1951361142766
49413449.15672290653-36.1567229065300
50413446.145411706866-33.1454117068662
51401450.090394239717-49.0903942397168
52397424.564185643326-27.5641856433257
53397419.923524221111-22.9235242211106
54409429.338334670334-20.3383346703344
55419412.4441705051616.55582949483881
56424415.9129044612678.08709553873278
57428425.7334707846112.26652921538908
58430415.3469432512414.6530567487599
59424407.10760299143716.8923970085631
60433424.5498295983918.45017040160858
61456441.68489222131114.3151077786893







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0552073132972880.1104146265945760.944792686702712
170.03688524010854920.07377048021709840.96311475989145
180.02859160796673330.05718321593346650.971408392033267
190.01607038099945140.03214076199890290.983929619000549
200.0063479418289620.0126958836579240.993652058171038
210.002447435761671150.00489487152334230.997552564238329
220.001452201824479630.002904403648959260.99854779817552
230.000840249787347970.001680499574695940.999159750212652
240.0006196575412426240.001239315082485250.999380342458757
250.0009414131941606650.001882826388321330.99905858680584
260.001632311879700400.003264623759400790.9983676881203
270.003222287692193820.006444575384387630.996777712307806
280.004813211991479920.009626423982959840.99518678800852
290.00847387023618030.01694774047236060.99152612976382
300.01820250342467220.03640500684934450.981797496575328
310.02653481639509940.05306963279019880.9734651836049
320.05215837212793770.1043167442558750.947841627872062
330.1059460030428390.2118920060856780.89405399695716
340.1348990348769800.2697980697539610.86510096512302
350.1592408508789010.3184817017578010.8407591491211
360.3401738208073810.6803476416147620.659826179192619
370.3550003876375740.7100007752751490.644999612362426
380.3334067879476480.6668135758952960.666593212052352
390.3092819523691520.6185639047383040.690718047630848
400.4006517555211430.8013035110422860.599348244478857
410.4032648668830030.8065297337660070.596735133116997
420.3312506874147730.6625013748295460.668749312585227
430.3052945795669530.6105891591339050.694705420433047
440.2747037944201390.5494075888402770.725296205579861
450.2934527918061440.5869055836122870.706547208193856

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.055207313297288 & 0.110414626594576 & 0.944792686702712 \tabularnewline
17 & 0.0368852401085492 & 0.0737704802170984 & 0.96311475989145 \tabularnewline
18 & 0.0285916079667333 & 0.0571832159334665 & 0.971408392033267 \tabularnewline
19 & 0.0160703809994514 & 0.0321407619989029 & 0.983929619000549 \tabularnewline
20 & 0.006347941828962 & 0.012695883657924 & 0.993652058171038 \tabularnewline
21 & 0.00244743576167115 & 0.0048948715233423 & 0.997552564238329 \tabularnewline
22 & 0.00145220182447963 & 0.00290440364895926 & 0.99854779817552 \tabularnewline
23 & 0.00084024978734797 & 0.00168049957469594 & 0.999159750212652 \tabularnewline
24 & 0.000619657541242624 & 0.00123931508248525 & 0.999380342458757 \tabularnewline
25 & 0.000941413194160665 & 0.00188282638832133 & 0.99905858680584 \tabularnewline
26 & 0.00163231187970040 & 0.00326462375940079 & 0.9983676881203 \tabularnewline
27 & 0.00322228769219382 & 0.00644457538438763 & 0.996777712307806 \tabularnewline
28 & 0.00481321199147992 & 0.00962642398295984 & 0.99518678800852 \tabularnewline
29 & 0.0084738702361803 & 0.0169477404723606 & 0.99152612976382 \tabularnewline
30 & 0.0182025034246722 & 0.0364050068493445 & 0.981797496575328 \tabularnewline
31 & 0.0265348163950994 & 0.0530696327901988 & 0.9734651836049 \tabularnewline
32 & 0.0521583721279377 & 0.104316744255875 & 0.947841627872062 \tabularnewline
33 & 0.105946003042839 & 0.211892006085678 & 0.89405399695716 \tabularnewline
34 & 0.134899034876980 & 0.269798069753961 & 0.86510096512302 \tabularnewline
35 & 0.159240850878901 & 0.318481701757801 & 0.8407591491211 \tabularnewline
36 & 0.340173820807381 & 0.680347641614762 & 0.659826179192619 \tabularnewline
37 & 0.355000387637574 & 0.710000775275149 & 0.644999612362426 \tabularnewline
38 & 0.333406787947648 & 0.666813575895296 & 0.666593212052352 \tabularnewline
39 & 0.309281952369152 & 0.618563904738304 & 0.690718047630848 \tabularnewline
40 & 0.400651755521143 & 0.801303511042286 & 0.599348244478857 \tabularnewline
41 & 0.403264866883003 & 0.806529733766007 & 0.596735133116997 \tabularnewline
42 & 0.331250687414773 & 0.662501374829546 & 0.668749312585227 \tabularnewline
43 & 0.305294579566953 & 0.610589159133905 & 0.694705420433047 \tabularnewline
44 & 0.274703794420139 & 0.549407588840277 & 0.725296205579861 \tabularnewline
45 & 0.293452791806144 & 0.586905583612287 & 0.706547208193856 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]16[/C][C]0.055207313297288[/C][C]0.110414626594576[/C][C]0.944792686702712[/C][/ROW]
[ROW][C]17[/C][C]0.0368852401085492[/C][C]0.0737704802170984[/C][C]0.96311475989145[/C][/ROW]
[ROW][C]18[/C][C]0.0285916079667333[/C][C]0.0571832159334665[/C][C]0.971408392033267[/C][/ROW]
[ROW][C]19[/C][C]0.0160703809994514[/C][C]0.0321407619989029[/C][C]0.983929619000549[/C][/ROW]
[ROW][C]20[/C][C]0.006347941828962[/C][C]0.012695883657924[/C][C]0.993652058171038[/C][/ROW]
[ROW][C]21[/C][C]0.00244743576167115[/C][C]0.0048948715233423[/C][C]0.997552564238329[/C][/ROW]
[ROW][C]22[/C][C]0.00145220182447963[/C][C]0.00290440364895926[/C][C]0.99854779817552[/C][/ROW]
[ROW][C]23[/C][C]0.00084024978734797[/C][C]0.00168049957469594[/C][C]0.999159750212652[/C][/ROW]
[ROW][C]24[/C][C]0.000619657541242624[/C][C]0.00123931508248525[/C][C]0.999380342458757[/C][/ROW]
[ROW][C]25[/C][C]0.000941413194160665[/C][C]0.00188282638832133[/C][C]0.99905858680584[/C][/ROW]
[ROW][C]26[/C][C]0.00163231187970040[/C][C]0.00326462375940079[/C][C]0.9983676881203[/C][/ROW]
[ROW][C]27[/C][C]0.00322228769219382[/C][C]0.00644457538438763[/C][C]0.996777712307806[/C][/ROW]
[ROW][C]28[/C][C]0.00481321199147992[/C][C]0.00962642398295984[/C][C]0.99518678800852[/C][/ROW]
[ROW][C]29[/C][C]0.0084738702361803[/C][C]0.0169477404723606[/C][C]0.99152612976382[/C][/ROW]
[ROW][C]30[/C][C]0.0182025034246722[/C][C]0.0364050068493445[/C][C]0.981797496575328[/C][/ROW]
[ROW][C]31[/C][C]0.0265348163950994[/C][C]0.0530696327901988[/C][C]0.9734651836049[/C][/ROW]
[ROW][C]32[/C][C]0.0521583721279377[/C][C]0.104316744255875[/C][C]0.947841627872062[/C][/ROW]
[ROW][C]33[/C][C]0.105946003042839[/C][C]0.211892006085678[/C][C]0.89405399695716[/C][/ROW]
[ROW][C]34[/C][C]0.134899034876980[/C][C]0.269798069753961[/C][C]0.86510096512302[/C][/ROW]
[ROW][C]35[/C][C]0.159240850878901[/C][C]0.318481701757801[/C][C]0.8407591491211[/C][/ROW]
[ROW][C]36[/C][C]0.340173820807381[/C][C]0.680347641614762[/C][C]0.659826179192619[/C][/ROW]
[ROW][C]37[/C][C]0.355000387637574[/C][C]0.710000775275149[/C][C]0.644999612362426[/C][/ROW]
[ROW][C]38[/C][C]0.333406787947648[/C][C]0.666813575895296[/C][C]0.666593212052352[/C][/ROW]
[ROW][C]39[/C][C]0.309281952369152[/C][C]0.618563904738304[/C][C]0.690718047630848[/C][/ROW]
[ROW][C]40[/C][C]0.400651755521143[/C][C]0.801303511042286[/C][C]0.599348244478857[/C][/ROW]
[ROW][C]41[/C][C]0.403264866883003[/C][C]0.806529733766007[/C][C]0.596735133116997[/C][/ROW]
[ROW][C]42[/C][C]0.331250687414773[/C][C]0.662501374829546[/C][C]0.668749312585227[/C][/ROW]
[ROW][C]43[/C][C]0.305294579566953[/C][C]0.610589159133905[/C][C]0.694705420433047[/C][/ROW]
[ROW][C]44[/C][C]0.274703794420139[/C][C]0.549407588840277[/C][C]0.725296205579861[/C][/ROW]
[ROW][C]45[/C][C]0.293452791806144[/C][C]0.586905583612287[/C][C]0.706547208193856[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=5

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0552073132972880.1104146265945760.944792686702712
170.03688524010854920.07377048021709840.96311475989145
180.02859160796673330.05718321593346650.971408392033267
190.01607038099945140.03214076199890290.983929619000549
200.0063479418289620.0126958836579240.993652058171038
210.002447435761671150.00489487152334230.997552564238329
220.001452201824479630.002904403648959260.99854779817552
230.000840249787347970.001680499574695940.999159750212652
240.0006196575412426240.001239315082485250.999380342458757
250.0009414131941606650.001882826388321330.99905858680584
260.001632311879700400.003264623759400790.9983676881203
270.003222287692193820.006444575384387630.996777712307806
280.004813211991479920.009626423982959840.99518678800852
290.00847387023618030.01694774047236060.99152612976382
300.01820250342467220.03640500684934450.981797496575328
310.02653481639509940.05306963279019880.9734651836049
320.05215837212793770.1043167442558750.947841627872062
330.1059460030428390.2118920060856780.89405399695716
340.1348990348769800.2697980697539610.86510096512302
350.1592408508789010.3184817017578010.8407591491211
360.3401738208073810.6803476416147620.659826179192619
370.3550003876375740.7100007752751490.644999612362426
380.3334067879476480.6668135758952960.666593212052352
390.3092819523691520.6185639047383040.690718047630848
400.4006517555211430.8013035110422860.599348244478857
410.4032648668830030.8065297337660070.596735133116997
420.3312506874147730.6625013748295460.668749312585227
430.3052945795669530.6105891591339050.694705420433047
440.2747037944201390.5494075888402770.725296205579861
450.2934527918061440.5869055836122870.706547208193856







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.266666666666667NOK
5% type I error level120.4NOK
10% type I error level150.5NOK

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 8 & 0.266666666666667 & NOK \tabularnewline
5% type I error level & 12 & 0.4 & NOK \tabularnewline
10% type I error level & 15 & 0.5 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=67643&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]8[/C][C]0.266666666666667[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]12[/C][C]0.4[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]15[/C][C]0.5[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=67643&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=67643&T=6

As an alternative you can also use a QR Code:  

The GUIDs for individual cells are displayed in the table below:

Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level80.266666666666667NOK
5% type I error level120.4NOK
10% type I error level150.5NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = No 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('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
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
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
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')
}