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, 20 Nov 2009 11:57:28 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/20/t1258743777qybx3u440g518k3.htm/, Retrieved Thu, 25 Apr 2024 01:15:12 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58424, Retrieved Thu, 25 Apr 2024 01:15:12 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact143
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Linear R...] [2009-11-20 18:57:28] [b42c0aeada8a5fa89825c81e73c10645] [Current]
Feedback Forum

Post a new message
Dataseries X:
9.3	104.1
8.7	90.2
8.2	99.2
8.3	116.5
8.5	98.4
8.6	90.6
8.5	130.5
8.2	107.4
8.1	106
7.9	196.5
8.6	107.8
8.7	90.5
8.7	123.8
8.5	114.7
8.4	115.3
8.5	197
8.7	88.4
8.7	93.8
8.6	111.3
8.5	105.9
8.3	123.6
8	171
8.2	97
8.1	99.2
8.1	126.6
8	103.4
7.9	121.3
7.9	129.6
8	110.8
8	98.9
7.9	122.8
8	120.9
7.7	133.1
7.2	203.1
7.5	110.2
7.3	119.5
7	135.1
7	113.9
7	137.4
7.2	157.1
7.3	126.4
7.1	112.2
6.8	128.8
6.4	136.8
6.1	156.5
6.5	215.2
7.7	146.7
7.9	130.8
7.5	133.1
6.9	153.4
6.6	159.9
6.9	174.6
7.7	145
8	112.9
8	137.8
7.7	150.6
7.3	162.1
7.4	226.4
8.1	112.3
8.3	126.3




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 324.706517146108 -24.8824963432473X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  324.706517146108 -24.8824963432473X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58424&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  324.706517146108 -24.8824963432473X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58424&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 324.706517146108 -24.8824963432473X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)324.70651714610840.2488058.067500
X-24.88249634324735.111377-4.86819e-065e-06

\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) & 324.706517146108 & 40.248805 & 8.0675 & 0 & 0 \tabularnewline
X & -24.8824963432473 & 5.111377 & -4.8681 & 9e-06 & 5e-06 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58424&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]324.706517146108[/C][C]40.248805[/C][C]8.0675[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]X[/C][C]-24.8824963432473[/C][C]5.111377[/C][C]-4.8681[/C][C]9e-06[/C][C]5e-06[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58424&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58424&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)324.70651714610840.2488058.067500
X-24.88249634324735.111377-4.86819e-065e-06







