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 12:26:01 -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/t1321896382qec8acmlfkhnry2.htm/, Retrieved Fri, 26 Apr 2024 09:55:17 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=145844, Retrieved Fri, 26 Apr 2024 09:55:17 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact93
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
- R PD    [Multiple Regression] [] [2011-11-21 17:26:01] [79818163420d1233b8d9d93d595e6c9e] [Current]
-    D      [Multiple Regression] [] [2011-11-21 17:47:02] [86f7284edee3dbb8ea5c7e2dec87d892]
Feedback Forum

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




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

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







Multiple Linear Regression - Estimated Regression Equation
TotalNrPV[t] = + 263.671396878483 + 2.06460984300451TotalNrCC[t] + 0.9806804078626TotalNrPRV[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
TotalNrPV[t] =  +  263.671396878483 +  2.06460984300451TotalNrCC[t] +  0.9806804078626TotalNrPRV[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145844&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]TotalNrPV[t] =  +  263.671396878483 +  2.06460984300451TotalNrCC[t] +  0.9806804078626TotalNrPRV[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145844&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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
TotalNrPV[t] = + 263.671396878483 + 2.06460984300451TotalNrCC[t] + 0.9806804078626TotalNrPRV[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)263.67139687848351.0837355.16163e-062e-06
TotalNrCC2.064609843004510.09827621.008300
TotalNrPRV0.98068040786260.3674772.66870.00990.00495

\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) & 263.671396878483 & 51.083735 & 5.1616 & 3e-06 & 2e-06 \tabularnewline
TotalNrCC & 2.06460984300451 & 0.098276 & 21.0083 & 0 & 0 \tabularnewline
TotalNrPRV & 0.9806804078626 & 0.367477 & 2.6687 & 0.0099 & 0.00495 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145844&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]263.671396878483[/C][C]51.083735[/C][C]5.1616[/C][C]3e-06[/C][C]2e-06[/C][/ROW]
[ROW][C]TotalNrCC[/C][C]2.06460984300451[/C][C]0.098276[/C][C]21.0083[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]TotalNrPRV[/C][C]0.9806804078626[/C][C]0.367477[/C][C]2.6687[/C][C]0.0099[/C][C]0.00495[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145844&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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)263.67139687848351.0837355.16163e-062e-06
TotalNrCC2.064609843004510.09827621.008300
TotalNrPRV0.98068040786260.3674772.66870.00990.00495







