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 computationFri, 27 Nov 2009 12:25:57 -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/27/t1259350141vcv0in2i037te8o.htm/, Retrieved Mon, 29 Apr 2024 00:32:11 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=61170, Retrieved Mon, 29 Apr 2024 00:32:11 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsShwWs7 correctie
Estimated Impact99
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [] [2009-11-20 12:20:42] [0750c128064677e728c9436fc3f45ae7]
-   P     [Multiple Regression] [Ws7 correctie] [2009-11-27 19:25:57] [51108381f3361ca8af49c4f74052c840] [Current]
Feedback Forum

Post a new message
Dataseries X:
1.3	2
1.2	2.1
1.1	2.1
1.4	2.5
1.2	2.2
1.5	2.3
1.1	2.3
1.3	2.2
1.5	2.2
1.1	1.6
1.4	1.8
1.3	1.7
1.5	1.9
1.6	1.8
1.7	1.9
1.1	1.5
1.6	1
1.3	0.8
1.7	1.1
1.6	1.5
1.7	1.7
1.9	2.3
1.8	2.4
1.9	3
1.6	3
1.5	3.2
1.6	3.2
1.6	3.2
1.7	3.5
2	4
2	4.3
1.9	4.1
1.7	4
1.8	4.1
1.9	4.2
1.7	4.5
2	5.6
2.1	6.5
2.4	7.6
2.5	8.5
2.5	8.7
2.6	8.3
2.2	8.3
2.5	8.5
2.8	8.7
2.8	8.7
2.9	8.5
3	7.9
3.1	7
2.9	5.8
2.7	4.5
2.2	3.7
2.5	3.1
2.3	2.7
2.6	2.3
2.3	1.8
2.2	1.5
1.8	1.2
1.8	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=61170&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=61170&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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
inflatie[t] = + 0.972023860168438 + 0.098796834385658inflatie_levensmiddelen[t] + 0.058818758366768M1[t] + 0.00144070596005138M2[t] + 0.0240626535533356M3[t] -0.137267272228807M4[t] + 0.00116216886618223M5[t] + 0.0297119265226059M6[t] -0.0135939359472494M7[t] -0.0289960516662525M8[t] + 0.0116499592393184M9[t] -0.103752156479684M10[t] -0.0431061455741136M11[t] + 0.0193539890944291t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
inflatie[t] =  +  0.972023860168438 +  0.098796834385658inflatie_levensmiddelen[t] +  0.058818758366768M1[t] +  0.00144070596005138M2[t] +  0.0240626535533356M3[t] -0.137267272228807M4[t] +  0.00116216886618223M5[t] +  0.0297119265226059M6[t] -0.0135939359472494M7[t] -0.0289960516662525M8[t] +  0.0116499592393184M9[t] -0.103752156479684M10[t] -0.0431061455741136M11[t] +  0.0193539890944291t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]inflatie[t] =  +  0.972023860168438 +  0.098796834385658inflatie_levensmiddelen[t] +  0.058818758366768M1[t] +  0.00144070596005138M2[t] +  0.0240626535533356M3[t] -0.137267272228807M4[t] +  0.00116216886618223M5[t] +  0.0297119265226059M6[t] -0.0135939359472494M7[t] -0.0289960516662525M8[t] +  0.0116499592393184M9[t] -0.103752156479684M10[t] -0.0431061455741136M11[t] +  0.0193539890944291t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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
inflatie[t] = + 0.972023860168438 + 0.098796834385658inflatie_levensmiddelen[t] + 0.058818758366768M1[t] + 0.00144070596005138M2[t] + 0.0240626535533356M3[t] -0.137267272228807M4[t] + 0.00116216886618223M5[t] + 0.0297119265226059M6[t] -0.0135939359472494M7[t] -0.0289960516662525M8[t] + 0.0116499592393184M9[t] -0.103752156479684M10[t] -0.0431061455741136M11[t] + 0.0193539890944291t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.9720238601684380.1361637.138700
inflatie_levensmiddelen0.0987968343856580.0148196.666900
M10.0588187583667680.1616930.36380.7177350.358868
M20.001440705960051380.1616030.00890.9929260.496463
M30.02406265355333560.1615450.1490.8822560.441128
M4-0.1372672722288070.161507-0.84990.3998730.199936
M50.001162168866182230.1616040.00720.9942940.497147
M60.02971192652260590.1617140.18370.855050.427525
M7-0.01359393594724940.161757-0.0840.9333980.466699
M8-0.02899605166625250.161905-0.17910.8586690.429334
M90.01164995923931840.1620440.07190.9430050.471502
M10-0.1037521564796840.162264-0.63940.5258030.262901
M11-0.04310614557411360.162465-0.26530.791970.395985
t0.01935398909442910.0021718.916200

