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 computationTue, 14 Dec 2010 18:36:16 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2010/Dec/14/t129235173964gtrevv4qvjmgf.htm/, Retrieved Thu, 02 May 2024 22:45:29 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=109998, Retrieved Thu, 02 May 2024 22:45:29 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact131
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Kendall tau Correlation Matrix] [] [2010-12-05 17:44:33] [b98453cac15ba1066b407e146608df68]
- RMPD  [Multiple Regression] [] [2010-12-14 17:36:27] [7d64bf19f34ddcdf2626356c9d5bd60d]
-    D      [Multiple Regression] [WS10MR] [2010-12-14 18:36:16] [9be3691a9b6ce074cb51fd18377fce28] [Current]
Feedback Forum

Post a new message
Dataseries X:
2,65	2,89	2,23
2,61	2,55	2,21
2,61	2,47	2,18
2,47	2,24	2,21
2,5	2,26	2,13
2,47	2,33	2,17
2,37	2,3	2,24
2,27	2,28	2,03
2,28	2,26	2,05
2,25	2,23	2,1
2,19	2,31	2,16
2,24	2,24	2,13
2,3	2,07	2,24
2,44	1,98	2,17
2,55	1,93	2,23
2,58	1,96	2,13
2,5	1,99	2,25
2,44	2,01	2,17
2,35	2,11	2,29
2,36	2,26	2,17
2,44	2,39	2,1
2,48	2,63	2,12
2,49	2,73	2,17
2,53	2,87	2,14
2,6	3,01	2,22
2,62	3,18	2,3
2,67	3,24	2,2
2,62	3,06	2,31
2,56	2,94	2,35
2,53	2,85	2,16
2,45	2,84	2,14
2,37	2,73	2,08
2,43	2,42	2,05
2,46	2,14	2,07
2,5	2,03	2,06
2,46	1,98	1,96
2,47	1,9	2,15
2,45	1,88	2,15
2,43	1,87	2,1
2,41	1,83	2,05
2,32	1,82	2,07
2,3	1,83	2,01
2,27	1,83	2,1
2,23	1,82	2,01
2,3	1,84	2,02
2,3	1,87	2,04
2,25	1,87	1,99
2,22	1,87	1,91
2,28	1,84	2,06
2,38	1,81	2,21
2,38	1,78	2,13
2,37	1,79	2,18
2,32	1,79	2,12
2,29	1,8	2,08
2,2	1,82	2,17
2,07	1,94	2,17




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24

\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 & 'Sir Ronald Aylmer Fisher' @ 193.190.124.24 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&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]'Sir Ronald Aylmer Fisher' @ 193.190.124.24[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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'Sir Ronald Aylmer Fisher' @ 193.190.124.24







Multiple Linear Regression - Estimated Regression Equation
Sinaasappelen[t] = + 1.24111305125144 + 0.163787344724504Citroenen[t] + 0.375998886979869Bananen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Sinaasappelen[t] =  +  1.24111305125144 +  0.163787344724504Citroenen[t] +  0.375998886979869Bananen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Sinaasappelen[t] =  +  1.24111305125144 +  0.163787344724504Citroenen[t] +  0.375998886979869Bananen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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
Sinaasappelen[t] = + 1.24111305125144 + 0.163787344724504Citroenen[t] + 0.375998886979869Bananen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)1.241113051251440.3442463.60530.0006890.000345
Citroenen0.1637873447245040.037534.36425.9e-053e-05
Bananen0.3759988869798690.1762632.13320.0375590.01878

\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) & 1.24111305125144 & 0.344246 & 3.6053 & 0.000689 & 0.000345 \tabularnewline
Citroenen & 0.163787344724504 & 0.03753 & 4.3642 & 5.9e-05 & 3e-05 \tabularnewline
Bananen & 0.375998886979869 & 0.176263 & 2.1332 & 0.037559 & 0.01878 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&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]1.24111305125144[/C][C]0.344246[/C][C]3.6053[/C][C]0.000689[/C][C]0.000345[/C][/ROW]
[ROW][C]Citroenen[/C][C]0.163787344724504[/C][C]0.03753[/C][C]4.3642[/C][C]5.9e-05[/C][C]3e-05[/C][/ROW]
[ROW][C]Bananen[/C][C]0.375998886979869[/C][C]0.176263[/C][C]2.1332[/C][C]0.037559[/C][C]0.01878[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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)1.241113051251440.3442463.60530.0006890.000345
Citroenen0.1637873447245040.037534.36425.9e-053e-05
Bananen0.3759988869798690.1762632.13320.0375590.01878