Multiple Linear Regression - Regression Statistics
Multiple R0.962581335039603
R-squared0.926562826566625
Adjusted R-squared0.923986083639138
F-TEST (value)359.586832152606
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation178.199149066604
Sum Squared Residuals1810031.39349953

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.962581335039603 \tabularnewline
R-squared & 0.926562826566625 \tabularnewline
Adjusted R-squared & 0.923986083639138 \tabularnewline
F-TEST (value) & 359.586832152606 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 57 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 178.199149066604 \tabularnewline
Sum Squared Residuals & 1810031.39349953 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145844&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.962581335039603[/C][/ROW]
[ROW][C]R-squared[/C][C]0.926562826566625[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.923986083639138[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]359.586832152606[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]57[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]178.199149066604[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1810031.39349953[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145844&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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.962581335039603
R-squared0.926562826566625
Adjusted R-squared0.923986083639138
F-TEST (value)359.586832152606
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation178.199149066604
Sum Squared Residuals1810031.39349953







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
111671019.83410314937147.165896850634
2669767.229329814442-98.2293298144423
310631069.07536300222-6.07536300221766
419392182.77675835707-243.776758357067
5678677.10923991320.890760086800492
6321515.398738832823-194.398738832823
726672945.28946515692-278.289465156917
8345512.508136771584-167.508136771584
913671518.02456947713-151.024569477128
1011581180.82223174137-22.8222317413685
1113851403.0773515949-18.0773515949
1211551042.0289369886112.9710630114
1311541219.48213445971-65.4821344597087
1417031762.78389954915-59.7838995491501
1511891105.4641578229983.5358421770052
1630832716.32389993539366.676100064606
1713571302.3762752617354.6237247382731
1818921908.02933175042-16.0293317504206
19883988.968575234159-105.968575234159
2016271302.27302623445324.726973765552
2114121292.36260242596119.637397574039
2219002022.92473976772-122.924739767718
23777843.155458734143-66.1554587341433
24904936.733834995371-32.7338349953707
2521152142.155494823-27.1554948230011
2618581772.0748291939685.9251708060388
2717811756.2288837759524.7711162240502
2812861107.78670488291178.213295117093
2910351136.2268074135-101.226807413504
3015571552.606320969234.39367903077391
3115271525.457387333491.54261266650715
3212201130.0844170468489.9155829531609
3313681373.65693935902-5.656939359022
34564641.339939256098-77.3399392560983
3519902032.73191454893-42.7319145489255
3615571692.94872183377-135.948721833765
3720571864.98227212916192.017727870836
3811111060.7136746029250.2863253970797
39686728.260050716846-42.2600507168461
4020111885.98992750598125.010072494023
4122322527.2061572998-295.206157299796
4210321233.41815822434-201.418158224344
4311661247.7671780981-81.767178098096
441020927.18496813365292.8150318663479
4517352044.60332847056-309.603328470556
4636233773.70906750198-150.709067501978
479181000.89142831814-82.8914283181385
4815791302.42771442408276.572285575924
4927902483.17767586551306.822324134487
5014961647.42405626039-151.424056260387
511108990.362251751139117.637748248861
52496733.369950810718-237.369950810718
5317501540.73527775018209.264722249823
54744810.741195409747-66.741195409747
5511011224.43697566137-123.436975661371
5616121660.01821337297-48.0182133729725
5718051304.49232426708500.50767573292
5824601973.27011310317486.729886896833
5916531731.29887747027-78.2988774702676
6012341278.16864144442-44.1686414444182

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 1167 & 1019.83410314937 & 147.165896850634 \tabularnewline
2 & 669 & 767.229329814442 & -98.2293298144423 \tabularnewline
3 & 1063 & 1069.07536300222 & -6.07536300221766 \tabularnewline
4 & 1939 & 2182.77675835707 & -243.776758357067 \tabularnewline
5 & 678 & 677.1092399132 & 0.890760086800492 \tabularnewline
6 & 321 & 515.398738832823 & -194.398738832823 \tabularnewline
7 & 2667 & 2945.28946515692 & -278.289465156917 \tabularnewline
8 & 345 & 512.508136771584 & -167.508136771584 \tabularnewline
9 & 1367 & 1518.02456947713 & -151.024569477128 \tabularnewline
10 & 1158 & 1180.82223174137 & -22.8222317413685 \tabularnewline
11 & 1385 & 1403.0773515949 & -18.0773515949 \tabularnewline
12 & 1155 & 1042.0289369886 & 112.9710630114 \tabularnewline
13 & 1154 & 1219.48213445971 & -65.4821344597087 \tabularnewline
14 & 1703 & 1762.78389954915 & -59.7838995491501 \tabularnewline
15 & 1189 & 1105.46415782299 & 83.5358421770052 \tabularnewline
16 & 3083 & 2716.32389993539 & 366.676100064606 \tabularnewline
17 & 1357 & 1302.37627526173 & 54.6237247382731 \tabularnewline
18 & 1892 & 1908.02933175042 & -16.0293317504206 \tabularnewline
19 & 883 & 988.968575234159 & -105.968575234159 \tabularnewline
20 & 1627 & 1302.27302623445 & 324.726973765552 \tabularnewline
21 & 1412 & 1292.36260242596 & 119.637397574039 \tabularnewline
22 & 1900 & 2022.92473976772 & -122.924739767718 \tabularnewline
23 & 777 & 843.155458734143 & -66.1554587341433 \tabularnewline
24 & 904 & 936.733834995371 & -32.7338349953707 \tabularnewline
25 & 2115 & 2142.155494823 & -27.1554948230011 \tabularnewline
26 & 1858 & 1772.07482919396 & 85.9251708060388 \tabularnewline
27 & 1781 & 1756.22888377595 & 24.7711162240502 \tabularnewline
28 & 1286 & 1107.78670488291 & 178.213295117093 \tabularnewline
29 & 1035 & 1136.2268074135 & -101.226807413504 \tabularnewline
30 & 1557 & 1552.60632096923 & 4.39367903077391 \tabularnewline
31 & 1527 & 1525.45738733349 & 1.54261266650715 \tabularnewline
32 & 1220 & 1130.08441704684 & 89.9155829531609 \tabularnewline
33 & 1368 & 1373.65693935902 & -5.656939359022 \tabularnewline
34 & 564 & 641.339939256098 & -77.3399392560983 \tabularnewline
35 & 1990 & 2032.73191454893 & -42.7319145489255 \tabularnewline
36 & 1557 & 1692.94872183377 & -135.948721833765 \tabularnewline
37 & 2057 & 1864.98227212916 & 192.017727870836 \tabularnewline
38 & 1111 & 1060.71367460292 & 50.2863253970797 \tabularnewline
39 & 686 & 728.260050716846 & -42.2600507168461 \tabularnewline
40 & 2011 & 1885.98992750598 & 125.010072494023 \tabularnewline
41 & 2232 & 2527.2061572998 & -295.206157299796 \tabularnewline
42 & 1032 & 1233.41815822434 & -201.418158224344 \tabularnewline
43 & 1166 & 1247.7671780981 & -81.767178098096 \tabularnewline
44 & 1020 & 927.184968133652 & 92.8150318663479 \tabularnewline
45 & 1735 & 2044.60332847056 & -309.603328470556 \tabularnewline
46 & 3623 & 3773.70906750198 & -150.709067501978 \tabularnewline
47 & 918 & 1000.89142831814 & -82.8914283181385 \tabularnewline
48 & 1579 & 1302.42771442408 & 276.572285575924 \tabularnewline
49 & 2790 & 2483.17767586551 & 306.822324134487 \tabularnewline
50 & 1496 & 1647.42405626039 & -151.424056260387 \tabularnewline
51 & 1108 & 990.362251751139 & 117.637748248861 \tabularnewline
52 & 496 & 733.369950810718 & -237.369950810718 \tabularnewline
53 & 1750 & 1540.73527775018 & 209.264722249823 \tabularnewline
54 & 744 & 810.741195409747 & -66.741195409747 \tabularnewline
55 & 1101 & 1224.43697566137 & -123.436975661371 \tabularnewline
56 & 1612 & 1660.01821337297 & -48.0182133729725 \tabularnewline
57 & 1805 & 1304.49232426708 & 500.50767573292 \tabularnewline
58 & 2460 & 1973.27011310317 & 486.729886896833 \tabularnewline
59 & 1653 & 1731.29887747027 & -78.2988774702676 \tabularnewline
60 & 1234 & 1278.16864144442 & -44.1686414444182 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145844&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]1019.83410314937[/C][C]147.165896850634[/C][/ROW]
[ROW][C]2[/C][C]669[/C][C]767.229329814442[/C][C]-98.2293298144423[/C][/ROW]
[ROW][C]3[/C][C]1063[/C][C]1069.07536300222[/C][C]-6.07536300221766[/C][/ROW]
[ROW][C]4[/C][C]1939[/C][C]2182.77675835707[/C][C]-243.776758357067[/C][/ROW]
[ROW][C]5[/C][C]678[/C][C]677.1092399132[/C][C]0.890760086800492[/C][/ROW]
[ROW][C]6[/C][C]321[/C][C]515.398738832823[/C][C]-194.398738832823[/C][/ROW]
[ROW][C]7[/C][C]2667[/C][C]2945.28946515692[/C][C]-278.289465156917[/C][/ROW]
[ROW][C]8[/C][C]345[/C][C]512.508136771584[/C][C]-167.508136771584[/C][/ROW]
[ROW][C]9[/C][C]1367[/C][C]1518.02456947713[/C][C]-151.024569477128[/C][/ROW]
[ROW][C]10[/C][C]1158[/C][C]1180.82223174137[/C][C]-22.8222317413685[/C][/ROW]
[ROW][C]11[/C][C]1385[/C][C]1403.0773515949[/C][C]-18.0773515949[/C][/ROW]
[ROW][C]12[/C][C]1155[/C][C]1042.0289369886[/C][C]112.9710630114[/C][/ROW]
[ROW][C]13[/C][C]1154[/C][C]1219.48213445971[/C][C]-65.4821344597087[/C][/ROW]
[ROW][C]14[/C][C]1703[/C][C]1762.78389954915[/C][C]-59.7838995491501[/C][/ROW]
[ROW][C]15[/C][C]1189[/C][C]1105.46415782299[/C][C]83.5358421770052[/C][/ROW]
[ROW][C]16[/C][C]3083[/C][C]2716.32389993539[/C][C]366.676100064606[/C][/ROW]
[ROW][C]17[/C][C]1357[/C][C]1302.37627526173[/C][C]54.6237247382731[/C][/ROW]
[ROW][C]18[/C][C]1892[/C][C]1908.02933175042[/C][C]-16.0293317504206[/C][/ROW]
[ROW][C]19[/C][C]883[/C][C]988.968575234159[/C][C]-105.968575234159[/C][/ROW]
[ROW][C]20[/C][C]1627[/C][C]1302.27302623445[/C][C]324.726973765552[/C][/ROW]
[ROW][C]21[/C][C]1412[/C][C]1292.36260242596[/C][C]119.637397574039[/C][/ROW]
[ROW][C]22[/C][C]1900[/C][C]2022.92473976772[/C][C]-122.924739767718[/C][/ROW]
[ROW][C]23[/C][C]777[/C][C]843.155458734143[/C][C]-66.1554587341433[/C][/ROW]
[ROW][C]24[/C][C]904[/C][C]936.733834995371[/C][C]-32.7338349953707[/C][/ROW]
[ROW][C]25[/C][C]2115[/C][C]2142.155494823[/C][C]-27.1554948230011[/C][/ROW]
[ROW][C]26[/C][C]1858[/C][C]1772.07482919396[/C][C]85.9251708060388[/C][/ROW]
[ROW][C]27[/C][C]1781[/C][C]1756.22888377595[/C][C]24.7711162240502[/C][/ROW]
[ROW][C]28[/C][C]1286[/C][C]1107.78670488291[/C][C]178.213295117093[/C][/ROW]
[ROW][C]29[/C][C]1035[/C][C]1136.2268074135[/C][C]-101.226807413504[/C][/ROW]
[ROW][C]30[/C][C]1557[/C][C]1552.60632096923[/C][C]4.39367903077391[/C][/ROW]
[ROW][C]31[/C][C]1527[/C][C]1525.45738733349[/C][C]1.54261266650715[/C][/ROW]
[ROW][C]32[/C][C]1220[/C][C]1130.08441704684[/C][C]89.9155829531609[/C][/ROW]
[ROW][C]33[/C][C]1368[/C][C]1373.65693935902[/C][C]-5.656939359022[/C][/ROW]
[ROW][C]34[/C][C]564[/C][C]641.339939256098[/C][C]-77.3399392560983[/C][/ROW]
[ROW][C]35[/C][C]1990[/C][C]2032.73191454893[/C][C]-42.7319145489255[/C][/ROW]
[ROW][C]36[/C][C]1557[/C][C]1692.94872183377[/C][C]-135.948721833765[/C][/ROW]
[ROW][C]37[/C][C]2057[/C][C]1864.98227212916[/C][C]192.017727870836[/C][/ROW]
[ROW][C]38[/C][C]1111[/C][C]1060.71367460292[/C][C]50.2863253970797[/C][/ROW]
[ROW][C]39[/C][C]686[/C][C]728.260050716846[/C][C]-42.2600507168461[/C][/ROW]
[ROW][C]40[/C][C]2011[/C][C]1885.98992750598[/C][C]125.010072494023[/C][/ROW]
[ROW][C]41[/C][C]2232[/C][C]2527.2061572998[/C][C]-295.206157299796[/C][/ROW]
[ROW][C]42[/C][C]1032[/C][C]1233.41815822434[/C][C]-201.418158224344[/C][/ROW]
[ROW][C]43[/C][C]1166[/C][C]1247.7671780981[/C][C]-81.767178098096[/C][/ROW]
[ROW][C]44[/C][C]1020[/C][C]927.184968133652[/C][C]92.8150318663479[/C][/ROW]
[ROW][C]45[/C][C]1735[/C][C]2044.60332847056[/C][C]-309.603328470556[/C][/ROW]
[ROW][C]46[/C][C]3623[/C][C]3773.70906750198[/C][C]-150.709067501978[/C][/ROW]
[ROW][C]47[/C][C]918[/C][C]1000.89142831814[/C][C]-82.8914283181385[/C][/ROW]
[ROW][C]48[/C][C]1579[/C][C]1302.42771442408[/C][C]276.572285575924[/C][/ROW]
[ROW][C]49[/C][C]2790[/C][C]2483.17767586551[/C][C]306.822324134487[/C][/ROW]
[ROW][C]50[/C][C]1496[/C][C]1647.42405626039[/C][C]-151.424056260387[/C][/ROW]
[ROW][C]51[/C][C]1108[/C][C]990.362251751139[/C][C]117.637748248861[/C][/ROW]
[ROW][C]52[/C][C]496[/C][C]733.369950810718[/C][C]-237.369950810718[/C][/ROW]
[ROW][C]53[/C][C]1750[/C][C]1540.73527775018[/C][C]209.264722249823[/C][/ROW]
[ROW][C]54[/C][C]744[/C][C]810.741195409747[/C][C]-66.741195409747[/C][/ROW]
[ROW][C]55[/C][C]1101[/C][C]1224.43697566137[/C][C]-123.436975661371[/C][/ROW]
[ROW][C]56[/C][C]1612[/C][C]1660.01821337297[/C][C]-48.0182133729725[/C][/ROW]
[ROW][C]57[/C][C]1805[/C][C]1304.49232426708[/C][C]500.50767573292[/C][/ROW]
[ROW][C]58[/C][C]2460[/C][C]1973.27011310317[/C][C]486.729886896833[/C][/ROW]
[ROW][C]59[/C][C]1653[/C][C]1731.29887747027[/C][C]-78.2988774702676[/C][/ROW]
[ROW][C]60[/C][C]1234[/C][C]1278.16864144442[/C][C]-44.1686414444182[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145844&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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
111671019.83410314937147.165896850634
2669767.229329814442-98.2293298144423
310631069.07536300222-6.07536300221766
419392182.77675835707-243.776758357067
5678677.10923991320.890760086800492
6321515.398738832823-194.398738832823
726672945.28946515692-278.289465156917
8345512.508136771584-167.508136771584
913671518.02456947713-151.024569477128
1011581180.82223174137-22.8222317413685
1113851403.0773515949-18.0773515949
1211551042.0289369886112.9710630114
1311541219.48213445971-65.4821344597087
1417031762.78389954915-59.7838995491501
1511891105.4641578229983.5358421770052
1630832716.32389993539366.676100064606
1713571302.3762752617354.6237247382731
1818921908.02933175042-16.0293317504206
19883988.968575234159-105.968575234159
2016271302.27302623445324.726973765552
2114121292.36260242596119.637397574039
2219002022.92473976772-122.924739767718
23777843.155458734143-66.1554587341433
24904936.733834995371-32.7338349953707
2521152142.155494823-27.1554948230011
2618581772.0748291939685.9251708060388
2717811756.2288837759524.7711162240502
2812861107.78670488291178.213295117093
2910351136.2268074135-101.226807413504
3015571552.606320969234.39367903077391
3115271525.457387333491.54261266650715
3212201130.0844170468489.9155829531609
3313681373.65693935902-5.656939359022
34564641.339939256098-77.3399392560983
3519902032.73191454893-42.7319145489255
3615571692.94872183377-135.948721833765
3720571864.98227212916192.017727870836
3811111060.7136746029250.2863253970797
39686728.260050716846-42.2600507168461
4020111885.98992750598125.010072494023
4122322527.2061572998-295.206157299796
4210321233.41815822434-201.418158224344
4311661247.7671780981-81.767178098096
441020927.18496813365292.8150318663479
4517352044.60332847056-309.603328470556
4636233773.70906750198-150.709067501978
479181000.89142831814-82.8914283181385
4815791302.42771442408276.572285575924
4927902483.17767586551306.822324134487
5014961647.42405626039-151.424056260387
511108990.362251751139117.637748248861
52496733.369950810718-237.369950810718
5317501540.73527775018209.264722249823
54744810.741195409747-66.741195409747
5511011224.43697566137-123.436975661371
5616121660.01821337297-48.0182133729725
5718051304.49232426708500.50767573292
5824601973.27011310317486.729886896833
5916531731.29887747027-78.2988774702676
6012341278.16864144442-44.1686414444182







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.5213756496270740.9572487007458530.478624350372927
70.3967753380282770.7935506760565530.603224661971723
80.3482253484068140.6964506968136280.651774651593186
90.2365991500786140.4731983001572280.763400849921386
100.1650098993624850.3300197987249690.834990100637515
110.1150865074915330.2301730149830660.884913492508467
120.1399130503517040.2798261007034080.860086949648296
130.08785335886337370.1757067177267470.912146641136626
140.055624261234340.111248522468680.94437573876566
150.05233580239405430.1046716047881090.947664197605946
160.4452666171133540.8905332342267070.554733382886647
170.3750666050730010.7501332101460020.624933394926999
180.2936332251768950.587266450353790.706366774823105
190.237340919236240.4746818384724810.76265908076376
200.4364919772117880.8729839544235760.563508022788212
210.3956153662422640.7912307324845280.604384633757736
220.3491493872565020.6982987745130040.650850612743498
230.2841106700194410.5682213400388820.715889329980559
240.2208743448893140.4417486897786270.779125655110687
250.1661380128076850.3322760256153710.833861987192315
260.1320407556871680.2640815113743360.867959244312832
270.09493770633813180.1898754126762640.905062293661868
280.0962111874990880.1924223749981760.903788812500912
290.07502295507408940.1500459101481790.924977044925911
300.05097720258358450.1019544051671690.949022797416415
310.03347624779521640.06695249559043280.966523752204784
320.02405581733243220.04811163466486450.975944182667568
330.01490865505382310.02981731010764620.985091344946177
340.009864097866978510.0197281957339570.990135902133021
350.0058945966365690.0117891932731380.994105403363431
360.004591436857121240.009182873714242490.995408563142879
370.004997651355086380.009995302710172760.995002348644914
380.002901370626060780.005802741252121570.997098629373939
390.001619733167419460.003239466334838910.998380266832581
400.001147383295533620.002294766591067230.998852616704466
410.003190395482939520.006380790965879040.99680960451706
420.003642411876306180.007284823752612360.996357588123694
430.002253880982932880.004507761965865760.997746119017067
440.00133854028402920.002677080568058410.998661459715971
450.009066546534986710.01813309306997340.990933453465013
460.06326940113079490.126538802261590.936730598869205
470.05388480993549150.1077696198709830.946115190064509
480.07600949299493980.152018985989880.92399050700506
490.07906846071486810.1581369214297360.920931539285132
500.07566312721593750.1513262544318750.924336872784062
510.07305685458406910.1461137091681380.926943145415931
520.06491953727181860.1298390745436370.935080462728181
530.05035907493962330.1007181498792470.949640925060377
540.0234481613693370.04689632273867410.976551838630663

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.521375649627074 & 0.957248700745853 & 0.478624350372927 \tabularnewline
7 & 0.396775338028277 & 0.793550676056553 & 0.603224661971723 \tabularnewline
8 & 0.348225348406814 & 0.696450696813628 & 0.651774651593186 \tabularnewline
9 & 0.236599150078614 & 0.473198300157228 & 0.763400849921386 \tabularnewline
10 & 0.165009899362485 & 0.330019798724969 & 0.834990100637515 \tabularnewline
11 & 0.115086507491533 & 0.230173014983066 & 0.884913492508467 \tabularnewline
12 & 0.139913050351704 & 0.279826100703408 & 0.860086949648296 \tabularnewline
13 & 0.0878533588633737 & 0.175706717726747 & 0.912146641136626 \tabularnewline
14 & 0.05562426123434 & 0.11124852246868 & 0.94437573876566 \tabularnewline
15 & 0.0523358023940543 & 0.104671604788109 & 0.947664197605946 \tabularnewline
16 & 0.445266617113354 & 0.890533234226707 & 0.554733382886647 \tabularnewline
17 & 0.375066605073001 & 0.750133210146002 & 0.624933394926999 \tabularnewline
18 & 0.293633225176895 & 0.58726645035379 & 0.706366774823105 \tabularnewline
19 & 0.23734091923624 & 0.474681838472481 & 0.76265908076376 \tabularnewline
20 & 0.436491977211788 & 0.872983954423576 & 0.563508022788212 \tabularnewline
21 & 0.395615366242264 & 0.791230732484528 & 0.604384633757736 \tabularnewline
22 & 0.349149387256502 & 0.698298774513004 & 0.650850612743498 \tabularnewline
23 & 0.284110670019441 & 0.568221340038882 & 0.715889329980559 \tabularnewline
24 & 0.220874344889314 & 0.441748689778627 & 0.779125655110687 \tabularnewline
25 & 0.166138012807685 & 0.332276025615371 & 0.833861987192315 \tabularnewline
26 & 0.132040755687168 & 0.264081511374336 & 0.867959244312832 \tabularnewline
27 & 0.0949377063381318 & 0.189875412676264 & 0.905062293661868 \tabularnewline
28 & 0.096211187499088 & 0.192422374998176 & 0.903788812500912 \tabularnewline
29 & 0.0750229550740894 & 0.150045910148179 & 0.924977044925911 \tabularnewline
30 & 0.0509772025835845 & 0.101954405167169 & 0.949022797416415 \tabularnewline
31 & 0.0334762477952164 & 0.0669524955904328 & 0.966523752204784 \tabularnewline
32 & 0.0240558173324322 & 0.0481116346648645 & 0.975944182667568 \tabularnewline
33 & 0.0149086550538231 & 0.0298173101076462 & 0.985091344946177 \tabularnewline
34 & 0.00986409786697851 & 0.019728195733957 & 0.990135902133021 \tabularnewline
35 & 0.005894596636569 & 0.011789193273138 & 0.994105403363431 \tabularnewline
36 & 0.00459143685712124 & 0.00918287371424249 & 0.995408563142879 \tabularnewline
37 & 0.00499765135508638 & 0.00999530271017276 & 0.995002348644914 \tabularnewline
38 & 0.00290137062606078 & 0.00580274125212157 & 0.997098629373939 \tabularnewline
39 & 0.00161973316741946 & 0.00323946633483891 & 0.998380266832581 \tabularnewline
40 & 0.00114738329553362 & 0.00229476659106723 & 0.998852616704466 \tabularnewline
41 & 0.00319039548293952 & 0.00638079096587904 & 0.99680960451706 \tabularnewline
42 & 0.00364241187630618 & 0.00728482375261236 & 0.996357588123694 \tabularnewline
43 & 0.00225388098293288 & 0.00450776196586576 & 0.997746119017067 \tabularnewline
44 & 0.0013385402840292 & 0.00267708056805841 & 0.998661459715971 \tabularnewline
45 & 0.00906654653498671 & 0.0181330930699734 & 0.990933453465013 \tabularnewline
46 & 0.0632694011307949 & 0.12653880226159 & 0.936730598869205 \tabularnewline
47 & 0.0538848099354915 & 0.107769619870983 & 0.946115190064509 \tabularnewline
48 & 0.0760094929949398 & 0.15201898598988 & 0.92399050700506 \tabularnewline
49 & 0.0790684607148681 & 0.158136921429736 & 0.920931539285132 \tabularnewline
50 & 0.0756631272159375 & 0.151326254431875 & 0.924336872784062 \tabularnewline
51 & 0.0730568545840691 & 0.146113709168138 & 0.926943145415931 \tabularnewline
52 & 0.0649195372718186 & 0.129839074543637 & 0.935080462728181 \tabularnewline
53 & 0.0503590749396233 & 0.100718149879247 & 0.949640925060377 \tabularnewline
54 & 0.023448161369337 & 0.0468963227386741 & 0.976551838630663 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=145844&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.521375649627074[/C][C]0.957248700745853[/C][C]0.478624350372927[/C][/ROW]
[ROW][C]7[/C][C]0.396775338028277[/C][C]0.793550676056553[/C][C]0.603224661971723[/C][/ROW]
[ROW][C]8[/C][C]0.348225348406814[/C][C]0.696450696813628[/C][C]0.651774651593186[/C][/ROW]
[ROW][C]9[/C][C]0.236599150078614[/C][C]0.473198300157228[/C][C]0.763400849921386[/C][/ROW]
[ROW][C]10[/C][C]0.165009899362485[/C][C]0.330019798724969[/C][C]0.834990100637515[/C][/ROW]
[ROW][C]11[/C][C]0.115086507491533[/C][C]0.230173014983066[/C][C]0.884913492508467[/C][/ROW]
[ROW][C]12[/C][C]0.139913050351704[/C][C]0.279826100703408[/C][C]0.860086949648296[/C][/ROW]
[ROW][C]13[/C][C]0.0878533588633737[/C][C]0.175706717726747[/C][C]0.912146641136626[/C][/ROW]
[ROW][C]14[/C][C]0.05562426123434[/C][C]0.11124852246868[/C][C]0.94437573876566[/C][/ROW]
[ROW][C]15[/C][C]0.0523358023940543[/C][C]0.104671604788109[/C][C]0.947664197605946[/C][/ROW]
[ROW][C]16[/C][C]0.445266617113354[/C][C]0.890533234226707[/C][C]0.554733382886647[/C][/ROW]
[ROW][C]17[/C][C]0.375066605073001[/C][C]0.750133210146002[/C][C]0.624933394926999[/C][/ROW]
[ROW][C]18[/C][C]0.293633225176895[/C][C]0.58726645035379[/C][C]0.706366774823105[/C][/ROW]
[ROW][C]19[/C][C]0.23734091923624[/C][C]0.474681838472481[/C][C]0.76265908076376[/C][/ROW]
[ROW][C]20[/C][C]0.436491977211788[/C][C]0.872983954423576[/C][C]0.563508022788212[/C][/ROW]
[ROW][C]21[/C][C]0.395615366242264[/C][C]0.791230732484528[/C][C]0.604384633757736[/C][/ROW]
[ROW][C]22[/C][C]0.349149387256502[/C][C]0.698298774513004[/C][C]0.650850612743498[/C][/ROW]
[ROW][C]23[/C][C]0.284110670019441[/C][C]0.568221340038882[/C][C]0.715889329980559[/C][/ROW]
[ROW][C]24[/C][C]0.220874344889314[/C][C]0.441748689778627[/C][C]0.779125655110687[/C][/ROW]
[ROW][C]25[/C][C]0.166138012807685[/C][C]0.332276025615371[/C][C]0.833861987192315[/C][/ROW]
[ROW][C]26[/C][C]0.132040755687168[/C][C]0.264081511374336[/C][C]0.867959244312832[/C][/ROW]
[ROW][C]27[/C][C]0.0949377063381318[/C][C]0.189875412676264[/C][C]0.905062293661868[/C][/ROW]
[ROW][C]28[/C][C]0.096211187499088[/C][C]0.192422374998176[/C][C]0.903788812500912[/C][/ROW]
[ROW][C]29[/C][C]0.0750229550740894[/C][C]0.150045910148179[/C][C]0.924977044925911[/C][/ROW]
[ROW][C]30[/C][C]0.0509772025835845[/C][C]0.101954405167169[/C][C]0.949022797416415[/C][/ROW]
[ROW][C]31[/C][C]0.0334762477952164[/C][C]0.0669524955904328[/C][C]0.966523752204784[/C][/ROW]
[ROW][C]32[/C][C]0.0240558173324322[/C][C]0.0481116346648645[/C][C]0.975944182667568[/C][/ROW]
[ROW][C]33[/C][C]0.0149086550538231[/C][C]0.0298173101076462[/C][C]0.985091344946177[/C][/ROW]
[ROW][C]34[/C][C]0.00986409786697851[/C][C]0.019728195733957[/C][C]0.990135902133021[/C][/ROW]
[ROW][C]35[/C][C]0.005894596636569[/C][C]0.011789193273138[/C][C]0.994105403363431[/C][/ROW]
[ROW][C]36[/C][C]0.00459143685712124[/C][C]0.00918287371424249[/C][C]0.995408563142879[/C][/ROW]
[ROW][C]37[/C][C]0.00499765135508638[/C][C]0.00999530271017276[/C][C]0.995002348644914[/C][/ROW]
[ROW][C]38[/C][C]0.00290137062606078[/C][C]0.00580274125212157[/C][C]0.997098629373939[/C][/ROW]
[ROW][C]39[/C][C]0.00161973316741946[/C][C]0.00323946633483891[/C][C]0.998380266832581[/C][/ROW]
[ROW][C]40[/C][C]0.00114738329553362[/C][C]0.00229476659106723[/C][C]0.998852616704466[/C][/ROW]
[ROW][C]41[/C][C]0.00319039548293952[/C][C]0.00638079096587904[/C][C]0.99680960451706[/C][/ROW]
[ROW][C]42[/C][C]0.00364241187630618[/C][C]0.00728482375261236[/C][C]0.996357588123694[/C][/ROW]
[ROW][C]43[/C][C]0.00225388098293288[/C][C]0.00450776196586576[/C][C]0.997746119017067[/C][/ROW]
[ROW][C]44[/C][C]0.0013385402840292[/C][C]0.00267708056805841[/C][C]0.998661459715971[/C][/ROW]
[ROW][C]45[/C][C]0.00906654653498671[/C][C]0.0181330930699734[/C][C]0.990933453465013[/C][/ROW]
[ROW][C]46[/C][C]0.0632694011307949[/C][C]0.12653880226159[/C][C]0.936730598869205[/C][/ROW]
[ROW][C]47[/C][C]0.0538848099354915[/C][C]0.107769619870983[/C][C]0.946115190064509[/C][/ROW]
[ROW][C]48[/C][C]0.0760094929949398[/C][C]0.15201898598988[/C][C]0.92399050700506[/C][/ROW]
[ROW][C]49[/C][C]0.0790684607148681[/C][C]0.158136921429736[/C][C]0.920931539285132[/C][/ROW]
[ROW][C]50[/C][C]0.0756631272159375[/C][C]0.151326254431875[/C][C]0.924336872784062[/C][/ROW]
[ROW][C]51[/C][C]0.0730568545840691[/C][C]0.146113709168138[/C][C]0.926943145415931[/C][/ROW]
[ROW][C]52[/C][C]0.0649195372718186[/C][C]0.129839074543637[/C][C]0.935080462728181[/C][/ROW]
[ROW][C]53[/C][C]0.0503590749396233[/C][C]0.100718149879247[/C][C]0.949640925060377[/C][/ROW]
[ROW][C]54[/C][C]0.023448161369337[/C][C]0.0468963227386741[/C][C]0.976551838630663[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=145844&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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.5213756496270740.9572487007458530.478624350372927
70.3967753380282770.7935506760565530.603224661971723
80.3482253484068140.6964506968136280.651774651593186
90.2365991500786140.4731983001572280.763400849921386
100.1650098993624850.3300197987249690.834990100637515
110.1150865074915330.2301730149830660.884913492508467
120.1399130503517040.2798261007034080.860086949648296
130.08785335886337370.1757067177267470.912146641136626
140.055624261234340.111248522468680.94437573876566
150.05233580239405430.1046716047881090.947664197605946
160.4452666171133540.8905332342267070.554733382886647
170.3750666050730010.7501332101460020.624933394926999
180.2936332251768950.587266450353790.706366774823105
190.237340919236240.4746818384724810.76265908076376
200.4364919772117880.8729839544235760.563508022788212
210.3956153662422640.7912307324845280.604384633757736
220.3491493872565020.6982987745130040.650850612743498
230.2841106700194410.5682213400388820.715889329980559
240.2208743448893140.4417486897786270.779125655110687
250.1661380128076850.3322760256153710.833861987192315
260.1320407556871680.2640815113743360.867959244312832
270.09493770633813180.1898754126762640.905062293661868
280.0962111874990880.1924223749981760.903788812500912
290.07502295507408940.1500459101481790.924977044925911
300.05097720258358450.1019544051671690.949022797416415
310.03347624779521640.06695249559043280.966523752204784
320.02405581733243220.04811163466486450.975944182667568
330.01490865505382310.02981731010764620.985091344946177
340.009864097866978510.0197281957339570.990135902133021
350.0058945966365690.0117891932731380.994105403363431
360.004591436857121240.009182873714242490.995408563142879
370.004997651355086380.009995302710172760.995002348644914
380.002901370626060780.005802741252121570.997098629373939
390.001619733167419460.003239466334838910.998380266832581
400.001147383295533620.002294766591067230.998852616704466
410.003190395482939520.006380790965879040.99680960451706
420.003642411876306180.007284823752612360.996357588123694
430.002253880982932880.004507761965865760.997746119017067
440.00133854028402920.002677080568058410.998661459715971
450.009066546534986710.01813309306997340.990933453465013
460.06326940113079490.126538802261590.936730598869205
470.05388480993549150.1077696198709830.946115190064509
480.07600949299493980.152018985989880.92399050700506
490.07906846071486810.1581369214297360.920931539285132
500.07566312721593750.1513262544318750.924336872784062
510.07305685458406910.1461137091681380.926943145415931
520.06491953727181860.1298390745436370.935080462728181
530.05035907493962330.1007181498792470.949640925060377
540.0234481613693370.04689632273867410.976551838630663







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.183673469387755NOK
5% type I error level150.306122448979592NOK
10% type I error level160.326530612244898NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=145844&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 level90.183673469387755NOK
5% type I error level150.306122448979592NOK
10% type I error level160.326530612244898NOK



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