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 computationMon, 21 Nov 2011 13:14:15 -0500
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2011/Nov/21/t1321899279wxor4xkfqfy2jxh.htm/, Retrieved Fri, 19 Apr 2024 21:41:59 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=145881, Retrieved Fri, 19 Apr 2024 21:41:59 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact86
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Decreasing Compet...] [2010-11-17 09:04:39] [b98453cac15ba1066b407e146608df68]
- R  D  [Multiple Regression] [] [2011-11-21 18:05:17] [b4c8fd31b0af00c33711722ddf8d2c4c]
-           [Multiple Regression] [] [2011-11-21 18:14:15] [c092f3a3bdd85c7279ddab6c8c6c9261] [Current]
Feedback Forum

Post a new message
Dataseries X:
9	1167	333	70
9	669	223	44
9	1053	371	35
9	1939	873	119
9	678	186	30
9	321	111	23
10	2667	1277	46
10	345	102	39
10	1367	580	58
10	1158	420	51
11	1385	521	65
11	1155	358	40
9	1120	435	41
9	1703	690	76
9	1189	393	31
10	3083	1149	82
10	1357	486	36
10	1892	767	62
11	883	338	28
11	1627	485	38
11	1412	465	70
11	1900	816	76
9	777	265	33
9	904	307	40
9	2115	850	126
10	1858	704	56
10	1781	693	63
10	1286	387	46
10	1035	406	35
10	1557	573	108
11	1527	595	34
11	1220	394	54
11	1368	521	35
9	564	172	23
9	1990	835	46
9	1557	669	49
10	2057	749	56
10	1111	368	38
11	686	216	19
10	2011	772	29
10	2232	1084	26
9	1032	445	52
9	1166	451	54
9	1020	300	45
10	1735	836	56
10	3623	1417	596
10	918	330	57
10	1579	477	55
11	2790	1028	99
11	1496	646	51
10	1108	342	21
10	496	218	20
10	1750	591	58
10	744	255	21
10	1101	434	66
9	1612	654	47
9	1805	478	55
9	2460	753	158
9	1653	689	46
9	1234	470	45




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

\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' @ jenkins.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&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' @ jenkins.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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' @ jenkins.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Pageviews[t] = + 49.2453233220301 + 22.1855298695415Month[t] + 2.05551752745588CourseCompView[t] + 1.00098910569763CompendiumView_PR[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Pageviews[t] =  +  49.2453233220301 +  22.1855298695415Month[t] +  2.05551752745588CourseCompView[t] +  1.00098910569763CompendiumView_PR[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Pageviews[t] =  +  49.2453233220301 +  22.1855298695415Month[t] +  2.05551752745588CourseCompView[t] +  1.00098910569763CompendiumView_PR[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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
Pageviews[t] = + 49.2453233220301 + 22.1855298695415Month[t] + 2.05551752745588CourseCompView[t] + 1.00098910569763CompendiumView_PR[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)49.2453233220301307.6518810.16010.8734030.436702
Month22.185529869541531.4921960.70450.4840550.242028
CourseCompView2.055517527455880.09973320.610200
CompendiumView_PR1.000989105697630.3704582.7020.0091040.004552

\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) & 49.2453233220301 & 307.651881 & 0.1601 & 0.873403 & 0.436702 \tabularnewline
Month & 22.1855298695415 & 31.492196 & 0.7045 & 0.484055 & 0.242028 \tabularnewline
CourseCompView & 2.05551752745588 & 0.099733 & 20.6102 & 0 & 0 \tabularnewline
CompendiumView_PR & 1.00098910569763 & 0.370458 & 2.702 & 0.009104 & 0.004552 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&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]49.2453233220301[/C][C]307.651881[/C][C]0.1601[/C][C]0.873403[/C][C]0.436702[/C][/ROW]
[ROW][C]Month[/C][C]22.1855298695415[/C][C]31.492196[/C][C]0.7045[/C][C]0.484055[/C][C]0.242028[/C][/ROW]
[ROW][C]CourseCompView[/C][C]2.05551752745588[/C][C]0.099733[/C][C]20.6102[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]CompendiumView_PR[/C][C]1.00098910569763[/C][C]0.370458[/C][C]2.702[/C][C]0.009104[/C][C]0.004552[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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)49.2453233220301307.6518810.16010.8734030.436702
Month22.185529869541531.4921960.70450.4840550.242028
CourseCompView2.055517527455880.09973320.610200
CompendiumView_PR1.000989105697630.3704582.7020.0091040.004552