Multiple Linear Regression - Regression Statistics
Multiple R0.538580087796469
R-squared0.290068510970852
Adjusted R-squared0.277828312884143
F-TEST (value)23.6980242407851
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value9.03944554009328e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.8959936560185
Sum Squared Residuals41956.8795351861

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.538580087796469 \tabularnewline
R-squared & 0.290068510970852 \tabularnewline
Adjusted R-squared & 0.277828312884143 \tabularnewline
F-TEST (value) & 23.6980242407851 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 9.03944554009328e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 26.8959936560185 \tabularnewline
Sum Squared Residuals & 41956.8795351861 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58424&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.538580087796469[/C][/ROW]
[ROW][C]R-squared[/C][C]0.290068510970852[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.277828312884143[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]23.6980242407851[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]9.03944554009328e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]26.8959936560185[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]41956.8795351861[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58424&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58424&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.538580087796469
R-squared0.290068510970852
Adjusted R-squared0.277828312884143
F-TEST (value)23.6980242407851
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value9.03944554009328e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation26.8959936560185
Sum Squared Residuals41956.8795351861







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1104.193.299301153909910.8006988460901
290.2108.228798959857-18.0287989598568
399.2120.670047131481-21.4700471314805
4116.5118.181797497156-1.68179749715578
598.4113.205298228506-14.8052982285063
690.6110.717048594182-20.1170485941816
7130.5113.20529822850617.2947017714937
8107.4120.670047131481-13.2700471314805
9106123.158296765805-17.1582967658053
10196.5128.13479603445568.3652039655453
11107.8110.717048594182-2.91704859418163
1290.5108.228798959857-17.7287989598569
13123.8108.22879895985715.5712010401431
14114.7113.2052982285061.49470177149366
15115.3115.693547862831-0.393547862831066
16197113.20529822850683.7947017714937
1788.4108.228798959857-19.8287989598569
1893.8108.228798959857-14.4287989598569
19111.3110.7170485941820.58295140581837
20105.9113.205298228506-7.30529822850634
21123.6118.1817974971565.41820250284421
22171125.6465464001345.35345359987
2397120.670047131481-23.6700471314805
2499.2123.158296765805-23.9582967658053
25126.6123.1582967658053.44170323419473
26103.4125.64654640013-22.2465464001300
27121.3128.134796034455-6.8347960344547
28129.6128.1347960344551.46520396554529
29110.8125.64654640013-14.8465464001300
3098.9125.64654640013-26.74654640013
31122.8128.134796034455-5.3347960344547
32120.9125.64654640013-4.74654640012998
33133.1133.111295303104-0.0112953031041694
34203.1145.55254347472857.5474565252722
35110.2138.087794571754-27.8877945717536
36119.5143.064293840403-23.5642938404031
37135.1150.529042743377-15.4290427433773
38113.9150.529042743377-36.6290427433773
39137.4150.529042743377-13.1290427433773
40157.1145.55254347472811.5474565252722
41126.4143.064293840403-16.6642938404031
42112.2148.040793109053-35.8407931090525
43128.8155.505542012027-26.7055420120267
44136.8165.458540549326-28.6585405493256
45156.5172.923289452300-16.4232894522998
46215.2162.97029091500152.2297090849991
47146.7133.11129530310413.5887046968958
48130.8128.1347960344552.66520396554531
49133.1138.087794571754-4.98779457175363
50153.4153.0172923777020.382707622298027
51159.9160.482041280676-0.582041280676173
52174.6153.01729237770221.582707622298
53145133.11129530310411.8887046968958
54112.9125.64654640013-12.7465464001300
55137.8125.6465464001312.1534535998700
56150.6133.11129530310417.4887046968958
57162.1143.06429384040319.0357061595969
58226.4140.57604420607885.8239557939217
59112.3123.158296765805-10.8582967658053
60126.3118.1817974971568.11820250284421

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 104.1 & 93.2993011539099 & 10.8006988460901 \tabularnewline
2 & 90.2 & 108.228798959857 & -18.0287989598568 \tabularnewline
3 & 99.2 & 120.670047131481 & -21.4700471314805 \tabularnewline
4 & 116.5 & 118.181797497156 & -1.68179749715578 \tabularnewline
5 & 98.4 & 113.205298228506 & -14.8052982285063 \tabularnewline
6 & 90.6 & 110.717048594182 & -20.1170485941816 \tabularnewline
7 & 130.5 & 113.205298228506 & 17.2947017714937 \tabularnewline
8 & 107.4 & 120.670047131481 & -13.2700471314805 \tabularnewline
9 & 106 & 123.158296765805 & -17.1582967658053 \tabularnewline
10 & 196.5 & 128.134796034455 & 68.3652039655453 \tabularnewline
11 & 107.8 & 110.717048594182 & -2.91704859418163 \tabularnewline
12 & 90.5 & 108.228798959857 & -17.7287989598569 \tabularnewline
13 & 123.8 & 108.228798959857 & 15.5712010401431 \tabularnewline
14 & 114.7 & 113.205298228506 & 1.49470177149366 \tabularnewline
15 & 115.3 & 115.693547862831 & -0.393547862831066 \tabularnewline
16 & 197 & 113.205298228506 & 83.7947017714937 \tabularnewline
17 & 88.4 & 108.228798959857 & -19.8287989598569 \tabularnewline
18 & 93.8 & 108.228798959857 & -14.4287989598569 \tabularnewline
19 & 111.3 & 110.717048594182 & 0.58295140581837 \tabularnewline
20 & 105.9 & 113.205298228506 & -7.30529822850634 \tabularnewline
21 & 123.6 & 118.181797497156 & 5.41820250284421 \tabularnewline
22 & 171 & 125.64654640013 & 45.35345359987 \tabularnewline
23 & 97 & 120.670047131481 & -23.6700471314805 \tabularnewline
24 & 99.2 & 123.158296765805 & -23.9582967658053 \tabularnewline
25 & 126.6 & 123.158296765805 & 3.44170323419473 \tabularnewline
26 & 103.4 & 125.64654640013 & -22.2465464001300 \tabularnewline
27 & 121.3 & 128.134796034455 & -6.8347960344547 \tabularnewline
28 & 129.6 & 128.134796034455 & 1.46520396554529 \tabularnewline
29 & 110.8 & 125.64654640013 & -14.8465464001300 \tabularnewline
30 & 98.9 & 125.64654640013 & -26.74654640013 \tabularnewline
31 & 122.8 & 128.134796034455 & -5.3347960344547 \tabularnewline
32 & 120.9 & 125.64654640013 & -4.74654640012998 \tabularnewline
33 & 133.1 & 133.111295303104 & -0.0112953031041694 \tabularnewline
34 & 203.1 & 145.552543474728 & 57.5474565252722 \tabularnewline
35 & 110.2 & 138.087794571754 & -27.8877945717536 \tabularnewline
36 & 119.5 & 143.064293840403 & -23.5642938404031 \tabularnewline
37 & 135.1 & 150.529042743377 & -15.4290427433773 \tabularnewline
38 & 113.9 & 150.529042743377 & -36.6290427433773 \tabularnewline
39 & 137.4 & 150.529042743377 & -13.1290427433773 \tabularnewline
40 & 157.1 & 145.552543474728 & 11.5474565252722 \tabularnewline
41 & 126.4 & 143.064293840403 & -16.6642938404031 \tabularnewline
42 & 112.2 & 148.040793109053 & -35.8407931090525 \tabularnewline
43 & 128.8 & 155.505542012027 & -26.7055420120267 \tabularnewline
44 & 136.8 & 165.458540549326 & -28.6585405493256 \tabularnewline
45 & 156.5 & 172.923289452300 & -16.4232894522998 \tabularnewline
46 & 215.2 & 162.970290915001 & 52.2297090849991 \tabularnewline
47 & 146.7 & 133.111295303104 & 13.5887046968958 \tabularnewline
48 & 130.8 & 128.134796034455 & 2.66520396554531 \tabularnewline
49 & 133.1 & 138.087794571754 & -4.98779457175363 \tabularnewline
50 & 153.4 & 153.017292377702 & 0.382707622298027 \tabularnewline
51 & 159.9 & 160.482041280676 & -0.582041280676173 \tabularnewline
52 & 174.6 & 153.017292377702 & 21.582707622298 \tabularnewline
53 & 145 & 133.111295303104 & 11.8887046968958 \tabularnewline
54 & 112.9 & 125.64654640013 & -12.7465464001300 \tabularnewline
55 & 137.8 & 125.64654640013 & 12.1534535998700 \tabularnewline
56 & 150.6 & 133.111295303104 & 17.4887046968958 \tabularnewline
57 & 162.1 & 143.064293840403 & 19.0357061595969 \tabularnewline
58 & 226.4 & 140.576044206078 & 85.8239557939217 \tabularnewline
59 & 112.3 & 123.158296765805 & -10.8582967658053 \tabularnewline
60 & 126.3 & 118.181797497156 & 8.11820250284421 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58424&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]104.1[/C][C]93.2993011539099[/C][C]10.8006988460901[/C][/ROW]
[ROW][C]2[/C][C]90.2[/C][C]108.228798959857[/C][C]-18.0287989598568[/C][/ROW]
[ROW][C]3[/C][C]99.2[/C][C]120.670047131481[/C][C]-21.4700471314805[/C][/ROW]
[ROW][C]4[/C][C]116.5[/C][C]118.181797497156[/C][C]-1.68179749715578[/C][/ROW]
[ROW][C]5[/C][C]98.4[/C][C]113.205298228506[/C][C]-14.8052982285063[/C][/ROW]
[ROW][C]6[/C][C]90.6[/C][C]110.717048594182[/C][C]-20.1170485941816[/C][/ROW]
[ROW][C]7[/C][C]130.5[/C][C]113.205298228506[/C][C]17.2947017714937[/C][/ROW]
[ROW][C]8[/C][C]107.4[/C][C]120.670047131481[/C][C]-13.2700471314805[/C][/ROW]
[ROW][C]9[/C][C]106[/C][C]123.158296765805[/C][C]-17.1582967658053[/C][/ROW]
[ROW][C]10[/C][C]196.5[/C][C]128.134796034455[/C][C]68.3652039655453[/C][/ROW]
[ROW][C]11[/C][C]107.8[/C][C]110.717048594182[/C][C]-2.91704859418163[/C][/ROW]
[ROW][C]12[/C][C]90.5[/C][C]108.228798959857[/C][C]-17.7287989598569[/C][/ROW]
[ROW][C]13[/C][C]123.8[/C][C]108.228798959857[/C][C]15.5712010401431[/C][/ROW]
[ROW][C]14[/C][C]114.7[/C][C]113.205298228506[/C][C]1.49470177149366[/C][/ROW]
[ROW][C]15[/C][C]115.3[/C][C]115.693547862831[/C][C]-0.393547862831066[/C][/ROW]
[ROW][C]16[/C][C]197[/C][C]113.205298228506[/C][C]83.7947017714937[/C][/ROW]
[ROW][C]17[/C][C]88.4[/C][C]108.228798959857[/C][C]-19.8287989598569[/C][/ROW]
[ROW][C]18[/C][C]93.8[/C][C]108.228798959857[/C][C]-14.4287989598569[/C][/ROW]
[ROW][C]19[/C][C]111.3[/C][C]110.717048594182[/C][C]0.58295140581837[/C][/ROW]
[ROW][C]20[/C][C]105.9[/C][C]113.205298228506[/C][C]-7.30529822850634[/C][/ROW]
[ROW][C]21[/C][C]123.6[/C][C]118.181797497156[/C][C]5.41820250284421[/C][/ROW]
[ROW][C]22[/C][C]171[/C][C]125.64654640013[/C][C]45.35345359987[/C][/ROW]
[ROW][C]23[/C][C]97[/C][C]120.670047131481[/C][C]-23.6700471314805[/C][/ROW]
[ROW][C]24[/C][C]99.2[/C][C]123.158296765805[/C][C]-23.9582967658053[/C][/ROW]
[ROW][C]25[/C][C]126.6[/C][C]123.158296765805[/C][C]3.44170323419473[/C][/ROW]
[ROW][C]26[/C][C]103.4[/C][C]125.64654640013[/C][C]-22.2465464001300[/C][/ROW]
[ROW][C]27[/C][C]121.3[/C][C]128.134796034455[/C][C]-6.8347960344547[/C][/ROW]
[ROW][C]28[/C][C]129.6[/C][C]128.134796034455[/C][C]1.46520396554529[/C][/ROW]
[ROW][C]29[/C][C]110.8[/C][C]125.64654640013[/C][C]-14.8465464001300[/C][/ROW]
[ROW][C]30[/C][C]98.9[/C][C]125.64654640013[/C][C]-26.74654640013[/C][/ROW]
[ROW][C]31[/C][C]122.8[/C][C]128.134796034455[/C][C]-5.3347960344547[/C][/ROW]
[ROW][C]32[/C][C]120.9[/C][C]125.64654640013[/C][C]-4.74654640012998[/C][/ROW]
[ROW][C]33[/C][C]133.1[/C][C]133.111295303104[/C][C]-0.0112953031041694[/C][/ROW]
[ROW][C]34[/C][C]203.1[/C][C]145.552543474728[/C][C]57.5474565252722[/C][/ROW]
[ROW][C]35[/C][C]110.2[/C][C]138.087794571754[/C][C]-27.8877945717536[/C][/ROW]
[ROW][C]36[/C][C]119.5[/C][C]143.064293840403[/C][C]-23.5642938404031[/C][/ROW]
[ROW][C]37[/C][C]135.1[/C][C]150.529042743377[/C][C]-15.4290427433773[/C][/ROW]
[ROW][C]38[/C][C]113.9[/C][C]150.529042743377[/C][C]-36.6290427433773[/C][/ROW]
[ROW][C]39[/C][C]137.4[/C][C]150.529042743377[/C][C]-13.1290427433773[/C][/ROW]
[ROW][C]40[/C][C]157.1[/C][C]145.552543474728[/C][C]11.5474565252722[/C][/ROW]
[ROW][C]41[/C][C]126.4[/C][C]143.064293840403[/C][C]-16.6642938404031[/C][/ROW]
[ROW][C]42[/C][C]112.2[/C][C]148.040793109053[/C][C]-35.8407931090525[/C][/ROW]
[ROW][C]43[/C][C]128.8[/C][C]155.505542012027[/C][C]-26.7055420120267[/C][/ROW]
[ROW][C]44[/C][C]136.8[/C][C]165.458540549326[/C][C]-28.6585405493256[/C][/ROW]
[ROW][C]45[/C][C]156.5[/C][C]172.923289452300[/C][C]-16.4232894522998[/C][/ROW]
[ROW][C]46[/C][C]215.2[/C][C]162.970290915001[/C][C]52.2297090849991[/C][/ROW]
[ROW][C]47[/C][C]146.7[/C][C]133.111295303104[/C][C]13.5887046968958[/C][/ROW]
[ROW][C]48[/C][C]130.8[/C][C]128.134796034455[/C][C]2.66520396554531[/C][/ROW]
[ROW][C]49[/C][C]133.1[/C][C]138.087794571754[/C][C]-4.98779457175363[/C][/ROW]
[ROW][C]50[/C][C]153.4[/C][C]153.017292377702[/C][C]0.382707622298027[/C][/ROW]
[ROW][C]51[/C][C]159.9[/C][C]160.482041280676[/C][C]-0.582041280676173[/C][/ROW]
[ROW][C]52[/C][C]174.6[/C][C]153.017292377702[/C][C]21.582707622298[/C][/ROW]
[ROW][C]53[/C][C]145[/C][C]133.111295303104[/C][C]11.8887046968958[/C][/ROW]
[ROW][C]54[/C][C]112.9[/C][C]125.64654640013[/C][C]-12.7465464001300[/C][/ROW]
[ROW][C]55[/C][C]137.8[/C][C]125.64654640013[/C][C]12.1534535998700[/C][/ROW]
[ROW][C]56[/C][C]150.6[/C][C]133.111295303104[/C][C]17.4887046968958[/C][/ROW]
[ROW][C]57[/C][C]162.1[/C][C]143.064293840403[/C][C]19.0357061595969[/C][/ROW]
[ROW][C]58[/C][C]226.4[/C][C]140.576044206078[/C][C]85.8239557939217[/C][/ROW]
[ROW][C]59[/C][C]112.3[/C][C]123.158296765805[/C][C]-10.8582967658053[/C][/ROW]
[ROW][C]60[/C][C]126.3[/C][C]118.181797497156[/C][C]8.11820250284421[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58424&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58424&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
1104.193.299301153909910.8006988460901
290.2108.228798959857-18.0287989598568
399.2120.670047131481-21.4700471314805
4116.5118.181797497156-1.68179749715578
598.4113.205298228506-14.8052982285063
690.6110.717048594182-20.1170485941816
7130.5113.20529822850617.2947017714937
8107.4120.670047131481-13.2700471314805
9106123.158296765805-17.1582967658053
10196.5128.13479603445568.3652039655453
11107.8110.717048594182-2.91704859418163
1290.5108.228798959857-17.7287989598569
13123.8108.22879895985715.5712010401431
14114.7113.2052982285061.49470177149366
15115.3115.693547862831-0.393547862831066
16197113.20529822850683.7947017714937
1788.4108.228798959857-19.8287989598569
1893.8108.228798959857-14.4287989598569
19111.3110.7170485941820.58295140581837
20105.9113.205298228506-7.30529822850634
21123.6118.1817974971565.41820250284421
22171125.6465464001345.35345359987
2397120.670047131481-23.6700471314805
2499.2123.158296765805-23.9582967658053
25126.6123.1582967658053.44170323419473
26103.4125.64654640013-22.2465464001300
27121.3128.134796034455-6.8347960344547
28129.6128.1347960344551.46520396554529
29110.8125.64654640013-14.8465464001300
3098.9125.64654640013-26.74654640013
31122.8128.134796034455-5.3347960344547
32120.9125.64654640013-4.74654640012998
33133.1133.111295303104-0.0112953031041694
34203.1145.55254347472857.5474565252722
35110.2138.087794571754-27.8877945717536
36119.5143.064293840403-23.5642938404031
37135.1150.529042743377-15.4290427433773
38113.9150.529042743377-36.6290427433773
39137.4150.529042743377-13.1290427433773
40157.1145.55254347472811.5474565252722
41126.4143.064293840403-16.6642938404031
42112.2148.040793109053-35.8407931090525
43128.8155.505542012027-26.7055420120267
44136.8165.458540549326-28.6585405493256
45156.5172.923289452300-16.4232894522998
46215.2162.97029091500152.2297090849991
47146.7133.11129530310413.5887046968958
48130.8128.1347960344552.66520396554531
49133.1138.087794571754-4.98779457175363
50153.4153.0172923777020.382707622298027
51159.9160.482041280676-0.582041280676173
52174.6153.01729237770221.582707622298
53145133.11129530310411.8887046968958
54112.9125.64654640013-12.7465464001300
55137.8125.6465464001312.1534535998700
56150.6133.11129530310417.4887046968958
57162.1143.06429384040319.0357061595969
58226.4140.57604420607885.8239557939217
59112.3123.158296765805-10.8582967658053
60126.3118.1817974971568.11820250284421







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.07614576085173170.1522915217034630.923854239148268
60.03824586634239050.0764917326847810.96175413365761
70.09987605397267210.1997521079453440.900123946027328
80.04761779575454260.09523559150908510.952382204245457
90.02151127070809810.04302254141619610.978488729291902
100.6454840782094120.7090318435811750.354515921790588
110.5413157001626920.9173685996746170.458684299837308
120.4625347865501470.9250695731002950.537465213449853
130.4159158452478420.8318316904956850.584084154752158
140.3244774030254080.6489548060508150.675522596974592
150.2437495354055790.4874990708111590.75625046459442
160.8629101627450440.2741796745099110.137089837254956
170.8353370689023930.3293258621952140.164662931097607
180.7911647112537730.4176705774924530.208835288746227
190.7268055165400080.5463889669199840.273194483459992
200.661172952530370.677654094939260.33882704746963
210.5856169857244840.8287660285510330.414383014275516
220.6588231084856790.6823537830286420.341176891514321
230.6658635181610850.6682729636778290.334136481838915
240.671420252582070.6571594948358610.328579747417930
250.5996688784542490.8006622430915020.400331121545751
260.5901521750472250.819695649905550.409847824952775
270.5237561299053870.9524877401892250.476243870094613
280.4474279579114830.8948559158229660.552572042088517
290.3996228559878170.7992457119756340.600377144012183
300.404383724997430.808767449994860.59561627500257
310.337203062574870.674406125149740.66279693742513
320.2750349661792030.5500699323584050.724965033820797
330.21547253206340.43094506412680.7845274679366
340.4052086737727720.8104173475455440.594791326227228
350.4362978193510780.8725956387021560.563702180648922
360.4299999140481460.8599998280962910.570000085951854
370.3792564863243010.7585129726486030.620743513675698
380.4342868889049270.8685737778098540.565713111095073
390.3744580894927610.7489161789855220.625541910507239
400.3138275783258690.6276551566517380.686172421674131
410.2752810322830360.5505620645660720.724718967716964
420.3380433380927070.6760866761854130.661956661907293
430.3521729814603530.7043459629207050.647827018539647
440.4157384401719750.831476880343950.584261559828025
450.5110488464108420.9779023071783170.488951153589158
460.6156901478551470.7686197042897070.384309852144853
470.5295504139603870.9408991720792260.470449586039613
480.4356984783283970.8713969566567940.564301521671603
490.3728749985595110.7457499971190210.62712500144049
500.3225418974553080.6450837949106160.677458102544692
510.4052913211960810.8105826423921620.594708678803919
520.4522088344781910.9044176689563830.547791165521809
530.3498269659533640.6996539319067290.650173034046636
540.2956350365845250.5912700731690510.704364963415475
550.1764481372275050.3528962744550090.823551862772495

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0761457608517317 & 0.152291521703463 & 0.923854239148268 \tabularnewline
6 & 0.0382458663423905 & 0.076491732684781 & 0.96175413365761 \tabularnewline
7 & 0.0998760539726721 & 0.199752107945344 & 0.900123946027328 \tabularnewline
8 & 0.0476177957545426 & 0.0952355915090851 & 0.952382204245457 \tabularnewline
9 & 0.0215112707080981 & 0.0430225414161961 & 0.978488729291902 \tabularnewline
10 & 0.645484078209412 & 0.709031843581175 & 0.354515921790588 \tabularnewline
11 & 0.541315700162692 & 0.917368599674617 & 0.458684299837308 \tabularnewline
12 & 0.462534786550147 & 0.925069573100295 & 0.537465213449853 \tabularnewline
13 & 0.415915845247842 & 0.831831690495685 & 0.584084154752158 \tabularnewline
14 & 0.324477403025408 & 0.648954806050815 & 0.675522596974592 \tabularnewline
15 & 0.243749535405579 & 0.487499070811159 & 0.75625046459442 \tabularnewline
16 & 0.862910162745044 & 0.274179674509911 & 0.137089837254956 \tabularnewline
17 & 0.835337068902393 & 0.329325862195214 & 0.164662931097607 \tabularnewline
18 & 0.791164711253773 & 0.417670577492453 & 0.208835288746227 \tabularnewline
19 & 0.726805516540008 & 0.546388966919984 & 0.273194483459992 \tabularnewline
20 & 0.66117295253037 & 0.67765409493926 & 0.33882704746963 \tabularnewline
21 & 0.585616985724484 & 0.828766028551033 & 0.414383014275516 \tabularnewline
22 & 0.658823108485679 & 0.682353783028642 & 0.341176891514321 \tabularnewline
23 & 0.665863518161085 & 0.668272963677829 & 0.334136481838915 \tabularnewline
24 & 0.67142025258207 & 0.657159494835861 & 0.328579747417930 \tabularnewline
25 & 0.599668878454249 & 0.800662243091502 & 0.400331121545751 \tabularnewline
26 & 0.590152175047225 & 0.81969564990555 & 0.409847824952775 \tabularnewline
27 & 0.523756129905387 & 0.952487740189225 & 0.476243870094613 \tabularnewline
28 & 0.447427957911483 & 0.894855915822966 & 0.552572042088517 \tabularnewline
29 & 0.399622855987817 & 0.799245711975634 & 0.600377144012183 \tabularnewline
30 & 0.40438372499743 & 0.80876744999486 & 0.59561627500257 \tabularnewline
31 & 0.33720306257487 & 0.67440612514974 & 0.66279693742513 \tabularnewline
32 & 0.275034966179203 & 0.550069932358405 & 0.724965033820797 \tabularnewline
33 & 0.2154725320634 & 0.4309450641268 & 0.7845274679366 \tabularnewline
34 & 0.405208673772772 & 0.810417347545544 & 0.594791326227228 \tabularnewline
35 & 0.436297819351078 & 0.872595638702156 & 0.563702180648922 \tabularnewline
36 & 0.429999914048146 & 0.859999828096291 & 0.570000085951854 \tabularnewline
37 & 0.379256486324301 & 0.758512972648603 & 0.620743513675698 \tabularnewline
38 & 0.434286888904927 & 0.868573777809854 & 0.565713111095073 \tabularnewline
39 & 0.374458089492761 & 0.748916178985522 & 0.625541910507239 \tabularnewline
40 & 0.313827578325869 & 0.627655156651738 & 0.686172421674131 \tabularnewline
41 & 0.275281032283036 & 0.550562064566072 & 0.724718967716964 \tabularnewline
42 & 0.338043338092707 & 0.676086676185413 & 0.661956661907293 \tabularnewline
43 & 0.352172981460353 & 0.704345962920705 & 0.647827018539647 \tabularnewline
44 & 0.415738440171975 & 0.83147688034395 & 0.584261559828025 \tabularnewline
45 & 0.511048846410842 & 0.977902307178317 & 0.488951153589158 \tabularnewline
46 & 0.615690147855147 & 0.768619704289707 & 0.384309852144853 \tabularnewline
47 & 0.529550413960387 & 0.940899172079226 & 0.470449586039613 \tabularnewline
48 & 0.435698478328397 & 0.871396956656794 & 0.564301521671603 \tabularnewline
49 & 0.372874998559511 & 0.745749997119021 & 0.62712500144049 \tabularnewline
50 & 0.322541897455308 & 0.645083794910616 & 0.677458102544692 \tabularnewline
51 & 0.405291321196081 & 0.810582642392162 & 0.594708678803919 \tabularnewline
52 & 0.452208834478191 & 0.904417668956383 & 0.547791165521809 \tabularnewline
53 & 0.349826965953364 & 0.699653931906729 & 0.650173034046636 \tabularnewline
54 & 0.295635036584525 & 0.591270073169051 & 0.704364963415475 \tabularnewline
55 & 0.176448137227505 & 0.352896274455009 & 0.823551862772495 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58424&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]5[/C][C]0.0761457608517317[/C][C]0.152291521703463[/C][C]0.923854239148268[/C][/ROW]
[ROW][C]6[/C][C]0.0382458663423905[/C][C]0.076491732684781[/C][C]0.96175413365761[/C][/ROW]
[ROW][C]7[/C][C]0.0998760539726721[/C][C]0.199752107945344[/C][C]0.900123946027328[/C][/ROW]
[ROW][C]8[/C][C]0.0476177957545426[/C][C]0.0952355915090851[/C][C]0.952382204245457[/C][/ROW]
[ROW][C]9[/C][C]0.0215112707080981[/C][C]0.0430225414161961[/C][C]0.978488729291902[/C][/ROW]
[ROW][C]10[/C][C]0.645484078209412[/C][C]0.709031843581175[/C][C]0.354515921790588[/C][/ROW]
[ROW][C]11[/C][C]0.541315700162692[/C][C]0.917368599674617[/C][C]0.458684299837308[/C][/ROW]
[ROW][C]12[/C][C]0.462534786550147[/C][C]0.925069573100295[/C][C]0.537465213449853[/C][/ROW]
[ROW][C]13[/C][C]0.415915845247842[/C][C]0.831831690495685[/C][C]0.584084154752158[/C][/ROW]
[ROW][C]14[/C][C]0.324477403025408[/C][C]0.648954806050815[/C][C]0.675522596974592[/C][/ROW]
[ROW][C]15[/C][C]0.243749535405579[/C][C]0.487499070811159[/C][C]0.75625046459442[/C][/ROW]
[ROW][C]16[/C][C]0.862910162745044[/C][C]0.274179674509911[/C][C]0.137089837254956[/C][/ROW]
[ROW][C]17[/C][C]0.835337068902393[/C][C]0.329325862195214[/C][C]0.164662931097607[/C][/ROW]
[ROW][C]18[/C][C]0.791164711253773[/C][C]0.417670577492453[/C][C]0.208835288746227[/C][/ROW]
[ROW][C]19[/C][C]0.726805516540008[/C][C]0.546388966919984[/C][C]0.273194483459992[/C][/ROW]
[ROW][C]20[/C][C]0.66117295253037[/C][C]0.67765409493926[/C][C]0.33882704746963[/C][/ROW]
[ROW][C]21[/C][C]0.585616985724484[/C][C]0.828766028551033[/C][C]0.414383014275516[/C][/ROW]
[ROW][C]22[/C][C]0.658823108485679[/C][C]0.682353783028642[/C][C]0.341176891514321[/C][/ROW]
[ROW][C]23[/C][C]0.665863518161085[/C][C]0.668272963677829[/C][C]0.334136481838915[/C][/ROW]
[ROW][C]24[/C][C]0.67142025258207[/C][C]0.657159494835861[/C][C]0.328579747417930[/C][/ROW]
[ROW][C]25[/C][C]0.599668878454249[/C][C]0.800662243091502[/C][C]0.400331121545751[/C][/ROW]
[ROW][C]26[/C][C]0.590152175047225[/C][C]0.81969564990555[/C][C]0.409847824952775[/C][/ROW]
[ROW][C]27[/C][C]0.523756129905387[/C][C]0.952487740189225[/C][C]0.476243870094613[/C][/ROW]
[ROW][C]28[/C][C]0.447427957911483[/C][C]0.894855915822966[/C][C]0.552572042088517[/C][/ROW]
[ROW][C]29[/C][C]0.399622855987817[/C][C]0.799245711975634[/C][C]0.600377144012183[/C][/ROW]
[ROW][C]30[/C][C]0.40438372499743[/C][C]0.80876744999486[/C][C]0.59561627500257[/C][/ROW]
[ROW][C]31[/C][C]0.33720306257487[/C][C]0.67440612514974[/C][C]0.66279693742513[/C][/ROW]
[ROW][C]32[/C][C]0.275034966179203[/C][C]0.550069932358405[/C][C]0.724965033820797[/C][/ROW]
[ROW][C]33[/C][C]0.2154725320634[/C][C]0.4309450641268[/C][C]0.7845274679366[/C][/ROW]
[ROW][C]34[/C][C]0.405208673772772[/C][C]0.810417347545544[/C][C]0.594791326227228[/C][/ROW]
[ROW][C]35[/C][C]0.436297819351078[/C][C]0.872595638702156[/C][C]0.563702180648922[/C][/ROW]
[ROW][C]36[/C][C]0.429999914048146[/C][C]0.859999828096291[/C][C]0.570000085951854[/C][/ROW]
[ROW][C]37[/C][C]0.379256486324301[/C][C]0.758512972648603[/C][C]0.620743513675698[/C][/ROW]
[ROW][C]38[/C][C]0.434286888904927[/C][C]0.868573777809854[/C][C]0.565713111095073[/C][/ROW]
[ROW][C]39[/C][C]0.374458089492761[/C][C]0.748916178985522[/C][C]0.625541910507239[/C][/ROW]
[ROW][C]40[/C][C]0.313827578325869[/C][C]0.627655156651738[/C][C]0.686172421674131[/C][/ROW]
[ROW][C]41[/C][C]0.275281032283036[/C][C]0.550562064566072[/C][C]0.724718967716964[/C][/ROW]
[ROW][C]42[/C][C]0.338043338092707[/C][C]0.676086676185413[/C][C]0.661956661907293[/C][/ROW]
[ROW][C]43[/C][C]0.352172981460353[/C][C]0.704345962920705[/C][C]0.647827018539647[/C][/ROW]
[ROW][C]44[/C][C]0.415738440171975[/C][C]0.83147688034395[/C][C]0.584261559828025[/C][/ROW]
[ROW][C]45[/C][C]0.511048846410842[/C][C]0.977902307178317[/C][C]0.488951153589158[/C][/ROW]
[ROW][C]46[/C][C]0.615690147855147[/C][C]0.768619704289707[/C][C]0.384309852144853[/C][/ROW]
[ROW][C]47[/C][C]0.529550413960387[/C][C]0.940899172079226[/C][C]0.470449586039613[/C][/ROW]
[ROW][C]48[/C][C]0.435698478328397[/C][C]0.871396956656794[/C][C]0.564301521671603[/C][/ROW]
[ROW][C]49[/C][C]0.372874998559511[/C][C]0.745749997119021[/C][C]0.62712500144049[/C][/ROW]
[ROW][C]50[/C][C]0.322541897455308[/C][C]0.645083794910616[/C][C]0.677458102544692[/C][/ROW]
[ROW][C]51[/C][C]0.405291321196081[/C][C]0.810582642392162[/C][C]0.594708678803919[/C][/ROW]
[ROW][C]52[/C][C]0.452208834478191[/C][C]0.904417668956383[/C][C]0.547791165521809[/C][/ROW]
[ROW][C]53[/C][C]0.349826965953364[/C][C]0.699653931906729[/C][C]0.650173034046636[/C][/ROW]
[ROW][C]54[/C][C]0.295635036584525[/C][C]0.591270073169051[/C][C]0.704364963415475[/C][/ROW]
[ROW][C]55[/C][C]0.176448137227505[/C][C]0.352896274455009[/C][C]0.823551862772495[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58424&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58424&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
50.07614576085173170.1522915217034630.923854239148268
60.03824586634239050.0764917326847810.96175413365761
70.09987605397267210.1997521079453440.900123946027328
80.04761779575454260.09523559150908510.952382204245457
90.02151127070809810.04302254141619610.978488729291902
100.6454840782094120.7090318435811750.354515921790588
110.5413157001626920.9173685996746170.458684299837308
120.4625347865501470.9250695731002950.537465213449853
130.4159158452478420.8318316904956850.584084154752158
140.3244774030254080.6489548060508150.675522596974592
150.2437495354055790.4874990708111590.75625046459442
160.8629101627450440.2741796745099110.137089837254956
170.8353370689023930.3293258621952140.164662931097607
180.7911647112537730.4176705774924530.208835288746227
190.7268055165400080.5463889669199840.273194483459992
200.661172952530370.677654094939260.33882704746963
210.5856169857244840.8287660285510330.414383014275516
220.6588231084856790.6823537830286420.341176891514321
230.6658635181610850.6682729636778290.334136481838915
240.671420252582070.6571594948358610.328579747417930
250.5996688784542490.8006622430915020.400331121545751
260.5901521750472250.819695649905550.409847824952775
270.5237561299053870.9524877401892250.476243870094613
280.4474279579114830.8948559158229660.552572042088517
290.3996228559878170.7992457119756340.600377144012183
300.404383724997430.808767449994860.59561627500257
310.337203062574870.674406125149740.66279693742513
320.2750349661792030.5500699323584050.724965033820797
330.21547253206340.43094506412680.7845274679366
340.4052086737727720.8104173475455440.594791326227228
350.4362978193510780.8725956387021560.563702180648922
360.4299999140481460.8599998280962910.570000085951854
370.3792564863243010.7585129726486030.620743513675698
380.4342868889049270.8685737778098540.565713111095073
390.3744580894927610.7489161789855220.625541910507239
400.3138275783258690.6276551566517380.686172421674131
410.2752810322830360.5505620645660720.724718967716964
420.3380433380927070.6760866761854130.661956661907293
430.3521729814603530.7043459629207050.647827018539647
440.4157384401719750.831476880343950.584261559828025
450.5110488464108420.9779023071783170.488951153589158
460.6156901478551470.7686197042897070.384309852144853
470.5295504139603870.9408991720792260.470449586039613
480.4356984783283970.8713969566567940.564301521671603
490.3728749985595110.7457499971190210.62712500144049
500.3225418974553080.6450837949106160.677458102544692
510.4052913211960810.8105826423921620.594708678803919
520.4522088344781910.9044176689563830.547791165521809
530.3498269659533640.6996539319067290.650173034046636
540.2956350365845250.5912700731690510.704364963415475
550.1764481372275050.3528962744550090.823551862772495







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0196078431372549OK
10% type I error level30.0588235294117647OK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58424&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 level10.0196078431372549OK
10% type I error level30.0588235294117647OK



Parameters (Session):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
Parameters (R input):
par1 = 2 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT
H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation
Forecast', 1, TRUE)
a<-table.element(a, 'Residuals
Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}