\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) & 0.972023860168438 & 0.136163 & 7.1387 & 0 & 0 \tabularnewline
inflatie_levensmiddelen & 0.098796834385658 & 0.014819 & 6.6669 & 0 & 0 \tabularnewline
M1 & 0.058818758366768 & 0.161693 & 0.3638 & 0.717735 & 0.358868 \tabularnewline
M2 & 0.00144070596005138 & 0.161603 & 0.0089 & 0.992926 & 0.496463 \tabularnewline
M3 & 0.0240626535533356 & 0.161545 & 0.149 & 0.882256 & 0.441128 \tabularnewline
M4 & -0.137267272228807 & 0.161507 & -0.8499 & 0.399873 & 0.199936 \tabularnewline
M5 & 0.00116216886618223 & 0.161604 & 0.0072 & 0.994294 & 0.497147 \tabularnewline
M6 & 0.0297119265226059 & 0.161714 & 0.1837 & 0.85505 & 0.427525 \tabularnewline
M7 & -0.0135939359472494 & 0.161757 & -0.084 & 0.933398 & 0.466699 \tabularnewline
M8 & -0.0289960516662525 & 0.161905 & -0.1791 & 0.858669 & 0.429334 \tabularnewline
M9 & 0.0116499592393184 & 0.162044 & 0.0719 & 0.943005 & 0.471502 \tabularnewline
M10 & -0.103752156479684 & 0.162264 & -0.6394 & 0.525803 & 0.262901 \tabularnewline
M11 & -0.0431061455741136 & 0.162465 & -0.2653 & 0.79197 & 0.395985 \tabularnewline
t & 0.0193539890944291 & 0.002171 & 8.9162 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&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]0.972023860168438[/C][C]0.136163[/C][C]7.1387[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]inflatie_levensmiddelen[/C][C]0.098796834385658[/C][C]0.014819[/C][C]6.6669[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]0.058818758366768[/C][C]0.161693[/C][C]0.3638[/C][C]0.717735[/C][C]0.358868[/C][/ROW]
[ROW][C]M2[/C][C]0.00144070596005138[/C][C]0.161603[/C][C]0.0089[/C][C]0.992926[/C][C]0.496463[/C][/ROW]
[ROW][C]M3[/C][C]0.0240626535533356[/C][C]0.161545[/C][C]0.149[/C][C]0.882256[/C][C]0.441128[/C][/ROW]
[ROW][C]M4[/C][C]-0.137267272228807[/C][C]0.161507[/C][C]-0.8499[/C][C]0.399873[/C][C]0.199936[/C][/ROW]
[ROW][C]M5[/C][C]0.00116216886618223[/C][C]0.161604[/C][C]0.0072[/C][C]0.994294[/C][C]0.497147[/C][/ROW]
[ROW][C]M6[/C][C]0.0297119265226059[/C][C]0.161714[/C][C]0.1837[/C][C]0.85505[/C][C]0.427525[/C][/ROW]
[ROW][C]M7[/C][C]-0.0135939359472494[/C][C]0.161757[/C][C]-0.084[/C][C]0.933398[/C][C]0.466699[/C][/ROW]
[ROW][C]M8[/C][C]-0.0289960516662525[/C][C]0.161905[/C][C]-0.1791[/C][C]0.858669[/C][C]0.429334[/C][/ROW]
[ROW][C]M9[/C][C]0.0116499592393184[/C][C]0.162044[/C][C]0.0719[/C][C]0.943005[/C][C]0.471502[/C][/ROW]
[ROW][C]M10[/C][C]-0.103752156479684[/C][C]0.162264[/C][C]-0.6394[/C][C]0.525803[/C][C]0.262901[/C][/ROW]
[ROW][C]M11[/C][C]-0.0431061455741136[/C][C]0.162465[/C][C]-0.2653[/C][C]0.79197[/C][C]0.395985[/C][/ROW]
[ROW][C]t[/C][C]0.0193539890944291[/C][C]0.002171[/C][C]8.9162[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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)0.9720238601684380.1361637.138700
inflatie_levensmiddelen0.0987968343856580.0148196.666900
M10.0588187583667680.1616930.36380.7177350.358868
M20.001440705960051380.1616030.00890.9929260.496463
M30.02406265355333560.1615450.1490.8822560.441128
M4-0.1372672722288070.161507-0.84990.3998730.199936
M50.001162168866182230.1616040.00720.9942940.497147
M60.02971192652260590.1617140.18370.855050.427525
M7-0.01359393594724940.161757-0.0840.9333980.466699
M8-0.02899605166625250.161905-0.17910.8586690.429334
M90.01164995923931840.1620440.07190.9430050.471502
M10-0.1037521564796840.162264-0.63940.5258030.262901
M11-0.04310614557411360.162465-0.26530.791970.395985
t0.01935398909442910.0021718.916200