Multiple Linear Regression - Regression Statistics
Multiple R0.962908799345825
R-squared0.927193355857618
Adjusted R-squared0.923292999921419
F-TEST (value)237.720190419641
F-TEST (DF numerator)3
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation179.115698841929
Sum Squared Residuals1796616.28001142

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.962908799345825 \tabularnewline
R-squared & 0.927193355857618 \tabularnewline
Adjusted R-squared & 0.923292999921419 \tabularnewline
F-TEST (value) & 237.720190419641 \tabularnewline
F-TEST (DF numerator) & 3 \tabularnewline
F-TEST (DF denominator) & 56 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 179.115698841929 \tabularnewline
Sum Squared Residuals & 1796616.28001142 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.962908799345825[/C][/ROW]
[ROW][C]R-squared[/C][C]0.927193355857618[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.923292999921419[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]237.720190419641[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]3[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]56[/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]179.115698841929[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1796616.28001142[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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.962908799345825
R-squared0.927193355857618
Adjusted R-squared0.923292999921419
F-TEST (value)237.720190419641
F-TEST (DF numerator)3
F-TEST (DF denominator)56
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation179.115698841929
Sum Squared Residuals1796616.28001142







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
111671003.47166618955163.528333810454
2669751.33902142126-82.33902142126
310531046.546713533456.45328646654926
419392162.4995971949-223.499597194903
5678661.27102542562616.7289745743743
6321500.100287126552-179.100287126552
726672942.04200344069-275.042003440692
8345519.801984940152-174.801984940152
913671521.35815607232-154.358156072317
1011581185.46842793949-27.4684279394929
1113851429.27507556184-44.275075561845
1211551069.200990944185.799009055904
1311201184.10576992481-64.1057699248133
1417031743.29735812548-40.2973581254792
1511891087.76414271469101.23585728531
1630832714.97136773145368.028632268546
1713571306.1177481661250.8822518338837
1818921909.74389012936-17.7438901293564
198831016.07877112661-133.078771126607
2016271328.2497387196298.750261280403
2114121319.171039552892.8289604471961
2219002046.663626324-146.663626324003
23777826.659877411733-49.6598774117329
24904919.998537304763-15.9985373047632
2521152122.2296178033-7.22961780330133
2618581774.2403512654583.7596487345497
2717811758.6365822033222.3634177966809
2812861112.63140400496173.368595995039
2910351140.67535686395-105.675356863948
3015571557.01898866501-0.0189886650073366
3115271550.35271031695-23.3527103169532
3212201157.2134694122762.7865305877255
3313681399.24540239092-31.2454023909159
34564625.48685630136-61.48685630136
3519902011.31772643565-21.3177264356524
3615571673.10478419507-116.10478419507
3720571866.73864000096190.261359999035
3811111065.5686581377245.431341862282
39686756.296730825711-70.2967308257111
4020111886.98883727861124.011162721386
4122322525.30733852775-293.307338527755
4210321215.67182536205-183.671825362046
4311661230.00690873818-64.0069087381765
441020910.61486014106109.38513985894
4517352045.56866488963-310.568664889626
4636233780.35846541821-157.358465418214
479181006.47778510265-88.4777851026497
4815791306.63688342727272.363116572732
4927902505.45609157569284.543908424306
5014961672.20091901406-176.200919014063
511108995.108387627005112.891612372995
52496739.223225116779-243.223225116779
5317501543.96884887433206.031151125669
54744816.278362738344-72.278362738344
5511011229.26050990934-128.26050990934
5616121640.27004307184-28.2700430718363
5718051286.50687108518518.493128914817
5824601954.87606902241505.123930977594
5916531711.21216742709-58.2121674270943
6012341260.05283980856-26.0528398085595

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1167 & 1003.47166618955 & 163.528333810454 \tabularnewline
2 & 669 & 751.33902142126 & -82.33902142126 \tabularnewline
3 & 1053 & 1046.54671353345 & 6.45328646654926 \tabularnewline
4 & 1939 & 2162.4995971949 & -223.499597194903 \tabularnewline
5 & 678 & 661.271025425626 & 16.7289745743743 \tabularnewline
6 & 321 & 500.100287126552 & -179.100287126552 \tabularnewline
7 & 2667 & 2942.04200344069 & -275.042003440692 \tabularnewline
8 & 345 & 519.801984940152 & -174.801984940152 \tabularnewline
9 & 1367 & 1521.35815607232 & -154.358156072317 \tabularnewline
10 & 1158 & 1185.46842793949 & -27.4684279394929 \tabularnewline
11 & 1385 & 1429.27507556184 & -44.275075561845 \tabularnewline
12 & 1155 & 1069.2009909441 & 85.799009055904 \tabularnewline
13 & 1120 & 1184.10576992481 & -64.1057699248133 \tabularnewline
14 & 1703 & 1743.29735812548 & -40.2973581254792 \tabularnewline
15 & 1189 & 1087.76414271469 & 101.23585728531 \tabularnewline
16 & 3083 & 2714.97136773145 & 368.028632268546 \tabularnewline
17 & 1357 & 1306.11774816612 & 50.8822518338837 \tabularnewline
18 & 1892 & 1909.74389012936 & -17.7438901293564 \tabularnewline
19 & 883 & 1016.07877112661 & -133.078771126607 \tabularnewline
20 & 1627 & 1328.2497387196 & 298.750261280403 \tabularnewline
21 & 1412 & 1319.1710395528 & 92.8289604471961 \tabularnewline
22 & 1900 & 2046.663626324 & -146.663626324003 \tabularnewline
23 & 777 & 826.659877411733 & -49.6598774117329 \tabularnewline
24 & 904 & 919.998537304763 & -15.9985373047632 \tabularnewline
25 & 2115 & 2122.2296178033 & -7.22961780330133 \tabularnewline
26 & 1858 & 1774.24035126545 & 83.7596487345497 \tabularnewline
27 & 1781 & 1758.63658220332 & 22.3634177966809 \tabularnewline
28 & 1286 & 1112.63140400496 & 173.368595995039 \tabularnewline
29 & 1035 & 1140.67535686395 & -105.675356863948 \tabularnewline
30 & 1557 & 1557.01898866501 & -0.0189886650073366 \tabularnewline
31 & 1527 & 1550.35271031695 & -23.3527103169532 \tabularnewline
32 & 1220 & 1157.21346941227 & 62.7865305877255 \tabularnewline
33 & 1368 & 1399.24540239092 & -31.2454023909159 \tabularnewline
34 & 564 & 625.48685630136 & -61.48685630136 \tabularnewline
35 & 1990 & 2011.31772643565 & -21.3177264356524 \tabularnewline
36 & 1557 & 1673.10478419507 & -116.10478419507 \tabularnewline
37 & 2057 & 1866.73864000096 & 190.261359999035 \tabularnewline
38 & 1111 & 1065.56865813772 & 45.431341862282 \tabularnewline
39 & 686 & 756.296730825711 & -70.2967308257111 \tabularnewline
40 & 2011 & 1886.98883727861 & 124.011162721386 \tabularnewline
41 & 2232 & 2525.30733852775 & -293.307338527755 \tabularnewline
42 & 1032 & 1215.67182536205 & -183.671825362046 \tabularnewline
43 & 1166 & 1230.00690873818 & -64.0069087381765 \tabularnewline
44 & 1020 & 910.61486014106 & 109.38513985894 \tabularnewline
45 & 1735 & 2045.56866488963 & -310.568664889626 \tabularnewline
46 & 3623 & 3780.35846541821 & -157.358465418214 \tabularnewline
47 & 918 & 1006.47778510265 & -88.4777851026497 \tabularnewline
48 & 1579 & 1306.63688342727 & 272.363116572732 \tabularnewline
49 & 2790 & 2505.45609157569 & 284.543908424306 \tabularnewline
50 & 1496 & 1672.20091901406 & -176.200919014063 \tabularnewline
51 & 1108 & 995.108387627005 & 112.891612372995 \tabularnewline
52 & 496 & 739.223225116779 & -243.223225116779 \tabularnewline
53 & 1750 & 1543.96884887433 & 206.031151125669 \tabularnewline
54 & 744 & 816.278362738344 & -72.278362738344 \tabularnewline
55 & 1101 & 1229.26050990934 & -128.26050990934 \tabularnewline
56 & 1612 & 1640.27004307184 & -28.2700430718363 \tabularnewline
57 & 1805 & 1286.50687108518 & 518.493128914817 \tabularnewline
58 & 2460 & 1954.87606902241 & 505.123930977594 \tabularnewline
59 & 1653 & 1711.21216742709 & -58.2121674270943 \tabularnewline
60 & 1234 & 1260.05283980856 & -26.0528398085595 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&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]1167[/C][C]1003.47166618955[/C][C]163.528333810454[/C][/ROW]
[ROW][C]2[/C][C]669[/C][C]751.33902142126[/C][C]-82.33902142126[/C][/ROW]
[ROW][C]3[/C][C]1053[/C][C]1046.54671353345[/C][C]6.45328646654926[/C][/ROW]
[ROW][C]4[/C][C]1939[/C][C]2162.4995971949[/C][C]-223.499597194903[/C][/ROW]
[ROW][C]5[/C][C]678[/C][C]661.271025425626[/C][C]16.7289745743743[/C][/ROW]
[ROW][C]6[/C][C]321[/C][C]500.100287126552[/C][C]-179.100287126552[/C][/ROW]
[ROW][C]7[/C][C]2667[/C][C]2942.04200344069[/C][C]-275.042003440692[/C][/ROW]
[ROW][C]8[/C][C]345[/C][C]519.801984940152[/C][C]-174.801984940152[/C][/ROW]
[ROW][C]9[/C][C]1367[/C][C]1521.35815607232[/C][C]-154.358156072317[/C][/ROW]
[ROW][C]10[/C][C]1158[/C][C]1185.46842793949[/C][C]-27.4684279394929[/C][/ROW]
[ROW][C]11[/C][C]1385[/C][C]1429.27507556184[/C][C]-44.275075561845[/C][/ROW]
[ROW][C]12[/C][C]1155[/C][C]1069.2009909441[/C][C]85.799009055904[/C][/ROW]
[ROW][C]13[/C][C]1120[/C][C]1184.10576992481[/C][C]-64.1057699248133[/C][/ROW]
[ROW][C]14[/C][C]1703[/C][C]1743.29735812548[/C][C]-40.2973581254792[/C][/ROW]
[ROW][C]15[/C][C]1189[/C][C]1087.76414271469[/C][C]101.23585728531[/C][/ROW]
[ROW][C]16[/C][C]3083[/C][C]2714.97136773145[/C][C]368.028632268546[/C][/ROW]
[ROW][C]17[/C][C]1357[/C][C]1306.11774816612[/C][C]50.8822518338837[/C][/ROW]
[ROW][C]18[/C][C]1892[/C][C]1909.74389012936[/C][C]-17.7438901293564[/C][/ROW]
[ROW][C]19[/C][C]883[/C][C]1016.07877112661[/C][C]-133.078771126607[/C][/ROW]
[ROW][C]20[/C][C]1627[/C][C]1328.2497387196[/C][C]298.750261280403[/C][/ROW]
[ROW][C]21[/C][C]1412[/C][C]1319.1710395528[/C][C]92.8289604471961[/C][/ROW]
[ROW][C]22[/C][C]1900[/C][C]2046.663626324[/C][C]-146.663626324003[/C][/ROW]
[ROW][C]23[/C][C]777[/C][C]826.659877411733[/C][C]-49.6598774117329[/C][/ROW]
[ROW][C]24[/C][C]904[/C][C]919.998537304763[/C][C]-15.9985373047632[/C][/ROW]
[ROW][C]25[/C][C]2115[/C][C]2122.2296178033[/C][C]-7.22961780330133[/C][/ROW]
[ROW][C]26[/C][C]1858[/C][C]1774.24035126545[/C][C]83.7596487345497[/C][/ROW]
[ROW][C]27[/C][C]1781[/C][C]1758.63658220332[/C][C]22.3634177966809[/C][/ROW]
[ROW][C]28[/C][C]1286[/C][C]1112.63140400496[/C][C]173.368595995039[/C][/ROW]
[ROW][C]29[/C][C]1035[/C][C]1140.67535686395[/C][C]-105.675356863948[/C][/ROW]
[ROW][C]30[/C][C]1557[/C][C]1557.01898866501[/C][C]-0.0189886650073366[/C][/ROW]
[ROW][C]31[/C][C]1527[/C][C]1550.35271031695[/C][C]-23.3527103169532[/C][/ROW]
[ROW][C]32[/C][C]1220[/C][C]1157.21346941227[/C][C]62.7865305877255[/C][/ROW]
[ROW][C]33[/C][C]1368[/C][C]1399.24540239092[/C][C]-31.2454023909159[/C][/ROW]
[ROW][C]34[/C][C]564[/C][C]625.48685630136[/C][C]-61.48685630136[/C][/ROW]
[ROW][C]35[/C][C]1990[/C][C]2011.31772643565[/C][C]-21.3177264356524[/C][/ROW]
[ROW][C]36[/C][C]1557[/C][C]1673.10478419507[/C][C]-116.10478419507[/C][/ROW]
[ROW][C]37[/C][C]2057[/C][C]1866.73864000096[/C][C]190.261359999035[/C][/ROW]
[ROW][C]38[/C][C]1111[/C][C]1065.56865813772[/C][C]45.431341862282[/C][/ROW]
[ROW][C]39[/C][C]686[/C][C]756.296730825711[/C][C]-70.2967308257111[/C][/ROW]
[ROW][C]40[/C][C]2011[/C][C]1886.98883727861[/C][C]124.011162721386[/C][/ROW]
[ROW][C]41[/C][C]2232[/C][C]2525.30733852775[/C][C]-293.307338527755[/C][/ROW]
[ROW][C]42[/C][C]1032[/C][C]1215.67182536205[/C][C]-183.671825362046[/C][/ROW]
[ROW][C]43[/C][C]1166[/C][C]1230.00690873818[/C][C]-64.0069087381765[/C][/ROW]
[ROW][C]44[/C][C]1020[/C][C]910.61486014106[/C][C]109.38513985894[/C][/ROW]
[ROW][C]45[/C][C]1735[/C][C]2045.56866488963[/C][C]-310.568664889626[/C][/ROW]
[ROW][C]46[/C][C]3623[/C][C]3780.35846541821[/C][C]-157.358465418214[/C][/ROW]
[ROW][C]47[/C][C]918[/C][C]1006.47778510265[/C][C]-88.4777851026497[/C][/ROW]
[ROW][C]48[/C][C]1579[/C][C]1306.63688342727[/C][C]272.363116572732[/C][/ROW]
[ROW][C]49[/C][C]2790[/C][C]2505.45609157569[/C][C]284.543908424306[/C][/ROW]
[ROW][C]50[/C][C]1496[/C][C]1672.20091901406[/C][C]-176.200919014063[/C][/ROW]
[ROW][C]51[/C][C]1108[/C][C]995.108387627005[/C][C]112.891612372995[/C][/ROW]
[ROW][C]52[/C][C]496[/C][C]739.223225116779[/C][C]-243.223225116779[/C][/ROW]
[ROW][C]53[/C][C]1750[/C][C]1543.96884887433[/C][C]206.031151125669[/C][/ROW]
[ROW][C]54[/C][C]744[/C][C]816.278362738344[/C][C]-72.278362738344[/C][/ROW]
[ROW][C]55[/C][C]1101[/C][C]1229.26050990934[/C][C]-128.26050990934[/C][/ROW]
[ROW][C]56[/C][C]1612[/C][C]1640.27004307184[/C][C]-28.2700430718363[/C][/ROW]
[ROW][C]57[/C][C]1805[/C][C]1286.50687108518[/C][C]518.493128914817[/C][/ROW]
[ROW][C]58[/C][C]2460[/C][C]1954.87606902241[/C][C]505.123930977594[/C][/ROW]
[ROW][C]59[/C][C]1653[/C][C]1711.21216742709[/C][C]-58.2121674270943[/C][/ROW]
[ROW][C]60[/C][C]1234[/C][C]1260.05283980856[/C][C]-26.0528398085595[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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
111671003.47166618955163.528333810454
2669751.33902142126-82.33902142126
310531046.546713533456.45328646654926
419392162.4995971949-223.499597194903
5678661.27102542562616.7289745743743
6321500.100287126552-179.100287126552
726672942.04200344069-275.042003440692
8345519.801984940152-174.801984940152
913671521.35815607232-154.358156072317
1011581185.46842793949-27.4684279394929
1113851429.27507556184-44.275075561845
1211551069.200990944185.799009055904
1311201184.10576992481-64.1057699248133
1417031743.29735812548-40.2973581254792
1511891087.76414271469101.23585728531
1630832714.97136773145368.028632268546
1713571306.1177481661250.8822518338837
1818921909.74389012936-17.7438901293564
198831016.07877112661-133.078771126607
2016271328.2497387196298.750261280403
2114121319.171039552892.8289604471961
2219002046.663626324-146.663626324003
23777826.659877411733-49.6598774117329
24904919.998537304763-15.9985373047632
2521152122.2296178033-7.22961780330133
2618581774.2403512654583.7596487345497
2717811758.6365822033222.3634177966809
2812861112.63140400496173.368595995039
2910351140.67535686395-105.675356863948
3015571557.01898866501-0.0189886650073366
3115271550.35271031695-23.3527103169532
3212201157.2134694122762.7865305877255
3313681399.24540239092-31.2454023909159
34564625.48685630136-61.48685630136
3519902011.31772643565-21.3177264356524
3615571673.10478419507-116.10478419507
3720571866.73864000096190.261359999035
3811111065.5686581377245.431341862282
39686756.296730825711-70.2967308257111
4020111886.98883727861124.011162721386
4122322525.30733852775-293.307338527755
4210321215.67182536205-183.671825362046
4311661230.00690873818-64.0069087381765
441020910.61486014106109.38513985894
4517352045.56866488963-310.568664889626
4636233780.35846541821-157.358465418214
479181006.47778510265-88.4777851026497
4815791306.63688342727272.363116572732
4927902505.45609157569284.543908424306
5014961672.20091901406-176.200919014063
511108995.108387627005112.891612372995
52496739.223225116779-243.223225116779
5317501543.96884887433206.031151125669
54744816.278362738344-72.278362738344
5511011229.26050990934-128.26050990934
5616121640.27004307184-28.2700430718363
5718051286.50687108518518.493128914817
5824601954.87606902241505.123930977594
5916531711.21216742709-58.2121674270943
6012341260.05283980856-26.0528398085595







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.5268351579458160.9463296841083670.473164842054183
80.4041926859707950.8083853719415910.595807314029205
90.2794618092933550.558923618586710.720538190706645
100.2256409224789580.4512818449579160.774359077521042
110.1690730089687480.3381460179374950.830926991031252
120.1525453411830470.3050906823660940.847454658816953
130.09581126895133790.1916225379026760.904188731048662
140.06416818199978130.1283363639995630.935831818000219
150.06888194920852580.1377638984170520.931118050791474
160.4777490630007670.9554981260015340.522250936999233
170.3991065004922790.7982130009845590.600893499507721
180.3129499094432820.6258998188865640.687050090556718
190.266900715048540.533801430097080.73309928495146
200.4063361995336180.8126723990672360.593663800466382
210.337445318015450.6748906360308990.66255468198455
220.3213552542378550.642710508475710.678644745762145
230.2537453711924610.5074907423849220.746254628807539
240.1936648237134880.3873296474269750.806335176286512
250.14309017788160.2861803557631990.8569098221184
260.1112951503356990.2225903006713990.888704849664301
270.07780522291557170.1556104458311430.922194777084428
280.07607982574333680.1521596514866740.923920174256663
290.05867954420698380.1173590884139680.941320455793016
300.03861507572396640.07723015144793280.961384924276034
310.02491164412766250.04982328825532510.975088355872337
320.01623766677489320.03247533354978640.983762333225107
330.009916342851647330.01983268570329470.990083657148353
340.00616101162019640.01232202324039280.993838988379804
350.003548960262673120.007097920525346240.996451039737327
360.002549289491854450.00509857898370890.997450710508146
370.002864217884532510.005728435769065030.997135782115467
380.001587424223703290.003174848447406580.998412575776297
390.0008891169728559710.001778233945711940.999110883027144
400.0006392358048051720.001278471609610340.999360764195195
410.001869184773942270.003738369547884530.998130815226058
420.002218273908612760.004436547817225520.997781726091387
430.001484230363599220.002968460727198440.998515769636401
440.0009055462667247140.001811092533449430.999094453733275
450.007246715415062330.01449343083012470.992753284584938
460.04429479828563480.08858959657126960.955705201714365
470.03441973922479990.06883947844959980.9655802607752
480.05279695393370130.1055939078674030.947203046066299
490.06797887240092310.1359577448018460.932021127599077
500.04510375259133470.09020750518266940.954896247408665
510.0489928237274270.0979856474548540.951007176272573
520.04227542919555520.08455085839111050.957724570804445
530.1781568015052110.3563136030104210.821843198494789

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
7 & 0.526835157945816 & 0.946329684108367 & 0.473164842054183 \tabularnewline
8 & 0.404192685970795 & 0.808385371941591 & 0.595807314029205 \tabularnewline
9 & 0.279461809293355 & 0.55892361858671 & 0.720538190706645 \tabularnewline
10 & 0.225640922478958 & 0.451281844957916 & 0.774359077521042 \tabularnewline
11 & 0.169073008968748 & 0.338146017937495 & 0.830926991031252 \tabularnewline
12 & 0.152545341183047 & 0.305090682366094 & 0.847454658816953 \tabularnewline
13 & 0.0958112689513379 & 0.191622537902676 & 0.904188731048662 \tabularnewline
14 & 0.0641681819997813 & 0.128336363999563 & 0.935831818000219 \tabularnewline
15 & 0.0688819492085258 & 0.137763898417052 & 0.931118050791474 \tabularnewline
16 & 0.477749063000767 & 0.955498126001534 & 0.522250936999233 \tabularnewline
17 & 0.399106500492279 & 0.798213000984559 & 0.600893499507721 \tabularnewline
18 & 0.312949909443282 & 0.625899818886564 & 0.687050090556718 \tabularnewline
19 & 0.26690071504854 & 0.53380143009708 & 0.73309928495146 \tabularnewline
20 & 0.406336199533618 & 0.812672399067236 & 0.593663800466382 \tabularnewline
21 & 0.33744531801545 & 0.674890636030899 & 0.66255468198455 \tabularnewline
22 & 0.321355254237855 & 0.64271050847571 & 0.678644745762145 \tabularnewline
23 & 0.253745371192461 & 0.507490742384922 & 0.746254628807539 \tabularnewline
24 & 0.193664823713488 & 0.387329647426975 & 0.806335176286512 \tabularnewline
25 & 0.1430901778816 & 0.286180355763199 & 0.8569098221184 \tabularnewline
26 & 0.111295150335699 & 0.222590300671399 & 0.888704849664301 \tabularnewline
27 & 0.0778052229155717 & 0.155610445831143 & 0.922194777084428 \tabularnewline
28 & 0.0760798257433368 & 0.152159651486674 & 0.923920174256663 \tabularnewline
29 & 0.0586795442069838 & 0.117359088413968 & 0.941320455793016 \tabularnewline
30 & 0.0386150757239664 & 0.0772301514479328 & 0.961384924276034 \tabularnewline
31 & 0.0249116441276625 & 0.0498232882553251 & 0.975088355872337 \tabularnewline
32 & 0.0162376667748932 & 0.0324753335497864 & 0.983762333225107 \tabularnewline
33 & 0.00991634285164733 & 0.0198326857032947 & 0.990083657148353 \tabularnewline
34 & 0.0061610116201964 & 0.0123220232403928 & 0.993838988379804 \tabularnewline
35 & 0.00354896026267312 & 0.00709792052534624 & 0.996451039737327 \tabularnewline
36 & 0.00254928949185445 & 0.0050985789837089 & 0.997450710508146 \tabularnewline
37 & 0.00286421788453251 & 0.00572843576906503 & 0.997135782115467 \tabularnewline
38 & 0.00158742422370329 & 0.00317484844740658 & 0.998412575776297 \tabularnewline
39 & 0.000889116972855971 & 0.00177823394571194 & 0.999110883027144 \tabularnewline
40 & 0.000639235804805172 & 0.00127847160961034 & 0.999360764195195 \tabularnewline
41 & 0.00186918477394227 & 0.00373836954788453 & 0.998130815226058 \tabularnewline
42 & 0.00221827390861276 & 0.00443654781722552 & 0.997781726091387 \tabularnewline
43 & 0.00148423036359922 & 0.00296846072719844 & 0.998515769636401 \tabularnewline
44 & 0.000905546266724714 & 0.00181109253344943 & 0.999094453733275 \tabularnewline
45 & 0.00724671541506233 & 0.0144934308301247 & 0.992753284584938 \tabularnewline
46 & 0.0442947982856348 & 0.0885895965712696 & 0.955705201714365 \tabularnewline
47 & 0.0344197392247999 & 0.0688394784495998 & 0.9655802607752 \tabularnewline
48 & 0.0527969539337013 & 0.105593907867403 & 0.947203046066299 \tabularnewline
49 & 0.0679788724009231 & 0.135957744801846 & 0.932021127599077 \tabularnewline
50 & 0.0451037525913347 & 0.0902075051826694 & 0.954896247408665 \tabularnewline
51 & 0.048992823727427 & 0.097985647454854 & 0.951007176272573 \tabularnewline
52 & 0.0422754291955552 & 0.0845508583911105 & 0.957724570804445 \tabularnewline
53 & 0.178156801505211 & 0.356313603010421 & 0.821843198494789 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145881&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]7[/C][C]0.526835157945816[/C][C]0.946329684108367[/C][C]0.473164842054183[/C][/ROW]
[ROW][C]8[/C][C]0.404192685970795[/C][C]0.808385371941591[/C][C]0.595807314029205[/C][/ROW]
[ROW][C]9[/C][C]0.279461809293355[/C][C]0.55892361858671[/C][C]0.720538190706645[/C][/ROW]
[ROW][C]10[/C][C]0.225640922478958[/C][C]0.451281844957916[/C][C]0.774359077521042[/C][/ROW]
[ROW][C]11[/C][C]0.169073008968748[/C][C]0.338146017937495[/C][C]0.830926991031252[/C][/ROW]
[ROW][C]12[/C][C]0.152545341183047[/C][C]0.305090682366094[/C][C]0.847454658816953[/C][/ROW]
[ROW][C]13[/C][C]0.0958112689513379[/C][C]0.191622537902676[/C][C]0.904188731048662[/C][/ROW]
[ROW][C]14[/C][C]0.0641681819997813[/C][C]0.128336363999563[/C][C]0.935831818000219[/C][/ROW]
[ROW][C]15[/C][C]0.0688819492085258[/C][C]0.137763898417052[/C][C]0.931118050791474[/C][/ROW]
[ROW][C]16[/C][C]0.477749063000767[/C][C]0.955498126001534[/C][C]0.522250936999233[/C][/ROW]
[ROW][C]17[/C][C]0.399106500492279[/C][C]0.798213000984559[/C][C]0.600893499507721[/C][/ROW]
[ROW][C]18[/C][C]0.312949909443282[/C][C]0.625899818886564[/C][C]0.687050090556718[/C][/ROW]
[ROW][C]19[/C][C]0.26690071504854[/C][C]0.53380143009708[/C][C]0.73309928495146[/C][/ROW]
[ROW][C]20[/C][C]0.406336199533618[/C][C]0.812672399067236[/C][C]0.593663800466382[/C][/ROW]
[ROW][C]21[/C][C]0.33744531801545[/C][C]0.674890636030899[/C][C]0.66255468198455[/C][/ROW]
[ROW][C]22[/C][C]0.321355254237855[/C][C]0.64271050847571[/C][C]0.678644745762145[/C][/ROW]
[ROW][C]23[/C][C]0.253745371192461[/C][C]0.507490742384922[/C][C]0.746254628807539[/C][/ROW]
[ROW][C]24[/C][C]0.193664823713488[/C][C]0.387329647426975[/C][C]0.806335176286512[/C][/ROW]
[ROW][C]25[/C][C]0.1430901778816[/C][C]0.286180355763199[/C][C]0.8569098221184[/C][/ROW]
[ROW][C]26[/C][C]0.111295150335699[/C][C]0.222590300671399[/C][C]0.888704849664301[/C][/ROW]
[ROW][C]27[/C][C]0.0778052229155717[/C][C]0.155610445831143[/C][C]0.922194777084428[/C][/ROW]
[ROW][C]28[/C][C]0.0760798257433368[/C][C]0.152159651486674[/C][C]0.923920174256663[/C][/ROW]
[ROW][C]29[/C][C]0.0586795442069838[/C][C]0.117359088413968[/C][C]0.941320455793016[/C][/ROW]
[ROW][C]30[/C][C]0.0386150757239664[/C][C]0.0772301514479328[/C][C]0.961384924276034[/C][/ROW]
[ROW][C]31[/C][C]0.0249116441276625[/C][C]0.0498232882553251[/C][C]0.975088355872337[/C][/ROW]
[ROW][C]32[/C][C]0.0162376667748932[/C][C]0.0324753335497864[/C][C]0.983762333225107[/C][/ROW]
[ROW][C]33[/C][C]0.00991634285164733[/C][C]0.0198326857032947[/C][C]0.990083657148353[/C][/ROW]
[ROW][C]34[/C][C]0.0061610116201964[/C][C]0.0123220232403928[/C][C]0.993838988379804[/C][/ROW]
[ROW][C]35[/C][C]0.00354896026267312[/C][C]0.00709792052534624[/C][C]0.996451039737327[/C][/ROW]
[ROW][C]36[/C][C]0.00254928949185445[/C][C]0.0050985789837089[/C][C]0.997450710508146[/C][/ROW]
[ROW][C]37[/C][C]0.00286421788453251[/C][C]0.00572843576906503[/C][C]0.997135782115467[/C][/ROW]
[ROW][C]38[/C][C]0.00158742422370329[/C][C]0.00317484844740658[/C][C]0.998412575776297[/C][/ROW]
[ROW][C]39[/C][C]0.000889116972855971[/C][C]0.00177823394571194[/C][C]0.999110883027144[/C][/ROW]
[ROW][C]40[/C][C]0.000639235804805172[/C][C]0.00127847160961034[/C][C]0.999360764195195[/C][/ROW]
[ROW][C]41[/C][C]0.00186918477394227[/C][C]0.00373836954788453[/C][C]0.998130815226058[/C][/ROW]
[ROW][C]42[/C][C]0.00221827390861276[/C][C]0.00443654781722552[/C][C]0.997781726091387[/C][/ROW]
[ROW][C]43[/C][C]0.00148423036359922[/C][C]0.00296846072719844[/C][C]0.998515769636401[/C][/ROW]
[ROW][C]44[/C][C]0.000905546266724714[/C][C]0.00181109253344943[/C][C]0.999094453733275[/C][/ROW]
[ROW][C]45[/C][C]0.00724671541506233[/C][C]0.0144934308301247[/C][C]0.992753284584938[/C][/ROW]
[ROW][C]46[/C][C]0.0442947982856348[/C][C]0.0885895965712696[/C][C]0.955705201714365[/C][/ROW]
[ROW][C]47[/C][C]0.0344197392247999[/C][C]0.0688394784495998[/C][C]0.9655802607752[/C][/ROW]
[ROW][C]48[/C][C]0.0527969539337013[/C][C]0.105593907867403[/C][C]0.947203046066299[/C][/ROW]
[ROW][C]49[/C][C]0.0679788724009231[/C][C]0.135957744801846[/C][C]0.932021127599077[/C][/ROW]
[ROW][C]50[/C][C]0.0451037525913347[/C][C]0.0902075051826694[/C][C]0.954896247408665[/C][/ROW]
[ROW][C]51[/C][C]0.048992823727427[/C][C]0.097985647454854[/C][C]0.951007176272573[/C][/ROW]
[ROW][C]52[/C][C]0.0422754291955552[/C][C]0.0845508583911105[/C][C]0.957724570804445[/C][/ROW]
[ROW][C]53[/C][C]0.178156801505211[/C][C]0.356313603010421[/C][C]0.821843198494789[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145881&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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
70.5268351579458160.9463296841083670.473164842054183
80.4041926859707950.8083853719415910.595807314029205
90.2794618092933550.558923618586710.720538190706645
100.2256409224789580.4512818449579160.774359077521042
110.1690730089687480.3381460179374950.830926991031252
120.1525453411830470.3050906823660940.847454658816953
130.09581126895133790.1916225379026760.904188731048662
140.06416818199978130.1283363639995630.935831818000219
150.06888194920852580.1377638984170520.931118050791474
160.4777490630007670.9554981260015340.522250936999233
170.3991065004922790.7982130009845590.600893499507721
180.3129499094432820.6258998188865640.687050090556718
190.266900715048540.533801430097080.73309928495146
200.4063361995336180.8126723990672360.593663800466382
210.337445318015450.6748906360308990.66255468198455
220.3213552542378550.642710508475710.678644745762145
230.2537453711924610.5074907423849220.746254628807539
240.1936648237134880.3873296474269750.806335176286512
250.14309017788160.2861803557631990.8569098221184
260.1112951503356990.2225903006713990.888704849664301
270.07780522291557170.1556104458311430.922194777084428
280.07607982574333680.1521596514866740.923920174256663
290.05867954420698380.1173590884139680.941320455793016
300.03861507572396640.07723015144793280.961384924276034
310.02491164412766250.04982328825532510.975088355872337
320.01623766677489320.03247533354978640.983762333225107
330.009916342851647330.01983268570329470.990083657148353
340.00616101162019640.01232202324039280.993838988379804
350.003548960262673120.007097920525346240.996451039737327
360.002549289491854450.00509857898370890.997450710508146
370.002864217884532510.005728435769065030.997135782115467
380.001587424223703290.003174848447406580.998412575776297
390.0008891169728559710.001778233945711940.999110883027144
400.0006392358048051720.001278471609610340.999360764195195
410.001869184773942270.003738369547884530.998130815226058
420.002218273908612760.004436547817225520.997781726091387
430.001484230363599220.002968460727198440.998515769636401
440.0009055462667247140.001811092533449430.999094453733275
450.007246715415062330.01449343083012470.992753284584938
460.04429479828563480.08858959657126960.955705201714365
470.03441973922479990.06883947844959980.9655802607752
480.05279695393370130.1055939078674030.947203046066299
490.06797887240092310.1359577448018460.932021127599077
500.04510375259133470.09020750518266940.954896247408665
510.0489928237274270.0979856474548540.951007176272573
520.04227542919555520.08455085839111050.957724570804445
530.1781568015052110.3563136030104210.821843198494789







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level100.212765957446809NOK
5% type I error level150.319148936170213NOK
10% type I error level210.446808510638298NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145881&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 level100.212765957446809NOK
5% type I error level150.319148936170213NOK
10% type I error level210.446808510638298NOK



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