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 07:13:54 -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/t12587265297a5irk5g86rbmxa.htm/, Retrieved Wed, 24 Apr 2024 14:10:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58184, Retrieved Wed, 24 Apr 2024 14:10:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywordsshwws7
Estimated Impact109
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-   PD    [Multiple Regression] [] [2009-11-20 14:01:59] [5482608004c1d7bbf873930172393a2d]
-   P         [Multiple Regression] [] [2009-11-20 14:13:54] [efdfe680cd785c4af09f858b30f777ec] [Current]
Feedback Forum

Post a new message
Dataseries X:
6539	2605
6699	2682
6962	2755
6981	2760
7024	2735
6940	2659
6774	2654
6671	2670
6965	2785
6969	2845
6822	2723
6878	2746
6691	2767
6837	2940
7018	2977
7167	2993
7076	2892
7171	2824
7093	2771
6971	2686
7142	2738
7047	2723
6999	2731
6650	2632
6475	2606
6437	2605
6639	2646
6422	2627
6272	2535
6232	2456
6003	2404
5673	2319
6050	2519
5977	2504
5796	2382
5752	2394
5609	2381
5839	2501
6069	2532
6006	2515
5809	2429
5797	2389
5502	2261
5568	2272
5864	2439
5764	2373
5615	2327
5615	2364
5681	2388
5915	2553
6334	2663
6494	2694
6620	2679
6578	2611
6495	2580
6538	2627
6737	2732
6651	2707
6530	2633
6563	2683




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 3 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]3 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gwilym Jenkins' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Voeding-Mannen[t] = + 6.54533119810063 + 2.51210820360028`Landbouw-Mannen`[t] -4.28395794774435t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Voeding-Mannen[t] =  +  6.54533119810063 +  2.51210820360028`Landbouw-Mannen`[t] -4.28395794774435t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Voeding-Mannen[t] =  +  6.54533119810063 +  2.51210820360028`Landbouw-Mannen`[t] -4.28395794774435t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58184&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
Voeding-Mannen[t] = + 6.54533119810063 + 2.51210820360028`Landbouw-Mannen`[t] -4.28395794774435t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)6.54533119810063424.8576230.01540.9877620.493881
`Landbouw-Mannen`2.512108203600280.15287116.432900
t-4.283957947744351.53039-2.79930.0069780.003489

