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:48:57 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/20/t1258742986pf51h0ewn1l2v5p.htm/, Retrieved Wed, 24 Apr 2024 07:14:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58413, Retrieved Wed, 24 Apr 2024 07:14:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact129
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]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:14:11] [b98453cac15ba1066b407e146608df68]
- R  D      [Multiple Regression] [] [2009-11-20 18:48:57] [c5f9f441970441f2f938cd843072158d] [Current]
-   PD        [Multiple Regression] [Model 5] [2009-12-19 12:57:14] [eba9b8a72d680086d9ebbb043233c887]
Feedback Forum

Post a new message
Dataseries X:
2187	18.8	1855	2218
1852	18.2	2187	1855
1570	18	1852	2187
1851	19	1570	1852
1954	20.7	1851	1570
1828	21.2	1954	1851
2251	20.7	1828	1954
2277	19.6	2251	1828
2085	18.6	2277	2251
2282	18.7	2085	2277
2266	23.8	2282	2085
1878	24.9	2266	2282
2267	24.8	1878	2266
2069	23.8	2267	1878
1746	22.3	2069	2267
2299	21.7	1746	2069
2360	20.7	2299	1746
2214	19.7	2360	2299
2825	18.4	2214	2360
2355	17.4	2825	2214
2333	17	2355	2825
3016	18	2333	2355
2155	23.8	3016	2333
2172	25.5	2155	3016
2150	25.6	2172	2155
2533	23.7	2150	2172
2058	22	2533	2150
2160	21.3	2058	2533
2260	20.7	2160	2058
2498	20.4	2260	2160
2695	20.3	2498	2260
2799	20.4	2695	2498
2946	19.8	2799	2695
2930	19.5	2946	2799
2318	23.1	2930	2946
2540	23.5	2318	2930
2570	23.5	2540	2318
2669	22.9	2570	2540
2450	21.9	2669	2570
2842	21.5	2450	2669
3440	20.5	2842	2450
2678	20.2	3440	2842
2981	19.4	2678	3440
2260	19.2	2981	2678
2844	18.8	2260	2981
2546	18.8	2844	2260
2456	22.6	2546	2844
2295	23.3	2456	2546
2379	23	2295	2456
2479	21.4	2379	2295
2057	19.9	2479	2379
2280	18.8	2057	2479
2351	18.6	2280	2057
2276	18.4	2351	2280
2548	18.6	2276	2351
2311	19.9	2548	2276
2201	19.2	2311	2548
2725	18.4	2201	2311




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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = -354.405794860257 + 29.7764909584763X[t] + 0.290728283519998Y1[t] + 0.417952030129352Y2[t] + 349.124779045002M1[t] + 399.919848770249M2[t] + 18.1139165012463M3[t] + 433.072144216138M4[t] + 677.964093127146M5[t] + 325.673309002917M6[t] + 672.482518326726M7[t] + 384.104420017886M8[t] + 406.540579208735M9[t] + 707.44158962931M10[t] + 52.8413553507744M11[t] + 1.93405432247590t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  -354.405794860257 +  29.7764909584763X[t] +  0.290728283519998Y1[t] +  0.417952030129352Y2[t] +  349.124779045002M1[t] +  399.919848770249M2[t] +  18.1139165012463M3[t] +  433.072144216138M4[t] +  677.964093127146M5[t] +  325.673309002917M6[t] +  672.482518326726M7[t] +  384.104420017886M8[t] +  406.540579208735M9[t] +  707.44158962931M10[t] +  52.8413553507744M11[t] +  1.93405432247590t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58413&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  -354.405794860257 +  29.7764909584763X[t] +  0.290728283519998Y1[t] +  0.417952030129352Y2[t] +  349.124779045002M1[t] +  399.919848770249M2[t] +  18.1139165012463M3[t] +  433.072144216138M4[t] +  677.964093127146M5[t] +  325.673309002917M6[t] +  672.482518326726M7[t] +  384.104420017886M8[t] +  406.540579208735M9[t] +  707.44158962931M10[t] +  52.8413553507744M11[t] +  1.93405432247590t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58413&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58413&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] = -354.405794860257 + 29.7764909584763X[t] + 0.290728283519998Y1[t] + 0.417952030129352Y2[t] + 349.124779045002M1[t] + 399.919848770249M2[t] + 18.1139165012463M3[t] + 433.072144216138M4[t] + 677.964093127146M5[t] + 325.673309002917M6[t] + 672.482518326726M7[t] + 384.104420017886M8[t] + 406.540579208735M9[t] + 707.44158962931M10[t] + 52.8413553507744M11[t] + 1.93405432247590t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-354.405794860257656.464213-0.53990.5921370.296069
X29.776490958476323.7071881.2560.2160540.108027
Y10.2907282835199980.1409162.06310.0453170.022659
Y20.4179520301293520.1455592.87140.0063790.003189
M1349.124779045002165.3782872.11110.040760.02038
M2399.919848770249184.3404752.16950.0357560.017878
M318.1139165012463187.0112430.09690.9232980.461649
M4433.072144216138185.2055372.33830.0242060.012103
M5677.964093127146213.7765343.17140.0028330.001417
M6325.673309002917205.2201721.58690.1200260.060013
M7672.482518326726197.4076673.40660.001460.00073
M8384.104420017886224.1885491.71330.0940290.047015
M9406.540579208735207.3128691.9610.0565320.028266
M10707.44158962931218.7014783.23470.0023750.001188
M1152.8413553507744180.6311290.29250.7713160.385658
t1.934054322475902.327450.8310.4106870.205343

