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, 21 Nov 2009 02:45:52 -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/21/t1258796832x1bdtdjn6dzmlzf.htm/, Retrieved Sat, 27 Apr 2024 22:34:40 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58518, Retrieved Sat, 27 Apr 2024 22:34:40 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact204
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]
-    D    [Multiple Regression] [model 1] [2009-11-17 14:36:29] [ed603017d2bee8fbd82b6d5ec04e12c3]
-    D      [Multiple Regression] [multiple regression] [2009-11-19 21:38:11] [ed603017d2bee8fbd82b6d5ec04e12c3]
-   P         [Multiple Regression] [monthly dummies] [2009-11-19 22:00:07] [ed603017d2bee8fbd82b6d5ec04e12c3]
-   P           [Multiple Regression] [model3] [2009-11-20 08:47:44] [ed603017d2bee8fbd82b6d5ec04e12c3]
-    D            [Multiple Regression] [Workshop7] [2009-11-20 13:14:04] [34b80aeb109c116fd63bf2eb7493a276]
-   PD              [Multiple Regression] [Workshop 7] [2009-11-20 16:57:31] [78762f311bef5a0e45c439762ada383c]
-   P                   [Multiple Regression] [verb ws 7] [2009-11-21 09:45:52] [4f297b039e1043ebee7ff7a83b1eaaaa] [Current]
Feedback Forum

Post a new message
Dataseries X:
109	102.86
108.6	102.55
108.8	102.28
108.5	102.26
108.3	102.57
108.2	103.08
108	102.76
107.9	102.51
108	102.87
109.3	103.14
109.6	103.12
109	103.16
108.7	102.48
108.3	102.57
108.4	102.88
107.8	102.63
107.8	102.38
107.6	101.69
107.7	101.96
107.6	102.19
107.6	101.87
108.6	101.6
108.6	101.63
108.2	101.22
107.5	101.21
107.1	101.49
107	101.64
106.9	101.66
106.6	101.77
106.3	101.82
106.1	101.78
105.9	101.28
106	101.29
107.2	101.37
107.2	101.12
106.4	101.51
106.1	102.24
105.9	102.94
106.1	103.09
105.9	103.46
105.8	103.64
105.7	104.39
105.6	104.15
105.3	105.21
105.5	105.8
106.5	105.91
106.5	105.39
106.1	105.46
105.9	104.72
105.8	103.14
106.2	102.63
106.5	102.32
106.6	101.93
106.7	100.62
106.6	100.6
106.5	99.63
106.8	98.9
107.8	98.32
107.9	99.22
107.4	98.81




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=58518&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=58518&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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
Werkl[t] = + 133.503019293675 -0.237213983652731Infl[t] -0.395389499003M1[t] -0.68208142249928M2[t] -0.477935528120714M3[t] -0.61473848967676M4[t] -0.664425031723232M5[t] -0.76494939164455M6[t] -0.829343200677488M7[t] -0.957532433448864M8[t] -0.769591115331858M9[t] + 0.364117363765983M10[t] + 0.502970525131017M11[t] -0.0522111698227556t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkl[t] =  +  133.503019293675 -0.237213983652731Infl[t] -0.395389499003M1[t] -0.68208142249928M2[t] -0.477935528120714M3[t] -0.61473848967676M4[t] -0.664425031723232M5[t] -0.76494939164455M6[t] -0.829343200677488M7[t] -0.957532433448864M8[t] -0.769591115331858M9[t] +  0.364117363765983M10[t] +  0.502970525131017M11[t] -0.0522111698227556t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58518&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkl[t] =  +  133.503019293675 -0.237213983652731Infl[t] -0.395389499003M1[t] -0.68208142249928M2[t] -0.477935528120714M3[t] -0.61473848967676M4[t] -0.664425031723232M5[t] -0.76494939164455M6[t] -0.829343200677488M7[t] -0.957532433448864M8[t] -0.769591115331858M9[t] +  0.364117363765983M10[t] +  0.502970525131017M11[t] -0.0522111698227556t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58518&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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
Werkl[t] = + 133.503019293675 -0.237213983652731Infl[t] -0.395389499003M1[t] -0.68208142249928M2[t] -0.477935528120714M3[t] -0.61473848967676M4[t] -0.664425031723232M5[t] -0.76494939164455M6[t] -0.829343200677488M7[t] -0.957532433448864M8[t] -0.769591115331858M9[t] + 0.364117363765983M10[t] + 0.502970525131017M11[t] -0.0522111698227556t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)133.5030192936754.66832428.597600
Infl-0.2372139836527310.045466-5.21744e-062e-06
M1-0.3953894990030.349086-1.13260.2632340.131617
M2-0.682081422499280.348157-1.95910.0561760.028088
M3-0.4779355281207140.347639-1.37480.1758520.087926
M4-0.614738489676760.347165-1.77070.083230.041615
M5-0.6644250317232320.346801-1.91590.0616090.030805
M6-0.764949391644550.346271-2.20910.0321870.016093
M7-0.8293432006774880.345934-2.39740.0206290.010315
M8-0.9575324334488640.345658-2.77020.0080540.004027
M9-0.7695911153318580.345481-2.22760.030840.01542
M100.3641173637659830.3453391.05440.2972170.148608
M110.5029705251310170.3452711.45670.1519810.07599
t-0.05221116982275560.004192-12.456300

