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 computationSat, 11 Dec 2010 22:37:21 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/11/t1292106976exgqduw9ix3wrtx.htm/, Retrieved Mon, 06 May 2024 17:14:45 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=108312, Retrieved Mon, 06 May 2024 17:14:45 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact176
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Linear Regression Graphical Model Validation] [Colombia Coffee -...] [2008-02-26 10:22:06] [74be16979710d4c4e7c6647856088456]
- RM D  [Linear Regression Graphical Model Validation] [Hypothese test mi...] [2010-11-16 19:20:52] [f4dc4aa51d65be851b8508203d9f6001]
F RMPD    [Multiple Regression] [Multiple Regression1] [2010-12-11 22:18:38] [f4dc4aa51d65be851b8508203d9f6001]
-   P         [Multiple Regression] [Multiple Regressi...] [2010-12-11 22:37:21] [7a87ed98a7b21a29d6a45388a9b7b229] [Current]
Feedback Forum

Post a new message
Dataseries X:
989236.00	10489.94
1008380.00	10766.23
1207763.00	10503.76
1368839.00	10192.51
1469798.00	10467.48
1498721.00	10274.97
1761769.00	10640.91
1653214.00	10481.60
1599104.00	10568.70
1421179.00	10440.07
1163995.00	10805.87
1037735.00	10717.50
1015407.00	10864.86
1039210.00	10993.41
1258049.00	11109.32
1469445.00	11367.14
1552346.00	11168.31
1549144.00	11150.22
1785895.00	11185.68
1662335.00	11381.15
1629440.00	11679.07
1467430.00	12080.73
1202209.00	12221.93
1076982.00	12463.15
1039367.00	12621.69
1063449.00	12268.63
1335135.00	12354.35
1491602.00	13062.91
1591972.00	13627.64
1641248.00	13408.62
1898849.00	13211.99
1798580.00	13357.74
1762444.00	13895.63
1622044.00	13930.01
1368955.00	13371.72
1262973.00	13264.82
1195650.00	12650.36
1269530.00	12266.39
1479279.00	12262.89
1607819.00	12820.13
1712466.00	12638.32
1721766.00	11350.01
1949843.00	11378.02
1821326.00	11543.55
1757802.00	10850.66
1590367.00	9325.01
1260647.00	8829.04
1149235.00	8776.39
1016367.00	8000.86
1027885.00	7062.93
1262159.00	7608.92
1520854.00	8168.12
1544144.00	8500.33
1564709.00	8447.00
1821776.00	9171.61
1741365.00	9496.28
1623386.00	9712.28
1498658.00	9712.73
1241822.00	10344.84
1136029.00	10428.05




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 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 & 7 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&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]7 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=108312&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Passengersbrussels[t] = + 884598.98401026 + 22.2814211190764DJIA[t] -76830.1862664165M1[t] -40684.7705480636M2[t] + 183955.060155536M3[t] + 359295.240713152M4[t] + 438202.516695373M5[t] + 467068.154689648M6[t] + 711310.55273661M7[t] + 600053.039546941M8[t] + 537136.647657435M9[t] + 388063.866022355M10[t] + 115275.750305964M11[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Passengersbrussels[t] =  +  884598.98401026 +  22.2814211190764DJIA[t] -76830.1862664165M1[t] -40684.7705480636M2[t] +  183955.060155536M3[t] +  359295.240713152M4[t] +  438202.516695373M5[t] +  467068.154689648M6[t] +  711310.55273661M7[t] +  600053.039546941M8[t] +  537136.647657435M9[t] +  388063.866022355M10[t] +  115275.750305964M11[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Passengersbrussels[t] =  +  884598.98401026 +  22.2814211190764DJIA[t] -76830.1862664165M1[t] -40684.7705480636M2[t] +  183955.060155536M3[t] +  359295.240713152M4[t] +  438202.516695373M5[t] +  467068.154689648M6[t] +  711310.55273661M7[t] +  600053.039546941M8[t] +  537136.647657435M9[t] +  388063.866022355M10[t] +  115275.750305964M11[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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
Passengersbrussels[t] = + 884598.98401026 + 22.2814211190764DJIA[t] -76830.1862664165M1[t] -40684.7705480636M2[t] + 183955.060155536M3[t] + 359295.240713152M4[t] + 438202.516695373M5[t] + 467068.154689648M6[t] + 711310.55273661M7[t] + 600053.039546941M8[t] + 537136.647657435M9[t] + 388063.866022355M10[t] + 115275.750305964M11[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)884598.9840102677231.81568211.453800
DJIA22.28142111907646.1905923.59920.0007660.000383
M1-76830.186266416549359.527649-1.55650.1262880.063144
M2-40684.770548063649424.855971-0.82320.4145720.207286
M3183955.06015553649394.1999553.72420.0005240.000262
M4359295.24071315249343.3233397.281500
M5438202.51669537349352.0869748.879100
M6467068.15468964849359.4290699.462600
M7711310.5527366149343.35872514.415500
M8600053.03954694149349.08699812.159400
M9537136.64765743549360.63249810.881900
M10388063.86602235549343.7040337.864500
M11115275.75030596449343.390522.33620.0237970.011899

\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) & 884598.98401026 & 77231.815682 & 11.4538 & 0 & 0 \tabularnewline
DJIA & 22.2814211190764 & 6.190592 & 3.5992 & 0.000766 & 0.000383 \tabularnewline
M1 & -76830.1862664165 & 49359.527649 & -1.5565 & 0.126288 & 0.063144 \tabularnewline
M2 & -40684.7705480636 & 49424.855971 & -0.8232 & 0.414572 & 0.207286 \tabularnewline
M3 & 183955.060155536 & 49394.199955 & 3.7242 & 0.000524 & 0.000262 \tabularnewline
M4 & 359295.240713152 & 49343.323339 & 7.2815 & 0 & 0 \tabularnewline
M5 & 438202.516695373 & 49352.086974 & 8.8791 & 0 & 0 \tabularnewline
M6 & 467068.154689648 & 49359.429069 & 9.4626 & 0 & 0 \tabularnewline
M7 & 711310.55273661 & 49343.358725 & 14.4155 & 0 & 0 \tabularnewline
M8 & 600053.039546941 & 49349.086998 & 12.1594 & 0 & 0 \tabularnewline
M9 & 537136.647657435 & 49360.632498 & 10.8819 & 0 & 0 \tabularnewline
M10 & 388063.866022355 & 49343.704033 & 7.8645 & 0 & 0 \tabularnewline
M11 & 115275.750305964 & 49343.39052 & 2.3362 & 0.023797 & 0.011899 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&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]884598.98401026[/C][C]77231.815682[/C][C]11.4538[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]DJIA[/C][C]22.2814211190764[/C][C]6.190592[/C][C]3.5992[/C][C]0.000766[/C][C]0.000383[/C][/ROW]
[ROW][C]M1[/C][C]-76830.1862664165[/C][C]49359.527649[/C][C]-1.5565[/C][C]0.126288[/C][C]0.063144[/C][/ROW]
[ROW][C]M2[/C][C]-40684.7705480636[/C][C]49424.855971[/C][C]-0.8232[/C][C]0.414572[/C][C]0.207286[/C][/ROW]
[ROW][C]M3[/C][C]183955.060155536[/C][C]49394.199955[/C][C]3.7242[/C][C]0.000524[/C][C]0.000262[/C][/ROW]
[ROW][C]M4[/C][C]359295.240713152[/C][C]49343.323339[/C][C]7.2815[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M5[/C][C]438202.516695373[/C][C]49352.086974[/C][C]8.8791[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M6[/C][C]467068.154689648[/C][C]49359.429069[/C][C]9.4626[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]711310.55273661[/C][C]49343.358725[/C][C]14.4155[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M8[/C][C]600053.039546941[/C][C]49349.086998[/C][C]12.1594[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]537136.647657435[/C][C]49360.632498[/C][C]10.8819[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M10[/C][C]388063.866022355[/C][C]49343.704033[/C][C]7.8645[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M11[/C][C]115275.750305964[/C][C]49343.39052[/C][C]2.3362[/C][C]0.023797[/C][C]0.011899[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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)884598.9840102677231.81568211.453800
DJIA22.28142111907646.1905923.59920.0007660.000383
M1-76830.186266416549359.527649-1.55650.1262880.063144
M2-40684.770548063649424.855971-0.82320.4145720.207286
M3183955.06015553649394.1999553.72420.0005240.000262
M4359295.24071315249343.3233397.281500
M5438202.51669537349352.0869748.879100
M6467068.15468964849359.4290699.462600
M7711310.5527366149343.35872514.415500
M8600053.03954694149349.08699812.159400
M9537136.64765743549360.63249810.881900
M10388063.86602235549343.7040337.864500
M11115275.75030596449343.390522.33620.0237970.011899







Multiple Linear Regression - Regression Statistics
Multiple R0.966064082276502
R-squared0.93327981106474
Adjusted R-squared0.916244869208929
F-TEST (value)54.7862046706293
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation78018.6069876803
Sum Squared Residuals286084442706.011

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.966064082276502 \tabularnewline
R-squared & 0.93327981106474 \tabularnewline
Adjusted R-squared & 0.916244869208929 \tabularnewline
F-TEST (value) & 54.7862046706293 \tabularnewline
F-TEST (DF numerator) & 12 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 78018.6069876803 \tabularnewline
Sum Squared Residuals & 286084442706.011 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.966064082276502[/C][/ROW]
[ROW][C]R-squared[/C][C]0.93327981106474[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.916244869208929[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]54.7862046706293[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]12[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]78018.6069876803[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]286084442706.011[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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.966064082276502
R-squared0.93327981106474
Adjusted R-squared0.916244869208929
F-TEST (value)54.7862046706293
F-TEST (DF numerator)12
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation78018.6069876803
Sum Squared Residuals286084442706.011







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
19892361041499.56839769-52263.5683976905
210083801083801.11795703-75421.1179570296
312077631302592.74405951-94829.7440595054
413688391470997.83229381-102158.832293808
514697981556031.83064114-86233.8306411425
614987211580608.07225578-81887.0722557843
717617691833004.13354706-71235.1335470604
816532141718196.96715891-64982.9671589117
915991041657221.28704888-58117.2870488778
1014211791505282.44621525-84103.4462152505
1111639951240644.87434422-76649.8743442185
1210377351123400.11485396-85665.1148539613
1310154071049853.31880365-34446.3188036516
1410392101088863.01120686-49653.0112068618
1512580491316085.48143237-58036.4814323732
1614694451497170.25798291-27725.2579829092
1715523461571647.31900402-19301.3190040248
1815491441600109.88609026-50965.8860902557
1917858951845142.3833301-59247.3833300997
2016623351738240.21952658-75905.2195265771
2116294401681961.90861687-52521.9086168661
2214674301541838.68258847-74408.6825884745
2312022091272196.70353410-69987.7035340972
2410769821162295.67763048-85313.6776304769
2510393671088997.98786828-49630.9878682786
2610634491117276.72504633-53827.7250463305
2713351351343826.51916826-8691.51916825695
2814916021534954.42347401-43352.4234740053
2915919721626444.68640480-34472.6864048031
3016412481650430.24754558-9182.24754557795
3118988491890291.449757908557.55024210457
3217985801782281.4536963316298.5463036676
3317624441731350.0154125731093.9845874338
3416220441583043.2690355639000.7309644399
3513689551297815.658722671139.3412773999
3612629731180158.0244990182814.9755009933
3711956501089636.79621176106013.203788237
3812695301117226.81466302152303.185336976
3914792791341788.66039271137490.339607294
4016078191529544.9400547278274.059945284
4117124661604401.23086328108064.769136722
4217217661604561.49121564117204.508784364
4319498431849427.99186814100415.008131857
4418213261741858.7223163279467.2776836848
4517578021663503.7565476194298.243452388
4615903671480437.32478221109929.675217787
4712606471196598.2926333964048.7073666059
4811492351080149.4255055169085.5744944893
491016367986039.32871861730327.6712813833
5010278851001286.3311267526598.6688732456
5112621591238091.5949471624067.4050528418
5215208541425891.5461945694962.4538054386
5315441441512200.9330867531943.0669132487
5415647091539878.3028927524830.6971072540
5518217761800266.041496821509.9585031984
5617413651696242.6373018645122.3626981365
5716233861638139.03237408-14753.0323740779
5814986581489076.277378509581.72262149837
5912418221230372.4707656911449.52923431
6011360291116950.7575110419078.2424889555

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 989236 & 1041499.56839769 & -52263.5683976905 \tabularnewline
2 & 1008380 & 1083801.11795703 & -75421.1179570296 \tabularnewline
3 & 1207763 & 1302592.74405951 & -94829.7440595054 \tabularnewline
4 & 1368839 & 1470997.83229381 & -102158.832293808 \tabularnewline
5 & 1469798 & 1556031.83064114 & -86233.8306411425 \tabularnewline
6 & 1498721 & 1580608.07225578 & -81887.0722557843 \tabularnewline
7 & 1761769 & 1833004.13354706 & -71235.1335470604 \tabularnewline
8 & 1653214 & 1718196.96715891 & -64982.9671589117 \tabularnewline
9 & 1599104 & 1657221.28704888 & -58117.2870488778 \tabularnewline
10 & 1421179 & 1505282.44621525 & -84103.4462152505 \tabularnewline
11 & 1163995 & 1240644.87434422 & -76649.8743442185 \tabularnewline
12 & 1037735 & 1123400.11485396 & -85665.1148539613 \tabularnewline
13 & 1015407 & 1049853.31880365 & -34446.3188036516 \tabularnewline
14 & 1039210 & 1088863.01120686 & -49653.0112068618 \tabularnewline
15 & 1258049 & 1316085.48143237 & -58036.4814323732 \tabularnewline
16 & 1469445 & 1497170.25798291 & -27725.2579829092 \tabularnewline
17 & 1552346 & 1571647.31900402 & -19301.3190040248 \tabularnewline
18 & 1549144 & 1600109.88609026 & -50965.8860902557 \tabularnewline
19 & 1785895 & 1845142.3833301 & -59247.3833300997 \tabularnewline
20 & 1662335 & 1738240.21952658 & -75905.2195265771 \tabularnewline
21 & 1629440 & 1681961.90861687 & -52521.9086168661 \tabularnewline
22 & 1467430 & 1541838.68258847 & -74408.6825884745 \tabularnewline
23 & 1202209 & 1272196.70353410 & -69987.7035340972 \tabularnewline
24 & 1076982 & 1162295.67763048 & -85313.6776304769 \tabularnewline
25 & 1039367 & 1088997.98786828 & -49630.9878682786 \tabularnewline
26 & 1063449 & 1117276.72504633 & -53827.7250463305 \tabularnewline
27 & 1335135 & 1343826.51916826 & -8691.51916825695 \tabularnewline
28 & 1491602 & 1534954.42347401 & -43352.4234740053 \tabularnewline
29 & 1591972 & 1626444.68640480 & -34472.6864048031 \tabularnewline
30 & 1641248 & 1650430.24754558 & -9182.24754557795 \tabularnewline
31 & 1898849 & 1890291.44975790 & 8557.55024210457 \tabularnewline
32 & 1798580 & 1782281.45369633 & 16298.5463036676 \tabularnewline
33 & 1762444 & 1731350.01541257 & 31093.9845874338 \tabularnewline
34 & 1622044 & 1583043.26903556 & 39000.7309644399 \tabularnewline
35 & 1368955 & 1297815.6587226 & 71139.3412773999 \tabularnewline
36 & 1262973 & 1180158.02449901 & 82814.9755009933 \tabularnewline
37 & 1195650 & 1089636.79621176 & 106013.203788237 \tabularnewline
38 & 1269530 & 1117226.81466302 & 152303.185336976 \tabularnewline
39 & 1479279 & 1341788.66039271 & 137490.339607294 \tabularnewline
40 & 1607819 & 1529544.94005472 & 78274.059945284 \tabularnewline
41 & 1712466 & 1604401.23086328 & 108064.769136722 \tabularnewline
42 & 1721766 & 1604561.49121564 & 117204.508784364 \tabularnewline
43 & 1949843 & 1849427.99186814 & 100415.008131857 \tabularnewline
44 & 1821326 & 1741858.72231632 & 79467.2776836848 \tabularnewline
45 & 1757802 & 1663503.75654761 & 94298.243452388 \tabularnewline
46 & 1590367 & 1480437.32478221 & 109929.675217787 \tabularnewline
47 & 1260647 & 1196598.29263339 & 64048.7073666059 \tabularnewline
48 & 1149235 & 1080149.42550551 & 69085.5744944893 \tabularnewline
49 & 1016367 & 986039.328718617 & 30327.6712813833 \tabularnewline
50 & 1027885 & 1001286.33112675 & 26598.6688732456 \tabularnewline
51 & 1262159 & 1238091.59494716 & 24067.4050528418 \tabularnewline
52 & 1520854 & 1425891.54619456 & 94962.4538054386 \tabularnewline
53 & 1544144 & 1512200.93308675 & 31943.0669132487 \tabularnewline
54 & 1564709 & 1539878.30289275 & 24830.6971072540 \tabularnewline
55 & 1821776 & 1800266.0414968 & 21509.9585031984 \tabularnewline
56 & 1741365 & 1696242.63730186 & 45122.3626981365 \tabularnewline
57 & 1623386 & 1638139.03237408 & -14753.0323740779 \tabularnewline
58 & 1498658 & 1489076.27737850 & 9581.72262149837 \tabularnewline
59 & 1241822 & 1230372.47076569 & 11449.52923431 \tabularnewline
60 & 1136029 & 1116950.75751104 & 19078.2424889555 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&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]989236[/C][C]1041499.56839769[/C][C]-52263.5683976905[/C][/ROW]
[ROW][C]2[/C][C]1008380[/C][C]1083801.11795703[/C][C]-75421.1179570296[/C][/ROW]
[ROW][C]3[/C][C]1207763[/C][C]1302592.74405951[/C][C]-94829.7440595054[/C][/ROW]
[ROW][C]4[/C][C]1368839[/C][C]1470997.83229381[/C][C]-102158.832293808[/C][/ROW]
[ROW][C]5[/C][C]1469798[/C][C]1556031.83064114[/C][C]-86233.8306411425[/C][/ROW]
[ROW][C]6[/C][C]1498721[/C][C]1580608.07225578[/C][C]-81887.0722557843[/C][/ROW]
[ROW][C]7[/C][C]1761769[/C][C]1833004.13354706[/C][C]-71235.1335470604[/C][/ROW]
[ROW][C]8[/C][C]1653214[/C][C]1718196.96715891[/C][C]-64982.9671589117[/C][/ROW]
[ROW][C]9[/C][C]1599104[/C][C]1657221.28704888[/C][C]-58117.2870488778[/C][/ROW]
[ROW][C]10[/C][C]1421179[/C][C]1505282.44621525[/C][C]-84103.4462152505[/C][/ROW]
[ROW][C]11[/C][C]1163995[/C][C]1240644.87434422[/C][C]-76649.8743442185[/C][/ROW]
[ROW][C]12[/C][C]1037735[/C][C]1123400.11485396[/C][C]-85665.1148539613[/C][/ROW]
[ROW][C]13[/C][C]1015407[/C][C]1049853.31880365[/C][C]-34446.3188036516[/C][/ROW]
[ROW][C]14[/C][C]1039210[/C][C]1088863.01120686[/C][C]-49653.0112068618[/C][/ROW]
[ROW][C]15[/C][C]1258049[/C][C]1316085.48143237[/C][C]-58036.4814323732[/C][/ROW]
[ROW][C]16[/C][C]1469445[/C][C]1497170.25798291[/C][C]-27725.2579829092[/C][/ROW]
[ROW][C]17[/C][C]1552346[/C][C]1571647.31900402[/C][C]-19301.3190040248[/C][/ROW]
[ROW][C]18[/C][C]1549144[/C][C]1600109.88609026[/C][C]-50965.8860902557[/C][/ROW]
[ROW][C]19[/C][C]1785895[/C][C]1845142.3833301[/C][C]-59247.3833300997[/C][/ROW]
[ROW][C]20[/C][C]1662335[/C][C]1738240.21952658[/C][C]-75905.2195265771[/C][/ROW]
[ROW][C]21[/C][C]1629440[/C][C]1681961.90861687[/C][C]-52521.9086168661[/C][/ROW]
[ROW][C]22[/C][C]1467430[/C][C]1541838.68258847[/C][C]-74408.6825884745[/C][/ROW]
[ROW][C]23[/C][C]1202209[/C][C]1272196.70353410[/C][C]-69987.7035340972[/C][/ROW]
[ROW][C]24[/C][C]1076982[/C][C]1162295.67763048[/C][C]-85313.6776304769[/C][/ROW]
[ROW][C]25[/C][C]1039367[/C][C]1088997.98786828[/C][C]-49630.9878682786[/C][/ROW]
[ROW][C]26[/C][C]1063449[/C][C]1117276.72504633[/C][C]-53827.7250463305[/C][/ROW]
[ROW][C]27[/C][C]1335135[/C][C]1343826.51916826[/C][C]-8691.51916825695[/C][/ROW]
[ROW][C]28[/C][C]1491602[/C][C]1534954.42347401[/C][C]-43352.4234740053[/C][/ROW]
[ROW][C]29[/C][C]1591972[/C][C]1626444.68640480[/C][C]-34472.6864048031[/C][/ROW]
[ROW][C]30[/C][C]1641248[/C][C]1650430.24754558[/C][C]-9182.24754557795[/C][/ROW]
[ROW][C]31[/C][C]1898849[/C][C]1890291.44975790[/C][C]8557.55024210457[/C][/ROW]
[ROW][C]32[/C][C]1798580[/C][C]1782281.45369633[/C][C]16298.5463036676[/C][/ROW]
[ROW][C]33[/C][C]1762444[/C][C]1731350.01541257[/C][C]31093.9845874338[/C][/ROW]
[ROW][C]34[/C][C]1622044[/C][C]1583043.26903556[/C][C]39000.7309644399[/C][/ROW]
[ROW][C]35[/C][C]1368955[/C][C]1297815.6587226[/C][C]71139.3412773999[/C][/ROW]
[ROW][C]36[/C][C]1262973[/C][C]1180158.02449901[/C][C]82814.9755009933[/C][/ROW]
[ROW][C]37[/C][C]1195650[/C][C]1089636.79621176[/C][C]106013.203788237[/C][/ROW]
[ROW][C]38[/C][C]1269530[/C][C]1117226.81466302[/C][C]152303.185336976[/C][/ROW]
[ROW][C]39[/C][C]1479279[/C][C]1341788.66039271[/C][C]137490.339607294[/C][/ROW]
[ROW][C]40[/C][C]1607819[/C][C]1529544.94005472[/C][C]78274.059945284[/C][/ROW]
[ROW][C]41[/C][C]1712466[/C][C]1604401.23086328[/C][C]108064.769136722[/C][/ROW]
[ROW][C]42[/C][C]1721766[/C][C]1604561.49121564[/C][C]117204.508784364[/C][/ROW]
[ROW][C]43[/C][C]1949843[/C][C]1849427.99186814[/C][C]100415.008131857[/C][/ROW]
[ROW][C]44[/C][C]1821326[/C][C]1741858.72231632[/C][C]79467.2776836848[/C][/ROW]
[ROW][C]45[/C][C]1757802[/C][C]1663503.75654761[/C][C]94298.243452388[/C][/ROW]
[ROW][C]46[/C][C]1590367[/C][C]1480437.32478221[/C][C]109929.675217787[/C][/ROW]
[ROW][C]47[/C][C]1260647[/C][C]1196598.29263339[/C][C]64048.7073666059[/C][/ROW]
[ROW][C]48[/C][C]1149235[/C][C]1080149.42550551[/C][C]69085.5744944893[/C][/ROW]
[ROW][C]49[/C][C]1016367[/C][C]986039.328718617[/C][C]30327.6712813833[/C][/ROW]
[ROW][C]50[/C][C]1027885[/C][C]1001286.33112675[/C][C]26598.6688732456[/C][/ROW]
[ROW][C]51[/C][C]1262159[/C][C]1238091.59494716[/C][C]24067.4050528418[/C][/ROW]
[ROW][C]52[/C][C]1520854[/C][C]1425891.54619456[/C][C]94962.4538054386[/C][/ROW]
[ROW][C]53[/C][C]1544144[/C][C]1512200.93308675[/C][C]31943.0669132487[/C][/ROW]
[ROW][C]54[/C][C]1564709[/C][C]1539878.30289275[/C][C]24830.6971072540[/C][/ROW]
[ROW][C]55[/C][C]1821776[/C][C]1800266.0414968[/C][C]21509.9585031984[/C][/ROW]
[ROW][C]56[/C][C]1741365[/C][C]1696242.63730186[/C][C]45122.3626981365[/C][/ROW]
[ROW][C]57[/C][C]1623386[/C][C]1638139.03237408[/C][C]-14753.0323740779[/C][/ROW]
[ROW][C]58[/C][C]1498658[/C][C]1489076.27737850[/C][C]9581.72262149837[/C][/ROW]
[ROW][C]59[/C][C]1241822[/C][C]1230372.47076569[/C][C]11449.52923431[/C][/ROW]
[ROW][C]60[/C][C]1136029[/C][C]1116950.75751104[/C][C]19078.2424889555[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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
19892361041499.56839769-52263.5683976905
210083801083801.11795703-75421.1179570296
312077631302592.74405951-94829.7440595054
413688391470997.83229381-102158.832293808
514697981556031.83064114-86233.8306411425
614987211580608.07225578-81887.0722557843
717617691833004.13354706-71235.1335470604
816532141718196.96715891-64982.9671589117
915991041657221.28704888-58117.2870488778
1014211791505282.44621525-84103.4462152505
1111639951240644.87434422-76649.8743442185
1210377351123400.11485396-85665.1148539613
1310154071049853.31880365-34446.3188036516
1410392101088863.01120686-49653.0112068618
1512580491316085.48143237-58036.4814323732
1614694451497170.25798291-27725.2579829092
1715523461571647.31900402-19301.3190040248
1815491441600109.88609026-50965.8860902557
1917858951845142.3833301-59247.3833300997
2016623351738240.21952658-75905.2195265771
2116294401681961.90861687-52521.9086168661
2214674301541838.68258847-74408.6825884745
2312022091272196.70353410-69987.7035340972
2410769821162295.67763048-85313.6776304769
2510393671088997.98786828-49630.9878682786
2610634491117276.72504633-53827.7250463305
2713351351343826.51916826-8691.51916825695
2814916021534954.42347401-43352.4234740053
2915919721626444.68640480-34472.6864048031
3016412481650430.24754558-9182.24754557795
3118988491890291.449757908557.55024210457
3217985801782281.4536963316298.5463036676
3317624441731350.0154125731093.9845874338
3416220441583043.2690355639000.7309644399
3513689551297815.658722671139.3412773999
3612629731180158.0244990182814.9755009933
3711956501089636.79621176106013.203788237
3812695301117226.81466302152303.185336976
3914792791341788.66039271137490.339607294
4016078191529544.9400547278274.059945284
4117124661604401.23086328108064.769136722
4217217661604561.49121564117204.508784364
4319498431849427.99186814100415.008131857
4418213261741858.7223163279467.2776836848
4517578021663503.7565476194298.243452388
4615903671480437.32478221109929.675217787
4712606471196598.2926333964048.7073666059
4811492351080149.4255055169085.5744944893
491016367986039.32871861730327.6712813833
5010278851001286.3311267526598.6688732456
5112621591238091.5949471624067.4050528418
5215208541425891.5461945694962.4538054386
5315441441512200.9330867531943.0669132487
5415647091539878.3028927524830.6971072540
5518217761800266.041496821509.9585031984
5617413651696242.6373018645122.3626981365
5716233861638139.03237408-14753.0323740779
5814986581489076.277378509581.72262149837
5912418221230372.4707656911449.52923431
6011360291116950.7575110419078.2424889555







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.0005166611753422820.001033322350684560.999483338824658
170.0003588449197595320.0007176898395190630.99964115508024
180.0002583585905237960.0005167171810475930.999741641409476
199.03878168239745e-050.0001807756336479490.999909612183176
200.0006050617110758480.001210123422151700.999394938288924
210.0004414020445533840.0008828040891067690.999558597955447
220.0004004648157667820.0008009296315335630.999599535184233
230.0002345067015168850.000469013403033770.999765493298483
240.000226083976437620.000452167952875240.999773916023562
250.0002266734534042530.0004533469068085050.999773326546596
260.0001874606818930400.0003749213637860810.999812539318107
270.0003725265495509510.0007450530991019010.99962747345045
280.0004831165622770050.000966233124554010.999516883437723
290.0006868517267963250.001373703453592650.999313148273204
300.001053356555448120.002106713110896250.998946643444552
310.001886698428648310.003773396857296620.998113301571352
320.003911200408545130.007822400817090260.996088799591455
330.003875549338049860.007751098676099730.99612445066195
340.01460470758445340.02920941516890680.985395292415547
350.05550970372086780.1110194074417360.944490296279132
360.1562303536269250.3124607072538500.843769646373075
370.2290472325863610.4580944651727230.770952767413638
380.4879717737653290.9759435475306590.512028226234671
390.5937711188753660.8124577622492680.406228881124634
400.6249145683575210.7501708632849580.375085431642479
410.5645843691128280.8708312617743440.435415630887172
420.5775963218931690.8448073562136620.422403678106831
430.5615526204406820.8768947591186370.438447379559318
440.4582355152570730.9164710305141460.541764484742927

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
16 & 0.000516661175342282 & 0.00103332235068456 & 0.999483338824658 \tabularnewline
17 & 0.000358844919759532 & 0.000717689839519063 & 0.99964115508024 \tabularnewline
18 & 0.000258358590523796 & 0.000516717181047593 & 0.999741641409476 \tabularnewline
19 & 9.03878168239745e-05 & 0.000180775633647949 & 0.999909612183176 \tabularnewline
20 & 0.000605061711075848 & 0.00121012342215170 & 0.999394938288924 \tabularnewline
21 & 0.000441402044553384 & 0.000882804089106769 & 0.999558597955447 \tabularnewline
22 & 0.000400464815766782 & 0.000800929631533563 & 0.999599535184233 \tabularnewline
23 & 0.000234506701516885 & 0.00046901340303377 & 0.999765493298483 \tabularnewline
24 & 0.00022608397643762 & 0.00045216795287524 & 0.999773916023562 \tabularnewline
25 & 0.000226673453404253 & 0.000453346906808505 & 0.999773326546596 \tabularnewline
26 & 0.000187460681893040 & 0.000374921363786081 & 0.999812539318107 \tabularnewline
27 & 0.000372526549550951 & 0.000745053099101901 & 0.99962747345045 \tabularnewline
28 & 0.000483116562277005 & 0.00096623312455401 & 0.999516883437723 \tabularnewline
29 & 0.000686851726796325 & 0.00137370345359265 & 0.999313148273204 \tabularnewline
30 & 0.00105335655544812 & 0.00210671311089625 & 0.998946643444552 \tabularnewline
31 & 0.00188669842864831 & 0.00377339685729662 & 0.998113301571352 \tabularnewline
32 & 0.00391120040854513 & 0.00782240081709026 & 0.996088799591455 \tabularnewline
33 & 0.00387554933804986 & 0.00775109867609973 & 0.99612445066195 \tabularnewline
34 & 0.0146047075844534 & 0.0292094151689068 & 0.985395292415547 \tabularnewline
35 & 0.0555097037208678 & 0.111019407441736 & 0.944490296279132 \tabularnewline
36 & 0.156230353626925 & 0.312460707253850 & 0.843769646373075 \tabularnewline
37 & 0.229047232586361 & 0.458094465172723 & 0.770952767413638 \tabularnewline
38 & 0.487971773765329 & 0.975943547530659 & 0.512028226234671 \tabularnewline
39 & 0.593771118875366 & 0.812457762249268 & 0.406228881124634 \tabularnewline
40 & 0.624914568357521 & 0.750170863284958 & 0.375085431642479 \tabularnewline
41 & 0.564584369112828 & 0.870831261774344 & 0.435415630887172 \tabularnewline
42 & 0.577596321893169 & 0.844807356213662 & 0.422403678106831 \tabularnewline
43 & 0.561552620440682 & 0.876894759118637 & 0.438447379559318 \tabularnewline
44 & 0.458235515257073 & 0.916471030514146 & 0.541764484742927 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&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.000516661175342282[/C][C]0.00103332235068456[/C][C]0.999483338824658[/C][/ROW]
[ROW][C]17[/C][C]0.000358844919759532[/C][C]0.000717689839519063[/C][C]0.99964115508024[/C][/ROW]
[ROW][C]18[/C][C]0.000258358590523796[/C][C]0.000516717181047593[/C][C]0.999741641409476[/C][/ROW]
[ROW][C]19[/C][C]9.03878168239745e-05[/C][C]0.000180775633647949[/C][C]0.999909612183176[/C][/ROW]
[ROW][C]20[/C][C]0.000605061711075848[/C][C]0.00121012342215170[/C][C]0.999394938288924[/C][/ROW]
[ROW][C]21[/C][C]0.000441402044553384[/C][C]0.000882804089106769[/C][C]0.999558597955447[/C][/ROW]
[ROW][C]22[/C][C]0.000400464815766782[/C][C]0.000800929631533563[/C][C]0.999599535184233[/C][/ROW]
[ROW][C]23[/C][C]0.000234506701516885[/C][C]0.00046901340303377[/C][C]0.999765493298483[/C][/ROW]
[ROW][C]24[/C][C]0.00022608397643762[/C][C]0.00045216795287524[/C][C]0.999773916023562[/C][/ROW]
[ROW][C]25[/C][C]0.000226673453404253[/C][C]0.000453346906808505[/C][C]0.999773326546596[/C][/ROW]
[ROW][C]26[/C][C]0.000187460681893040[/C][C]0.000374921363786081[/C][C]0.999812539318107[/C][/ROW]
[ROW][C]27[/C][C]0.000372526549550951[/C][C]0.000745053099101901[/C][C]0.99962747345045[/C][/ROW]
[ROW][C]28[/C][C]0.000483116562277005[/C][C]0.00096623312455401[/C][C]0.999516883437723[/C][/ROW]
[ROW][C]29[/C][C]0.000686851726796325[/C][C]0.00137370345359265[/C][C]0.999313148273204[/C][/ROW]
[ROW][C]30[/C][C]0.00105335655544812[/C][C]0.00210671311089625[/C][C]0.998946643444552[/C][/ROW]
[ROW][C]31[/C][C]0.00188669842864831[/C][C]0.00377339685729662[/C][C]0.998113301571352[/C][/ROW]
[ROW][C]32[/C][C]0.00391120040854513[/C][C]0.00782240081709026[/C][C]0.996088799591455[/C][/ROW]
[ROW][C]33[/C][C]0.00387554933804986[/C][C]0.00775109867609973[/C][C]0.99612445066195[/C][/ROW]
[ROW][C]34[/C][C]0.0146047075844534[/C][C]0.0292094151689068[/C][C]0.985395292415547[/C][/ROW]
[ROW][C]35[/C][C]0.0555097037208678[/C][C]0.111019407441736[/C][C]0.944490296279132[/C][/ROW]
[ROW][C]36[/C][C]0.156230353626925[/C][C]0.312460707253850[/C][C]0.843769646373075[/C][/ROW]
[ROW][C]37[/C][C]0.229047232586361[/C][C]0.458094465172723[/C][C]0.770952767413638[/C][/ROW]
[ROW][C]38[/C][C]0.487971773765329[/C][C]0.975943547530659[/C][C]0.512028226234671[/C][/ROW]
[ROW][C]39[/C][C]0.593771118875366[/C][C]0.812457762249268[/C][C]0.406228881124634[/C][/ROW]
[ROW][C]40[/C][C]0.624914568357521[/C][C]0.750170863284958[/C][C]0.375085431642479[/C][/ROW]
[ROW][C]41[/C][C]0.564584369112828[/C][C]0.870831261774344[/C][C]0.435415630887172[/C][/ROW]
[ROW][C]42[/C][C]0.577596321893169[/C][C]0.844807356213662[/C][C]0.422403678106831[/C][/ROW]
[ROW][C]43[/C][C]0.561552620440682[/C][C]0.876894759118637[/C][C]0.438447379559318[/C][/ROW]
[ROW][C]44[/C][C]0.458235515257073[/C][C]0.916471030514146[/C][C]0.541764484742927[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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.0005166611753422820.001033322350684560.999483338824658
170.0003588449197595320.0007176898395190630.99964115508024
180.0002583585905237960.0005167171810475930.999741641409476
199.03878168239745e-050.0001807756336479490.999909612183176
200.0006050617110758480.001210123422151700.999394938288924
210.0004414020445533840.0008828040891067690.999558597955447
220.0004004648157667820.0008009296315335630.999599535184233
230.0002345067015168850.000469013403033770.999765493298483
240.000226083976437620.000452167952875240.999773916023562
250.0002266734534042530.0004533469068085050.999773326546596
260.0001874606818930400.0003749213637860810.999812539318107
270.0003725265495509510.0007450530991019010.99962747345045
280.0004831165622770050.000966233124554010.999516883437723
290.0006868517267963250.001373703453592650.999313148273204
300.001053356555448120.002106713110896250.998946643444552
310.001886698428648310.003773396857296620.998113301571352
320.003911200408545130.007822400817090260.996088799591455
330.003875549338049860.007751098676099730.99612445066195
340.01460470758445340.02920941516890680.985395292415547
350.05550970372086780.1110194074417360.944490296279132
360.1562303536269250.3124607072538500.843769646373075
370.2290472325863610.4580944651727230.770952767413638
380.4879717737653290.9759435475306590.512028226234671
390.5937711188753660.8124577622492680.406228881124634
400.6249145683575210.7501708632849580.375085431642479
410.5645843691128280.8708312617743440.435415630887172
420.5775963218931690.8448073562136620.422403678106831
430.5615526204406820.8768947591186370.438447379559318
440.4582355152570730.9164710305141460.541764484742927







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level180.620689655172414NOK
5% type I error level190.655172413793103NOK
10% type I error level190.655172413793103NOK

\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 & 18 & 0.620689655172414 & NOK \tabularnewline
5% type I error level & 19 & 0.655172413793103 & NOK \tabularnewline
10% type I error level & 19 & 0.655172413793103 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=108312&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]18[/C][C]0.620689655172414[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]19[/C][C]0.655172413793103[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]19[/C][C]0.655172413793103[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=108312&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=108312&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 level180.620689655172414NOK
5% type I error level190.655172413793103NOK
10% type I error level190.655172413793103NOK



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')
}