Multiple Linear Regression - Regression Statistics
Multiple R0.92103391960866
R-squared0.84830348106969
Adjusted R-squared0.8044800422676
F-TEST (value)19.3573006650780
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value3.10862446895044e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.240635030923153
Sum Squared Residuals2.6057348148324

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.92103391960866 \tabularnewline
R-squared & 0.84830348106969 \tabularnewline
Adjusted R-squared & 0.8044800422676 \tabularnewline
F-TEST (value) & 19.3573006650780 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 3.10862446895044e-14 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.240635030923153 \tabularnewline
Sum Squared Residuals & 2.6057348148324 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.92103391960866[/C][/ROW]
[ROW][C]R-squared[/C][C]0.84830348106969[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.8044800422676[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]19.3573006650780[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/C][/ROW]
[ROW][C]p-value[/C][C]3.10862446895044e-14[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.240635030923153[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2.6057348148324[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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.92103391960866
R-squared0.84830348106969
Adjusted R-squared0.8044800422676
F-TEST (value)19.3573006650780
F-TEST (DF numerator)13
F-TEST (DF denominator)45
p-value3.10862446895044e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.240635030923153
Sum Squared Residuals2.6057348148324







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
11.31.247790276400950.0522097235990519
21.21.21964589652723-0.0196458965272296
31.11.26162183321494-0.161621833214943
41.41.159164630281490.240835369718507
51.21.28730901015521-0.087309010155214
61.51.345092440344630.154907559655368
71.11.32114056696921-0.221140566969206
81.31.31521275690607-0.0152127569060665
91.51.375212756906070.124787243093934
101.11.21988652965010-0.119886529650098
111.41.319645896527230.0803541034727705
121.31.37222634775721-0.0722263477572063
131.51.470158462095530.0298415379044651
141.61.422254715344680.177745284655318
151.71.474110335470960.225889664529039
161.11.29261566502898-0.192615665028984
171.61.401000678025570.198999321974426
181.31.42914505789929-0.129145057899295
191.71.434832234839570.265167765160434
201.61.478302841969260.121697158030745
211.71.558062208846390.141937791153613
221.91.521292182853210.378707817146792
231.81.611171866291770.188828133708226
241.91.732910101591710.167089898408289
251.61.81108284905291-0.211082849052908
261.51.79281815261775-0.292818152617752
271.61.83479408930547-0.234794089305466
281.61.69281815261775-0.0928181526177524
291.71.88024063312287-0.180240633122868
3021.977542797066550.02245720293345
3121.983229974006820.0167700259931787
321.91.96742248050512-0.0674224805051158
331.72.01754279706655-0.31754279706655
341.81.93137435388054-0.131374353880542
351.92.02125403731911-0.121254037319108
361.72.11335322230335-0.413353222303348
3722.30020248758877-0.300202487588769
382.12.35109557522357-0.251095575223573
392.42.50174802973551-0.101748029735511
402.52.448689243994890.0513107560051105
412.52.62623204106144-0.126232041061440
422.62.63461705405803-0.0346170540580291
432.22.6106651806826-0.410665180682603
442.52.63437642093516-0.134376420935161
452.82.714135787812290.0858642121877074
462.82.618087661187720.181912338812281
472.92.678328294310590.221671705689413
4832.681510328347740.318489671652265
493.12.670765924861840.42923407513816
502.92.514185660286760.385814339713237
512.72.427725712273120.27227428772688
522.22.20671230807688-0.0067123080768805
532.52.305217637634900.194782362365096
542.32.31360265063149-0.0136026506314939
552.62.250132043501800.349867956498196
562.32.20468549968440.0953145003155984
572.22.23504644936870-0.0350464493687038
581.82.10935927242843-0.309359272428433
591.82.1695999055513-0.369599905551301

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1.3 & 1.24779027640095 & 0.0522097235990519 \tabularnewline
2 & 1.2 & 1.21964589652723 & -0.0196458965272296 \tabularnewline
3 & 1.1 & 1.26162183321494 & -0.161621833214943 \tabularnewline
4 & 1.4 & 1.15916463028149 & 0.240835369718507 \tabularnewline
5 & 1.2 & 1.28730901015521 & -0.087309010155214 \tabularnewline
6 & 1.5 & 1.34509244034463 & 0.154907559655368 \tabularnewline
7 & 1.1 & 1.32114056696921 & -0.221140566969206 \tabularnewline
8 & 1.3 & 1.31521275690607 & -0.0152127569060665 \tabularnewline
9 & 1.5 & 1.37521275690607 & 0.124787243093934 \tabularnewline
10 & 1.1 & 1.21988652965010 & -0.119886529650098 \tabularnewline
11 & 1.4 & 1.31964589652723 & 0.0803541034727705 \tabularnewline
12 & 1.3 & 1.37222634775721 & -0.0722263477572063 \tabularnewline
13 & 1.5 & 1.47015846209553 & 0.0298415379044651 \tabularnewline
14 & 1.6 & 1.42225471534468 & 0.177745284655318 \tabularnewline
15 & 1.7 & 1.47411033547096 & 0.225889664529039 \tabularnewline
16 & 1.1 & 1.29261566502898 & -0.192615665028984 \tabularnewline
17 & 1.6 & 1.40100067802557 & 0.198999321974426 \tabularnewline
18 & 1.3 & 1.42914505789929 & -0.129145057899295 \tabularnewline
19 & 1.7 & 1.43483223483957 & 0.265167765160434 \tabularnewline
20 & 1.6 & 1.47830284196926 & 0.121697158030745 \tabularnewline
21 & 1.7 & 1.55806220884639 & 0.141937791153613 \tabularnewline
22 & 1.9 & 1.52129218285321 & 0.378707817146792 \tabularnewline
23 & 1.8 & 1.61117186629177 & 0.188828133708226 \tabularnewline
24 & 1.9 & 1.73291010159171 & 0.167089898408289 \tabularnewline
25 & 1.6 & 1.81108284905291 & -0.211082849052908 \tabularnewline
26 & 1.5 & 1.79281815261775 & -0.292818152617752 \tabularnewline
27 & 1.6 & 1.83479408930547 & -0.234794089305466 \tabularnewline
28 & 1.6 & 1.69281815261775 & -0.0928181526177524 \tabularnewline
29 & 1.7 & 1.88024063312287 & -0.180240633122868 \tabularnewline
30 & 2 & 1.97754279706655 & 0.02245720293345 \tabularnewline
31 & 2 & 1.98322997400682 & 0.0167700259931787 \tabularnewline
32 & 1.9 & 1.96742248050512 & -0.0674224805051158 \tabularnewline
33 & 1.7 & 2.01754279706655 & -0.31754279706655 \tabularnewline
34 & 1.8 & 1.93137435388054 & -0.131374353880542 \tabularnewline
35 & 1.9 & 2.02125403731911 & -0.121254037319108 \tabularnewline
36 & 1.7 & 2.11335322230335 & -0.413353222303348 \tabularnewline
37 & 2 & 2.30020248758877 & -0.300202487588769 \tabularnewline
38 & 2.1 & 2.35109557522357 & -0.251095575223573 \tabularnewline
39 & 2.4 & 2.50174802973551 & -0.101748029735511 \tabularnewline
40 & 2.5 & 2.44868924399489 & 0.0513107560051105 \tabularnewline
41 & 2.5 & 2.62623204106144 & -0.126232041061440 \tabularnewline
42 & 2.6 & 2.63461705405803 & -0.0346170540580291 \tabularnewline
43 & 2.2 & 2.6106651806826 & -0.410665180682603 \tabularnewline
44 & 2.5 & 2.63437642093516 & -0.134376420935161 \tabularnewline
45 & 2.8 & 2.71413578781229 & 0.0858642121877074 \tabularnewline
46 & 2.8 & 2.61808766118772 & 0.181912338812281 \tabularnewline
47 & 2.9 & 2.67832829431059 & 0.221671705689413 \tabularnewline
48 & 3 & 2.68151032834774 & 0.318489671652265 \tabularnewline
49 & 3.1 & 2.67076592486184 & 0.42923407513816 \tabularnewline
50 & 2.9 & 2.51418566028676 & 0.385814339713237 \tabularnewline
51 & 2.7 & 2.42772571227312 & 0.27227428772688 \tabularnewline
52 & 2.2 & 2.20671230807688 & -0.0067123080768805 \tabularnewline
53 & 2.5 & 2.30521763763490 & 0.194782362365096 \tabularnewline
54 & 2.3 & 2.31360265063149 & -0.0136026506314939 \tabularnewline
55 & 2.6 & 2.25013204350180 & 0.349867956498196 \tabularnewline
56 & 2.3 & 2.2046854996844 & 0.0953145003155984 \tabularnewline
57 & 2.2 & 2.23504644936870 & -0.0350464493687038 \tabularnewline
58 & 1.8 & 2.10935927242843 & -0.309359272428433 \tabularnewline
59 & 1.8 & 2.1695999055513 & -0.369599905551301 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&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]1.3[/C][C]1.24779027640095[/C][C]0.0522097235990519[/C][/ROW]
[ROW][C]2[/C][C]1.2[/C][C]1.21964589652723[/C][C]-0.0196458965272296[/C][/ROW]
[ROW][C]3[/C][C]1.1[/C][C]1.26162183321494[/C][C]-0.161621833214943[/C][/ROW]
[ROW][C]4[/C][C]1.4[/C][C]1.15916463028149[/C][C]0.240835369718507[/C][/ROW]
[ROW][C]5[/C][C]1.2[/C][C]1.28730901015521[/C][C]-0.087309010155214[/C][/ROW]
[ROW][C]6[/C][C]1.5[/C][C]1.34509244034463[/C][C]0.154907559655368[/C][/ROW]
[ROW][C]7[/C][C]1.1[/C][C]1.32114056696921[/C][C]-0.221140566969206[/C][/ROW]
[ROW][C]8[/C][C]1.3[/C][C]1.31521275690607[/C][C]-0.0152127569060665[/C][/ROW]
[ROW][C]9[/C][C]1.5[/C][C]1.37521275690607[/C][C]0.124787243093934[/C][/ROW]
[ROW][C]10[/C][C]1.1[/C][C]1.21988652965010[/C][C]-0.119886529650098[/C][/ROW]
[ROW][C]11[/C][C]1.4[/C][C]1.31964589652723[/C][C]0.0803541034727705[/C][/ROW]
[ROW][C]12[/C][C]1.3[/C][C]1.37222634775721[/C][C]-0.0722263477572063[/C][/ROW]
[ROW][C]13[/C][C]1.5[/C][C]1.47015846209553[/C][C]0.0298415379044651[/C][/ROW]
[ROW][C]14[/C][C]1.6[/C][C]1.42225471534468[/C][C]0.177745284655318[/C][/ROW]
[ROW][C]15[/C][C]1.7[/C][C]1.47411033547096[/C][C]0.225889664529039[/C][/ROW]
[ROW][C]16[/C][C]1.1[/C][C]1.29261566502898[/C][C]-0.192615665028984[/C][/ROW]
[ROW][C]17[/C][C]1.6[/C][C]1.40100067802557[/C][C]0.198999321974426[/C][/ROW]
[ROW][C]18[/C][C]1.3[/C][C]1.42914505789929[/C][C]-0.129145057899295[/C][/ROW]
[ROW][C]19[/C][C]1.7[/C][C]1.43483223483957[/C][C]0.265167765160434[/C][/ROW]
[ROW][C]20[/C][C]1.6[/C][C]1.47830284196926[/C][C]0.121697158030745[/C][/ROW]
[ROW][C]21[/C][C]1.7[/C][C]1.55806220884639[/C][C]0.141937791153613[/C][/ROW]
[ROW][C]22[/C][C]1.9[/C][C]1.52129218285321[/C][C]0.378707817146792[/C][/ROW]
[ROW][C]23[/C][C]1.8[/C][C]1.61117186629177[/C][C]0.188828133708226[/C][/ROW]
[ROW][C]24[/C][C]1.9[/C][C]1.73291010159171[/C][C]0.167089898408289[/C][/ROW]
[ROW][C]25[/C][C]1.6[/C][C]1.81108284905291[/C][C]-0.211082849052908[/C][/ROW]
[ROW][C]26[/C][C]1.5[/C][C]1.79281815261775[/C][C]-0.292818152617752[/C][/ROW]
[ROW][C]27[/C][C]1.6[/C][C]1.83479408930547[/C][C]-0.234794089305466[/C][/ROW]
[ROW][C]28[/C][C]1.6[/C][C]1.69281815261775[/C][C]-0.0928181526177524[/C][/ROW]
[ROW][C]29[/C][C]1.7[/C][C]1.88024063312287[/C][C]-0.180240633122868[/C][/ROW]
[ROW][C]30[/C][C]2[/C][C]1.97754279706655[/C][C]0.02245720293345[/C][/ROW]
[ROW][C]31[/C][C]2[/C][C]1.98322997400682[/C][C]0.0167700259931787[/C][/ROW]
[ROW][C]32[/C][C]1.9[/C][C]1.96742248050512[/C][C]-0.0674224805051158[/C][/ROW]
[ROW][C]33[/C][C]1.7[/C][C]2.01754279706655[/C][C]-0.31754279706655[/C][/ROW]
[ROW][C]34[/C][C]1.8[/C][C]1.93137435388054[/C][C]-0.131374353880542[/C][/ROW]
[ROW][C]35[/C][C]1.9[/C][C]2.02125403731911[/C][C]-0.121254037319108[/C][/ROW]
[ROW][C]36[/C][C]1.7[/C][C]2.11335322230335[/C][C]-0.413353222303348[/C][/ROW]
[ROW][C]37[/C][C]2[/C][C]2.30020248758877[/C][C]-0.300202487588769[/C][/ROW]
[ROW][C]38[/C][C]2.1[/C][C]2.35109557522357[/C][C]-0.251095575223573[/C][/ROW]
[ROW][C]39[/C][C]2.4[/C][C]2.50174802973551[/C][C]-0.101748029735511[/C][/ROW]
[ROW][C]40[/C][C]2.5[/C][C]2.44868924399489[/C][C]0.0513107560051105[/C][/ROW]
[ROW][C]41[/C][C]2.5[/C][C]2.62623204106144[/C][C]-0.126232041061440[/C][/ROW]
[ROW][C]42[/C][C]2.6[/C][C]2.63461705405803[/C][C]-0.0346170540580291[/C][/ROW]
[ROW][C]43[/C][C]2.2[/C][C]2.6106651806826[/C][C]-0.410665180682603[/C][/ROW]
[ROW][C]44[/C][C]2.5[/C][C]2.63437642093516[/C][C]-0.134376420935161[/C][/ROW]
[ROW][C]45[/C][C]2.8[/C][C]2.71413578781229[/C][C]0.0858642121877074[/C][/ROW]
[ROW][C]46[/C][C]2.8[/C][C]2.61808766118772[/C][C]0.181912338812281[/C][/ROW]
[ROW][C]47[/C][C]2.9[/C][C]2.67832829431059[/C][C]0.221671705689413[/C][/ROW]
[ROW][C]48[/C][C]3[/C][C]2.68151032834774[/C][C]0.318489671652265[/C][/ROW]
[ROW][C]49[/C][C]3.1[/C][C]2.67076592486184[/C][C]0.42923407513816[/C][/ROW]
[ROW][C]50[/C][C]2.9[/C][C]2.51418566028676[/C][C]0.385814339713237[/C][/ROW]
[ROW][C]51[/C][C]2.7[/C][C]2.42772571227312[/C][C]0.27227428772688[/C][/ROW]
[ROW][C]52[/C][C]2.2[/C][C]2.20671230807688[/C][C]-0.0067123080768805[/C][/ROW]
[ROW][C]53[/C][C]2.5[/C][C]2.30521763763490[/C][C]0.194782362365096[/C][/ROW]
[ROW][C]54[/C][C]2.3[/C][C]2.31360265063149[/C][C]-0.0136026506314939[/C][/ROW]
[ROW][C]55[/C][C]2.6[/C][C]2.25013204350180[/C][C]0.349867956498196[/C][/ROW]
[ROW][C]56[/C][C]2.3[/C][C]2.2046854996844[/C][C]0.0953145003155984[/C][/ROW]
[ROW][C]57[/C][C]2.2[/C][C]2.23504644936870[/C][C]-0.0350464493687038[/C][/ROW]
[ROW][C]58[/C][C]1.8[/C][C]2.10935927242843[/C][C]-0.309359272428433[/C][/ROW]
[ROW][C]59[/C][C]1.8[/C][C]2.1695999055513[/C][C]-0.369599905551301[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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
11.31.247790276400950.0522097235990519
21.21.21964589652723-0.0196458965272296
31.11.26162183321494-0.161621833214943
41.41.159164630281490.240835369718507
51.21.28730901015521-0.087309010155214
61.51.345092440344630.154907559655368
71.11.32114056696921-0.221140566969206
81.31.31521275690607-0.0152127569060665
91.51.375212756906070.124787243093934
101.11.21988652965010-0.119886529650098
111.41.319645896527230.0803541034727705
121.31.37222634775721-0.0722263477572063
131.51.470158462095530.0298415379044651
141.61.422254715344680.177745284655318
151.71.474110335470960.225889664529039
161.11.29261566502898-0.192615665028984
171.61.401000678025570.198999321974426
181.31.42914505789929-0.129145057899295
191.71.434832234839570.265167765160434
201.61.478302841969260.121697158030745
211.71.558062208846390.141937791153613
221.91.521292182853210.378707817146792
231.81.611171866291770.188828133708226
241.91.732910101591710.167089898408289
251.61.81108284905291-0.211082849052908
261.51.79281815261775-0.292818152617752
271.61.83479408930547-0.234794089305466
281.61.69281815261775-0.0928181526177524
291.71.88024063312287-0.180240633122868
3021.977542797066550.02245720293345
3121.983229974006820.0167700259931787
321.91.96742248050512-0.0674224805051158
331.72.01754279706655-0.31754279706655
341.81.93137435388054-0.131374353880542
351.92.02125403731911-0.121254037319108
361.72.11335322230335-0.413353222303348
3722.30020248758877-0.300202487588769
382.12.35109557522357-0.251095575223573
392.42.50174802973551-0.101748029735511
402.52.448689243994890.0513107560051105
412.52.62623204106144-0.126232041061440
422.62.63461705405803-0.0346170540580291
432.22.6106651806826-0.410665180682603
442.52.63437642093516-0.134376420935161
452.82.714135787812290.0858642121877074
462.82.618087661187720.181912338812281
472.92.678328294310590.221671705689413
4832.681510328347740.318489671652265
493.12.670765924861840.42923407513816
502.92.514185660286760.385814339713237
512.72.427725712273120.27227428772688
522.22.20671230807688-0.0067123080768805
532.52.305217637634900.194782362365096
542.32.31360265063149-0.0136026506314939
552.62.250132043501800.349867956498196
562.32.20468549968440.0953145003155984
572.22.23504644936870-0.0350464493687038
581.82.10935927242843-0.309359272428433
591.82.1695999055513-0.369599905551301







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.5155552380405390.9688895239189220.484444761959461
180.3581966847319490.7163933694638990.64180331526805
190.4729013137747870.9458026275495750.527098686225213
200.3456280138707250.6912560277414490.654371986129275
210.2584031028321870.5168062056643750.741596897167813
220.2514836454801600.5029672909603190.74851635451984
230.2524007833897240.5048015667794480.747599216610276
240.226219639462090.452439278924180.77378036053791
250.3396695192590950.6793390385181910.660330480740905
260.3735206126562710.7470412253125410.62647938734373
270.3075394370346630.6150788740693260.692460562965337
280.2284188705697660.4568377411395330.771581129430233
290.1609553030705550.321910606141110.839044696929445
300.138187349968960.276374699937920.86181265003104
310.1205100670465030.2410201340930060.879489932953497
320.09786892518092650.1957378503618530.902131074819073
330.0868058630487930.1736117260975860.913194136951207
340.09123158870061420.1824631774012280.908768411299386
350.2344331443374840.4688662886749680.765566855662516
360.2175528967585190.4351057935170370.782447103241481
370.1589045708199500.3178091416399010.84109542918005
380.1121051905512350.2242103811024710.887894809448765
390.09905040145292170.1981008029058430.900949598547078
400.2443512398332150.488702479666430.755648760166785
410.1595067528165040.3190135056330080.840493247183496
420.9529770870598520.09404582588029670.0470229129401484

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.515555238040539 & 0.968889523918922 & 0.484444761959461 \tabularnewline
18 & 0.358196684731949 & 0.716393369463899 & 0.64180331526805 \tabularnewline
19 & 0.472901313774787 & 0.945802627549575 & 0.527098686225213 \tabularnewline
20 & 0.345628013870725 & 0.691256027741449 & 0.654371986129275 \tabularnewline
21 & 0.258403102832187 & 0.516806205664375 & 0.741596897167813 \tabularnewline
22 & 0.251483645480160 & 0.502967290960319 & 0.74851635451984 \tabularnewline
23 & 0.252400783389724 & 0.504801566779448 & 0.747599216610276 \tabularnewline
24 & 0.22621963946209 & 0.45243927892418 & 0.77378036053791 \tabularnewline
25 & 0.339669519259095 & 0.679339038518191 & 0.660330480740905 \tabularnewline
26 & 0.373520612656271 & 0.747041225312541 & 0.62647938734373 \tabularnewline
27 & 0.307539437034663 & 0.615078874069326 & 0.692460562965337 \tabularnewline
28 & 0.228418870569766 & 0.456837741139533 & 0.771581129430233 \tabularnewline
29 & 0.160955303070555 & 0.32191060614111 & 0.839044696929445 \tabularnewline
30 & 0.13818734996896 & 0.27637469993792 & 0.86181265003104 \tabularnewline
31 & 0.120510067046503 & 0.241020134093006 & 0.879489932953497 \tabularnewline
32 & 0.0978689251809265 & 0.195737850361853 & 0.902131074819073 \tabularnewline
33 & 0.086805863048793 & 0.173611726097586 & 0.913194136951207 \tabularnewline
34 & 0.0912315887006142 & 0.182463177401228 & 0.908768411299386 \tabularnewline
35 & 0.234433144337484 & 0.468866288674968 & 0.765566855662516 \tabularnewline
36 & 0.217552896758519 & 0.435105793517037 & 0.782447103241481 \tabularnewline
37 & 0.158904570819950 & 0.317809141639901 & 0.84109542918005 \tabularnewline
38 & 0.112105190551235 & 0.224210381102471 & 0.887894809448765 \tabularnewline
39 & 0.0990504014529217 & 0.198100802905843 & 0.900949598547078 \tabularnewline
40 & 0.244351239833215 & 0.48870247966643 & 0.755648760166785 \tabularnewline
41 & 0.159506752816504 & 0.319013505633008 & 0.840493247183496 \tabularnewline
42 & 0.952977087059852 & 0.0940458258802967 & 0.0470229129401484 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&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]17[/C][C]0.515555238040539[/C][C]0.968889523918922[/C][C]0.484444761959461[/C][/ROW]
[ROW][C]18[/C][C]0.358196684731949[/C][C]0.716393369463899[/C][C]0.64180331526805[/C][/ROW]
[ROW][C]19[/C][C]0.472901313774787[/C][C]0.945802627549575[/C][C]0.527098686225213[/C][/ROW]
[ROW][C]20[/C][C]0.345628013870725[/C][C]0.691256027741449[/C][C]0.654371986129275[/C][/ROW]
[ROW][C]21[/C][C]0.258403102832187[/C][C]0.516806205664375[/C][C]0.741596897167813[/C][/ROW]
[ROW][C]22[/C][C]0.251483645480160[/C][C]0.502967290960319[/C][C]0.74851635451984[/C][/ROW]
[ROW][C]23[/C][C]0.252400783389724[/C][C]0.504801566779448[/C][C]0.747599216610276[/C][/ROW]
[ROW][C]24[/C][C]0.22621963946209[/C][C]0.45243927892418[/C][C]0.77378036053791[/C][/ROW]
[ROW][C]25[/C][C]0.339669519259095[/C][C]0.679339038518191[/C][C]0.660330480740905[/C][/ROW]
[ROW][C]26[/C][C]0.373520612656271[/C][C]0.747041225312541[/C][C]0.62647938734373[/C][/ROW]
[ROW][C]27[/C][C]0.307539437034663[/C][C]0.615078874069326[/C][C]0.692460562965337[/C][/ROW]
[ROW][C]28[/C][C]0.228418870569766[/C][C]0.456837741139533[/C][C]0.771581129430233[/C][/ROW]
[ROW][C]29[/C][C]0.160955303070555[/C][C]0.32191060614111[/C][C]0.839044696929445[/C][/ROW]
[ROW][C]30[/C][C]0.13818734996896[/C][C]0.27637469993792[/C][C]0.86181265003104[/C][/ROW]
[ROW][C]31[/C][C]0.120510067046503[/C][C]0.241020134093006[/C][C]0.879489932953497[/C][/ROW]
[ROW][C]32[/C][C]0.0978689251809265[/C][C]0.195737850361853[/C][C]0.902131074819073[/C][/ROW]
[ROW][C]33[/C][C]0.086805863048793[/C][C]0.173611726097586[/C][C]0.913194136951207[/C][/ROW]
[ROW][C]34[/C][C]0.0912315887006142[/C][C]0.182463177401228[/C][C]0.908768411299386[/C][/ROW]
[ROW][C]35[/C][C]0.234433144337484[/C][C]0.468866288674968[/C][C]0.765566855662516[/C][/ROW]
[ROW][C]36[/C][C]0.217552896758519[/C][C]0.435105793517037[/C][C]0.782447103241481[/C][/ROW]
[ROW][C]37[/C][C]0.158904570819950[/C][C]0.317809141639901[/C][C]0.84109542918005[/C][/ROW]
[ROW][C]38[/C][C]0.112105190551235[/C][C]0.224210381102471[/C][C]0.887894809448765[/C][/ROW]
[ROW][C]39[/C][C]0.0990504014529217[/C][C]0.198100802905843[/C][C]0.900949598547078[/C][/ROW]
[ROW][C]40[/C][C]0.244351239833215[/C][C]0.48870247966643[/C][C]0.755648760166785[/C][/ROW]
[ROW][C]41[/C][C]0.159506752816504[/C][C]0.319013505633008[/C][C]0.840493247183496[/C][/ROW]
[ROW][C]42[/C][C]0.952977087059852[/C][C]0.0940458258802967[/C][C]0.0470229129401484[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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
170.5155552380405390.9688895239189220.484444761959461
180.3581966847319490.7163933694638990.64180331526805
190.4729013137747870.9458026275495750.527098686225213
200.3456280138707250.6912560277414490.654371986129275
210.2584031028321870.5168062056643750.741596897167813
220.2514836454801600.5029672909603190.74851635451984
230.2524007833897240.5048015667794480.747599216610276
240.226219639462090.452439278924180.77378036053791
250.3396695192590950.6793390385181910.660330480740905
260.3735206126562710.7470412253125410.62647938734373
270.3075394370346630.6150788740693260.692460562965337
280.2284188705697660.4568377411395330.771581129430233
290.1609553030705550.321910606141110.839044696929445
300.138187349968960.276374699937920.86181265003104
310.1205100670465030.2410201340930060.879489932953497
320.09786892518092650.1957378503618530.902131074819073
330.0868058630487930.1736117260975860.913194136951207
340.09123158870061420.1824631774012280.908768411299386
350.2344331443374840.4688662886749680.765566855662516
360.2175528967585190.4351057935170370.782447103241481
370.1589045708199500.3178091416399010.84109542918005
380.1121051905512350.2242103811024710.887894809448765
390.09905040145292170.1981008029058430.900949598547078
400.2443512398332150.488702479666430.755648760166785
410.1595067528165040.3190135056330080.840493247183496
420.9529770870598520.09404582588029670.0470229129401484







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 level10.0384615384615385OK

\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 & 1 & 0.0384615384615385 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=61170&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]1[/C][C]0.0384615384615385[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=61170&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=61170&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 level10.0384615384615385OK



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