\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) & -354.405794860257 & 656.464213 & -0.5399 & 0.592137 & 0.296069 \tabularnewline
X & 29.7764909584763 & 23.707188 & 1.256 & 0.216054 & 0.108027 \tabularnewline
Y1 & 0.290728283519998 & 0.140916 & 2.0631 & 0.045317 & 0.022659 \tabularnewline
Y2 & 0.417952030129352 & 0.145559 & 2.8714 & 0.006379 & 0.003189 \tabularnewline
M1 & 349.124779045002 & 165.378287 & 2.1111 & 0.04076 & 0.02038 \tabularnewline
M2 & 399.919848770249 & 184.340475 & 2.1695 & 0.035756 & 0.017878 \tabularnewline
M3 & 18.1139165012463 & 187.011243 & 0.0969 & 0.923298 & 0.461649 \tabularnewline
M4 & 433.072144216138 & 185.205537 & 2.3383 & 0.024206 & 0.012103 \tabularnewline
M5 & 677.964093127146 & 213.776534 & 3.1714 & 0.002833 & 0.001417 \tabularnewline
M6 & 325.673309002917 & 205.220172 & 1.5869 & 0.120026 & 0.060013 \tabularnewline
M7 & 672.482518326726 & 197.407667 & 3.4066 & 0.00146 & 0.00073 \tabularnewline
M8 & 384.104420017886 & 224.188549 & 1.7133 & 0.094029 & 0.047015 \tabularnewline
M9 & 406.540579208735 & 207.312869 & 1.961 & 0.056532 & 0.028266 \tabularnewline
M10 & 707.44158962931 & 218.701478 & 3.2347 & 0.002375 & 0.001188 \tabularnewline
M11 & 52.8413553507744 & 180.631129 & 0.2925 & 0.771316 & 0.385658 \tabularnewline
t & 1.93405432247590 & 2.32745 & 0.831 & 0.410687 & 0.205343 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58413&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]-354.405794860257[/C][C]656.464213[/C][C]-0.5399[/C][C]0.592137[/C][C]0.296069[/C][/ROW]
[ROW][C]X[/C][C]29.7764909584763[/C][C]23.707188[/C][C]1.256[/C][C]0.216054[/C][C]0.108027[/C][/ROW]
[ROW][C]Y1[/C][C]0.290728283519998[/C][C]0.140916[/C][C]2.0631[/C][C]0.045317[/C][C]0.022659[/C][/ROW]
[ROW][C]Y2[/C][C]0.417952030129352[/C][C]0.145559[/C][C]2.8714[/C][C]0.006379[/C][C]0.003189[/C][/ROW]
[ROW][C]M1[/C][C]349.124779045002[/C][C]165.378287[/C][C]2.1111[/C][C]0.04076[/C][C]0.02038[/C][/ROW]
[ROW][C]M2[/C][C]399.919848770249[/C][C]184.340475[/C][C]2.1695[/C][C]0.035756[/C][C]0.017878[/C][/ROW]
[ROW][C]M3[/C][C]18.1139165012463[/C][C]187.011243[/C][C]0.0969[/C][C]0.923298[/C][C]0.461649[/C][/ROW]
[ROW][C]M4[/C][C]433.072144216138[/C][C]185.205537[/C][C]2.3383[/C][C]0.024206[/C][C]0.012103[/C][/ROW]
[ROW][C]M5[/C][C]677.964093127146[/C][C]213.776534[/C][C]3.1714[/C][C]0.002833[/C][C]0.001417[/C][/ROW]
[ROW][C]M6[/C][C]325.673309002917[/C][C]205.220172[/C][C]1.5869[/C][C]0.120026[/C][C]0.060013[/C][/ROW]
[ROW][C]M7[/C][C]672.482518326726[/C][C]197.407667[/C][C]3.4066[/C][C]0.00146[/C][C]0.00073[/C][/ROW]
[ROW][C]M8[/C][C]384.104420017886[/C][C]224.188549[/C][C]1.7133[/C][C]0.094029[/C][C]0.047015[/C][/ROW]
[ROW][C]M9[/C][C]406.540579208735[/C][C]207.312869[/C][C]1.961[/C][C]0.056532[/C][C]0.028266[/C][/ROW]
[ROW][C]M10[/C][C]707.44158962931[/C][C]218.701478[/C][C]3.2347[/C][C]0.002375[/C][C]0.001188[/C][/ROW]
[ROW][C]M11[/C][C]52.8413553507744[/C][C]180.631129[/C][C]0.2925[/C][C]0.771316[/C][C]0.385658[/C][/ROW]
[ROW][C]t[/C][C]1.93405432247590[/C][C]2.32745[/C][C]0.831[/C][C]0.410687[/C][C]0.205343[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58413&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58413&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)-354.405794860257656.464213-0.53990.5921370.296069
X29.776490958476323.7071881.2560.2160540.108027
Y10.2907282835199980.1409162.06310.0453170.022659
Y20.4179520301293520.1455592.87140.0063790.003189
M1349.124779045002165.3782872.11110.040760.02038
M2399.919848770249184.3404752.16950.0357560.017878
M318.1139165012463187.0112430.09690.9232980.461649
M4433.072144216138185.2055372.33830.0242060.012103
M5677.964093127146213.7765343.17140.0028330.001417
M6325.673309002917205.2201721.58690.1200260.060013
M7672.482518326726197.4076673.40660.001460.00073
M8384.104420017886224.1885491.71330.0940290.047015
M9406.540579208735207.3128691.9610.0565320.028266
M10707.44158962931218.7014783.23470.0023750.001188
M1152.8413553507744180.6311290.29250.7713160.385658
t1.934054322475902.327450.8310.4106870.205343