Multiple Linear Regression - Regression Statistics
Multiple R0.667665185920295
R-squared0.445776800489982
Adjusted R-squared0.424862717489604
F-TEST (value)21.3146710989874
F-TEST (DF numerator)2
F-TEST (DF denominator)53
p-value1.61303793544398e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.102702815808202
Sum Squared Residuals0.559037023871477

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.667665185920295 \tabularnewline
R-squared & 0.445776800489982 \tabularnewline
Adjusted R-squared & 0.424862717489604 \tabularnewline
F-TEST (value) & 21.3146710989874 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 53 \tabularnewline
p-value & 1.61303793544398e-07 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.102702815808202 \tabularnewline
Sum Squared Residuals & 0.559037023871477 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.667665185920295[/C][/ROW]
[ROW][C]R-squared[/C][C]0.445776800489982[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.424862717489604[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]21.3146710989874[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]53[/C][/ROW]
[ROW][C]p-value[/C][C]1.61303793544398e-07[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.102702815808202[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.559037023871477[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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.667665185920295
R-squared0.445776800489982
Adjusted R-squared0.424862717489604
F-TEST (value)21.3146710989874
F-TEST (DF numerator)2
F-TEST (DF denominator)53
p-value1.61303793544398e-07
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.102702815808202
Sum Squared Residuals0.559037023871477







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
12.652.552935995470360.0970640045296405
22.612.489728320524430.120271679475567
32.612.465345366337080.144654633662923
42.472.438954243659840.0310457563401635
52.52.412150079595940.0878499204040629
62.472.438655149205850.0313448507941529
72.372.46006145095270-0.090061450952703
82.272.37782593779244-0.107825937792440
92.282.38207016863755-0.102070168637548
102.252.39595649264481-0.145956492644806
112.192.43161941344156-0.241619413441559
122.242.40887433270145-0.168874332701447
132.32.42239036166607-0.122390361666067
142.442.381329578552270.0586704214477292
152.552.395700144534840.154299855465162
162.582.363013876178590.216986123821414
172.52.413047362957910.0869526370420947
182.442.386243198894010.0537568011059941
192.352.44774179980404-0.0977417998040405
202.362.42719003507513-0.067190035075132
212.442.422162467800730.0178375321992732
222.482.468991408274210.0110085917257948
232.492.50417008709565-0.0141700870956488
242.532.515820348747680.0141796512523161
252.62.568830487967500.0311695120324963
262.622.62675424752906-0.00675424752905896
272.672.598981599514540.0710184004854574
282.622.610859755031920.0091402449680828
292.562.60624522914417-0.0462452291441715
302.532.520064579592790.00993542040720883
312.452.51090672840595-0.0609067284059483
322.372.47033018726746-0.100330187267461
332.432.408276143793470.0217238562065319
342.462.369935665010200.0900643349897955
352.52.348159068220710.151840931779290
362.462.30236981228650.157630187713502
372.472.360706613234710.109293386765287
382.452.357430866340220.0925691336597773
392.432.336993048543980.0930069514560157
402.412.311641610406010.0983583895939894
412.322.317523714698360.00247628530163681
422.32.296601654926820.00339834507318392
432.272.33044155475500-0.0604415547550042
442.232.29496378147957-0.0649637814795709
452.32.30199951724386-0.00199951724385990
462.32.31443311532519-0.0144331153251924
472.252.2956331709762-0.0456331709761988
482.222.26555326001781-0.045553260017809
492.282.31703947272305-0.0370394727230547
502.382.36852568542830.0114743145717001
512.382.333532154128180.0464678458718248
522.372.353969971924410.0160300280755864
532.322.33141003870562-0.0114100387056216
542.292.31800795667367-0.0280079566736717
552.22.35512360339635-0.155123603396350
562.072.37477808476329-0.304778084763291

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 2.65 & 2.55293599547036 & 0.0970640045296405 \tabularnewline
2 & 2.61 & 2.48972832052443 & 0.120271679475567 \tabularnewline
3 & 2.61 & 2.46534536633708 & 0.144654633662923 \tabularnewline
4 & 2.47 & 2.43895424365984 & 0.0310457563401635 \tabularnewline
5 & 2.5 & 2.41215007959594 & 0.0878499204040629 \tabularnewline
6 & 2.47 & 2.43865514920585 & 0.0313448507941529 \tabularnewline
7 & 2.37 & 2.46006145095270 & -0.090061450952703 \tabularnewline
8 & 2.27 & 2.37782593779244 & -0.107825937792440 \tabularnewline
9 & 2.28 & 2.38207016863755 & -0.102070168637548 \tabularnewline
10 & 2.25 & 2.39595649264481 & -0.145956492644806 \tabularnewline
11 & 2.19 & 2.43161941344156 & -0.241619413441559 \tabularnewline
12 & 2.24 & 2.40887433270145 & -0.168874332701447 \tabularnewline
13 & 2.3 & 2.42239036166607 & -0.122390361666067 \tabularnewline
14 & 2.44 & 2.38132957855227 & 0.0586704214477292 \tabularnewline
15 & 2.55 & 2.39570014453484 & 0.154299855465162 \tabularnewline
16 & 2.58 & 2.36301387617859 & 0.216986123821414 \tabularnewline
17 & 2.5 & 2.41304736295791 & 0.0869526370420947 \tabularnewline
18 & 2.44 & 2.38624319889401 & 0.0537568011059941 \tabularnewline
19 & 2.35 & 2.44774179980404 & -0.0977417998040405 \tabularnewline
20 & 2.36 & 2.42719003507513 & -0.067190035075132 \tabularnewline
21 & 2.44 & 2.42216246780073 & 0.0178375321992732 \tabularnewline
22 & 2.48 & 2.46899140827421 & 0.0110085917257948 \tabularnewline
23 & 2.49 & 2.50417008709565 & -0.0141700870956488 \tabularnewline
24 & 2.53 & 2.51582034874768 & 0.0141796512523161 \tabularnewline
25 & 2.6 & 2.56883048796750 & 0.0311695120324963 \tabularnewline
26 & 2.62 & 2.62675424752906 & -0.00675424752905896 \tabularnewline
27 & 2.67 & 2.59898159951454 & 0.0710184004854574 \tabularnewline
28 & 2.62 & 2.61085975503192 & 0.0091402449680828 \tabularnewline
29 & 2.56 & 2.60624522914417 & -0.0462452291441715 \tabularnewline
30 & 2.53 & 2.52006457959279 & 0.00993542040720883 \tabularnewline
31 & 2.45 & 2.51090672840595 & -0.0609067284059483 \tabularnewline
32 & 2.37 & 2.47033018726746 & -0.100330187267461 \tabularnewline
33 & 2.43 & 2.40827614379347 & 0.0217238562065319 \tabularnewline
34 & 2.46 & 2.36993566501020 & 0.0900643349897955 \tabularnewline
35 & 2.5 & 2.34815906822071 & 0.151840931779290 \tabularnewline
36 & 2.46 & 2.3023698122865 & 0.157630187713502 \tabularnewline
37 & 2.47 & 2.36070661323471 & 0.109293386765287 \tabularnewline
38 & 2.45 & 2.35743086634022 & 0.0925691336597773 \tabularnewline
39 & 2.43 & 2.33699304854398 & 0.0930069514560157 \tabularnewline
40 & 2.41 & 2.31164161040601 & 0.0983583895939894 \tabularnewline
41 & 2.32 & 2.31752371469836 & 0.00247628530163681 \tabularnewline
42 & 2.3 & 2.29660165492682 & 0.00339834507318392 \tabularnewline
43 & 2.27 & 2.33044155475500 & -0.0604415547550042 \tabularnewline
44 & 2.23 & 2.29496378147957 & -0.0649637814795709 \tabularnewline
45 & 2.3 & 2.30199951724386 & -0.00199951724385990 \tabularnewline
46 & 2.3 & 2.31443311532519 & -0.0144331153251924 \tabularnewline
47 & 2.25 & 2.2956331709762 & -0.0456331709761988 \tabularnewline
48 & 2.22 & 2.26555326001781 & -0.045553260017809 \tabularnewline
49 & 2.28 & 2.31703947272305 & -0.0370394727230547 \tabularnewline
50 & 2.38 & 2.3685256854283 & 0.0114743145717001 \tabularnewline
51 & 2.38 & 2.33353215412818 & 0.0464678458718248 \tabularnewline
52 & 2.37 & 2.35396997192441 & 0.0160300280755864 \tabularnewline
53 & 2.32 & 2.33141003870562 & -0.0114100387056216 \tabularnewline
54 & 2.29 & 2.31800795667367 & -0.0280079566736717 \tabularnewline
55 & 2.2 & 2.35512360339635 & -0.155123603396350 \tabularnewline
56 & 2.07 & 2.37477808476329 & -0.304778084763291 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&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]2.65[/C][C]2.55293599547036[/C][C]0.0970640045296405[/C][/ROW]
[ROW][C]2[/C][C]2.61[/C][C]2.48972832052443[/C][C]0.120271679475567[/C][/ROW]
[ROW][C]3[/C][C]2.61[/C][C]2.46534536633708[/C][C]0.144654633662923[/C][/ROW]
[ROW][C]4[/C][C]2.47[/C][C]2.43895424365984[/C][C]0.0310457563401635[/C][/ROW]
[ROW][C]5[/C][C]2.5[/C][C]2.41215007959594[/C][C]0.0878499204040629[/C][/ROW]
[ROW][C]6[/C][C]2.47[/C][C]2.43865514920585[/C][C]0.0313448507941529[/C][/ROW]
[ROW][C]7[/C][C]2.37[/C][C]2.46006145095270[/C][C]-0.090061450952703[/C][/ROW]
[ROW][C]8[/C][C]2.27[/C][C]2.37782593779244[/C][C]-0.107825937792440[/C][/ROW]
[ROW][C]9[/C][C]2.28[/C][C]2.38207016863755[/C][C]-0.102070168637548[/C][/ROW]
[ROW][C]10[/C][C]2.25[/C][C]2.39595649264481[/C][C]-0.145956492644806[/C][/ROW]
[ROW][C]11[/C][C]2.19[/C][C]2.43161941344156[/C][C]-0.241619413441559[/C][/ROW]
[ROW][C]12[/C][C]2.24[/C][C]2.40887433270145[/C][C]-0.168874332701447[/C][/ROW]
[ROW][C]13[/C][C]2.3[/C][C]2.42239036166607[/C][C]-0.122390361666067[/C][/ROW]
[ROW][C]14[/C][C]2.44[/C][C]2.38132957855227[/C][C]0.0586704214477292[/C][/ROW]
[ROW][C]15[/C][C]2.55[/C][C]2.39570014453484[/C][C]0.154299855465162[/C][/ROW]
[ROW][C]16[/C][C]2.58[/C][C]2.36301387617859[/C][C]0.216986123821414[/C][/ROW]
[ROW][C]17[/C][C]2.5[/C][C]2.41304736295791[/C][C]0.0869526370420947[/C][/ROW]
[ROW][C]18[/C][C]2.44[/C][C]2.38624319889401[/C][C]0.0537568011059941[/C][/ROW]
[ROW][C]19[/C][C]2.35[/C][C]2.44774179980404[/C][C]-0.0977417998040405[/C][/ROW]
[ROW][C]20[/C][C]2.36[/C][C]2.42719003507513[/C][C]-0.067190035075132[/C][/ROW]
[ROW][C]21[/C][C]2.44[/C][C]2.42216246780073[/C][C]0.0178375321992732[/C][/ROW]
[ROW][C]22[/C][C]2.48[/C][C]2.46899140827421[/C][C]0.0110085917257948[/C][/ROW]
[ROW][C]23[/C][C]2.49[/C][C]2.50417008709565[/C][C]-0.0141700870956488[/C][/ROW]
[ROW][C]24[/C][C]2.53[/C][C]2.51582034874768[/C][C]0.0141796512523161[/C][/ROW]
[ROW][C]25[/C][C]2.6[/C][C]2.56883048796750[/C][C]0.0311695120324963[/C][/ROW]
[ROW][C]26[/C][C]2.62[/C][C]2.62675424752906[/C][C]-0.00675424752905896[/C][/ROW]
[ROW][C]27[/C][C]2.67[/C][C]2.59898159951454[/C][C]0.0710184004854574[/C][/ROW]
[ROW][C]28[/C][C]2.62[/C][C]2.61085975503192[/C][C]0.0091402449680828[/C][/ROW]
[ROW][C]29[/C][C]2.56[/C][C]2.60624522914417[/C][C]-0.0462452291441715[/C][/ROW]
[ROW][C]30[/C][C]2.53[/C][C]2.52006457959279[/C][C]0.00993542040720883[/C][/ROW]
[ROW][C]31[/C][C]2.45[/C][C]2.51090672840595[/C][C]-0.0609067284059483[/C][/ROW]
[ROW][C]32[/C][C]2.37[/C][C]2.47033018726746[/C][C]-0.100330187267461[/C][/ROW]
[ROW][C]33[/C][C]2.43[/C][C]2.40827614379347[/C][C]0.0217238562065319[/C][/ROW]
[ROW][C]34[/C][C]2.46[/C][C]2.36993566501020[/C][C]0.0900643349897955[/C][/ROW]
[ROW][C]35[/C][C]2.5[/C][C]2.34815906822071[/C][C]0.151840931779290[/C][/ROW]
[ROW][C]36[/C][C]2.46[/C][C]2.3023698122865[/C][C]0.157630187713502[/C][/ROW]
[ROW][C]37[/C][C]2.47[/C][C]2.36070661323471[/C][C]0.109293386765287[/C][/ROW]
[ROW][C]38[/C][C]2.45[/C][C]2.35743086634022[/C][C]0.0925691336597773[/C][/ROW]
[ROW][C]39[/C][C]2.43[/C][C]2.33699304854398[/C][C]0.0930069514560157[/C][/ROW]
[ROW][C]40[/C][C]2.41[/C][C]2.31164161040601[/C][C]0.0983583895939894[/C][/ROW]
[ROW][C]41[/C][C]2.32[/C][C]2.31752371469836[/C][C]0.00247628530163681[/C][/ROW]
[ROW][C]42[/C][C]2.3[/C][C]2.29660165492682[/C][C]0.00339834507318392[/C][/ROW]
[ROW][C]43[/C][C]2.27[/C][C]2.33044155475500[/C][C]-0.0604415547550042[/C][/ROW]
[ROW][C]44[/C][C]2.23[/C][C]2.29496378147957[/C][C]-0.0649637814795709[/C][/ROW]
[ROW][C]45[/C][C]2.3[/C][C]2.30199951724386[/C][C]-0.00199951724385990[/C][/ROW]
[ROW][C]46[/C][C]2.3[/C][C]2.31443311532519[/C][C]-0.0144331153251924[/C][/ROW]
[ROW][C]47[/C][C]2.25[/C][C]2.2956331709762[/C][C]-0.0456331709761988[/C][/ROW]
[ROW][C]48[/C][C]2.22[/C][C]2.26555326001781[/C][C]-0.045553260017809[/C][/ROW]
[ROW][C]49[/C][C]2.28[/C][C]2.31703947272305[/C][C]-0.0370394727230547[/C][/ROW]
[ROW][C]50[/C][C]2.38[/C][C]2.3685256854283[/C][C]0.0114743145717001[/C][/ROW]
[ROW][C]51[/C][C]2.38[/C][C]2.33353215412818[/C][C]0.0464678458718248[/C][/ROW]
[ROW][C]52[/C][C]2.37[/C][C]2.35396997192441[/C][C]0.0160300280755864[/C][/ROW]
[ROW][C]53[/C][C]2.32[/C][C]2.33141003870562[/C][C]-0.0114100387056216[/C][/ROW]
[ROW][C]54[/C][C]2.29[/C][C]2.31800795667367[/C][C]-0.0280079566736717[/C][/ROW]
[ROW][C]55[/C][C]2.2[/C][C]2.35512360339635[/C][C]-0.155123603396350[/C][/ROW]
[ROW][C]56[/C][C]2.07[/C][C]2.37477808476329[/C][C]-0.304778084763291[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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
12.652.552935995470360.0970640045296405
22.612.489728320524430.120271679475567
32.612.465345366337080.144654633662923
42.472.438954243659840.0310457563401635
52.52.412150079595940.0878499204040629
62.472.438655149205850.0313448507941529
72.372.46006145095270-0.090061450952703
82.272.37782593779244-0.107825937792440
92.282.38207016863755-0.102070168637548
102.252.39595649264481-0.145956492644806
112.192.43161941344156-0.241619413441559
122.242.40887433270145-0.168874332701447
132.32.42239036166607-0.122390361666067
142.442.381329578552270.0586704214477292
152.552.395700144534840.154299855465162
162.582.363013876178590.216986123821414
172.52.413047362957910.0869526370420947
182.442.386243198894010.0537568011059941
192.352.44774179980404-0.0977417998040405
202.362.42719003507513-0.067190035075132
212.442.422162467800730.0178375321992732
222.482.468991408274210.0110085917257948
232.492.50417008709565-0.0141700870956488
242.532.515820348747680.0141796512523161
252.62.568830487967500.0311695120324963
262.622.62675424752906-0.00675424752905896
272.672.598981599514540.0710184004854574
282.622.610859755031920.0091402449680828
292.562.60624522914417-0.0462452291441715
302.532.520064579592790.00993542040720883
312.452.51090672840595-0.0609067284059483
322.372.47033018726746-0.100330187267461
332.432.408276143793470.0217238562065319
342.462.369935665010200.0900643349897955
352.52.348159068220710.151840931779290
362.462.30236981228650.157630187713502
372.472.360706613234710.109293386765287
382.452.357430866340220.0925691336597773
392.432.336993048543980.0930069514560157
402.412.311641610406010.0983583895939894
412.322.317523714698360.00247628530163681
422.32.296601654926820.00339834507318392
432.272.33044155475500-0.0604415547550042
442.232.29496378147957-0.0649637814795709
452.32.30199951724386-0.00199951724385990
462.32.31443311532519-0.0144331153251924
472.252.2956331709762-0.0456331709761988
482.222.26555326001781-0.045553260017809
492.282.31703947272305-0.0370394727230547
502.382.36852568542830.0114743145717001
512.382.333532154128180.0464678458718248
522.372.353969971924410.0160300280755864
532.322.33141003870562-0.0114100387056216
542.292.31800795667367-0.0280079566736717
552.22.35512360339635-0.155123603396350
562.072.37477808476329-0.304778084763291







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.1163404031575430.2326808063150850.883659596842457
70.1225250343677690.2450500687355380.877474965632231
80.4612507360374440.9225014720748870.538749263962556
90.3856295569559330.7712591139118650.614370443044068
100.4046893256110230.8093786512220460.595310674388977
110.7950224851367450.409955029726510.204977514863255
120.8158440274102720.3683119451794560.184155972589728
130.7759183348176560.4481633303646890.224081665182344
140.8511225301816120.2977549396367760.148877469818388
150.9254074696474260.1491850607051490.0745925303525743
160.9903957175643070.01920856487138650.00960428243569323
170.987789187304530.02442162539094190.0122108126954710
180.9822530387968570.03549392240628610.0177469612031430
190.9855632278830520.02887354423389570.0144367721169478
200.979549230859950.04090153828010190.0204507691400509
210.968633185583750.06273362883249970.0313668144162498
220.9518773862422020.09624522751559550.0481226137577977
230.92821171732590.1435765653482010.0717882826741004
240.8966370518656680.2067258962686630.103362948134332
250.8574481586499040.2851036827001920.142551841350096
260.8131263730457640.3737472539084730.186873626954236
270.7817552455959260.4364895088081490.218244754404074
280.732300992406760.5353980151864810.267699007593241
290.6865501265737270.6268997468525460.313449873426273
300.6228142224410710.7543715551178570.377185777558929
310.5523557274011260.8952885451977470.447644272598874
320.5587465320139650.882506935972070.441253467986035
330.5281177656573220.9437644686853570.471882234342678
340.4796746562925470.9593493125850940.520325343707453
350.5302920345648120.9394159308703760.469707965435188
360.6794848311218190.6410303377563620.320515168878181
370.8034959589937710.3930080820124570.196504041006229
380.922070546595230.1558589068095410.0779294534047703
390.9893334628734580.02133307425308320.0106665371265416
400.9963332554803420.007333489039315710.00366674451965786
410.9926650683769740.01466986324605190.00733493162302596
420.985341844746090.02931631050781950.0146581552539098
430.9735857581980450.05282848360390970.0264142418019548
440.9762477057232730.04750458855345360.0237522942767268
450.954693169692060.09061366061588020.0453068303079401
460.9598516272879660.08029674542406820.0401483727120341
470.9342335120171460.1315329759657090.0657664879828545
480.8862565893708250.2274868212583510.113743410629175
490.8624445639993640.2751108720012730.137555436000636
500.8097888992756940.3804222014486130.190211100724306

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.116340403157543 & 0.232680806315085 & 0.883659596842457 \tabularnewline
7 & 0.122525034367769 & 0.245050068735538 & 0.877474965632231 \tabularnewline
8 & 0.461250736037444 & 0.922501472074887 & 0.538749263962556 \tabularnewline
9 & 0.385629556955933 & 0.771259113911865 & 0.614370443044068 \tabularnewline
10 & 0.404689325611023 & 0.809378651222046 & 0.595310674388977 \tabularnewline
11 & 0.795022485136745 & 0.40995502972651 & 0.204977514863255 \tabularnewline
12 & 0.815844027410272 & 0.368311945179456 & 0.184155972589728 \tabularnewline
13 & 0.775918334817656 & 0.448163330364689 & 0.224081665182344 \tabularnewline
14 & 0.851122530181612 & 0.297754939636776 & 0.148877469818388 \tabularnewline
15 & 0.925407469647426 & 0.149185060705149 & 0.0745925303525743 \tabularnewline
16 & 0.990395717564307 & 0.0192085648713865 & 0.00960428243569323 \tabularnewline
17 & 0.98778918730453 & 0.0244216253909419 & 0.0122108126954710 \tabularnewline
18 & 0.982253038796857 & 0.0354939224062861 & 0.0177469612031430 \tabularnewline
19 & 0.985563227883052 & 0.0288735442338957 & 0.0144367721169478 \tabularnewline
20 & 0.97954923085995 & 0.0409015382801019 & 0.0204507691400509 \tabularnewline
21 & 0.96863318558375 & 0.0627336288324997 & 0.0313668144162498 \tabularnewline
22 & 0.951877386242202 & 0.0962452275155955 & 0.0481226137577977 \tabularnewline
23 & 0.9282117173259 & 0.143576565348201 & 0.0717882826741004 \tabularnewline
24 & 0.896637051865668 & 0.206725896268663 & 0.103362948134332 \tabularnewline
25 & 0.857448158649904 & 0.285103682700192 & 0.142551841350096 \tabularnewline
26 & 0.813126373045764 & 0.373747253908473 & 0.186873626954236 \tabularnewline
27 & 0.781755245595926 & 0.436489508808149 & 0.218244754404074 \tabularnewline
28 & 0.73230099240676 & 0.535398015186481 & 0.267699007593241 \tabularnewline
29 & 0.686550126573727 & 0.626899746852546 & 0.313449873426273 \tabularnewline
30 & 0.622814222441071 & 0.754371555117857 & 0.377185777558929 \tabularnewline
31 & 0.552355727401126 & 0.895288545197747 & 0.447644272598874 \tabularnewline
32 & 0.558746532013965 & 0.88250693597207 & 0.441253467986035 \tabularnewline
33 & 0.528117765657322 & 0.943764468685357 & 0.471882234342678 \tabularnewline
34 & 0.479674656292547 & 0.959349312585094 & 0.520325343707453 \tabularnewline
35 & 0.530292034564812 & 0.939415930870376 & 0.469707965435188 \tabularnewline
36 & 0.679484831121819 & 0.641030337756362 & 0.320515168878181 \tabularnewline
37 & 0.803495958993771 & 0.393008082012457 & 0.196504041006229 \tabularnewline
38 & 0.92207054659523 & 0.155858906809541 & 0.0779294534047703 \tabularnewline
39 & 0.989333462873458 & 0.0213330742530832 & 0.0106665371265416 \tabularnewline
40 & 0.996333255480342 & 0.00733348903931571 & 0.00366674451965786 \tabularnewline
41 & 0.992665068376974 & 0.0146698632460519 & 0.00733493162302596 \tabularnewline
42 & 0.98534184474609 & 0.0293163105078195 & 0.0146581552539098 \tabularnewline
43 & 0.973585758198045 & 0.0528284836039097 & 0.0264142418019548 \tabularnewline
44 & 0.976247705723273 & 0.0475045885534536 & 0.0237522942767268 \tabularnewline
45 & 0.95469316969206 & 0.0906136606158802 & 0.0453068303079401 \tabularnewline
46 & 0.959851627287966 & 0.0802967454240682 & 0.0401483727120341 \tabularnewline
47 & 0.934233512017146 & 0.131532975965709 & 0.0657664879828545 \tabularnewline
48 & 0.886256589370825 & 0.227486821258351 & 0.113743410629175 \tabularnewline
49 & 0.862444563999364 & 0.275110872001273 & 0.137555436000636 \tabularnewline
50 & 0.809788899275694 & 0.380422201448613 & 0.190211100724306 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=109998&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.116340403157543[/C][C]0.232680806315085[/C][C]0.883659596842457[/C][/ROW]
[ROW][C]7[/C][C]0.122525034367769[/C][C]0.245050068735538[/C][C]0.877474965632231[/C][/ROW]
[ROW][C]8[/C][C]0.461250736037444[/C][C]0.922501472074887[/C][C]0.538749263962556[/C][/ROW]
[ROW][C]9[/C][C]0.385629556955933[/C][C]0.771259113911865[/C][C]0.614370443044068[/C][/ROW]
[ROW][C]10[/C][C]0.404689325611023[/C][C]0.809378651222046[/C][C]0.595310674388977[/C][/ROW]
[ROW][C]11[/C][C]0.795022485136745[/C][C]0.40995502972651[/C][C]0.204977514863255[/C][/ROW]
[ROW][C]12[/C][C]0.815844027410272[/C][C]0.368311945179456[/C][C]0.184155972589728[/C][/ROW]
[ROW][C]13[/C][C]0.775918334817656[/C][C]0.448163330364689[/C][C]0.224081665182344[/C][/ROW]
[ROW][C]14[/C][C]0.851122530181612[/C][C]0.297754939636776[/C][C]0.148877469818388[/C][/ROW]
[ROW][C]15[/C][C]0.925407469647426[/C][C]0.149185060705149[/C][C]0.0745925303525743[/C][/ROW]
[ROW][C]16[/C][C]0.990395717564307[/C][C]0.0192085648713865[/C][C]0.00960428243569323[/C][/ROW]
[ROW][C]17[/C][C]0.98778918730453[/C][C]0.0244216253909419[/C][C]0.0122108126954710[/C][/ROW]
[ROW][C]18[/C][C]0.982253038796857[/C][C]0.0354939224062861[/C][C]0.0177469612031430[/C][/ROW]
[ROW][C]19[/C][C]0.985563227883052[/C][C]0.0288735442338957[/C][C]0.0144367721169478[/C][/ROW]
[ROW][C]20[/C][C]0.97954923085995[/C][C]0.0409015382801019[/C][C]0.0204507691400509[/C][/ROW]
[ROW][C]21[/C][C]0.96863318558375[/C][C]0.0627336288324997[/C][C]0.0313668144162498[/C][/ROW]
[ROW][C]22[/C][C]0.951877386242202[/C][C]0.0962452275155955[/C][C]0.0481226137577977[/C][/ROW]
[ROW][C]23[/C][C]0.9282117173259[/C][C]0.143576565348201[/C][C]0.0717882826741004[/C][/ROW]
[ROW][C]24[/C][C]0.896637051865668[/C][C]0.206725896268663[/C][C]0.103362948134332[/C][/ROW]
[ROW][C]25[/C][C]0.857448158649904[/C][C]0.285103682700192[/C][C]0.142551841350096[/C][/ROW]
[ROW][C]26[/C][C]0.813126373045764[/C][C]0.373747253908473[/C][C]0.186873626954236[/C][/ROW]
[ROW][C]27[/C][C]0.781755245595926[/C][C]0.436489508808149[/C][C]0.218244754404074[/C][/ROW]
[ROW][C]28[/C][C]0.73230099240676[/C][C]0.535398015186481[/C][C]0.267699007593241[/C][/ROW]
[ROW][C]29[/C][C]0.686550126573727[/C][C]0.626899746852546[/C][C]0.313449873426273[/C][/ROW]
[ROW][C]30[/C][C]0.622814222441071[/C][C]0.754371555117857[/C][C]0.377185777558929[/C][/ROW]
[ROW][C]31[/C][C]0.552355727401126[/C][C]0.895288545197747[/C][C]0.447644272598874[/C][/ROW]
[ROW][C]32[/C][C]0.558746532013965[/C][C]0.88250693597207[/C][C]0.441253467986035[/C][/ROW]
[ROW][C]33[/C][C]0.528117765657322[/C][C]0.943764468685357[/C][C]0.471882234342678[/C][/ROW]
[ROW][C]34[/C][C]0.479674656292547[/C][C]0.959349312585094[/C][C]0.520325343707453[/C][/ROW]
[ROW][C]35[/C][C]0.530292034564812[/C][C]0.939415930870376[/C][C]0.469707965435188[/C][/ROW]
[ROW][C]36[/C][C]0.679484831121819[/C][C]0.641030337756362[/C][C]0.320515168878181[/C][/ROW]
[ROW][C]37[/C][C]0.803495958993771[/C][C]0.393008082012457[/C][C]0.196504041006229[/C][/ROW]
[ROW][C]38[/C][C]0.92207054659523[/C][C]0.155858906809541[/C][C]0.0779294534047703[/C][/ROW]
[ROW][C]39[/C][C]0.989333462873458[/C][C]0.0213330742530832[/C][C]0.0106665371265416[/C][/ROW]
[ROW][C]40[/C][C]0.996333255480342[/C][C]0.00733348903931571[/C][C]0.00366674451965786[/C][/ROW]
[ROW][C]41[/C][C]0.992665068376974[/C][C]0.0146698632460519[/C][C]0.00733493162302596[/C][/ROW]
[ROW][C]42[/C][C]0.98534184474609[/C][C]0.0293163105078195[/C][C]0.0146581552539098[/C][/ROW]
[ROW][C]43[/C][C]0.973585758198045[/C][C]0.0528284836039097[/C][C]0.0264142418019548[/C][/ROW]
[ROW][C]44[/C][C]0.976247705723273[/C][C]0.0475045885534536[/C][C]0.0237522942767268[/C][/ROW]
[ROW][C]45[/C][C]0.95469316969206[/C][C]0.0906136606158802[/C][C]0.0453068303079401[/C][/ROW]
[ROW][C]46[/C][C]0.959851627287966[/C][C]0.0802967454240682[/C][C]0.0401483727120341[/C][/ROW]
[ROW][C]47[/C][C]0.934233512017146[/C][C]0.131532975965709[/C][C]0.0657664879828545[/C][/ROW]
[ROW][C]48[/C][C]0.886256589370825[/C][C]0.227486821258351[/C][C]0.113743410629175[/C][/ROW]
[ROW][C]49[/C][C]0.862444563999364[/C][C]0.275110872001273[/C][C]0.137555436000636[/C][/ROW]
[ROW][C]50[/C][C]0.809788899275694[/C][C]0.380422201448613[/C][C]0.190211100724306[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=109998&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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.1163404031575430.2326808063150850.883659596842457
70.1225250343677690.2450500687355380.877474965632231
80.4612507360374440.9225014720748870.538749263962556
90.3856295569559330.7712591139118650.614370443044068
100.4046893256110230.8093786512220460.595310674388977
110.7950224851367450.409955029726510.204977514863255
120.8158440274102720.3683119451794560.184155972589728
130.7759183348176560.4481633303646890.224081665182344
140.8511225301816120.2977549396367760.148877469818388
150.9254074696474260.1491850607051490.0745925303525743
160.9903957175643070.01920856487138650.00960428243569323
170.987789187304530.02442162539094190.0122108126954710
180.9822530387968570.03549392240628610.0177469612031430
190.9855632278830520.02887354423389570.0144367721169478
200.979549230859950.04090153828010190.0204507691400509
210.968633185583750.06273362883249970.0313668144162498
220.9518773862422020.09624522751559550.0481226137577977
230.92821171732590.1435765653482010.0717882826741004
240.8966370518656680.2067258962686630.103362948134332
250.8574481586499040.2851036827001920.142551841350096
260.8131263730457640.3737472539084730.186873626954236
270.7817552455959260.4364895088081490.218244754404074
280.732300992406760.5353980151864810.267699007593241
290.6865501265737270.6268997468525460.313449873426273
300.6228142224410710.7543715551178570.377185777558929
310.5523557274011260.8952885451977470.447644272598874
320.5587465320139650.882506935972070.441253467986035
330.5281177656573220.9437644686853570.471882234342678
340.4796746562925470.9593493125850940.520325343707453
350.5302920345648120.9394159308703760.469707965435188
360.6794848311218190.6410303377563620.320515168878181
370.8034959589937710.3930080820124570.196504041006229
380.922070546595230.1558589068095410.0779294534047703
390.9893334628734580.02133307425308320.0106665371265416
400.9963332554803420.007333489039315710.00366674451965786
410.9926650683769740.01466986324605190.00733493162302596
420.985341844746090.02931631050781950.0146581552539098
430.9735857581980450.05282848360390970.0264142418019548
440.9762477057232730.04750458855345360.0237522942767268
450.954693169692060.09061366061588020.0453068303079401
460.9598516272879660.08029674542406820.0401483727120341
470.9342335120171460.1315329759657090.0657664879828545
480.8862565893708250.2274868212583510.113743410629175
490.8624445639993640.2751108720012730.137555436000636
500.8097888992756940.3804222014486130.190211100724306







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0222222222222222NOK
5% type I error level100.222222222222222NOK
10% type I error level150.333333333333333NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=109998&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 level10.0222222222222222NOK
5% type I error level100.222222222222222NOK
10% type I error level150.333333333333333NOK



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