Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 09:24:55 -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/Nov/20/t12587343553flez7cmbd4vodk.htm/, Retrieved Fri, 19 Apr 2024 00:07:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58307, Retrieved Fri, 19 Apr 2024 00:07:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
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 13:54:52] [b98453cac15ba1066b407e146608df68]
- R PD      [Multiple Regression] [] [2009-11-20 16:24:55] [e76c6d261190c0179bc6006a5cdb804c] [Current]
Feedback Forum

Post a new message
Dataseries X:
17823.2	0	16704.4	17823.2
17872	0	15991.2	16704.4
17420.4	0	15583.6	15991.2
16704.4	0	19123.5	15583.6
15991.2	0	17838.7	19123.5
15583.6	0	17209.4	17838.7
19123.5	0	18586.5	17209.4
17838.7	0	16258.1	18586.5
17209.4	0	15141.6	16258.1
18586.5	0	19202.1	15141.6
16258.1	0	17746.5	19202.1
15141.6	0	19090.1	17746.5
19202.1	0	18040.3	19090.1
17746.5	0	17515.5	18040.3
19090.1	1	17751.8	17515.5
18040.3	1	21072.4	17751.8
17515.5	1	17170	21072.4
17751.8	1	19439.5	17170
21072.4	1	19795.4	19439.5
17170	1	17574.9	19795.4
19439.5	1	16165.4	17574.9
19795.4	1	19464.6	16165.4
17574.9	1	19932.1	19464.6
16165.4	1	19961.2	19932.1
19464.6	1	17343.4	19961.2
19932.1	1	18924.2	17343.4
19961.2	1	18574.1	18924.2
17343.4	1	21350.6	18574.1
18924.2	1	18594.6	21350.6
18574.1	1	19832.1	18594.6
21350.6	1	20844.4	19832.1
18594.6	1	19640.2	20844.4
19832.1	1	17735.4	19640.2
20844.4	1	19813.6	17735.4
19640.2	1	22160	19813.6
17735.4	1	20664.3	22160
19813.6	1	17877.4	20664.3
22160	1	20906.5	17877.4
20664.3	1	21164.1	20906.5
17877.4	1	21374.4	21164.1
20906.5	1	22952.3	21374.4
21164.1	1	21343.5	22952.3
21374.4	1	23899.3	21343.5
22952.3	1	22392.9	23899.3
21343.5	1	18274.1	22392.9
23899.3	1	22786.7	18274.1
22392.9	1	22321.5	22786.7
18274.1	1	17842.2	22321.5
22786.7	1	16373.5	17842.2
22321.5	1	15933.8	16373.5
17842.2	1	16446.1	15933.8
16373.5	1	17729	16446.1
15933.8	0	16643	17729
16446.1	0	16196.7	16643
17729	0	18252.1	16196.7
16643	0	17570.4	18252.1




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 4191.72492513178 + 1080.24288788584X[t] + 0.328116813601246Y1[t] + 0.234391904330329Y2[t] + 4298.67549723807M1[t] + 4696.81573343637M2[t] + 3294.52970242339M3[t] + 802.946013604901M4[t] + 1550.95493967962M5[t] + 1874.28478142891M6[t] + 3557.31109805262M7[t] + 2221.62527782109M8[t] + 3900.98112052044M9[t] + 4561.20371537569M10[t] + 1833.90410905446M11[t] + 21.6932594243532t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  4191.72492513178 +  1080.24288788584X[t] +  0.328116813601246Y1[t] +  0.234391904330329Y2[t] +  4298.67549723807M1[t] +  4696.81573343637M2[t] +  3294.52970242339M3[t] +  802.946013604901M4[t] +  1550.95493967962M5[t] +  1874.28478142891M6[t] +  3557.31109805262M7[t] +  2221.62527782109M8[t] +  3900.98112052044M9[t] +  4561.20371537569M10[t] +  1833.90410905446M11[t] +  21.6932594243532t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58307&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  4191.72492513178 +  1080.24288788584X[t] +  0.328116813601246Y1[t] +  0.234391904330329Y2[t] +  4298.67549723807M1[t] +  4696.81573343637M2[t] +  3294.52970242339M3[t] +  802.946013604901M4[t] +  1550.95493967962M5[t] +  1874.28478142891M6[t] +  3557.31109805262M7[t] +  2221.62527782109M8[t] +  3900.98112052044M9[t] +  4561.20371537569M10[t] +  1833.90410905446M11[t] +  21.6932594243532t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58307&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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
Y[t] = + 4191.72492513178 + 1080.24288788584X[t] + 0.328116813601246Y1[t] + 0.234391904330329Y2[t] + 4298.67549723807M1[t] + 4696.81573343637M2[t] + 3294.52970242339M3[t] + 802.946013604901M4[t] + 1550.95493967962M5[t] + 1874.28478142891M6[t] + 3557.31109805262M7[t] + 2221.62527782109M8[t] + 3900.98112052044M9[t] + 4561.20371537569M10[t] + 1833.90410905446M11[t] + 21.6932594243532t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4191.724925131782236.7586381.8740.0682460.034123
X1080.24288788584441.7049282.44560.0189560.009478
Y10.3281168136012460.1266122.59150.0132750.006637
Y20.2343919043303290.1323551.77090.0841920.042096
M14298.67549723807755.4213675.69041e-061e-06
M24696.81573343637799.3798555.87561e-060
M33294.52970242339790.2827014.16880.0001598e-05
M4802.946013604901841.0782940.95470.3454820.172741
M51550.95493967962734.0970182.11270.0409130.020456
M61874.28478142891756.6455112.47710.017570.008785
M73557.31109805262792.7231354.48756e-053e-05
M82221.62527782109735.7013243.01970.0043920.002196
M93900.98112052044814.0874694.79182.3e-051.1e-05
M104561.20371537569956.8074914.76712.5e-051.2e-05
M111833.90410905446787.7036412.32820.0250450.012523
t21.693259424353210.2760022.11110.0410650.020533