Multiple Linear Regression - Regression Statistics
Multiple R0.824472354264483
R-squared0.679754662946419
Adjusted R-squared0.565381328284426
F-TEST (value)5.94329670421251
F-TEST (DF numerator)15
F-TEST (DF denominator)42
p-value2.32630427787761e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation231.92820960305
Sum Squared Residuals2259209.16520640

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.824472354264483 \tabularnewline
R-squared & 0.679754662946419 \tabularnewline
Adjusted R-squared & 0.565381328284426 \tabularnewline
F-TEST (value) & 5.94329670421251 \tabularnewline
F-TEST (DF numerator) & 15 \tabularnewline
F-TEST (DF denominator) & 42 \tabularnewline
p-value & 2.32630427787761e-06 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 231.92820960305 \tabularnewline
Sum Squared Residuals & 2259209.16520640 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58413&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.824472354264483[/C][/ROW]
[ROW][C]R-squared[/C][C]0.679754662946419[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.565381328284426[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]5.94329670421251[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]15[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]42[/C][/ROW]
[ROW][C]p-value[/C][C]2.32630427787761e-06[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]231.92820960305[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]2259209.16520640[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58413&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58413&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.824472354264483
R-squared0.679754662946419
Adjusted R-squared0.565381328284426
F-TEST (value)5.94329670421251
F-TEST (DF numerator)15
F-TEST (DF denominator)42
p-value2.32630427787761e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation231.92820960305
Sum Squared Residuals2259209.16520640







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
121872022.76963728308164.230362716923
218522002.43806994740-150.438069947396
315701657.97699283292-87.9769928329201
418511882.64645978279-31.6464597827909
519542143.92467281833-189.924672818327
618281955.84572216472-127.845722164720
722512296.11803571157-45.1180357115703
822772047.23595980354229.764040196457
920852226.18232647463-141.182326474627
1022822487.04196266105-205.041962661050
1122661963.26256866182302.737431338177
1218782022.79430508701-144.794305087011
1322672251.3856828708115.6143171291875
1420692225.26623055915-156.266230559150
1517461905.74875575827-159.748755758267
1622992128.11540567798170.884594322023
1723602370.93915300776-10.9391530077634
1822142239.66783020379-25.6678302037859
1928252532.75040004802292.249599951978
2023552333.1438499350121.8561500649853
2123332464.32986421958-131.329864219584
2230162594.10794352288421.892056477123
2321552303.51788410729-148.517884107292
2421722338.37480217603-166.374802176033
2521502337.49696751783-187.496967517826
2625332334.35992101920198.640078980798
2720582006.0219963685851.9780036314203
2821602424.05042760256-264.050427602557
2922602484.13760686855-224.137606868552
3024982196.55186520445301.448134795550
3126952653.3060142455841.6939857544177
3227992526.58567437929272.414325620709
3329462645.66228473909300.337715260908
3429303025.76847100549-95.7684710054936
3523182537.08495439264-219.084954392643
3625402313.47530775143226.524692248574
3725702473.2891776211896.7108223788196
3826692609.6596062881359.3403937118668
3924502241.33189835549208.668101644509
4028422624.02134090139217.978659098606
4134402863.50484571791576.495154282087
4226782841.90787798428-163.907877984282
4329813195.2303108389-214.230310838900
4422602672.44219160883-412.442191608833
4528442601.92618145004242.073818549958
4625462773.20315004551-227.203150045510
4724562391.1345928382464.865407161758
4822952210.3555849855384.6444150144698
4923792468.05853470710-89.0585347071042
5024792430.2761721861248.7238278138816
5120572069.92035668474-12.9203566847428
5222802373.16636603528-93.1663660352822
5323512502.49372158744-151.493721587444
5422762260.0267044427615.9732955572386
5525482622.59523915593-74.5952391559254
5623112422.59232427332-111.592324273318
5722012470.89934311665-269.899343116654
5827252618.87847276507106.121527234931

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2187 & 2022.76963728308 & 164.230362716923 \tabularnewline
2 & 1852 & 2002.43806994740 & -150.438069947396 \tabularnewline
3 & 1570 & 1657.97699283292 & -87.9769928329201 \tabularnewline
4 & 1851 & 1882.64645978279 & -31.6464597827909 \tabularnewline
5 & 1954 & 2143.92467281833 & -189.924672818327 \tabularnewline
6 & 1828 & 1955.84572216472 & -127.845722164720 \tabularnewline
7 & 2251 & 2296.11803571157 & -45.1180357115703 \tabularnewline
8 & 2277 & 2047.23595980354 & 229.764040196457 \tabularnewline
9 & 2085 & 2226.18232647463 & -141.182326474627 \tabularnewline
10 & 2282 & 2487.04196266105 & -205.041962661050 \tabularnewline
11 & 2266 & 1963.26256866182 & 302.737431338177 \tabularnewline
12 & 1878 & 2022.79430508701 & -144.794305087011 \tabularnewline
13 & 2267 & 2251.38568287081 & 15.6143171291875 \tabularnewline
14 & 2069 & 2225.26623055915 & -156.266230559150 \tabularnewline
15 & 1746 & 1905.74875575827 & -159.748755758267 \tabularnewline
16 & 2299 & 2128.11540567798 & 170.884594322023 \tabularnewline
17 & 2360 & 2370.93915300776 & -10.9391530077634 \tabularnewline
18 & 2214 & 2239.66783020379 & -25.6678302037859 \tabularnewline
19 & 2825 & 2532.75040004802 & 292.249599951978 \tabularnewline
20 & 2355 & 2333.14384993501 & 21.8561500649853 \tabularnewline
21 & 2333 & 2464.32986421958 & -131.329864219584 \tabularnewline
22 & 3016 & 2594.10794352288 & 421.892056477123 \tabularnewline
23 & 2155 & 2303.51788410729 & -148.517884107292 \tabularnewline
24 & 2172 & 2338.37480217603 & -166.374802176033 \tabularnewline
25 & 2150 & 2337.49696751783 & -187.496967517826 \tabularnewline
26 & 2533 & 2334.35992101920 & 198.640078980798 \tabularnewline
27 & 2058 & 2006.02199636858 & 51.9780036314203 \tabularnewline
28 & 2160 & 2424.05042760256 & -264.050427602557 \tabularnewline
29 & 2260 & 2484.13760686855 & -224.137606868552 \tabularnewline
30 & 2498 & 2196.55186520445 & 301.448134795550 \tabularnewline
31 & 2695 & 2653.30601424558 & 41.6939857544177 \tabularnewline
32 & 2799 & 2526.58567437929 & 272.414325620709 \tabularnewline
33 & 2946 & 2645.66228473909 & 300.337715260908 \tabularnewline
34 & 2930 & 3025.76847100549 & -95.7684710054936 \tabularnewline
35 & 2318 & 2537.08495439264 & -219.084954392643 \tabularnewline
36 & 2540 & 2313.47530775143 & 226.524692248574 \tabularnewline
37 & 2570 & 2473.28917762118 & 96.7108223788196 \tabularnewline
38 & 2669 & 2609.65960628813 & 59.3403937118668 \tabularnewline
39 & 2450 & 2241.33189835549 & 208.668101644509 \tabularnewline
40 & 2842 & 2624.02134090139 & 217.978659098606 \tabularnewline
41 & 3440 & 2863.50484571791 & 576.495154282087 \tabularnewline
42 & 2678 & 2841.90787798428 & -163.907877984282 \tabularnewline
43 & 2981 & 3195.2303108389 & -214.230310838900 \tabularnewline
44 & 2260 & 2672.44219160883 & -412.442191608833 \tabularnewline
45 & 2844 & 2601.92618145004 & 242.073818549958 \tabularnewline
46 & 2546 & 2773.20315004551 & -227.203150045510 \tabularnewline
47 & 2456 & 2391.13459283824 & 64.865407161758 \tabularnewline
48 & 2295 & 2210.35558498553 & 84.6444150144698 \tabularnewline
49 & 2379 & 2468.05853470710 & -89.0585347071042 \tabularnewline
50 & 2479 & 2430.27617218612 & 48.7238278138816 \tabularnewline
51 & 2057 & 2069.92035668474 & -12.9203566847428 \tabularnewline
52 & 2280 & 2373.16636603528 & -93.1663660352822 \tabularnewline
53 & 2351 & 2502.49372158744 & -151.493721587444 \tabularnewline
54 & 2276 & 2260.02670444276 & 15.9732955572386 \tabularnewline
55 & 2548 & 2622.59523915593 & -74.5952391559254 \tabularnewline
56 & 2311 & 2422.59232427332 & -111.592324273318 \tabularnewline
57 & 2201 & 2470.89934311665 & -269.899343116654 \tabularnewline
58 & 2725 & 2618.87847276507 & 106.121527234931 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58413&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]2187[/C][C]2022.76963728308[/C][C]164.230362716923[/C][/ROW]
[ROW][C]2[/C][C]1852[/C][C]2002.43806994740[/C][C]-150.438069947396[/C][/ROW]
[ROW][C]3[/C][C]1570[/C][C]1657.97699283292[/C][C]-87.9769928329201[/C][/ROW]
[ROW][C]4[/C][C]1851[/C][C]1882.64645978279[/C][C]-31.6464597827909[/C][/ROW]
[ROW][C]5[/C][C]1954[/C][C]2143.92467281833[/C][C]-189.924672818327[/C][/ROW]
[ROW][C]6[/C][C]1828[/C][C]1955.84572216472[/C][C]-127.845722164720[/C][/ROW]
[ROW][C]7[/C][C]2251[/C][C]2296.11803571157[/C][C]-45.1180357115703[/C][/ROW]
[ROW][C]8[/C][C]2277[/C][C]2047.23595980354[/C][C]229.764040196457[/C][/ROW]
[ROW][C]9[/C][C]2085[/C][C]2226.18232647463[/C][C]-141.182326474627[/C][/ROW]
[ROW][C]10[/C][C]2282[/C][C]2487.04196266105[/C][C]-205.041962661050[/C][/ROW]
[ROW][C]11[/C][C]2266[/C][C]1963.26256866182[/C][C]302.737431338177[/C][/ROW]
[ROW][C]12[/C][C]1878[/C][C]2022.79430508701[/C][C]-144.794305087011[/C][/ROW]
[ROW][C]13[/C][C]2267[/C][C]2251.38568287081[/C][C]15.6143171291875[/C][/ROW]
[ROW][C]14[/C][C]2069[/C][C]2225.26623055915[/C][C]-156.266230559150[/C][/ROW]
[ROW][C]15[/C][C]1746[/C][C]1905.74875575827[/C][C]-159.748755758267[/C][/ROW]
[ROW][C]16[/C][C]2299[/C][C]2128.11540567798[/C][C]170.884594322023[/C][/ROW]
[ROW][C]17[/C][C]2360[/C][C]2370.93915300776[/C][C]-10.9391530077634[/C][/ROW]
[ROW][C]18[/C][C]2214[/C][C]2239.66783020379[/C][C]-25.6678302037859[/C][/ROW]
[ROW][C]19[/C][C]2825[/C][C]2532.75040004802[/C][C]292.249599951978[/C][/ROW]
[ROW][C]20[/C][C]2355[/C][C]2333.14384993501[/C][C]21.8561500649853[/C][/ROW]
[ROW][C]21[/C][C]2333[/C][C]2464.32986421958[/C][C]-131.329864219584[/C][/ROW]
[ROW][C]22[/C][C]3016[/C][C]2594.10794352288[/C][C]421.892056477123[/C][/ROW]
[ROW][C]23[/C][C]2155[/C][C]2303.51788410729[/C][C]-148.517884107292[/C][/ROW]
[ROW][C]24[/C][C]2172[/C][C]2338.37480217603[/C][C]-166.374802176033[/C][/ROW]
[ROW][C]25[/C][C]2150[/C][C]2337.49696751783[/C][C]-187.496967517826[/C][/ROW]
[ROW][C]26[/C][C]2533[/C][C]2334.35992101920[/C][C]198.640078980798[/C][/ROW]
[ROW][C]27[/C][C]2058[/C][C]2006.02199636858[/C][C]51.9780036314203[/C][/ROW]
[ROW][C]28[/C][C]2160[/C][C]2424.05042760256[/C][C]-264.050427602557[/C][/ROW]
[ROW][C]29[/C][C]2260[/C][C]2484.13760686855[/C][C]-224.137606868552[/C][/ROW]
[ROW][C]30[/C][C]2498[/C][C]2196.55186520445[/C][C]301.448134795550[/C][/ROW]
[ROW][C]31[/C][C]2695[/C][C]2653.30601424558[/C][C]41.6939857544177[/C][/ROW]
[ROW][C]32[/C][C]2799[/C][C]2526.58567437929[/C][C]272.414325620709[/C][/ROW]
[ROW][C]33[/C][C]2946[/C][C]2645.66228473909[/C][C]300.337715260908[/C][/ROW]
[ROW][C]34[/C][C]2930[/C][C]3025.76847100549[/C][C]-95.7684710054936[/C][/ROW]
[ROW][C]35[/C][C]2318[/C][C]2537.08495439264[/C][C]-219.084954392643[/C][/ROW]
[ROW][C]36[/C][C]2540[/C][C]2313.47530775143[/C][C]226.524692248574[/C][/ROW]
[ROW][C]37[/C][C]2570[/C][C]2473.28917762118[/C][C]96.7108223788196[/C][/ROW]
[ROW][C]38[/C][C]2669[/C][C]2609.65960628813[/C][C]59.3403937118668[/C][/ROW]
[ROW][C]39[/C][C]2450[/C][C]2241.33189835549[/C][C]208.668101644509[/C][/ROW]
[ROW][C]40[/C][C]2842[/C][C]2624.02134090139[/C][C]217.978659098606[/C][/ROW]
[ROW][C]41[/C][C]3440[/C][C]2863.50484571791[/C][C]576.495154282087[/C][/ROW]
[ROW][C]42[/C][C]2678[/C][C]2841.90787798428[/C][C]-163.907877984282[/C][/ROW]
[ROW][C]43[/C][C]2981[/C][C]3195.2303108389[/C][C]-214.230310838900[/C][/ROW]
[ROW][C]44[/C][C]2260[/C][C]2672.44219160883[/C][C]-412.442191608833[/C][/ROW]
[ROW][C]45[/C][C]2844[/C][C]2601.92618145004[/C][C]242.073818549958[/C][/ROW]
[ROW][C]46[/C][C]2546[/C][C]2773.20315004551[/C][C]-227.203150045510[/C][/ROW]
[ROW][C]47[/C][C]2456[/C][C]2391.13459283824[/C][C]64.865407161758[/C][/ROW]
[ROW][C]48[/C][C]2295[/C][C]2210.35558498553[/C][C]84.6444150144698[/C][/ROW]
[ROW][C]49[/C][C]2379[/C][C]2468.05853470710[/C][C]-89.0585347071042[/C][/ROW]
[ROW][C]50[/C][C]2479[/C][C]2430.27617218612[/C][C]48.7238278138816[/C][/ROW]
[ROW][C]51[/C][C]2057[/C][C]2069.92035668474[/C][C]-12.9203566847428[/C][/ROW]
[ROW][C]52[/C][C]2280[/C][C]2373.16636603528[/C][C]-93.1663660352822[/C][/ROW]
[ROW][C]53[/C][C]2351[/C][C]2502.49372158744[/C][C]-151.493721587444[/C][/ROW]
[ROW][C]54[/C][C]2276[/C][C]2260.02670444276[/C][C]15.9732955572386[/C][/ROW]
[ROW][C]55[/C][C]2548[/C][C]2622.59523915593[/C][C]-74.5952391559254[/C][/ROW]
[ROW][C]56[/C][C]2311[/C][C]2422.59232427332[/C][C]-111.592324273318[/C][/ROW]
[ROW][C]57[/C][C]2201[/C][C]2470.89934311665[/C][C]-269.899343116654[/C][/ROW]
[ROW][C]58[/C][C]2725[/C][C]2618.87847276507[/C][C]106.121527234931[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58413&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58413&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
121872022.76963728308164.230362716923
218522002.43806994740-150.438069947396
315701657.97699283292-87.9769928329201
418511882.64645978279-31.6464597827909
519542143.92467281833-189.924672818327
618281955.84572216472-127.845722164720
722512296.11803571157-45.1180357115703
822772047.23595980354229.764040196457
920852226.18232647463-141.182326474627
1022822487.04196266105-205.041962661050
1122661963.26256866182302.737431338177
1218782022.79430508701-144.794305087011
1322672251.3856828708115.6143171291875
1420692225.26623055915-156.266230559150
1517461905.74875575827-159.748755758267
1622992128.11540567798170.884594322023
1723602370.93915300776-10.9391530077634
1822142239.66783020379-25.6678302037859
1928252532.75040004802292.249599951978
2023552333.1438499350121.8561500649853
2123332464.32986421958-131.329864219584
2230162594.10794352288421.892056477123
2321552303.51788410729-148.517884107292
2421722338.37480217603-166.374802176033
2521502337.49696751783-187.496967517826
2625332334.35992101920198.640078980798
2720582006.0219963685851.9780036314203
2821602424.05042760256-264.050427602557
2922602484.13760686855-224.137606868552
3024982196.55186520445301.448134795550
3126952653.3060142455841.6939857544177
3227992526.58567437929272.414325620709
3329462645.66228473909300.337715260908
3429303025.76847100549-95.7684710054936
3523182537.08495439264-219.084954392643
3625402313.47530775143226.524692248574
3725702473.2891776211896.7108223788196
3826692609.6596062881359.3403937118668
3924502241.33189835549208.668101644509
4028422624.02134090139217.978659098606
4134402863.50484571791576.495154282087
4226782841.90787798428-163.907877984282
4329813195.2303108389-214.230310838900
4422602672.44219160883-412.442191608833
4528442601.92618145004242.073818549958
4625462773.20315004551-227.203150045510
4724562391.1345928382464.865407161758
4822952210.3555849855384.6444150144698
4923792468.05853470710-89.0585347071042
5024792430.2761721861248.7238278138816
5120572069.92035668474-12.9203566847428
5222802373.16636603528-93.1663660352822
5323512502.49372158744-151.493721587444
5422762260.0267044427615.9732955572386
5525482622.59523915593-74.5952391559254
5623112422.59232427332-111.592324273318
5722012470.89934311665-269.899343116654
5827252618.87847276507106.121527234931







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.02880542335475570.05761084670951140.971194576645244
200.02593962963453990.05187925926907980.97406037036546
210.0494231751733360.0988463503466720.950576824826664
220.0246676288699180.0493352577398360.975332371130082
230.01266978046828360.02533956093656720.987330219531716
240.007539267512128040.01507853502425610.992460732487872
250.1760846555981670.3521693111963330.823915344401833
260.1080746535969990.2161493071939970.891925346403001
270.06707968916913060.1341593783382610.93292031083087
280.08725519499804720.1745103899960940.912744805001953
290.4292105060705520.8584210121411040.570789493929448
300.3680345668404380.7360691336808750.631965433159562
310.3492667445116630.6985334890233260.650733255488337
320.2716552851134760.5433105702269520.728344714886524
330.3808264566137560.7616529132275110.619173543386244
340.2851404178963610.5702808357927220.714859582103639
350.276620582233660.553241164467320.72337941776634
360.1924627445251360.3849254890502720.807537255474864
370.1235980858175680.2471961716351360.876401914182432
380.1036211276666410.2072422553332810.89637887233336
390.09150906119753660.1830181223950730.908490938802463

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
19 & 0.0288054233547557 & 0.0576108467095114 & 0.971194576645244 \tabularnewline
20 & 0.0259396296345399 & 0.0518792592690798 & 0.97406037036546 \tabularnewline
21 & 0.049423175173336 & 0.098846350346672 & 0.950576824826664 \tabularnewline
22 & 0.024667628869918 & 0.049335257739836 & 0.975332371130082 \tabularnewline
23 & 0.0126697804682836 & 0.0253395609365672 & 0.987330219531716 \tabularnewline
24 & 0.00753926751212804 & 0.0150785350242561 & 0.992460732487872 \tabularnewline
25 & 0.176084655598167 & 0.352169311196333 & 0.823915344401833 \tabularnewline
26 & 0.108074653596999 & 0.216149307193997 & 0.891925346403001 \tabularnewline
27 & 0.0670796891691306 & 0.134159378338261 & 0.93292031083087 \tabularnewline
28 & 0.0872551949980472 & 0.174510389996094 & 0.912744805001953 \tabularnewline
29 & 0.429210506070552 & 0.858421012141104 & 0.570789493929448 \tabularnewline
30 & 0.368034566840438 & 0.736069133680875 & 0.631965433159562 \tabularnewline
31 & 0.349266744511663 & 0.698533489023326 & 0.650733255488337 \tabularnewline
32 & 0.271655285113476 & 0.543310570226952 & 0.728344714886524 \tabularnewline
33 & 0.380826456613756 & 0.761652913227511 & 0.619173543386244 \tabularnewline
34 & 0.285140417896361 & 0.570280835792722 & 0.714859582103639 \tabularnewline
35 & 0.27662058223366 & 0.55324116446732 & 0.72337941776634 \tabularnewline
36 & 0.192462744525136 & 0.384925489050272 & 0.807537255474864 \tabularnewline
37 & 0.123598085817568 & 0.247196171635136 & 0.876401914182432 \tabularnewline
38 & 0.103621127666641 & 0.207242255333281 & 0.89637887233336 \tabularnewline
39 & 0.0915090611975366 & 0.183018122395073 & 0.908490938802463 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58413&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]19[/C][C]0.0288054233547557[/C][C]0.0576108467095114[/C][C]0.971194576645244[/C][/ROW]
[ROW][C]20[/C][C]0.0259396296345399[/C][C]0.0518792592690798[/C][C]0.97406037036546[/C][/ROW]
[ROW][C]21[/C][C]0.049423175173336[/C][C]0.098846350346672[/C][C]0.950576824826664[/C][/ROW]
[ROW][C]22[/C][C]0.024667628869918[/C][C]0.049335257739836[/C][C]0.975332371130082[/C][/ROW]
[ROW][C]23[/C][C]0.0126697804682836[/C][C]0.0253395609365672[/C][C]0.987330219531716[/C][/ROW]
[ROW][C]24[/C][C]0.00753926751212804[/C][C]0.0150785350242561[/C][C]0.992460732487872[/C][/ROW]
[ROW][C]25[/C][C]0.176084655598167[/C][C]0.352169311196333[/C][C]0.823915344401833[/C][/ROW]
[ROW][C]26[/C][C]0.108074653596999[/C][C]0.216149307193997[/C][C]0.891925346403001[/C][/ROW]
[ROW][C]27[/C][C]0.0670796891691306[/C][C]0.134159378338261[/C][C]0.93292031083087[/C][/ROW]
[ROW][C]28[/C][C]0.0872551949980472[/C][C]0.174510389996094[/C][C]0.912744805001953[/C][/ROW]
[ROW][C]29[/C][C]0.429210506070552[/C][C]0.858421012141104[/C][C]0.570789493929448[/C][/ROW]
[ROW][C]30[/C][C]0.368034566840438[/C][C]0.736069133680875[/C][C]0.631965433159562[/C][/ROW]
[ROW][C]31[/C][C]0.349266744511663[/C][C]0.698533489023326[/C][C]0.650733255488337[/C][/ROW]
[ROW][C]32[/C][C]0.271655285113476[/C][C]0.543310570226952[/C][C]0.728344714886524[/C][/ROW]
[ROW][C]33[/C][C]0.380826456613756[/C][C]0.761652913227511[/C][C]0.619173543386244[/C][/ROW]
[ROW][C]34[/C][C]0.285140417896361[/C][C]0.570280835792722[/C][C]0.714859582103639[/C][/ROW]
[ROW][C]35[/C][C]0.27662058223366[/C][C]0.55324116446732[/C][C]0.72337941776634[/C][/ROW]
[ROW][C]36[/C][C]0.192462744525136[/C][C]0.384925489050272[/C][C]0.807537255474864[/C][/ROW]
[ROW][C]37[/C][C]0.123598085817568[/C][C]0.247196171635136[/C][C]0.876401914182432[/C][/ROW]
[ROW][C]38[/C][C]0.103621127666641[/C][C]0.207242255333281[/C][C]0.89637887233336[/C][/ROW]
[ROW][C]39[/C][C]0.0915090611975366[/C][C]0.183018122395073[/C][C]0.908490938802463[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58413&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.02880542335475570.05761084670951140.971194576645244
200.02593962963453990.05187925926907980.97406037036546
210.0494231751733360.0988463503466720.950576824826664
220.0246676288699180.0493352577398360.975332371130082
230.01266978046828360.02533956093656720.987330219531716
240.007539267512128040.01507853502425610.992460732487872
250.1760846555981670.3521693111963330.823915344401833
260.1080746535969990.2161493071939970.891925346403001
270.06707968916913060.1341593783382610.93292031083087
280.08725519499804720.1745103899960940.912744805001953
290.4292105060705520.8584210121411040.570789493929448
300.3680345668404380.7360691336808750.631965433159562
310.3492667445116630.6985334890233260.650733255488337
320.2716552851134760.5433105702269520.728344714886524
330.3808264566137560.7616529132275110.619173543386244
340.2851404178963610.5702808357927220.714859582103639
350.276620582233660.553241164467320.72337941776634
360.1924627445251360.3849254890502720.807537255474864
370.1235980858175680.2471961716351360.876401914182432
380.1036211276666410.2072422553332810.89637887233336
390.09150906119753660.1830181223950730.908490938802463







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

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

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



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