\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) & 133.503019293675 & 4.668324 & 28.5976 & 0 & 0 \tabularnewline
Infl & -0.237213983652731 & 0.045466 & -5.2174 & 4e-06 & 2e-06 \tabularnewline
M1 & -0.395389499003 & 0.349086 & -1.1326 & 0.263234 & 0.131617 \tabularnewline
M2 & -0.68208142249928 & 0.348157 & -1.9591 & 0.056176 & 0.028088 \tabularnewline
M3 & -0.477935528120714 & 0.347639 & -1.3748 & 0.175852 & 0.087926 \tabularnewline
M4 & -0.61473848967676 & 0.347165 & -1.7707 & 0.08323 & 0.041615 \tabularnewline
M5 & -0.664425031723232 & 0.346801 & -1.9159 & 0.061609 & 0.030805 \tabularnewline
M6 & -0.76494939164455 & 0.346271 & -2.2091 & 0.032187 & 0.016093 \tabularnewline
M7 & -0.829343200677488 & 0.345934 & -2.3974 & 0.020629 & 0.010315 \tabularnewline
M8 & -0.957532433448864 & 0.345658 & -2.7702 & 0.008054 & 0.004027 \tabularnewline
M9 & -0.769591115331858 & 0.345481 & -2.2276 & 0.03084 & 0.01542 \tabularnewline
M10 & 0.364117363765983 & 0.345339 & 1.0544 & 0.297217 & 0.148608 \tabularnewline
M11 & 0.502970525131017 & 0.345271 & 1.4567 & 0.151981 & 0.07599 \tabularnewline
t & -0.0522111698227556 & 0.004192 & -12.4563 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58518&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]133.503019293675[/C][C]4.668324[/C][C]28.5976[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Infl[/C][C]-0.237213983652731[/C][C]0.045466[/C][C]-5.2174[/C][C]4e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]M1[/C][C]-0.395389499003[/C][C]0.349086[/C][C]-1.1326[/C][C]0.263234[/C][C]0.131617[/C][/ROW]
[ROW][C]M2[/C][C]-0.68208142249928[/C][C]0.348157[/C][C]-1.9591[/C][C]0.056176[/C][C]0.028088[/C][/ROW]
[ROW][C]M3[/C][C]-0.477935528120714[/C][C]0.347639[/C][C]-1.3748[/C][C]0.175852[/C][C]0.087926[/C][/ROW]
[ROW][C]M4[/C][C]-0.61473848967676[/C][C]0.347165[/C][C]-1.7707[/C][C]0.08323[/C][C]0.041615[/C][/ROW]
[ROW][C]M5[/C][C]-0.664425031723232[/C][C]0.346801[/C][C]-1.9159[/C][C]0.061609[/C][C]0.030805[/C][/ROW]
[ROW][C]M6[/C][C]-0.76494939164455[/C][C]0.346271[/C][C]-2.2091[/C][C]0.032187[/C][C]0.016093[/C][/ROW]
[ROW][C]M7[/C][C]-0.829343200677488[/C][C]0.345934[/C][C]-2.3974[/C][C]0.020629[/C][C]0.010315[/C][/ROW]
[ROW][C]M8[/C][C]-0.957532433448864[/C][C]0.345658[/C][C]-2.7702[/C][C]0.008054[/C][C]0.004027[/C][/ROW]
[ROW][C]M9[/C][C]-0.769591115331858[/C][C]0.345481[/C][C]-2.2276[/C][C]0.03084[/C][C]0.01542[/C][/ROW]
[ROW][C]M10[/C][C]0.364117363765983[/C][C]0.345339[/C][C]1.0544[/C][C]0.297217[/C][C]0.148608[/C][/ROW]
[ROW][C]M11[/C][C]0.502970525131017[/C][C]0.345271[/C][C]1.4567[/C][C]0.151981[/C][C]0.07599[/C][/ROW]
[ROW][C]t[/C][C]-0.0522111698227556[/C][C]0.004192[/C][C]-12.4563[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58518&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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)133.5030192936754.66832428.597600
Infl-0.2372139836527310.045466-5.21744e-062e-06
M1-0.3953894990030.349086-1.13260.2632340.131617
M2-0.682081422499280.348157-1.95910.0561760.028088
M3-0.4779355281207140.347639-1.37480.1758520.087926
M4-0.614738489676760.347165-1.77070.083230.041615
M5-0.6644250317232320.346801-1.91590.0616090.030805
M6-0.764949391644550.346271-2.20910.0321870.016093
M7-0.8293432006774880.345934-2.39740.0206290.010315
M8-0.9575324334488640.345658-2.77020.0080540.004027
M9-0.7695911153318580.345481-2.22760.030840.01542
M100.3641173637659830.3453391.05440.2972170.148608
M110.5029705251310170.3452711.45670.1519810.07599
t-0.05221116982275560.004192-12.456300