\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) & 4191.72492513178 & 2236.758638 & 1.874 & 0.068246 & 0.034123 \tabularnewline
X & 1080.24288788584 & 441.704928 & 2.4456 & 0.018956 & 0.009478 \tabularnewline
Y1 & 0.328116813601246 & 0.126612 & 2.5915 & 0.013275 & 0.006637 \tabularnewline
Y2 & 0.234391904330329 & 0.132355 & 1.7709 & 0.084192 & 0.042096 \tabularnewline
M1 & 4298.67549723807 & 755.421367 & 5.6904 & 1e-06 & 1e-06 \tabularnewline
M2 & 4696.81573343637 & 799.379855 & 5.8756 & 1e-06 & 0 \tabularnewline
M3 & 3294.52970242339 & 790.282701 & 4.1688 & 0.000159 & 8e-05 \tabularnewline
M4 & 802.946013604901 & 841.078294 & 0.9547 & 0.345482 & 0.172741 \tabularnewline
M5 & 1550.95493967962 & 734.097018 & 2.1127 & 0.040913 & 0.020456 \tabularnewline
M6 & 1874.28478142891 & 756.645511 & 2.4771 & 0.01757 & 0.008785 \tabularnewline
M7 & 3557.31109805262 & 792.723135 & 4.4875 & 6e-05 & 3e-05 \tabularnewline
M8 & 2221.62527782109 & 735.701324 & 3.0197 & 0.004392 & 0.002196 \tabularnewline
M9 & 3900.98112052044 & 814.087469 & 4.7918 & 2.3e-05 & 1.1e-05 \tabularnewline
M10 & 4561.20371537569 & 956.807491 & 4.7671 & 2.5e-05 & 1.2e-05 \tabularnewline
M11 & 1833.90410905446 & 787.703641 & 2.3282 & 0.025045 & 0.012523 \tabularnewline
t & 21.6932594243532 & 10.276002 & 2.1111 & 0.041065 & 0.020533 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58307&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]4191.72492513178[/C][C]2236.758638[/C][C]1.874[/C][C]0.068246[/C][C]0.034123[/C][/ROW]
[ROW][C]X[/C][C]1080.24288788584[/C][C]441.704928[/C][C]2.4456[/C][C]0.018956[/C][C]0.009478[/C][/ROW]
[ROW][C]Y1[/C][C]0.328116813601246[/C][C]0.126612[/C][C]2.5915[/C][C]0.013275[/C][C]0.006637[/C][/ROW]
[ROW][C]Y2[/C][C]0.234391904330329[/C][C]0.132355[/C][C]1.7709[/C][C]0.084192[/C][C]0.042096[/C][/ROW]
[ROW][C]M1[/C][C]4298.67549723807[/C][C]755.421367[/C][C]5.6904[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M2[/C][C]4696.81573343637[/C][C]799.379855[/C][C]5.8756[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M3[/C][C]3294.52970242339[/C][C]790.282701[/C][C]4.1688[/C][C]0.000159[/C][C]8e-05[/C][/ROW]
[ROW][C]M4[/C][C]802.946013604901[/C][C]841.078294[/C][C]0.9547[/C][C]0.345482[/C][C]0.172741[/C][/ROW]
[ROW][C]M5[/C][C]1550.95493967962[/C][C]734.097018[/C][C]2.1127[/C][C]0.040913[/C][C]0.020456[/C][/ROW]
[ROW][C]M6[/C][C]1874.28478142891[/C][C]756.645511[/C][C]2.4771[/C][C]0.01757[/C][C]0.008785[/C][/ROW]
[ROW][C]M7[/C][C]3557.31109805262[/C][C]792.723135[/C][C]4.4875[/C][C]6e-05[/C][C]3e-05[/C][/ROW]
[ROW][C]M8[/C][C]2221.62527782109[/C][C]735.701324[/C][C]3.0197[/C][C]0.004392[/C][C]0.002196[/C][/ROW]
[ROW][C]M9[/C][C]3900.98112052044[/C][C]814.087469[/C][C]4.7918[/C][C]2.3e-05[/C][C]1.1e-05[/C][/ROW]
[ROW][C]M10[/C][C]4561.20371537569[/C][C]956.807491[/C][C]4.7671[/C][C]2.5e-05[/C][C]1.2e-05[/C][/ROW]
[ROW][C]M11[/C][C]1833.90410905446[/C][C]787.703641[/C][C]2.3282[/C][C]0.025045[/C][C]0.012523[/C][/ROW]
[ROW][C]t[/C][C]21.6932594243532[/C][C]10.276002[/C][C]2.1111[/C][C]0.041065[/C][C]0.020533[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58307&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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)4191.724925131782236.7586381.8740.0682460.034123
X1080.24288788584441.7049282.44560.0189560.009478
Y10.3281168136012460.1266122.59150.0132750.006637
Y20.2343919043303290.1323551.77090.0841920.042096
M14298.67549723807755.4213675.69041e-061e-06
M24696.81573343637799.3798555.87561e-060
M33294.52970242339790.2827014.16880.0001598e-05
M4802.946013604901841.0782940.95470.3454820.172741
M51550.95493967962734.0970182.11270.0409130.020456
M61874.28478142891756.6455112.47710.017570.008785
M73557.31109805262792.7231354.48756e-053e-05
M82221.62527782109735.7013243.01970.0043920.002196
M93900.98112052044814.0874694.79182.3e-051.1e-05
M104561.20371537569956.8074914.76712.5e-051.2e-05
M111833.90410905446787.7036412.32820.0250450.012523
t21.693259424353210.2760022.11110.0410650.020533







Multiple Linear Regression - Regression Statistics
Multiple R0.896380203979196
R-squared0.803497470085785
Adjusted R-squared0.729809021367954
F-TEST (value)10.9039813439764
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value8.79917361196192e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1089.29160730302
Sum Squared Residuals47462248.2296315

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.896380203979196 \tabularnewline
R-squared & 0.803497470085785 \tabularnewline
Adjusted R-squared & 0.729809021367954 \tabularnewline
F-TEST (value) & 10.9039813439764 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 40 \tabularnewline
p-value & 8.79917361196192e-10 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 1089.29160730302 \tabularnewline
Sum Squared Residuals & 47462248.2296315 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58307&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.896380203979196[/C][/ROW]
[ROW][C]R-squared[/C][C]0.803497470085785[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.729809021367954[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]10.9039813439764[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]40[/C][/ROW]
[ROW][C]p-value[/C][C]8.79917361196192e-10[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]1089.29160730302[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]47462248.2296315[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58307&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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.896380203979196
R-squared0.803497470085785
Adjusted R-squared0.729809021367954
F-TEST (value)10.9039813439764
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value8.79917361196192e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1089.29160730302
Sum Squared Residuals47462248.2296315







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
117823.218170.7019721751-347.501972175150
21787218094.2848937726-222.28489377263
317420.416412.78340279181007.61659720824
416704.415008.85554165961695.54445834037
515991.216186.7171471828-195.517147182758
615583.616024.1096188735-440.509618873523
719123.518033.17603353681090.32396646321
817838.716277.97737539381560.72262460623
917209.417066.9259450889142.474054911056
1018586.518819.4615598116-232.961559811590
1116258.116587.9967065700-329.896706570037
1215141.614875.4627517513266.137248248658
1319202.119166.303440153435.7965598465856
1417746.519167.8766108322-1421.37661083215
1519090.118822.0518587908268.048141209216
1618040.317497.0929276342543.207072365798
1717515.517764.6738172551-249.173817255067
1817751.817939.6670594381-187.867059438056
1921072.420293.1158363245779.284163675518
201717018333.9599696669-1163.95996966691
2119439.519052.0611994542387.438800545839
2219795.420486.1246560134-690.724656013393
2317574.918707.2186902417-1132.31869024171
2416165.417014.1342551618-848.734255161838
2519464.620482.3796215949-1017.77962159494
2619932.120807.3090490025-875.209049002504
2719961.219682.3693033375278.830696662542
2817343.418041.4346012011-698.034601201134
2918924.218557.6359707883366.564029211665
3018574.118662.7195404591-88.6195404591304
3121350.620989.6517485245360.948251475484
3218594.619517.8158455323-923.215845532318
3319832.120311.6133099138-479.513309913786
3420844.421228.9518268511-384.551826851083
3519640.219780.3520269675-140.152026967454
3617735.418027.3540235547-291.954023554651
3719813.621082.7140610849-1269.11406108490
382216021843.2193986089316.780601391113
3920664.321257.1460356109-592.846035610935
4017877.418916.6379266726-1039.23792667264
4120906.520253.3682498338653.131750166216
4221164.120440.3640071286723.735992871433
4321374.422606.5948396921-1232.19483969206
4422952.321397.38593996341554.91406003657
4521343.521393.8995455431-50.3995455431093
4623899.322591.06195732391308.23804267607
4722392.920790.53257622081602.36742377921
4818274.117399.5489695322874.551030467834
4922786.720188.10090499162598.5990950084
5022321.520119.41004778382202.08995221617
5117842.218803.8493994691-961.649399469068
5216373.516874.9790028324-501.479002832401
5315933.816508.8048149401-575.004814940057
5416446.116452.8397741007-6.73977410072358
551772918727.3615419222-998.361541922158
561664317671.4608694436-1028.46086944358

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 17823.2 & 18170.7019721751 & -347.501972175150 \tabularnewline
2 & 17872 & 18094.2848937726 & -222.28489377263 \tabularnewline
3 & 17420.4 & 16412.7834027918 & 1007.61659720824 \tabularnewline
4 & 16704.4 & 15008.8555416596 & 1695.54445834037 \tabularnewline
5 & 15991.2 & 16186.7171471828 & -195.517147182758 \tabularnewline
6 & 15583.6 & 16024.1096188735 & -440.509618873523 \tabularnewline
7 & 19123.5 & 18033.1760335368 & 1090.32396646321 \tabularnewline
8 & 17838.7 & 16277.9773753938 & 1560.72262460623 \tabularnewline
9 & 17209.4 & 17066.9259450889 & 142.474054911056 \tabularnewline
10 & 18586.5 & 18819.4615598116 & -232.961559811590 \tabularnewline
11 & 16258.1 & 16587.9967065700 & -329.896706570037 \tabularnewline
12 & 15141.6 & 14875.4627517513 & 266.137248248658 \tabularnewline
13 & 19202.1 & 19166.3034401534 & 35.7965598465856 \tabularnewline
14 & 17746.5 & 19167.8766108322 & -1421.37661083215 \tabularnewline
15 & 19090.1 & 18822.0518587908 & 268.048141209216 \tabularnewline
16 & 18040.3 & 17497.0929276342 & 543.207072365798 \tabularnewline
17 & 17515.5 & 17764.6738172551 & -249.173817255067 \tabularnewline
18 & 17751.8 & 17939.6670594381 & -187.867059438056 \tabularnewline
19 & 21072.4 & 20293.1158363245 & 779.284163675518 \tabularnewline
20 & 17170 & 18333.9599696669 & -1163.95996966691 \tabularnewline
21 & 19439.5 & 19052.0611994542 & 387.438800545839 \tabularnewline
22 & 19795.4 & 20486.1246560134 & -690.724656013393 \tabularnewline
23 & 17574.9 & 18707.2186902417 & -1132.31869024171 \tabularnewline
24 & 16165.4 & 17014.1342551618 & -848.734255161838 \tabularnewline
25 & 19464.6 & 20482.3796215949 & -1017.77962159494 \tabularnewline
26 & 19932.1 & 20807.3090490025 & -875.209049002504 \tabularnewline
27 & 19961.2 & 19682.3693033375 & 278.830696662542 \tabularnewline
28 & 17343.4 & 18041.4346012011 & -698.034601201134 \tabularnewline
29 & 18924.2 & 18557.6359707883 & 366.564029211665 \tabularnewline
30 & 18574.1 & 18662.7195404591 & -88.6195404591304 \tabularnewline
31 & 21350.6 & 20989.6517485245 & 360.948251475484 \tabularnewline
32 & 18594.6 & 19517.8158455323 & -923.215845532318 \tabularnewline
33 & 19832.1 & 20311.6133099138 & -479.513309913786 \tabularnewline
34 & 20844.4 & 21228.9518268511 & -384.551826851083 \tabularnewline
35 & 19640.2 & 19780.3520269675 & -140.152026967454 \tabularnewline
36 & 17735.4 & 18027.3540235547 & -291.954023554651 \tabularnewline
37 & 19813.6 & 21082.7140610849 & -1269.11406108490 \tabularnewline
38 & 22160 & 21843.2193986089 & 316.780601391113 \tabularnewline
39 & 20664.3 & 21257.1460356109 & -592.846035610935 \tabularnewline
40 & 17877.4 & 18916.6379266726 & -1039.23792667264 \tabularnewline
41 & 20906.5 & 20253.3682498338 & 653.131750166216 \tabularnewline
42 & 21164.1 & 20440.3640071286 & 723.735992871433 \tabularnewline
43 & 21374.4 & 22606.5948396921 & -1232.19483969206 \tabularnewline
44 & 22952.3 & 21397.3859399634 & 1554.91406003657 \tabularnewline
45 & 21343.5 & 21393.8995455431 & -50.3995455431093 \tabularnewline
46 & 23899.3 & 22591.0619573239 & 1308.23804267607 \tabularnewline
47 & 22392.9 & 20790.5325762208 & 1602.36742377921 \tabularnewline
48 & 18274.1 & 17399.5489695322 & 874.551030467834 \tabularnewline
49 & 22786.7 & 20188.1009049916 & 2598.5990950084 \tabularnewline
50 & 22321.5 & 20119.4100477838 & 2202.08995221617 \tabularnewline
51 & 17842.2 & 18803.8493994691 & -961.649399469068 \tabularnewline
52 & 16373.5 & 16874.9790028324 & -501.479002832401 \tabularnewline
53 & 15933.8 & 16508.8048149401 & -575.004814940057 \tabularnewline
54 & 16446.1 & 16452.8397741007 & -6.73977410072358 \tabularnewline
55 & 17729 & 18727.3615419222 & -998.361541922158 \tabularnewline
56 & 16643 & 17671.4608694436 & -1028.46086944358 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58307&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]17823.2[/C][C]18170.7019721751[/C][C]-347.501972175150[/C][/ROW]
[ROW][C]2[/C][C]17872[/C][C]18094.2848937726[/C][C]-222.28489377263[/C][/ROW]
[ROW][C]3[/C][C]17420.4[/C][C]16412.7834027918[/C][C]1007.61659720824[/C][/ROW]
[ROW][C]4[/C][C]16704.4[/C][C]15008.8555416596[/C][C]1695.54445834037[/C][/ROW]
[ROW][C]5[/C][C]15991.2[/C][C]16186.7171471828[/C][C]-195.517147182758[/C][/ROW]
[ROW][C]6[/C][C]15583.6[/C][C]16024.1096188735[/C][C]-440.509618873523[/C][/ROW]
[ROW][C]7[/C][C]19123.5[/C][C]18033.1760335368[/C][C]1090.32396646321[/C][/ROW]
[ROW][C]8[/C][C]17838.7[/C][C]16277.9773753938[/C][C]1560.72262460623[/C][/ROW]
[ROW][C]9[/C][C]17209.4[/C][C]17066.9259450889[/C][C]142.474054911056[/C][/ROW]
[ROW][C]10[/C][C]18586.5[/C][C]18819.4615598116[/C][C]-232.961559811590[/C][/ROW]
[ROW][C]11[/C][C]16258.1[/C][C]16587.9967065700[/C][C]-329.896706570037[/C][/ROW]
[ROW][C]12[/C][C]15141.6[/C][C]14875.4627517513[/C][C]266.137248248658[/C][/ROW]
[ROW][C]13[/C][C]19202.1[/C][C]19166.3034401534[/C][C]35.7965598465856[/C][/ROW]
[ROW][C]14[/C][C]17746.5[/C][C]19167.8766108322[/C][C]-1421.37661083215[/C][/ROW]
[ROW][C]15[/C][C]19090.1[/C][C]18822.0518587908[/C][C]268.048141209216[/C][/ROW]
[ROW][C]16[/C][C]18040.3[/C][C]17497.0929276342[/C][C]543.207072365798[/C][/ROW]
[ROW][C]17[/C][C]17515.5[/C][C]17764.6738172551[/C][C]-249.173817255067[/C][/ROW]
[ROW][C]18[/C][C]17751.8[/C][C]17939.6670594381[/C][C]-187.867059438056[/C][/ROW]
[ROW][C]19[/C][C]21072.4[/C][C]20293.1158363245[/C][C]779.284163675518[/C][/ROW]
[ROW][C]20[/C][C]17170[/C][C]18333.9599696669[/C][C]-1163.95996966691[/C][/ROW]
[ROW][C]21[/C][C]19439.5[/C][C]19052.0611994542[/C][C]387.438800545839[/C][/ROW]
[ROW][C]22[/C][C]19795.4[/C][C]20486.1246560134[/C][C]-690.724656013393[/C][/ROW]
[ROW][C]23[/C][C]17574.9[/C][C]18707.2186902417[/C][C]-1132.31869024171[/C][/ROW]
[ROW][C]24[/C][C]16165.4[/C][C]17014.1342551618[/C][C]-848.734255161838[/C][/ROW]
[ROW][C]25[/C][C]19464.6[/C][C]20482.3796215949[/C][C]-1017.77962159494[/C][/ROW]
[ROW][C]26[/C][C]19932.1[/C][C]20807.3090490025[/C][C]-875.209049002504[/C][/ROW]
[ROW][C]27[/C][C]19961.2[/C][C]19682.3693033375[/C][C]278.830696662542[/C][/ROW]
[ROW][C]28[/C][C]17343.4[/C][C]18041.4346012011[/C][C]-698.034601201134[/C][/ROW]
[ROW][C]29[/C][C]18924.2[/C][C]18557.6359707883[/C][C]366.564029211665[/C][/ROW]
[ROW][C]30[/C][C]18574.1[/C][C]18662.7195404591[/C][C]-88.6195404591304[/C][/ROW]
[ROW][C]31[/C][C]21350.6[/C][C]20989.6517485245[/C][C]360.948251475484[/C][/ROW]
[ROW][C]32[/C][C]18594.6[/C][C]19517.8158455323[/C][C]-923.215845532318[/C][/ROW]
[ROW][C]33[/C][C]19832.1[/C][C]20311.6133099138[/C][C]-479.513309913786[/C][/ROW]
[ROW][C]34[/C][C]20844.4[/C][C]21228.9518268511[/C][C]-384.551826851083[/C][/ROW]
[ROW][C]35[/C][C]19640.2[/C][C]19780.3520269675[/C][C]-140.152026967454[/C][/ROW]
[ROW][C]36[/C][C]17735.4[/C][C]18027.3540235547[/C][C]-291.954023554651[/C][/ROW]
[ROW][C]37[/C][C]19813.6[/C][C]21082.7140610849[/C][C]-1269.11406108490[/C][/ROW]
[ROW][C]38[/C][C]22160[/C][C]21843.2193986089[/C][C]316.780601391113[/C][/ROW]
[ROW][C]39[/C][C]20664.3[/C][C]21257.1460356109[/C][C]-592.846035610935[/C][/ROW]
[ROW][C]40[/C][C]17877.4[/C][C]18916.6379266726[/C][C]-1039.23792667264[/C][/ROW]
[ROW][C]41[/C][C]20906.5[/C][C]20253.3682498338[/C][C]653.131750166216[/C][/ROW]
[ROW][C]42[/C][C]21164.1[/C][C]20440.3640071286[/C][C]723.735992871433[/C][/ROW]
[ROW][C]43[/C][C]21374.4[/C][C]22606.5948396921[/C][C]-1232.19483969206[/C][/ROW]
[ROW][C]44[/C][C]22952.3[/C][C]21397.3859399634[/C][C]1554.91406003657[/C][/ROW]
[ROW][C]45[/C][C]21343.5[/C][C]21393.8995455431[/C][C]-50.3995455431093[/C][/ROW]
[ROW][C]46[/C][C]23899.3[/C][C]22591.0619573239[/C][C]1308.23804267607[/C][/ROW]
[ROW][C]47[/C][C]22392.9[/C][C]20790.5325762208[/C][C]1602.36742377921[/C][/ROW]
[ROW][C]48[/C][C]18274.1[/C][C]17399.5489695322[/C][C]874.551030467834[/C][/ROW]
[ROW][C]49[/C][C]22786.7[/C][C]20188.1009049916[/C][C]2598.5990950084[/C][/ROW]
[ROW][C]50[/C][C]22321.5[/C][C]20119.4100477838[/C][C]2202.08995221617[/C][/ROW]
[ROW][C]51[/C][C]17842.2[/C][C]18803.8493994691[/C][C]-961.649399469068[/C][/ROW]
[ROW][C]52[/C][C]16373.5[/C][C]16874.9790028324[/C][C]-501.479002832401[/C][/ROW]
[ROW][C]53[/C][C]15933.8[/C][C]16508.8048149401[/C][C]-575.004814940057[/C][/ROW]
[ROW][C]54[/C][C]16446.1[/C][C]16452.8397741007[/C][C]-6.73977410072358[/C][/ROW]
[ROW][C]55[/C][C]17729[/C][C]18727.3615419222[/C][C]-998.361541922158[/C][/ROW]
[ROW][C]56[/C][C]16643[/C][C]17671.4608694436[/C][C]-1028.46086944358[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58307&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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
117823.218170.7019721751-347.501972175150
21787218094.2848937726-222.28489377263
317420.416412.78340279181007.61659720824
416704.415008.85554165961695.54445834037
515991.216186.7171471828-195.517147182758
615583.616024.1096188735-440.509618873523
719123.518033.17603353681090.32396646321
817838.716277.97737539381560.72262460623
917209.417066.9259450889142.474054911056
1018586.518819.4615598116-232.961559811590
1116258.116587.9967065700-329.896706570037
1215141.614875.4627517513266.137248248658
1319202.119166.303440153435.7965598465856
1417746.519167.8766108322-1421.37661083215
1519090.118822.0518587908268.048141209216
1618040.317497.0929276342543.207072365798
1717515.517764.6738172551-249.173817255067
1817751.817939.6670594381-187.867059438056
1921072.420293.1158363245779.284163675518
201717018333.9599696669-1163.95996966691
2119439.519052.0611994542387.438800545839
2219795.420486.1246560134-690.724656013393
2317574.918707.2186902417-1132.31869024171
2416165.417014.1342551618-848.734255161838
2519464.620482.3796215949-1017.77962159494
2619932.120807.3090490025-875.209049002504
2719961.219682.3693033375278.830696662542
2817343.418041.4346012011-698.034601201134
2918924.218557.6359707883366.564029211665
3018574.118662.7195404591-88.6195404591304
3121350.620989.6517485245360.948251475484
3218594.619517.8158455323-923.215845532318
3319832.120311.6133099138-479.513309913786
3420844.421228.9518268511-384.551826851083
3519640.219780.3520269675-140.152026967454
3617735.418027.3540235547-291.954023554651
3719813.621082.7140610849-1269.11406108490
382216021843.2193986089316.780601391113
3920664.321257.1460356109-592.846035610935
4017877.418916.6379266726-1039.23792667264
4120906.520253.3682498338653.131750166216
4221164.120440.3640071286723.735992871433
4321374.422606.5948396921-1232.19483969206
4422952.321397.38593996341554.91406003657
4521343.521393.8995455431-50.3995455431093
4623899.322591.06195732391308.23804267607
4722392.920790.53257622081602.36742377921
4818274.117399.5489695322874.551030467834
4922786.720188.10090499162598.5990950084
5022321.520119.41004778382202.08995221617
5117842.218803.8493994691-961.649399469068
5216373.516874.9790028324-501.479002832401
5315933.816508.8048149401-575.004814940057
5416446.116452.8397741007-6.73977410072358
551772918727.3615419222-998.361541922158
561664317671.4608694436-1028.46086944358







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.1319812026168410.2639624052336810.86801879738316
200.4697004583691080.9394009167382150.530299541630892
210.4172709271278530.8345418542557050.582729072872147
220.2841243889188740.5682487778377490.715875611081126
230.1879416466770640.3758832933541290.812058353322936
240.1127168856457260.2254337712914520.887283114354274
250.0731012694637480.1462025389274960.926898730536252
260.04818558776274750.0963711755254950.951814412237252
270.05047134104832620.1009426820966520.949528658951674
280.08164752376240910.1632950475248180.91835247623759
290.0751810878397830.1503621756795660.924818912160217
300.0458614950205720.0917229900411440.954138504979428
310.08485567186168970.1697113437233790.91514432813831
320.04933003211163670.09866006422327340.950669967888363
330.04320998183216330.08641996366432660.956790018167837
340.02859514308877880.05719028617755760.971404856911221
350.03744593554319660.07489187108639320.962554064456803
360.1160090146055370.2320180292110730.883990985394463
370.09576594157615870.1915318831523170.904234058423841

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.131981202616841 & 0.263962405233681 & 0.86801879738316 \tabularnewline
20 & 0.469700458369108 & 0.939400916738215 & 0.530299541630892 \tabularnewline
21 & 0.417270927127853 & 0.834541854255705 & 0.582729072872147 \tabularnewline
22 & 0.284124388918874 & 0.568248777837749 & 0.715875611081126 \tabularnewline
23 & 0.187941646677064 & 0.375883293354129 & 0.812058353322936 \tabularnewline
24 & 0.112716885645726 & 0.225433771291452 & 0.887283114354274 \tabularnewline
25 & 0.073101269463748 & 0.146202538927496 & 0.926898730536252 \tabularnewline
26 & 0.0481855877627475 & 0.096371175525495 & 0.951814412237252 \tabularnewline
27 & 0.0504713410483262 & 0.100942682096652 & 0.949528658951674 \tabularnewline
28 & 0.0816475237624091 & 0.163295047524818 & 0.91835247623759 \tabularnewline
29 & 0.075181087839783 & 0.150362175679566 & 0.924818912160217 \tabularnewline
30 & 0.045861495020572 & 0.091722990041144 & 0.954138504979428 \tabularnewline
31 & 0.0848556718616897 & 0.169711343723379 & 0.91514432813831 \tabularnewline
32 & 0.0493300321116367 & 0.0986600642232734 & 0.950669967888363 \tabularnewline
33 & 0.0432099818321633 & 0.0864199636643266 & 0.956790018167837 \tabularnewline
34 & 0.0285951430887788 & 0.0571902861775576 & 0.971404856911221 \tabularnewline
35 & 0.0374459355431966 & 0.0748918710863932 & 0.962554064456803 \tabularnewline
36 & 0.116009014605537 & 0.232018029211073 & 0.883990985394463 \tabularnewline
37 & 0.0957659415761587 & 0.191531883152317 & 0.904234058423841 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58307&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]19[/C][C]0.131981202616841[/C][C]0.263962405233681[/C][C]0.86801879738316[/C][/ROW]
[ROW][C]20[/C][C]0.469700458369108[/C][C]0.939400916738215[/C][C]0.530299541630892[/C][/ROW]
[ROW][C]21[/C][C]0.417270927127853[/C][C]0.834541854255705[/C][C]0.582729072872147[/C][/ROW]
[ROW][C]22[/C][C]0.284124388918874[/C][C]0.568248777837749[/C][C]0.715875611081126[/C][/ROW]
[ROW][C]23[/C][C]0.187941646677064[/C][C]0.375883293354129[/C][C]0.812058353322936[/C][/ROW]
[ROW][C]24[/C][C]0.112716885645726[/C][C]0.225433771291452[/C][C]0.887283114354274[/C][/ROW]
[ROW][C]25[/C][C]0.073101269463748[/C][C]0.146202538927496[/C][C]0.926898730536252[/C][/ROW]
[ROW][C]26[/C][C]0.0481855877627475[/C][C]0.096371175525495[/C][C]0.951814412237252[/C][/ROW]
[ROW][C]27[/C][C]0.0504713410483262[/C][C]0.100942682096652[/C][C]0.949528658951674[/C][/ROW]
[ROW][C]28[/C][C]0.0816475237624091[/C][C]0.163295047524818[/C][C]0.91835247623759[/C][/ROW]
[ROW][C]29[/C][C]0.075181087839783[/C][C]0.150362175679566[/C][C]0.924818912160217[/C][/ROW]
[ROW][C]30[/C][C]0.045861495020572[/C][C]0.091722990041144[/C][C]0.954138504979428[/C][/ROW]
[ROW][C]31[/C][C]0.0848556718616897[/C][C]0.169711343723379[/C][C]0.91514432813831[/C][/ROW]
[ROW][C]32[/C][C]0.0493300321116367[/C][C]0.0986600642232734[/C][C]0.950669967888363[/C][/ROW]
[ROW][C]33[/C][C]0.0432099818321633[/C][C]0.0864199636643266[/C][C]0.956790018167837[/C][/ROW]
[ROW][C]34[/C][C]0.0285951430887788[/C][C]0.0571902861775576[/C][C]0.971404856911221[/C][/ROW]
[ROW][C]35[/C][C]0.0374459355431966[/C][C]0.0748918710863932[/C][C]0.962554064456803[/C][/ROW]
[ROW][C]36[/C][C]0.116009014605537[/C][C]0.232018029211073[/C][C]0.883990985394463[/C][/ROW]
[ROW][C]37[/C][C]0.0957659415761587[/C][C]0.191531883152317[/C][C]0.904234058423841[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58307&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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
190.1319812026168410.2639624052336810.86801879738316
200.4697004583691080.9394009167382150.530299541630892
210.4172709271278530.8345418542557050.582729072872147
220.2841243889188740.5682487778377490.715875611081126
230.1879416466770640.3758832933541290.812058353322936
240.1127168856457260.2254337712914520.887283114354274
250.0731012694637480.1462025389274960.926898730536252
260.04818558776274750.0963711755254950.951814412237252
270.05047134104832620.1009426820966520.949528658951674
280.08164752376240910.1632950475248180.91835247623759
290.0751810878397830.1503621756795660.924818912160217
300.0458614950205720.0917229900411440.954138504979428
310.08485567186168970.1697113437233790.91514432813831
320.04933003211163670.09866006422327340.950669967888363
330.04320998183216330.08641996366432660.956790018167837
340.02859514308877880.05719028617755760.971404856911221
350.03744593554319660.07489187108639320.962554064456803
360.1160090146055370.2320180292110730.883990985394463
370.09576594157615870.1915318831523170.904234058423841







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level60.315789473684211NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58307&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 level00OK
5% type I error level00OK
10% type I error level60.315789473684211NOK



Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('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')
}