\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) & 6.54533119810063 & 424.857623 & 0.0154 & 0.987762 & 0.493881 \tabularnewline
`Landbouw-Mannen` & 2.51210820360028 & 0.152871 & 16.4329 & 0 & 0 \tabularnewline
t & -4.28395794774435 & 1.53039 & -2.7993 & 0.006978 & 0.003489 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&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]6.54533119810063[/C][C]424.857623[/C][C]0.0154[/C][C]0.987762[/C][C]0.493881[/C][/ROW]
[ROW][C]`Landbouw-Mannen`[/C][C]2.51210820360028[/C][C]0.152871[/C][C]16.4329[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-4.28395794774435[/C][C]1.53039[/C][C]-2.7993[/C][C]0.006978[/C][C]0.003489[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58184&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)6.54533119810063424.8576230.01540.9877620.493881
`Landbouw-Mannen`2.512108203600280.15287116.432900
t-4.283957947744351.53039-2.79930.0069780.003489







Multiple Linear Regression - Regression Statistics
Multiple R0.939720653731274
R-squared0.883074907049133
Adjusted R-squared0.878972272208752
F-TEST (value)215.245797251373
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation178.018571346665
Sum Squared Residuals1806364.86942554

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.939720653731274 \tabularnewline
R-squared & 0.883074907049133 \tabularnewline
Adjusted R-squared & 0.878972272208752 \tabularnewline
F-TEST (value) & 215.245797251373 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 178.018571346665 \tabularnewline
Sum Squared Residuals & 1806364.86942554 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.939720653731274[/C][/ROW]
[ROW][C]R-squared[/C][C]0.883074907049133[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.878972272208752[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]215.245797251373[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]178.018571346665[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1806364.86942554[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58184&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.939720653731274
R-squared0.883074907049133
Adjusted R-squared0.878972272208752
F-TEST (value)215.245797251373
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation178.018571346665
Sum Squared Residuals1806364.86942554







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
165396546.30324362909-7.30324362908535
266996735.45161735855-36.4516173585529
369626914.5515582736347.4484417263707
469816922.8281413438958.1718586561135
570246855.74147830613168.258521693865
669406660.53729688477279.46270311523
767746643.69279791902130.307202080976
866716679.60257122888-8.60257122888425
969656964.211056695170.78894330482837
1069697110.65359096344-141.653590963444
1168226799.8924321764722.1075678235342
1268786853.3869629115324.6130370884722
1366916901.85727723939-210.857277239389
1468377332.16803851449-495.168038514493
1570187420.83208409996-402.832084099958
1671677456.74185740982-289.741857409818
1770767198.73497089845-122.734970898446
1871717023.62765510588147.372344894117
1970936886.20196236732206.798037632676
2069716668.38880711356302.611192886444
2171426794.73447575303347.265524246974
2270476752.76889475128294.231105248722
2369996768.58180243234230.418197567664
2466506515.59913232816134.400867671836
2564756446.0003610868128.9996389131874
2664376439.20429493547-2.20429493546798
2766396537.91677333534101.083226664665
2864226485.90275951919-63.9027595191853
2962726250.5048468402221.4951531597844
3062326047.76434080805184.235659191950
3160035912.8507562730990.1492437269093
3256735695.03760101932-22.0376010193231
3360506193.17528379163-143.175283791634
3459776151.20970278989-174.209702789885
3557965840.44854400291-44.4485440029074
3657525866.30988449837-114.309884498366
3756095829.36851990382-220.368519903818
3858396126.53754638811-287.537546388107
3960696200.12894275197-131.128942751971
4060066153.13914534302-147.139145343022
4158095932.81388188565-123.813881885654
4257975828.0455957939-31.0455957938987
4355025502.21178778532-0.211787785319172
4455685525.5610200771842.4389799228221
4558645940.79913213068-76.7991321306796
4657645770.71603274532-6.716032745317
4756155650.87509743196-35.87509743196
4856155739.53914301743-124.539143017426
4956815795.54578195609-114.545781956088
5059156205.75967760239-290.759677602389
5163346477.80762205068-143.807622050675
5264946551.39901841454-57.3990184145393
5366206509.43343741279110.566562587209
5465786334.32612162023243.673878379772
5564956252.16680936088242.833190639125
5665386365.95193698234172.048063017657
5767376625.43934041263111.560659587372
5866516558.3526773748892.6473226251232
5965306368.17271236071161.827287639288
6065636489.4941645929873.5058354070185

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 6539 & 6546.30324362909 & -7.30324362908535 \tabularnewline
2 & 6699 & 6735.45161735855 & -36.4516173585529 \tabularnewline
3 & 6962 & 6914.55155827363 & 47.4484417263707 \tabularnewline
4 & 6981 & 6922.82814134389 & 58.1718586561135 \tabularnewline
5 & 7024 & 6855.74147830613 & 168.258521693865 \tabularnewline
6 & 6940 & 6660.53729688477 & 279.46270311523 \tabularnewline
7 & 6774 & 6643.69279791902 & 130.307202080976 \tabularnewline
8 & 6671 & 6679.60257122888 & -8.60257122888425 \tabularnewline
9 & 6965 & 6964.21105669517 & 0.78894330482837 \tabularnewline
10 & 6969 & 7110.65359096344 & -141.653590963444 \tabularnewline
11 & 6822 & 6799.89243217647 & 22.1075678235342 \tabularnewline
12 & 6878 & 6853.38696291153 & 24.6130370884722 \tabularnewline
13 & 6691 & 6901.85727723939 & -210.857277239389 \tabularnewline
14 & 6837 & 7332.16803851449 & -495.168038514493 \tabularnewline
15 & 7018 & 7420.83208409996 & -402.832084099958 \tabularnewline
16 & 7167 & 7456.74185740982 & -289.741857409818 \tabularnewline
17 & 7076 & 7198.73497089845 & -122.734970898446 \tabularnewline
18 & 7171 & 7023.62765510588 & 147.372344894117 \tabularnewline
19 & 7093 & 6886.20196236732 & 206.798037632676 \tabularnewline
20 & 6971 & 6668.38880711356 & 302.611192886444 \tabularnewline
21 & 7142 & 6794.73447575303 & 347.265524246974 \tabularnewline
22 & 7047 & 6752.76889475128 & 294.231105248722 \tabularnewline
23 & 6999 & 6768.58180243234 & 230.418197567664 \tabularnewline
24 & 6650 & 6515.59913232816 & 134.400867671836 \tabularnewline
25 & 6475 & 6446.00036108681 & 28.9996389131874 \tabularnewline
26 & 6437 & 6439.20429493547 & -2.20429493546798 \tabularnewline
27 & 6639 & 6537.91677333534 & 101.083226664665 \tabularnewline
28 & 6422 & 6485.90275951919 & -63.9027595191853 \tabularnewline
29 & 6272 & 6250.50484684022 & 21.4951531597844 \tabularnewline
30 & 6232 & 6047.76434080805 & 184.235659191950 \tabularnewline
31 & 6003 & 5912.85075627309 & 90.1492437269093 \tabularnewline
32 & 5673 & 5695.03760101932 & -22.0376010193231 \tabularnewline
33 & 6050 & 6193.17528379163 & -143.175283791634 \tabularnewline
34 & 5977 & 6151.20970278989 & -174.209702789885 \tabularnewline
35 & 5796 & 5840.44854400291 & -44.4485440029074 \tabularnewline
36 & 5752 & 5866.30988449837 & -114.309884498366 \tabularnewline
37 & 5609 & 5829.36851990382 & -220.368519903818 \tabularnewline
38 & 5839 & 6126.53754638811 & -287.537546388107 \tabularnewline
39 & 6069 & 6200.12894275197 & -131.128942751971 \tabularnewline
40 & 6006 & 6153.13914534302 & -147.139145343022 \tabularnewline
41 & 5809 & 5932.81388188565 & -123.813881885654 \tabularnewline
42 & 5797 & 5828.0455957939 & -31.0455957938987 \tabularnewline
43 & 5502 & 5502.21178778532 & -0.211787785319172 \tabularnewline
44 & 5568 & 5525.56102007718 & 42.4389799228221 \tabularnewline
45 & 5864 & 5940.79913213068 & -76.7991321306796 \tabularnewline
46 & 5764 & 5770.71603274532 & -6.716032745317 \tabularnewline
47 & 5615 & 5650.87509743196 & -35.87509743196 \tabularnewline
48 & 5615 & 5739.53914301743 & -124.539143017426 \tabularnewline
49 & 5681 & 5795.54578195609 & -114.545781956088 \tabularnewline
50 & 5915 & 6205.75967760239 & -290.759677602389 \tabularnewline
51 & 6334 & 6477.80762205068 & -143.807622050675 \tabularnewline
52 & 6494 & 6551.39901841454 & -57.3990184145393 \tabularnewline
53 & 6620 & 6509.43343741279 & 110.566562587209 \tabularnewline
54 & 6578 & 6334.32612162023 & 243.673878379772 \tabularnewline
55 & 6495 & 6252.16680936088 & 242.833190639125 \tabularnewline
56 & 6538 & 6365.95193698234 & 172.048063017657 \tabularnewline
57 & 6737 & 6625.43934041263 & 111.560659587372 \tabularnewline
58 & 6651 & 6558.35267737488 & 92.6473226251232 \tabularnewline
59 & 6530 & 6368.17271236071 & 161.827287639288 \tabularnewline
60 & 6563 & 6489.49416459298 & 73.5058354070185 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&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]6539[/C][C]6546.30324362909[/C][C]-7.30324362908535[/C][/ROW]
[ROW][C]2[/C][C]6699[/C][C]6735.45161735855[/C][C]-36.4516173585529[/C][/ROW]
[ROW][C]3[/C][C]6962[/C][C]6914.55155827363[/C][C]47.4484417263707[/C][/ROW]
[ROW][C]4[/C][C]6981[/C][C]6922.82814134389[/C][C]58.1718586561135[/C][/ROW]
[ROW][C]5[/C][C]7024[/C][C]6855.74147830613[/C][C]168.258521693865[/C][/ROW]
[ROW][C]6[/C][C]6940[/C][C]6660.53729688477[/C][C]279.46270311523[/C][/ROW]
[ROW][C]7[/C][C]6774[/C][C]6643.69279791902[/C][C]130.307202080976[/C][/ROW]
[ROW][C]8[/C][C]6671[/C][C]6679.60257122888[/C][C]-8.60257122888425[/C][/ROW]
[ROW][C]9[/C][C]6965[/C][C]6964.21105669517[/C][C]0.78894330482837[/C][/ROW]
[ROW][C]10[/C][C]6969[/C][C]7110.65359096344[/C][C]-141.653590963444[/C][/ROW]
[ROW][C]11[/C][C]6822[/C][C]6799.89243217647[/C][C]22.1075678235342[/C][/ROW]
[ROW][C]12[/C][C]6878[/C][C]6853.38696291153[/C][C]24.6130370884722[/C][/ROW]
[ROW][C]13[/C][C]6691[/C][C]6901.85727723939[/C][C]-210.857277239389[/C][/ROW]
[ROW][C]14[/C][C]6837[/C][C]7332.16803851449[/C][C]-495.168038514493[/C][/ROW]
[ROW][C]15[/C][C]7018[/C][C]7420.83208409996[/C][C]-402.832084099958[/C][/ROW]
[ROW][C]16[/C][C]7167[/C][C]7456.74185740982[/C][C]-289.741857409818[/C][/ROW]
[ROW][C]17[/C][C]7076[/C][C]7198.73497089845[/C][C]-122.734970898446[/C][/ROW]
[ROW][C]18[/C][C]7171[/C][C]7023.62765510588[/C][C]147.372344894117[/C][/ROW]
[ROW][C]19[/C][C]7093[/C][C]6886.20196236732[/C][C]206.798037632676[/C][/ROW]
[ROW][C]20[/C][C]6971[/C][C]6668.38880711356[/C][C]302.611192886444[/C][/ROW]
[ROW][C]21[/C][C]7142[/C][C]6794.73447575303[/C][C]347.265524246974[/C][/ROW]
[ROW][C]22[/C][C]7047[/C][C]6752.76889475128[/C][C]294.231105248722[/C][/ROW]
[ROW][C]23[/C][C]6999[/C][C]6768.58180243234[/C][C]230.418197567664[/C][/ROW]
[ROW][C]24[/C][C]6650[/C][C]6515.59913232816[/C][C]134.400867671836[/C][/ROW]
[ROW][C]25[/C][C]6475[/C][C]6446.00036108681[/C][C]28.9996389131874[/C][/ROW]
[ROW][C]26[/C][C]6437[/C][C]6439.20429493547[/C][C]-2.20429493546798[/C][/ROW]
[ROW][C]27[/C][C]6639[/C][C]6537.91677333534[/C][C]101.083226664665[/C][/ROW]
[ROW][C]28[/C][C]6422[/C][C]6485.90275951919[/C][C]-63.9027595191853[/C][/ROW]
[ROW][C]29[/C][C]6272[/C][C]6250.50484684022[/C][C]21.4951531597844[/C][/ROW]
[ROW][C]30[/C][C]6232[/C][C]6047.76434080805[/C][C]184.235659191950[/C][/ROW]
[ROW][C]31[/C][C]6003[/C][C]5912.85075627309[/C][C]90.1492437269093[/C][/ROW]
[ROW][C]32[/C][C]5673[/C][C]5695.03760101932[/C][C]-22.0376010193231[/C][/ROW]
[ROW][C]33[/C][C]6050[/C][C]6193.17528379163[/C][C]-143.175283791634[/C][/ROW]
[ROW][C]34[/C][C]5977[/C][C]6151.20970278989[/C][C]-174.209702789885[/C][/ROW]
[ROW][C]35[/C][C]5796[/C][C]5840.44854400291[/C][C]-44.4485440029074[/C][/ROW]
[ROW][C]36[/C][C]5752[/C][C]5866.30988449837[/C][C]-114.309884498366[/C][/ROW]
[ROW][C]37[/C][C]5609[/C][C]5829.36851990382[/C][C]-220.368519903818[/C][/ROW]
[ROW][C]38[/C][C]5839[/C][C]6126.53754638811[/C][C]-287.537546388107[/C][/ROW]
[ROW][C]39[/C][C]6069[/C][C]6200.12894275197[/C][C]-131.128942751971[/C][/ROW]
[ROW][C]40[/C][C]6006[/C][C]6153.13914534302[/C][C]-147.139145343022[/C][/ROW]
[ROW][C]41[/C][C]5809[/C][C]5932.81388188565[/C][C]-123.813881885654[/C][/ROW]
[ROW][C]42[/C][C]5797[/C][C]5828.0455957939[/C][C]-31.0455957938987[/C][/ROW]
[ROW][C]43[/C][C]5502[/C][C]5502.21178778532[/C][C]-0.211787785319172[/C][/ROW]
[ROW][C]44[/C][C]5568[/C][C]5525.56102007718[/C][C]42.4389799228221[/C][/ROW]
[ROW][C]45[/C][C]5864[/C][C]5940.79913213068[/C][C]-76.7991321306796[/C][/ROW]
[ROW][C]46[/C][C]5764[/C][C]5770.71603274532[/C][C]-6.716032745317[/C][/ROW]
[ROW][C]47[/C][C]5615[/C][C]5650.87509743196[/C][C]-35.87509743196[/C][/ROW]
[ROW][C]48[/C][C]5615[/C][C]5739.53914301743[/C][C]-124.539143017426[/C][/ROW]
[ROW][C]49[/C][C]5681[/C][C]5795.54578195609[/C][C]-114.545781956088[/C][/ROW]
[ROW][C]50[/C][C]5915[/C][C]6205.75967760239[/C][C]-290.759677602389[/C][/ROW]
[ROW][C]51[/C][C]6334[/C][C]6477.80762205068[/C][C]-143.807622050675[/C][/ROW]
[ROW][C]52[/C][C]6494[/C][C]6551.39901841454[/C][C]-57.3990184145393[/C][/ROW]
[ROW][C]53[/C][C]6620[/C][C]6509.43343741279[/C][C]110.566562587209[/C][/ROW]
[ROW][C]54[/C][C]6578[/C][C]6334.32612162023[/C][C]243.673878379772[/C][/ROW]
[ROW][C]55[/C][C]6495[/C][C]6252.16680936088[/C][C]242.833190639125[/C][/ROW]
[ROW][C]56[/C][C]6538[/C][C]6365.95193698234[/C][C]172.048063017657[/C][/ROW]
[ROW][C]57[/C][C]6737[/C][C]6625.43934041263[/C][C]111.560659587372[/C][/ROW]
[ROW][C]58[/C][C]6651[/C][C]6558.35267737488[/C][C]92.6473226251232[/C][/ROW]
[ROW][C]59[/C][C]6530[/C][C]6368.17271236071[/C][C]161.827287639288[/C][/ROW]
[ROW][C]60[/C][C]6563[/C][C]6489.49416459298[/C][C]73.5058354070185[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58184&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
165396546.30324362909-7.30324362908535
266996735.45161735855-36.4516173585529
369626914.5515582736347.4484417263707
469816922.8281413438958.1718586561135
570246855.74147830613168.258521693865
669406660.53729688477279.46270311523
767746643.69279791902130.307202080976
866716679.60257122888-8.60257122888425
969656964.211056695170.78894330482837
1069697110.65359096344-141.653590963444
1168226799.8924321764722.1075678235342
1268786853.3869629115324.6130370884722
1366916901.85727723939-210.857277239389
1468377332.16803851449-495.168038514493
1570187420.83208409996-402.832084099958
1671677456.74185740982-289.741857409818
1770767198.73497089845-122.734970898446
1871717023.62765510588147.372344894117
1970936886.20196236732206.798037632676
2069716668.38880711356302.611192886444
2171426794.73447575303347.265524246974
2270476752.76889475128294.231105248722
2369996768.58180243234230.418197567664
2466506515.59913232816134.400867671836
2564756446.0003610868128.9996389131874
2664376439.20429493547-2.20429493546798
2766396537.91677333534101.083226664665
2864226485.90275951919-63.9027595191853
2962726250.5048468402221.4951531597844
3062326047.76434080805184.235659191950
3160035912.8507562730990.1492437269093
3256735695.03760101932-22.0376010193231
3360506193.17528379163-143.175283791634
3459776151.20970278989-174.209702789885
3557965840.44854400291-44.4485440029074
3657525866.30988449837-114.309884498366
3756095829.36851990382-220.368519903818
3858396126.53754638811-287.537546388107
3960696200.12894275197-131.128942751971
4060066153.13914534302-147.139145343022
4158095932.81388188565-123.813881885654
4257975828.0455957939-31.0455957938987
4355025502.21178778532-0.211787785319172
4455685525.5610200771842.4389799228221
4558645940.79913213068-76.7991321306796
4657645770.71603274532-6.716032745317
4756155650.87509743196-35.87509743196
4856155739.53914301743-124.539143017426
4956815795.54578195609-114.545781956088
5059156205.75967760239-290.759677602389
5163346477.80762205068-143.807622050675
5264946551.39901841454-57.3990184145393
5366206509.43343741279110.566562587209
5465786334.32612162023243.673878379772
5564956252.16680936088242.833190639125
5665386365.95193698234172.048063017657
5767376625.43934041263111.560659587372
5866516558.3526773748892.6473226251232
5965306368.17271236071161.827287639288
6065636489.4941645929873.5058354070185







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.006333351287054530.01266670257410910.993666648712946
70.0498445993875810.0996891987751620.95015540061242
80.1440776057619140.2881552115238270.855922394238086
90.1185762128788580.2371524257577170.881423787121142
100.1228268470466830.2456536940933670.877173152953317
110.0715717172404580.1431434344809160.928428282759542
120.03863432738870980.07726865477741960.96136567261129
130.0596405667114670.1192811334229340.940359433288533
140.1636375697182060.3272751394364120.836362430281794
150.1949433213430640.3898866426861280.805056678656936
160.2989816577997710.5979633155995420.701018342200229
170.3803385188237020.7606770376474040.619661481176298
180.5120331531727690.9759336936544610.487966846827231
190.4906654086111710.9813308172223430.509334591388829
200.4486172881777680.8972345763555360.551382711822232
210.4864970056080320.9729940112160640.513502994391968
220.4736309102355580.9472618204711160.526369089764442
230.45499687264620.90999374529240.5450031273538
240.6411325686492980.7177348627014040.358867431350702
250.8026953285637280.3946093428725430.197304671436272
260.8577359463440820.2845281073118350.142264053655918
270.8527931040370240.2944137919259520.147206895962976
280.8690955785552430.2618088428895150.130904421444757
290.8847673034234170.2304653931531660.115232696576583
300.9510798688889390.09784026222212220.0489201311110611
310.9823597216817820.03528055663643670.0176402783182183
320.9919664979089870.01606700418202540.00803350209101268
330.992098143708690.01580371258262170.00790185629131086
340.991302890617340.01739421876532080.0086971093826604
350.9928932029774240.01421359404515230.00710679702257615
360.9920593974703240.01588120505935210.00794060252967606
370.9903475514447440.01930489711051160.00965244855525581
380.9890309400849290.02193811983014210.0109690599150711
390.9824497374478550.03510052510429030.0175502625521452
400.9717222182716420.05655556345671550.0282777817283577
410.9552834013754380.08943319724912340.0447165986245617
420.9435236104704540.1129527790590920.0564763895295459
430.9227861787387780.1544276425224430.0772138212612217
440.9162892481343920.1674215037312160.0837107518656078
450.8843776345415090.2312447309169830.115622365458491
460.8667359319780850.2665281360438300.133264068021915
470.823170542845190.3536589143096190.176829457154809
480.744302197445170.511395605109660.25569780255483
490.6549987391264250.690002521747150.345001260873575
500.9432030392230990.1135939215538010.0567969607769006
510.9854454897517020.02910902049659610.0145545102482981
520.9991532304375040.001693539124991980.000846769562495989
530.9997017027591730.0005965944816528930.000298297240826446
540.9977133452373530.004573309525294970.00228665476264749

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.00633335128705453 & 0.0126667025741091 & 0.993666648712946 \tabularnewline
7 & 0.049844599387581 & 0.099689198775162 & 0.95015540061242 \tabularnewline
8 & 0.144077605761914 & 0.288155211523827 & 0.855922394238086 \tabularnewline
9 & 0.118576212878858 & 0.237152425757717 & 0.881423787121142 \tabularnewline
10 & 0.122826847046683 & 0.245653694093367 & 0.877173152953317 \tabularnewline
11 & 0.071571717240458 & 0.143143434480916 & 0.928428282759542 \tabularnewline
12 & 0.0386343273887098 & 0.0772686547774196 & 0.96136567261129 \tabularnewline
13 & 0.059640566711467 & 0.119281133422934 & 0.940359433288533 \tabularnewline
14 & 0.163637569718206 & 0.327275139436412 & 0.836362430281794 \tabularnewline
15 & 0.194943321343064 & 0.389886642686128 & 0.805056678656936 \tabularnewline
16 & 0.298981657799771 & 0.597963315599542 & 0.701018342200229 \tabularnewline
17 & 0.380338518823702 & 0.760677037647404 & 0.619661481176298 \tabularnewline
18 & 0.512033153172769 & 0.975933693654461 & 0.487966846827231 \tabularnewline
19 & 0.490665408611171 & 0.981330817222343 & 0.509334591388829 \tabularnewline
20 & 0.448617288177768 & 0.897234576355536 & 0.551382711822232 \tabularnewline
21 & 0.486497005608032 & 0.972994011216064 & 0.513502994391968 \tabularnewline
22 & 0.473630910235558 & 0.947261820471116 & 0.526369089764442 \tabularnewline
23 & 0.4549968726462 & 0.9099937452924 & 0.5450031273538 \tabularnewline
24 & 0.641132568649298 & 0.717734862701404 & 0.358867431350702 \tabularnewline
25 & 0.802695328563728 & 0.394609342872543 & 0.197304671436272 \tabularnewline
26 & 0.857735946344082 & 0.284528107311835 & 0.142264053655918 \tabularnewline
27 & 0.852793104037024 & 0.294413791925952 & 0.147206895962976 \tabularnewline
28 & 0.869095578555243 & 0.261808842889515 & 0.130904421444757 \tabularnewline
29 & 0.884767303423417 & 0.230465393153166 & 0.115232696576583 \tabularnewline
30 & 0.951079868888939 & 0.0978402622221222 & 0.0489201311110611 \tabularnewline
31 & 0.982359721681782 & 0.0352805566364367 & 0.0176402783182183 \tabularnewline
32 & 0.991966497908987 & 0.0160670041820254 & 0.00803350209101268 \tabularnewline
33 & 0.99209814370869 & 0.0158037125826217 & 0.00790185629131086 \tabularnewline
34 & 0.99130289061734 & 0.0173942187653208 & 0.0086971093826604 \tabularnewline
35 & 0.992893202977424 & 0.0142135940451523 & 0.00710679702257615 \tabularnewline
36 & 0.992059397470324 & 0.0158812050593521 & 0.00794060252967606 \tabularnewline
37 & 0.990347551444744 & 0.0193048971105116 & 0.00965244855525581 \tabularnewline
38 & 0.989030940084929 & 0.0219381198301421 & 0.0109690599150711 \tabularnewline
39 & 0.982449737447855 & 0.0351005251042903 & 0.0175502625521452 \tabularnewline
40 & 0.971722218271642 & 0.0565555634567155 & 0.0282777817283577 \tabularnewline
41 & 0.955283401375438 & 0.0894331972491234 & 0.0447165986245617 \tabularnewline
42 & 0.943523610470454 & 0.112952779059092 & 0.0564763895295459 \tabularnewline
43 & 0.922786178738778 & 0.154427642522443 & 0.0772138212612217 \tabularnewline
44 & 0.916289248134392 & 0.167421503731216 & 0.0837107518656078 \tabularnewline
45 & 0.884377634541509 & 0.231244730916983 & 0.115622365458491 \tabularnewline
46 & 0.866735931978085 & 0.266528136043830 & 0.133264068021915 \tabularnewline
47 & 0.82317054284519 & 0.353658914309619 & 0.176829457154809 \tabularnewline
48 & 0.74430219744517 & 0.51139560510966 & 0.25569780255483 \tabularnewline
49 & 0.654998739126425 & 0.69000252174715 & 0.345001260873575 \tabularnewline
50 & 0.943203039223099 & 0.113593921553801 & 0.0567969607769006 \tabularnewline
51 & 0.985445489751702 & 0.0291090204965961 & 0.0145545102482981 \tabularnewline
52 & 0.999153230437504 & 0.00169353912499198 & 0.000846769562495989 \tabularnewline
53 & 0.999701702759173 & 0.000596594481652893 & 0.000298297240826446 \tabularnewline
54 & 0.997713345237353 & 0.00457330952529497 & 0.00228665476264749 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58184&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]6[/C][C]0.00633335128705453[/C][C]0.0126667025741091[/C][C]0.993666648712946[/C][/ROW]
[ROW][C]7[/C][C]0.049844599387581[/C][C]0.099689198775162[/C][C]0.95015540061242[/C][/ROW]
[ROW][C]8[/C][C]0.144077605761914[/C][C]0.288155211523827[/C][C]0.855922394238086[/C][/ROW]
[ROW][C]9[/C][C]0.118576212878858[/C][C]0.237152425757717[/C][C]0.881423787121142[/C][/ROW]
[ROW][C]10[/C][C]0.122826847046683[/C][C]0.245653694093367[/C][C]0.877173152953317[/C][/ROW]
[ROW][C]11[/C][C]0.071571717240458[/C][C]0.143143434480916[/C][C]0.928428282759542[/C][/ROW]
[ROW][C]12[/C][C]0.0386343273887098[/C][C]0.0772686547774196[/C][C]0.96136567261129[/C][/ROW]
[ROW][C]13[/C][C]0.059640566711467[/C][C]0.119281133422934[/C][C]0.940359433288533[/C][/ROW]
[ROW][C]14[/C][C]0.163637569718206[/C][C]0.327275139436412[/C][C]0.836362430281794[/C][/ROW]
[ROW][C]15[/C][C]0.194943321343064[/C][C]0.389886642686128[/C][C]0.805056678656936[/C][/ROW]
[ROW][C]16[/C][C]0.298981657799771[/C][C]0.597963315599542[/C][C]0.701018342200229[/C][/ROW]
[ROW][C]17[/C][C]0.380338518823702[/C][C]0.760677037647404[/C][C]0.619661481176298[/C][/ROW]
[ROW][C]18[/C][C]0.512033153172769[/C][C]0.975933693654461[/C][C]0.487966846827231[/C][/ROW]
[ROW][C]19[/C][C]0.490665408611171[/C][C]0.981330817222343[/C][C]0.509334591388829[/C][/ROW]
[ROW][C]20[/C][C]0.448617288177768[/C][C]0.897234576355536[/C][C]0.551382711822232[/C][/ROW]
[ROW][C]21[/C][C]0.486497005608032[/C][C]0.972994011216064[/C][C]0.513502994391968[/C][/ROW]
[ROW][C]22[/C][C]0.473630910235558[/C][C]0.947261820471116[/C][C]0.526369089764442[/C][/ROW]
[ROW][C]23[/C][C]0.4549968726462[/C][C]0.9099937452924[/C][C]0.5450031273538[/C][/ROW]
[ROW][C]24[/C][C]0.641132568649298[/C][C]0.717734862701404[/C][C]0.358867431350702[/C][/ROW]
[ROW][C]25[/C][C]0.802695328563728[/C][C]0.394609342872543[/C][C]0.197304671436272[/C][/ROW]
[ROW][C]26[/C][C]0.857735946344082[/C][C]0.284528107311835[/C][C]0.142264053655918[/C][/ROW]
[ROW][C]27[/C][C]0.852793104037024[/C][C]0.294413791925952[/C][C]0.147206895962976[/C][/ROW]
[ROW][C]28[/C][C]0.869095578555243[/C][C]0.261808842889515[/C][C]0.130904421444757[/C][/ROW]
[ROW][C]29[/C][C]0.884767303423417[/C][C]0.230465393153166[/C][C]0.115232696576583[/C][/ROW]
[ROW][C]30[/C][C]0.951079868888939[/C][C]0.0978402622221222[/C][C]0.0489201311110611[/C][/ROW]
[ROW][C]31[/C][C]0.982359721681782[/C][C]0.0352805566364367[/C][C]0.0176402783182183[/C][/ROW]
[ROW][C]32[/C][C]0.991966497908987[/C][C]0.0160670041820254[/C][C]0.00803350209101268[/C][/ROW]
[ROW][C]33[/C][C]0.99209814370869[/C][C]0.0158037125826217[/C][C]0.00790185629131086[/C][/ROW]
[ROW][C]34[/C][C]0.99130289061734[/C][C]0.0173942187653208[/C][C]0.0086971093826604[/C][/ROW]
[ROW][C]35[/C][C]0.992893202977424[/C][C]0.0142135940451523[/C][C]0.00710679702257615[/C][/ROW]
[ROW][C]36[/C][C]0.992059397470324[/C][C]0.0158812050593521[/C][C]0.00794060252967606[/C][/ROW]
[ROW][C]37[/C][C]0.990347551444744[/C][C]0.0193048971105116[/C][C]0.00965244855525581[/C][/ROW]
[ROW][C]38[/C][C]0.989030940084929[/C][C]0.0219381198301421[/C][C]0.0109690599150711[/C][/ROW]
[ROW][C]39[/C][C]0.982449737447855[/C][C]0.0351005251042903[/C][C]0.0175502625521452[/C][/ROW]
[ROW][C]40[/C][C]0.971722218271642[/C][C]0.0565555634567155[/C][C]0.0282777817283577[/C][/ROW]
[ROW][C]41[/C][C]0.955283401375438[/C][C]0.0894331972491234[/C][C]0.0447165986245617[/C][/ROW]
[ROW][C]42[/C][C]0.943523610470454[/C][C]0.112952779059092[/C][C]0.0564763895295459[/C][/ROW]
[ROW][C]43[/C][C]0.922786178738778[/C][C]0.154427642522443[/C][C]0.0772138212612217[/C][/ROW]
[ROW][C]44[/C][C]0.916289248134392[/C][C]0.167421503731216[/C][C]0.0837107518656078[/C][/ROW]
[ROW][C]45[/C][C]0.884377634541509[/C][C]0.231244730916983[/C][C]0.115622365458491[/C][/ROW]
[ROW][C]46[/C][C]0.866735931978085[/C][C]0.266528136043830[/C][C]0.133264068021915[/C][/ROW]
[ROW][C]47[/C][C]0.82317054284519[/C][C]0.353658914309619[/C][C]0.176829457154809[/C][/ROW]
[ROW][C]48[/C][C]0.74430219744517[/C][C]0.51139560510966[/C][C]0.25569780255483[/C][/ROW]
[ROW][C]49[/C][C]0.654998739126425[/C][C]0.69000252174715[/C][C]0.345001260873575[/C][/ROW]
[ROW][C]50[/C][C]0.943203039223099[/C][C]0.113593921553801[/C][C]0.0567969607769006[/C][/ROW]
[ROW][C]51[/C][C]0.985445489751702[/C][C]0.0291090204965961[/C][C]0.0145545102482981[/C][/ROW]
[ROW][C]52[/C][C]0.999153230437504[/C][C]0.00169353912499198[/C][C]0.000846769562495989[/C][/ROW]
[ROW][C]53[/C][C]0.999701702759173[/C][C]0.000596594481652893[/C][C]0.000298297240826446[/C][/ROW]
[ROW][C]54[/C][C]0.997713345237353[/C][C]0.00457330952529497[/C][C]0.00228665476264749[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58184&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58184&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
60.006333351287054530.01266670257410910.993666648712946
70.0498445993875810.0996891987751620.95015540061242
80.1440776057619140.2881552115238270.855922394238086
90.1185762128788580.2371524257577170.881423787121142
100.1228268470466830.2456536940933670.877173152953317
110.0715717172404580.1431434344809160.928428282759542
120.03863432738870980.07726865477741960.96136567261129
130.0596405667114670.1192811334229340.940359433288533
140.1636375697182060.3272751394364120.836362430281794
150.1949433213430640.3898866426861280.805056678656936
160.2989816577997710.5979633155995420.701018342200229
170.3803385188237020.7606770376474040.619661481176298
180.5120331531727690.9759336936544610.487966846827231
190.4906654086111710.9813308172223430.509334591388829
200.4486172881777680.8972345763555360.551382711822232
210.4864970056080320.9729940112160640.513502994391968
220.4736309102355580.9472618204711160.526369089764442
230.45499687264620.90999374529240.5450031273538
240.6411325686492980.7177348627014040.358867431350702
250.8026953285637280.3946093428725430.197304671436272
260.8577359463440820.2845281073118350.142264053655918
270.8527931040370240.2944137919259520.147206895962976
280.8690955785552430.2618088428895150.130904421444757
290.8847673034234170.2304653931531660.115232696576583
300.9510798688889390.09784026222212220.0489201311110611
310.9823597216817820.03528055663643670.0176402783182183
320.9919664979089870.01606700418202540.00803350209101268
330.992098143708690.01580371258262170.00790185629131086
340.991302890617340.01739421876532080.0086971093826604
350.9928932029774240.01421359404515230.00710679702257615
360.9920593974703240.01588120505935210.00794060252967606
370.9903475514447440.01930489711051160.00965244855525581
380.9890309400849290.02193811983014210.0109690599150711
390.9824497374478550.03510052510429030.0175502625521452
400.9717222182716420.05655556345671550.0282777817283577
410.9552834013754380.08943319724912340.0447165986245617
420.9435236104704540.1129527790590920.0564763895295459
430.9227861787387780.1544276425224430.0772138212612217
440.9162892481343920.1674215037312160.0837107518656078
450.8843776345415090.2312447309169830.115622365458491
460.8667359319780850.2665281360438300.133264068021915
470.823170542845190.3536589143096190.176829457154809
480.744302197445170.511395605109660.25569780255483
490.6549987391264250.690002521747150.345001260873575
500.9432030392230990.1135939215538010.0567969607769006
510.9854454897517020.02910902049659610.0145545102482981
520.9991532304375040.001693539124991980.000846769562495989
530.9997017027591730.0005965944816528930.000298297240826446
540.9977133452373530.004573309525294970.00228665476264749







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.0612244897959184NOK
5% type I error level140.285714285714286NOK
10% type I error level190.387755102040816NOK

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

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



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}