Multiple Linear Regression - Regression Statistics
Multiple R0.901808660837282
R-squared0.813258860761132
Adjusted R-squared0.760484190976235
F-TEST (value)15.4100227263547
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.28741461935533e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.545869860667813
Sum Squared Residuals13.7067996201329

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.901808660837282 \tabularnewline
R-squared & 0.813258860761132 \tabularnewline
Adjusted R-squared & 0.760484190976235 \tabularnewline
F-TEST (value) & 15.4100227263547 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 1.28741461935533e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.545869860667813 \tabularnewline
Sum Squared Residuals & 13.7067996201329 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58518&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.901808660837282[/C][/ROW]
[ROW][C]R-squared[/C][C]0.813258860761132[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.760484190976235[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]15.4100227263547[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]1.28741461935533e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.545869860667813[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]13.7067996201329[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58518&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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.901808660837282
R-squared0.813258860761132
Adjusted R-squared0.760484190976235
F-TEST (value)15.4100227263547
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value1.28741461935533e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.545869860667813
Sum Squared Residuals13.7067996201329







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1109108.6555882663290.34441173367093
2108.6108.3902215079420.209778492057694
3108.8108.6062040080840.193795991915651
4108.5108.4219341563790.0780658436214021
5108.3108.2465001095770.0534998904229708
6108.2107.972785448170.227214551829943
7108107.9320889440830.0679110559167612
8107.9107.8109920374020.089007962597716
9108107.8613251515820.138674848418444
10109.3108.8787746852700.421225314729592
11109.6108.9701609564860.629839043514256
12109108.4054907021860.594509297814142
13108.7108.1191955422440.580804457756047
14108.3107.7589431903960.541056809603818
15108.4107.8373415800200.562658419980364
16107.8107.7076309445540.0923690554459752
17107.8107.6650367285980.134963271402020
18107.6107.675978847574-0.0759788475742943
19107.7107.4953260931320.204673906867644
20107.6107.2603664742980.339633525701897
21107.6107.4720050973610.127994902638775
22108.6108.617550182223-0.0175501822225505
23108.6108.697075754255-0.0970757542552465
24108.2108.239151792599-0.0391517925990848
25107.5107.793923263610-0.29392326360986
26107.1107.388600254868-0.288600254868066
27107107.504952881876-0.504952881875959
28106.9107.311194470824-0.411194470824097
29106.6107.183203220753-0.583203220753081
30106.3107.018606991826-0.71860699182637
31106.1106.911490572317-0.811490572316786
32105.9106.849697161549-0.94969716154901
33106106.983055170007-0.983055170006736
34107.2108.045575360590-0.8455753605896
35107.2108.191520848045-0.99152084804506
36106.4107.543825699467-1.14382569946672
37106.1106.923058822574-0.823058822574485
38105.9106.418105940699-0.518105940698526
39106.1106.534458567706-0.434458567706437
40105.9106.257675262376-0.357675262376115
41105.8106.113079033449-0.313079033449403
42105.7105.782433015966-0.082433015965776
43105.6105.722759393187-0.122759393186745
44105.3105.2909121679210.00908783207928167
45105.5105.2866860658600.213313934140147
46106.5106.3420898369330.157910163066861
47106.5106.552083099975-0.0520830999748357
48106.1105.9802964261650.119703573834622
49105.9105.7082341052430.191765894757368
50105.8105.7441291060950.0558708939050803
51106.2106.0170429623140.182957037686382
52106.5105.9015651658670.598434834132834
53106.6105.8921809076230.707819092377494
54106.7106.0501956964640.649804303536497
55106.6105.9383349972810.661665002719125
56106.5105.9880321588300.511967841170114
57106.8106.2969285151910.50307148480937
58107.8107.5160099349840.283990065015698
59107.9107.3891593412390.510840658760887
60107.4106.9312353795830.468764620417040

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 109 & 108.655588266329 & 0.34441173367093 \tabularnewline
2 & 108.6 & 108.390221507942 & 0.209778492057694 \tabularnewline
3 & 108.8 & 108.606204008084 & 0.193795991915651 \tabularnewline
4 & 108.5 & 108.421934156379 & 0.0780658436214021 \tabularnewline
5 & 108.3 & 108.246500109577 & 0.0534998904229708 \tabularnewline
6 & 108.2 & 107.97278544817 & 0.227214551829943 \tabularnewline
7 & 108 & 107.932088944083 & 0.0679110559167612 \tabularnewline
8 & 107.9 & 107.810992037402 & 0.089007962597716 \tabularnewline
9 & 108 & 107.861325151582 & 0.138674848418444 \tabularnewline
10 & 109.3 & 108.878774685270 & 0.421225314729592 \tabularnewline
11 & 109.6 & 108.970160956486 & 0.629839043514256 \tabularnewline
12 & 109 & 108.405490702186 & 0.594509297814142 \tabularnewline
13 & 108.7 & 108.119195542244 & 0.580804457756047 \tabularnewline
14 & 108.3 & 107.758943190396 & 0.541056809603818 \tabularnewline
15 & 108.4 & 107.837341580020 & 0.562658419980364 \tabularnewline
16 & 107.8 & 107.707630944554 & 0.0923690554459752 \tabularnewline
17 & 107.8 & 107.665036728598 & 0.134963271402020 \tabularnewline
18 & 107.6 & 107.675978847574 & -0.0759788475742943 \tabularnewline
19 & 107.7 & 107.495326093132 & 0.204673906867644 \tabularnewline
20 & 107.6 & 107.260366474298 & 0.339633525701897 \tabularnewline
21 & 107.6 & 107.472005097361 & 0.127994902638775 \tabularnewline
22 & 108.6 & 108.617550182223 & -0.0175501822225505 \tabularnewline
23 & 108.6 & 108.697075754255 & -0.0970757542552465 \tabularnewline
24 & 108.2 & 108.239151792599 & -0.0391517925990848 \tabularnewline
25 & 107.5 & 107.793923263610 & -0.29392326360986 \tabularnewline
26 & 107.1 & 107.388600254868 & -0.288600254868066 \tabularnewline
27 & 107 & 107.504952881876 & -0.504952881875959 \tabularnewline
28 & 106.9 & 107.311194470824 & -0.411194470824097 \tabularnewline
29 & 106.6 & 107.183203220753 & -0.583203220753081 \tabularnewline
30 & 106.3 & 107.018606991826 & -0.71860699182637 \tabularnewline
31 & 106.1 & 106.911490572317 & -0.811490572316786 \tabularnewline
32 & 105.9 & 106.849697161549 & -0.94969716154901 \tabularnewline
33 & 106 & 106.983055170007 & -0.983055170006736 \tabularnewline
34 & 107.2 & 108.045575360590 & -0.8455753605896 \tabularnewline
35 & 107.2 & 108.191520848045 & -0.99152084804506 \tabularnewline
36 & 106.4 & 107.543825699467 & -1.14382569946672 \tabularnewline
37 & 106.1 & 106.923058822574 & -0.823058822574485 \tabularnewline
38 & 105.9 & 106.418105940699 & -0.518105940698526 \tabularnewline
39 & 106.1 & 106.534458567706 & -0.434458567706437 \tabularnewline
40 & 105.9 & 106.257675262376 & -0.357675262376115 \tabularnewline
41 & 105.8 & 106.113079033449 & -0.313079033449403 \tabularnewline
42 & 105.7 & 105.782433015966 & -0.082433015965776 \tabularnewline
43 & 105.6 & 105.722759393187 & -0.122759393186745 \tabularnewline
44 & 105.3 & 105.290912167921 & 0.00908783207928167 \tabularnewline
45 & 105.5 & 105.286686065860 & 0.213313934140147 \tabularnewline
46 & 106.5 & 106.342089836933 & 0.157910163066861 \tabularnewline
47 & 106.5 & 106.552083099975 & -0.0520830999748357 \tabularnewline
48 & 106.1 & 105.980296426165 & 0.119703573834622 \tabularnewline
49 & 105.9 & 105.708234105243 & 0.191765894757368 \tabularnewline
50 & 105.8 & 105.744129106095 & 0.0558708939050803 \tabularnewline
51 & 106.2 & 106.017042962314 & 0.182957037686382 \tabularnewline
52 & 106.5 & 105.901565165867 & 0.598434834132834 \tabularnewline
53 & 106.6 & 105.892180907623 & 0.707819092377494 \tabularnewline
54 & 106.7 & 106.050195696464 & 0.649804303536497 \tabularnewline
55 & 106.6 & 105.938334997281 & 0.661665002719125 \tabularnewline
56 & 106.5 & 105.988032158830 & 0.511967841170114 \tabularnewline
57 & 106.8 & 106.296928515191 & 0.50307148480937 \tabularnewline
58 & 107.8 & 107.516009934984 & 0.283990065015698 \tabularnewline
59 & 107.9 & 107.389159341239 & 0.510840658760887 \tabularnewline
60 & 107.4 & 106.931235379583 & 0.468764620417040 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58518&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]109[/C][C]108.655588266329[/C][C]0.34441173367093[/C][/ROW]
[ROW][C]2[/C][C]108.6[/C][C]108.390221507942[/C][C]0.209778492057694[/C][/ROW]
[ROW][C]3[/C][C]108.8[/C][C]108.606204008084[/C][C]0.193795991915651[/C][/ROW]
[ROW][C]4[/C][C]108.5[/C][C]108.421934156379[/C][C]0.0780658436214021[/C][/ROW]
[ROW][C]5[/C][C]108.3[/C][C]108.246500109577[/C][C]0.0534998904229708[/C][/ROW]
[ROW][C]6[/C][C]108.2[/C][C]107.97278544817[/C][C]0.227214551829943[/C][/ROW]
[ROW][C]7[/C][C]108[/C][C]107.932088944083[/C][C]0.0679110559167612[/C][/ROW]
[ROW][C]8[/C][C]107.9[/C][C]107.810992037402[/C][C]0.089007962597716[/C][/ROW]
[ROW][C]9[/C][C]108[/C][C]107.861325151582[/C][C]0.138674848418444[/C][/ROW]
[ROW][C]10[/C][C]109.3[/C][C]108.878774685270[/C][C]0.421225314729592[/C][/ROW]
[ROW][C]11[/C][C]109.6[/C][C]108.970160956486[/C][C]0.629839043514256[/C][/ROW]
[ROW][C]12[/C][C]109[/C][C]108.405490702186[/C][C]0.594509297814142[/C][/ROW]
[ROW][C]13[/C][C]108.7[/C][C]108.119195542244[/C][C]0.580804457756047[/C][/ROW]
[ROW][C]14[/C][C]108.3[/C][C]107.758943190396[/C][C]0.541056809603818[/C][/ROW]
[ROW][C]15[/C][C]108.4[/C][C]107.837341580020[/C][C]0.562658419980364[/C][/ROW]
[ROW][C]16[/C][C]107.8[/C][C]107.707630944554[/C][C]0.0923690554459752[/C][/ROW]
[ROW][C]17[/C][C]107.8[/C][C]107.665036728598[/C][C]0.134963271402020[/C][/ROW]
[ROW][C]18[/C][C]107.6[/C][C]107.675978847574[/C][C]-0.0759788475742943[/C][/ROW]
[ROW][C]19[/C][C]107.7[/C][C]107.495326093132[/C][C]0.204673906867644[/C][/ROW]
[ROW][C]20[/C][C]107.6[/C][C]107.260366474298[/C][C]0.339633525701897[/C][/ROW]
[ROW][C]21[/C][C]107.6[/C][C]107.472005097361[/C][C]0.127994902638775[/C][/ROW]
[ROW][C]22[/C][C]108.6[/C][C]108.617550182223[/C][C]-0.0175501822225505[/C][/ROW]
[ROW][C]23[/C][C]108.6[/C][C]108.697075754255[/C][C]-0.0970757542552465[/C][/ROW]
[ROW][C]24[/C][C]108.2[/C][C]108.239151792599[/C][C]-0.0391517925990848[/C][/ROW]
[ROW][C]25[/C][C]107.5[/C][C]107.793923263610[/C][C]-0.29392326360986[/C][/ROW]
[ROW][C]26[/C][C]107.1[/C][C]107.388600254868[/C][C]-0.288600254868066[/C][/ROW]
[ROW][C]27[/C][C]107[/C][C]107.504952881876[/C][C]-0.504952881875959[/C][/ROW]
[ROW][C]28[/C][C]106.9[/C][C]107.311194470824[/C][C]-0.411194470824097[/C][/ROW]
[ROW][C]29[/C][C]106.6[/C][C]107.183203220753[/C][C]-0.583203220753081[/C][/ROW]
[ROW][C]30[/C][C]106.3[/C][C]107.018606991826[/C][C]-0.71860699182637[/C][/ROW]
[ROW][C]31[/C][C]106.1[/C][C]106.911490572317[/C][C]-0.811490572316786[/C][/ROW]
[ROW][C]32[/C][C]105.9[/C][C]106.849697161549[/C][C]-0.94969716154901[/C][/ROW]
[ROW][C]33[/C][C]106[/C][C]106.983055170007[/C][C]-0.983055170006736[/C][/ROW]
[ROW][C]34[/C][C]107.2[/C][C]108.045575360590[/C][C]-0.8455753605896[/C][/ROW]
[ROW][C]35[/C][C]107.2[/C][C]108.191520848045[/C][C]-0.99152084804506[/C][/ROW]
[ROW][C]36[/C][C]106.4[/C][C]107.543825699467[/C][C]-1.14382569946672[/C][/ROW]
[ROW][C]37[/C][C]106.1[/C][C]106.923058822574[/C][C]-0.823058822574485[/C][/ROW]
[ROW][C]38[/C][C]105.9[/C][C]106.418105940699[/C][C]-0.518105940698526[/C][/ROW]
[ROW][C]39[/C][C]106.1[/C][C]106.534458567706[/C][C]-0.434458567706437[/C][/ROW]
[ROW][C]40[/C][C]105.9[/C][C]106.257675262376[/C][C]-0.357675262376115[/C][/ROW]
[ROW][C]41[/C][C]105.8[/C][C]106.113079033449[/C][C]-0.313079033449403[/C][/ROW]
[ROW][C]42[/C][C]105.7[/C][C]105.782433015966[/C][C]-0.082433015965776[/C][/ROW]
[ROW][C]43[/C][C]105.6[/C][C]105.722759393187[/C][C]-0.122759393186745[/C][/ROW]
[ROW][C]44[/C][C]105.3[/C][C]105.290912167921[/C][C]0.00908783207928167[/C][/ROW]
[ROW][C]45[/C][C]105.5[/C][C]105.286686065860[/C][C]0.213313934140147[/C][/ROW]
[ROW][C]46[/C][C]106.5[/C][C]106.342089836933[/C][C]0.157910163066861[/C][/ROW]
[ROW][C]47[/C][C]106.5[/C][C]106.552083099975[/C][C]-0.0520830999748357[/C][/ROW]
[ROW][C]48[/C][C]106.1[/C][C]105.980296426165[/C][C]0.119703573834622[/C][/ROW]
[ROW][C]49[/C][C]105.9[/C][C]105.708234105243[/C][C]0.191765894757368[/C][/ROW]
[ROW][C]50[/C][C]105.8[/C][C]105.744129106095[/C][C]0.0558708939050803[/C][/ROW]
[ROW][C]51[/C][C]106.2[/C][C]106.017042962314[/C][C]0.182957037686382[/C][/ROW]
[ROW][C]52[/C][C]106.5[/C][C]105.901565165867[/C][C]0.598434834132834[/C][/ROW]
[ROW][C]53[/C][C]106.6[/C][C]105.892180907623[/C][C]0.707819092377494[/C][/ROW]
[ROW][C]54[/C][C]106.7[/C][C]106.050195696464[/C][C]0.649804303536497[/C][/ROW]
[ROW][C]55[/C][C]106.6[/C][C]105.938334997281[/C][C]0.661665002719125[/C][/ROW]
[ROW][C]56[/C][C]106.5[/C][C]105.988032158830[/C][C]0.511967841170114[/C][/ROW]
[ROW][C]57[/C][C]106.8[/C][C]106.296928515191[/C][C]0.50307148480937[/C][/ROW]
[ROW][C]58[/C][C]107.8[/C][C]107.516009934984[/C][C]0.283990065015698[/C][/ROW]
[ROW][C]59[/C][C]107.9[/C][C]107.389159341239[/C][C]0.510840658760887[/C][/ROW]
[ROW][C]60[/C][C]107.4[/C][C]106.931235379583[/C][C]0.468764620417040[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58518&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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
1109108.6555882663290.34441173367093
2108.6108.3902215079420.209778492057694
3108.8108.6062040080840.193795991915651
4108.5108.4219341563790.0780658436214021
5108.3108.2465001095770.0534998904229708
6108.2107.972785448170.227214551829943
7108107.9320889440830.0679110559167612
8107.9107.8109920374020.089007962597716
9108107.8613251515820.138674848418444
10109.3108.8787746852700.421225314729592
11109.6108.9701609564860.629839043514256
12109108.4054907021860.594509297814142
13108.7108.1191955422440.580804457756047
14108.3107.7589431903960.541056809603818
15108.4107.8373415800200.562658419980364
16107.8107.7076309445540.0923690554459752
17107.8107.6650367285980.134963271402020
18107.6107.675978847574-0.0759788475742943
19107.7107.4953260931320.204673906867644
20107.6107.2603664742980.339633525701897
21107.6107.4720050973610.127994902638775
22108.6108.617550182223-0.0175501822225505
23108.6108.697075754255-0.0970757542552465
24108.2108.239151792599-0.0391517925990848
25107.5107.793923263610-0.29392326360986
26107.1107.388600254868-0.288600254868066
27107107.504952881876-0.504952881875959
28106.9107.311194470824-0.411194470824097
29106.6107.183203220753-0.583203220753081
30106.3107.018606991826-0.71860699182637
31106.1106.911490572317-0.811490572316786
32105.9106.849697161549-0.94969716154901
33106106.983055170007-0.983055170006736
34107.2108.045575360590-0.8455753605896
35107.2108.191520848045-0.99152084804506
36106.4107.543825699467-1.14382569946672
37106.1106.923058822574-0.823058822574485
38105.9106.418105940699-0.518105940698526
39106.1106.534458567706-0.434458567706437
40105.9106.257675262376-0.357675262376115
41105.8106.113079033449-0.313079033449403
42105.7105.782433015966-0.082433015965776
43105.6105.722759393187-0.122759393186745
44105.3105.2909121679210.00908783207928167
45105.5105.2866860658600.213313934140147
46106.5106.3420898369330.157910163066861
47106.5106.552083099975-0.0520830999748357
48106.1105.9802964261650.119703573834622
49105.9105.7082341052430.191765894757368
50105.8105.7441291060950.0558708939050803
51106.2106.0170429623140.182957037686382
52106.5105.9015651658670.598434834132834
53106.6105.8921809076230.707819092377494
54106.7106.0501956964640.649804303536497
55106.6105.9383349972810.661665002719125
56106.5105.9880321588300.511967841170114
57106.8106.2969285151910.50307148480937
58107.8107.5160099349840.283990065015698
59107.9107.3891593412390.510840658760887
60107.4106.9312353795830.468764620417040







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01984760529142800.03969521058285590.980152394708572
180.007779130859714940.01555826171942990.992220869140285
190.003076544806740090.006153089613480170.99692345519326
200.001422969751345880.002845939502691760.998577030248654
210.000502677475819790.001005354951639580.99949732252418
220.0005366088231624070.001073217646324810.999463391176838
230.003179748868134320.006359497736268640.996820251131866
240.006314267004663570.01262853400932710.993685732995336
250.05415684265462440.1083136853092490.945843157345376
260.2961631517076040.5923263034152070.703836848292396
270.7903257075810180.4193485848379630.209674292418982
280.9445052342682250.1109895314635490.0554947657317745
290.9873236228048820.02535275439023640.0126763771951182
300.9942398137751130.01152037244977480.00576018622488741
310.9969162492861940.006167501427612220.00308375071380611
320.9973272314481060.005345537103787420.00267276855189371
330.9963356089441980.007328782111604050.00366439105580203
340.996978695593470.006042608813059230.00302130440652961
350.9966634362215050.006673127556989980.00333656377849499
360.9968040174567160.006391965086567910.00319598254328395
370.993323471555260.01335305688948140.0066765284447407
380.9966567899965780.006686420006844220.00334321000342211
390.9999361321413350.0001277357173303636.38678586651816e-05
400.9998948441202820.0002103117594370110.000105155879718505
410.9993940738926220.001211852214755760.000605926107377879
420.996966847784660.006066304430679630.00303315221533982
430.9909945062915570.01801098741688570.00900549370844284

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0198476052914280 & 0.0396952105828559 & 0.980152394708572 \tabularnewline
18 & 0.00777913085971494 & 0.0155582617194299 & 0.992220869140285 \tabularnewline
19 & 0.00307654480674009 & 0.00615308961348017 & 0.99692345519326 \tabularnewline
20 & 0.00142296975134588 & 0.00284593950269176 & 0.998577030248654 \tabularnewline
21 & 0.00050267747581979 & 0.00100535495163958 & 0.99949732252418 \tabularnewline
22 & 0.000536608823162407 & 0.00107321764632481 & 0.999463391176838 \tabularnewline
23 & 0.00317974886813432 & 0.00635949773626864 & 0.996820251131866 \tabularnewline
24 & 0.00631426700466357 & 0.0126285340093271 & 0.993685732995336 \tabularnewline
25 & 0.0541568426546244 & 0.108313685309249 & 0.945843157345376 \tabularnewline
26 & 0.296163151707604 & 0.592326303415207 & 0.703836848292396 \tabularnewline
27 & 0.790325707581018 & 0.419348584837963 & 0.209674292418982 \tabularnewline
28 & 0.944505234268225 & 0.110989531463549 & 0.0554947657317745 \tabularnewline
29 & 0.987323622804882 & 0.0253527543902364 & 0.0126763771951182 \tabularnewline
30 & 0.994239813775113 & 0.0115203724497748 & 0.00576018622488741 \tabularnewline
31 & 0.996916249286194 & 0.00616750142761222 & 0.00308375071380611 \tabularnewline
32 & 0.997327231448106 & 0.00534553710378742 & 0.00267276855189371 \tabularnewline
33 & 0.996335608944198 & 0.00732878211160405 & 0.00366439105580203 \tabularnewline
34 & 0.99697869559347 & 0.00604260881305923 & 0.00302130440652961 \tabularnewline
35 & 0.996663436221505 & 0.00667312755698998 & 0.00333656377849499 \tabularnewline
36 & 0.996804017456716 & 0.00639196508656791 & 0.00319598254328395 \tabularnewline
37 & 0.99332347155526 & 0.0133530568894814 & 0.0066765284447407 \tabularnewline
38 & 0.996656789996578 & 0.00668642000684422 & 0.00334321000342211 \tabularnewline
39 & 0.999936132141335 & 0.000127735717330363 & 6.38678586651816e-05 \tabularnewline
40 & 0.999894844120282 & 0.000210311759437011 & 0.000105155879718505 \tabularnewline
41 & 0.999394073892622 & 0.00121185221475576 & 0.000605926107377879 \tabularnewline
42 & 0.99696684778466 & 0.00606630443067963 & 0.00303315221533982 \tabularnewline
43 & 0.990994506291557 & 0.0180109874168857 & 0.00900549370844284 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58518&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.0198476052914280[/C][C]0.0396952105828559[/C][C]0.980152394708572[/C][/ROW]
[ROW][C]18[/C][C]0.00777913085971494[/C][C]0.0155582617194299[/C][C]0.992220869140285[/C][/ROW]
[ROW][C]19[/C][C]0.00307654480674009[/C][C]0.00615308961348017[/C][C]0.99692345519326[/C][/ROW]
[ROW][C]20[/C][C]0.00142296975134588[/C][C]0.00284593950269176[/C][C]0.998577030248654[/C][/ROW]
[ROW][C]21[/C][C]0.00050267747581979[/C][C]0.00100535495163958[/C][C]0.99949732252418[/C][/ROW]
[ROW][C]22[/C][C]0.000536608823162407[/C][C]0.00107321764632481[/C][C]0.999463391176838[/C][/ROW]
[ROW][C]23[/C][C]0.00317974886813432[/C][C]0.00635949773626864[/C][C]0.996820251131866[/C][/ROW]
[ROW][C]24[/C][C]0.00631426700466357[/C][C]0.0126285340093271[/C][C]0.993685732995336[/C][/ROW]
[ROW][C]25[/C][C]0.0541568426546244[/C][C]0.108313685309249[/C][C]0.945843157345376[/C][/ROW]
[ROW][C]26[/C][C]0.296163151707604[/C][C]0.592326303415207[/C][C]0.703836848292396[/C][/ROW]
[ROW][C]27[/C][C]0.790325707581018[/C][C]0.419348584837963[/C][C]0.209674292418982[/C][/ROW]
[ROW][C]28[/C][C]0.944505234268225[/C][C]0.110989531463549[/C][C]0.0554947657317745[/C][/ROW]
[ROW][C]29[/C][C]0.987323622804882[/C][C]0.0253527543902364[/C][C]0.0126763771951182[/C][/ROW]
[ROW][C]30[/C][C]0.994239813775113[/C][C]0.0115203724497748[/C][C]0.00576018622488741[/C][/ROW]
[ROW][C]31[/C][C]0.996916249286194[/C][C]0.00616750142761222[/C][C]0.00308375071380611[/C][/ROW]
[ROW][C]32[/C][C]0.997327231448106[/C][C]0.00534553710378742[/C][C]0.00267276855189371[/C][/ROW]
[ROW][C]33[/C][C]0.996335608944198[/C][C]0.00732878211160405[/C][C]0.00366439105580203[/C][/ROW]
[ROW][C]34[/C][C]0.99697869559347[/C][C]0.00604260881305923[/C][C]0.00302130440652961[/C][/ROW]
[ROW][C]35[/C][C]0.996663436221505[/C][C]0.00667312755698998[/C][C]0.00333656377849499[/C][/ROW]
[ROW][C]36[/C][C]0.996804017456716[/C][C]0.00639196508656791[/C][C]0.00319598254328395[/C][/ROW]
[ROW][C]37[/C][C]0.99332347155526[/C][C]0.0133530568894814[/C][C]0.0066765284447407[/C][/ROW]
[ROW][C]38[/C][C]0.996656789996578[/C][C]0.00668642000684422[/C][C]0.00334321000342211[/C][/ROW]
[ROW][C]39[/C][C]0.999936132141335[/C][C]0.000127735717330363[/C][C]6.38678586651816e-05[/C][/ROW]
[ROW][C]40[/C][C]0.999894844120282[/C][C]0.000210311759437011[/C][C]0.000105155879718505[/C][/ROW]
[ROW][C]41[/C][C]0.999394073892622[/C][C]0.00121185221475576[/C][C]0.000605926107377879[/C][/ROW]
[ROW][C]42[/C][C]0.99696684778466[/C][C]0.00606630443067963[/C][C]0.00303315221533982[/C][/ROW]
[ROW][C]43[/C][C]0.990994506291557[/C][C]0.0180109874168857[/C][C]0.00900549370844284[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58518&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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.01984760529142800.03969521058285590.980152394708572
180.007779130859714940.01555826171942990.992220869140285
190.003076544806740090.006153089613480170.99692345519326
200.001422969751345880.002845939502691760.998577030248654
210.000502677475819790.001005354951639580.99949732252418
220.0005366088231624070.001073217646324810.999463391176838
230.003179748868134320.006359497736268640.996820251131866
240.006314267004663570.01262853400932710.993685732995336
250.05415684265462440.1083136853092490.945843157345376
260.2961631517076040.5923263034152070.703836848292396
270.7903257075810180.4193485848379630.209674292418982
280.9445052342682250.1109895314635490.0554947657317745
290.9873236228048820.02535275439023640.0126763771951182
300.9942398137751130.01152037244977480.00576018622488741
310.9969162492861940.006167501427612220.00308375071380611
320.9973272314481060.005345537103787420.00267276855189371
330.9963356089441980.007328782111604050.00366439105580203
340.996978695593470.006042608813059230.00302130440652961
350.9966634362215050.006673127556989980.00333656377849499
360.9968040174567160.006391965086567910.00319598254328395
370.993323471555260.01335305688948140.0066765284447407
380.9966567899965780.006686420006844220.00334321000342211
390.9999361321413350.0001277357173303636.38678586651816e-05
400.9998948441202820.0002103117594370110.000105155879718505
410.9993940738926220.001211852214755760.000605926107377879
420.996966847784660.006066304430679630.00303315221533982
430.9909945062915570.01801098741688570.00900549370844284







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level160.592592592592593NOK
5% type I error level230.851851851851852NOK
10% type I error level230.851851851851852NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58518&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 level160.592592592592593NOK
5% type I error level230.851851851851852NOK
10% type I error level230.851851851851852NOK



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