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, 23 Nov 2009 05:47:54 -0700
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2009/Nov/23/t12589805276kzp4d7aqkdo758.htm/, Retrieved Fri, 03 May 2024 07:54:50 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58739, Retrieved Fri, 03 May 2024 07:54:50 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact165
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [] [2009-11-23 12:47:54] [09bbdaa13608b41d3e388e84e1f7dd72] [Current]
Feedback Forum

Post a new message
Dataseries X:
5560	543
3922	594
3759	611
4138	613
4634	611
3996	594
4308	595
4143	591
4429	589
5219	584
4929	573
5755	567
5592	569
4163	621
4962	629
5208	628
4755	612
4491	595
5732	597
5731	593
5040	590
6102	580
4904	574
5369	573
5578	573
4619	620
4731	626
5011	620
5299	588
4146	566
4625	557
4736	561
4219	549
5116	532
4205	526
4121	511
5103	499
4300	555
4578	565
3809	542
5526	527
4247	510
3830	514
4394	517
4826	508
4409	493
4569	490
4106	469
4794	478
3914	528
3793	534
4405	518
4022	506
4100	502
4788	516
3163	528
3585	533
3903	536
4178	537
3863	524
4187	536




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

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 4 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&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' @ 72.249.127.135[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=0

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 2311.02615457282 + 4.07602600150082X[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  2311.02615457282 +  4.07602600150082X[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  2311.02615457282 +  4.07602600150082X[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=1

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 2311.02615457282 + 4.07602600150082X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)2311.026154572821048.1948592.20480.0313820.015691
X4.076026001500821.8741762.17480.0336630.016832

\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) & 2311.02615457282 & 1048.194859 & 2.2048 & 0.031382 & 0.015691 \tabularnewline
X & 4.07602600150082 & 1.874176 & 2.1748 & 0.033663 & 0.016832 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&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]2311.02615457282[/C][C]1048.194859[/C][C]2.2048[/C][C]0.031382[/C][C]0.015691[/C][/ROW]
[ROW][C]X[/C][C]4.07602600150082[/C][C]1.874176[/C][C]2.1748[/C][C]0.033663[/C][C]0.016832[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58739&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)2311.026154572821048.1948592.20480.0313820.015691
X4.076026001500821.8741762.17480.0336630.016832







Multiple Linear Regression - Regression Statistics
Multiple R0.272429968325699
R-squared0.0742180876419413
Adjusted R-squared0.0585268687884148
F-TEST (value)4.72991220980017
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.0336631195452499
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation614.560300724891
Sum Squared Residuals22283377.4303971

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.272429968325699 \tabularnewline
R-squared & 0.0742180876419413 \tabularnewline
Adjusted R-squared & 0.0585268687884148 \tabularnewline
F-TEST (value) & 4.72991220980017 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 59 \tabularnewline
p-value & 0.0336631195452499 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 614.560300724891 \tabularnewline
Sum Squared Residuals & 22283377.4303971 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.272429968325699[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0742180876419413[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0585268687884148[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]4.72991220980017[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]59[/C][/ROW]
[ROW][C]p-value[/C][C]0.0336631195452499[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]614.560300724891[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]22283377.4303971[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58739&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.272429968325699
R-squared0.0742180876419413
Adjusted R-squared0.0585268687884148
F-TEST (value)4.72991220980017
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.0336631195452499
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation614.560300724891
Sum Squared Residuals22283377.4303971







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
155604524.308273387771035.69172661223
239224732.18559946431-810.185599464307
337594801.47804148982-1042.47804148982
441384809.63009349282-671.630093492824
546344801.47804148982-167.478041489822
639964732.18559946431-736.185599464308
743084736.26162546581-428.261625465809
841434719.9575214598-576.957521459806
944294711.80546945680-282.805469456804
1052194691.4253394493527.5746605507
1149294646.58905343279282.410946567209
1257554622.132897423791132.86710257621
1355924630.28494942679961.715050573212
1441634842.23830150483-679.23830150483
1549624874.8465095168487.1534904831631
1652084870.77048351534337.229516484664
1747554805.55406749132-50.554067491323
1844914736.26162546581-245.261625465809
1957324744.41367746881987.58632253119
2057314728.109573462811002.89042653719
2150404715.88149545830324.118504541695
2261024675.12123544331426.87876455670
2349044650.66507943429253.334920565708
2453694646.58905343279722.410946567209
2555784646.58905343279931.410946567209
2646194838.16227550333-219.162275503330
2747314862.61843151233-131.618431512334
2850114838.16227550333172.837724496670
2952994707.7294434553591.270556544697
3041464618.05687142229-472.056871422285
3146254581.3726374087843.627362591222
3247364597.67674141478138.323258585219
3342194548.76442939677-329.764429396771
3451164479.47198737126636.528012628742
3542054455.01583136225-250.015831362253
3641214393.87544133974-272.875441339740
3751034344.96312932173758.03687067827
3843004573.22058540578-273.220585405776
3945784613.98084542078-35.9808454207845
4038094520.23224738627-711.232247386266
4155264459.091857363751066.90814263625
4242474389.79941533824-142.799415338239
4338304406.10351934424-576.103519344243
4443944418.33159734875-24.3315973487452
4548264381.64736333524444.352636664762
4644094320.5069733127388.4930266872744
4745694308.27889530822260.721104691777
4841064222.68234927671-116.682349276706
4947944259.36658329021534.633416709787
5039144463.16788336525-549.167883365254
5137934487.62403937426-694.624039374259
5244054422.40762335025-17.4076233502460
5340224373.49531133224-351.495311332236
5441004357.19120732623-257.191207326233
5547884414.25557134724373.744428652756
5631634463.16788336525-1300.16788336525
5735854483.54801337276-898.548013372758
5839034495.77609137726-592.776091377261
5941784499.85211737876-321.852117378762
6038634446.86377935925-583.863779359251
6141874495.77609137726-308.776091377261

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 5560 & 4524.30827338777 & 1035.69172661223 \tabularnewline
2 & 3922 & 4732.18559946431 & -810.185599464307 \tabularnewline
3 & 3759 & 4801.47804148982 & -1042.47804148982 \tabularnewline
4 & 4138 & 4809.63009349282 & -671.630093492824 \tabularnewline
5 & 4634 & 4801.47804148982 & -167.478041489822 \tabularnewline
6 & 3996 & 4732.18559946431 & -736.185599464308 \tabularnewline
7 & 4308 & 4736.26162546581 & -428.261625465809 \tabularnewline
8 & 4143 & 4719.9575214598 & -576.957521459806 \tabularnewline
9 & 4429 & 4711.80546945680 & -282.805469456804 \tabularnewline
10 & 5219 & 4691.4253394493 & 527.5746605507 \tabularnewline
11 & 4929 & 4646.58905343279 & 282.410946567209 \tabularnewline
12 & 5755 & 4622.13289742379 & 1132.86710257621 \tabularnewline
13 & 5592 & 4630.28494942679 & 961.715050573212 \tabularnewline
14 & 4163 & 4842.23830150483 & -679.23830150483 \tabularnewline
15 & 4962 & 4874.84650951684 & 87.1534904831631 \tabularnewline
16 & 5208 & 4870.77048351534 & 337.229516484664 \tabularnewline
17 & 4755 & 4805.55406749132 & -50.554067491323 \tabularnewline
18 & 4491 & 4736.26162546581 & -245.261625465809 \tabularnewline
19 & 5732 & 4744.41367746881 & 987.58632253119 \tabularnewline
20 & 5731 & 4728.10957346281 & 1002.89042653719 \tabularnewline
21 & 5040 & 4715.88149545830 & 324.118504541695 \tabularnewline
22 & 6102 & 4675.1212354433 & 1426.87876455670 \tabularnewline
23 & 4904 & 4650.66507943429 & 253.334920565708 \tabularnewline
24 & 5369 & 4646.58905343279 & 722.410946567209 \tabularnewline
25 & 5578 & 4646.58905343279 & 931.410946567209 \tabularnewline
26 & 4619 & 4838.16227550333 & -219.162275503330 \tabularnewline
27 & 4731 & 4862.61843151233 & -131.618431512334 \tabularnewline
28 & 5011 & 4838.16227550333 & 172.837724496670 \tabularnewline
29 & 5299 & 4707.7294434553 & 591.270556544697 \tabularnewline
30 & 4146 & 4618.05687142229 & -472.056871422285 \tabularnewline
31 & 4625 & 4581.37263740878 & 43.627362591222 \tabularnewline
32 & 4736 & 4597.67674141478 & 138.323258585219 \tabularnewline
33 & 4219 & 4548.76442939677 & -329.764429396771 \tabularnewline
34 & 5116 & 4479.47198737126 & 636.528012628742 \tabularnewline
35 & 4205 & 4455.01583136225 & -250.015831362253 \tabularnewline
36 & 4121 & 4393.87544133974 & -272.875441339740 \tabularnewline
37 & 5103 & 4344.96312932173 & 758.03687067827 \tabularnewline
38 & 4300 & 4573.22058540578 & -273.220585405776 \tabularnewline
39 & 4578 & 4613.98084542078 & -35.9808454207845 \tabularnewline
40 & 3809 & 4520.23224738627 & -711.232247386266 \tabularnewline
41 & 5526 & 4459.09185736375 & 1066.90814263625 \tabularnewline
42 & 4247 & 4389.79941533824 & -142.799415338239 \tabularnewline
43 & 3830 & 4406.10351934424 & -576.103519344243 \tabularnewline
44 & 4394 & 4418.33159734875 & -24.3315973487452 \tabularnewline
45 & 4826 & 4381.64736333524 & 444.352636664762 \tabularnewline
46 & 4409 & 4320.50697331273 & 88.4930266872744 \tabularnewline
47 & 4569 & 4308.27889530822 & 260.721104691777 \tabularnewline
48 & 4106 & 4222.68234927671 & -116.682349276706 \tabularnewline
49 & 4794 & 4259.36658329021 & 534.633416709787 \tabularnewline
50 & 3914 & 4463.16788336525 & -549.167883365254 \tabularnewline
51 & 3793 & 4487.62403937426 & -694.624039374259 \tabularnewline
52 & 4405 & 4422.40762335025 & -17.4076233502460 \tabularnewline
53 & 4022 & 4373.49531133224 & -351.495311332236 \tabularnewline
54 & 4100 & 4357.19120732623 & -257.191207326233 \tabularnewline
55 & 4788 & 4414.25557134724 & 373.744428652756 \tabularnewline
56 & 3163 & 4463.16788336525 & -1300.16788336525 \tabularnewline
57 & 3585 & 4483.54801337276 & -898.548013372758 \tabularnewline
58 & 3903 & 4495.77609137726 & -592.776091377261 \tabularnewline
59 & 4178 & 4499.85211737876 & -321.852117378762 \tabularnewline
60 & 3863 & 4446.86377935925 & -583.863779359251 \tabularnewline
61 & 4187 & 4495.77609137726 & -308.776091377261 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&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]5560[/C][C]4524.30827338777[/C][C]1035.69172661223[/C][/ROW]
[ROW][C]2[/C][C]3922[/C][C]4732.18559946431[/C][C]-810.185599464307[/C][/ROW]
[ROW][C]3[/C][C]3759[/C][C]4801.47804148982[/C][C]-1042.47804148982[/C][/ROW]
[ROW][C]4[/C][C]4138[/C][C]4809.63009349282[/C][C]-671.630093492824[/C][/ROW]
[ROW][C]5[/C][C]4634[/C][C]4801.47804148982[/C][C]-167.478041489822[/C][/ROW]
[ROW][C]6[/C][C]3996[/C][C]4732.18559946431[/C][C]-736.185599464308[/C][/ROW]
[ROW][C]7[/C][C]4308[/C][C]4736.26162546581[/C][C]-428.261625465809[/C][/ROW]
[ROW][C]8[/C][C]4143[/C][C]4719.9575214598[/C][C]-576.957521459806[/C][/ROW]
[ROW][C]9[/C][C]4429[/C][C]4711.80546945680[/C][C]-282.805469456804[/C][/ROW]
[ROW][C]10[/C][C]5219[/C][C]4691.4253394493[/C][C]527.5746605507[/C][/ROW]
[ROW][C]11[/C][C]4929[/C][C]4646.58905343279[/C][C]282.410946567209[/C][/ROW]
[ROW][C]12[/C][C]5755[/C][C]4622.13289742379[/C][C]1132.86710257621[/C][/ROW]
[ROW][C]13[/C][C]5592[/C][C]4630.28494942679[/C][C]961.715050573212[/C][/ROW]
[ROW][C]14[/C][C]4163[/C][C]4842.23830150483[/C][C]-679.23830150483[/C][/ROW]
[ROW][C]15[/C][C]4962[/C][C]4874.84650951684[/C][C]87.1534904831631[/C][/ROW]
[ROW][C]16[/C][C]5208[/C][C]4870.77048351534[/C][C]337.229516484664[/C][/ROW]
[ROW][C]17[/C][C]4755[/C][C]4805.55406749132[/C][C]-50.554067491323[/C][/ROW]
[ROW][C]18[/C][C]4491[/C][C]4736.26162546581[/C][C]-245.261625465809[/C][/ROW]
[ROW][C]19[/C][C]5732[/C][C]4744.41367746881[/C][C]987.58632253119[/C][/ROW]
[ROW][C]20[/C][C]5731[/C][C]4728.10957346281[/C][C]1002.89042653719[/C][/ROW]
[ROW][C]21[/C][C]5040[/C][C]4715.88149545830[/C][C]324.118504541695[/C][/ROW]
[ROW][C]22[/C][C]6102[/C][C]4675.1212354433[/C][C]1426.87876455670[/C][/ROW]
[ROW][C]23[/C][C]4904[/C][C]4650.66507943429[/C][C]253.334920565708[/C][/ROW]
[ROW][C]24[/C][C]5369[/C][C]4646.58905343279[/C][C]722.410946567209[/C][/ROW]
[ROW][C]25[/C][C]5578[/C][C]4646.58905343279[/C][C]931.410946567209[/C][/ROW]
[ROW][C]26[/C][C]4619[/C][C]4838.16227550333[/C][C]-219.162275503330[/C][/ROW]
[ROW][C]27[/C][C]4731[/C][C]4862.61843151233[/C][C]-131.618431512334[/C][/ROW]
[ROW][C]28[/C][C]5011[/C][C]4838.16227550333[/C][C]172.837724496670[/C][/ROW]
[ROW][C]29[/C][C]5299[/C][C]4707.7294434553[/C][C]591.270556544697[/C][/ROW]
[ROW][C]30[/C][C]4146[/C][C]4618.05687142229[/C][C]-472.056871422285[/C][/ROW]
[ROW][C]31[/C][C]4625[/C][C]4581.37263740878[/C][C]43.627362591222[/C][/ROW]
[ROW][C]32[/C][C]4736[/C][C]4597.67674141478[/C][C]138.323258585219[/C][/ROW]
[ROW][C]33[/C][C]4219[/C][C]4548.76442939677[/C][C]-329.764429396771[/C][/ROW]
[ROW][C]34[/C][C]5116[/C][C]4479.47198737126[/C][C]636.528012628742[/C][/ROW]
[ROW][C]35[/C][C]4205[/C][C]4455.01583136225[/C][C]-250.015831362253[/C][/ROW]
[ROW][C]36[/C][C]4121[/C][C]4393.87544133974[/C][C]-272.875441339740[/C][/ROW]
[ROW][C]37[/C][C]5103[/C][C]4344.96312932173[/C][C]758.03687067827[/C][/ROW]
[ROW][C]38[/C][C]4300[/C][C]4573.22058540578[/C][C]-273.220585405776[/C][/ROW]
[ROW][C]39[/C][C]4578[/C][C]4613.98084542078[/C][C]-35.9808454207845[/C][/ROW]
[ROW][C]40[/C][C]3809[/C][C]4520.23224738627[/C][C]-711.232247386266[/C][/ROW]
[ROW][C]41[/C][C]5526[/C][C]4459.09185736375[/C][C]1066.90814263625[/C][/ROW]
[ROW][C]42[/C][C]4247[/C][C]4389.79941533824[/C][C]-142.799415338239[/C][/ROW]
[ROW][C]43[/C][C]3830[/C][C]4406.10351934424[/C][C]-576.103519344243[/C][/ROW]
[ROW][C]44[/C][C]4394[/C][C]4418.33159734875[/C][C]-24.3315973487452[/C][/ROW]
[ROW][C]45[/C][C]4826[/C][C]4381.64736333524[/C][C]444.352636664762[/C][/ROW]
[ROW][C]46[/C][C]4409[/C][C]4320.50697331273[/C][C]88.4930266872744[/C][/ROW]
[ROW][C]47[/C][C]4569[/C][C]4308.27889530822[/C][C]260.721104691777[/C][/ROW]
[ROW][C]48[/C][C]4106[/C][C]4222.68234927671[/C][C]-116.682349276706[/C][/ROW]
[ROW][C]49[/C][C]4794[/C][C]4259.36658329021[/C][C]534.633416709787[/C][/ROW]
[ROW][C]50[/C][C]3914[/C][C]4463.16788336525[/C][C]-549.167883365254[/C][/ROW]
[ROW][C]51[/C][C]3793[/C][C]4487.62403937426[/C][C]-694.624039374259[/C][/ROW]
[ROW][C]52[/C][C]4405[/C][C]4422.40762335025[/C][C]-17.4076233502460[/C][/ROW]
[ROW][C]53[/C][C]4022[/C][C]4373.49531133224[/C][C]-351.495311332236[/C][/ROW]
[ROW][C]54[/C][C]4100[/C][C]4357.19120732623[/C][C]-257.191207326233[/C][/ROW]
[ROW][C]55[/C][C]4788[/C][C]4414.25557134724[/C][C]373.744428652756[/C][/ROW]
[ROW][C]56[/C][C]3163[/C][C]4463.16788336525[/C][C]-1300.16788336525[/C][/ROW]
[ROW][C]57[/C][C]3585[/C][C]4483.54801337276[/C][C]-898.548013372758[/C][/ROW]
[ROW][C]58[/C][C]3903[/C][C]4495.77609137726[/C][C]-592.776091377261[/C][/ROW]
[ROW][C]59[/C][C]4178[/C][C]4499.85211737876[/C][C]-321.852117378762[/C][/ROW]
[ROW][C]60[/C][C]3863[/C][C]4446.86377935925[/C][C]-583.863779359251[/C][/ROW]
[ROW][C]61[/C][C]4187[/C][C]4495.77609137726[/C][C]-308.776091377261[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58739&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
155604524.308273387771035.69172661223
239224732.18559946431-810.185599464307
337594801.47804148982-1042.47804148982
441384809.63009349282-671.630093492824
546344801.47804148982-167.478041489822
639964732.18559946431-736.185599464308
743084736.26162546581-428.261625465809
841434719.9575214598-576.957521459806
944294711.80546945680-282.805469456804
1052194691.4253394493527.5746605507
1149294646.58905343279282.410946567209
1257554622.132897423791132.86710257621
1355924630.28494942679961.715050573212
1441634842.23830150483-679.23830150483
1549624874.8465095168487.1534904831631
1652084870.77048351534337.229516484664
1747554805.55406749132-50.554067491323
1844914736.26162546581-245.261625465809
1957324744.41367746881987.58632253119
2057314728.109573462811002.89042653719
2150404715.88149545830324.118504541695
2261024675.12123544331426.87876455670
2349044650.66507943429253.334920565708
2453694646.58905343279722.410946567209
2555784646.58905343279931.410946567209
2646194838.16227550333-219.162275503330
2747314862.61843151233-131.618431512334
2850114838.16227550333172.837724496670
2952994707.7294434553591.270556544697
3041464618.05687142229-472.056871422285
3146254581.3726374087843.627362591222
3247364597.67674141478138.323258585219
3342194548.76442939677-329.764429396771
3451164479.47198737126636.528012628742
3542054455.01583136225-250.015831362253
3641214393.87544133974-272.875441339740
3751034344.96312932173758.03687067827
3843004573.22058540578-273.220585405776
3945784613.98084542078-35.9808454207845
4038094520.23224738627-711.232247386266
4155264459.091857363751066.90814263625
4242474389.79941533824-142.799415338239
4338304406.10351934424-576.103519344243
4443944418.33159734875-24.3315973487452
4548264381.64736333524444.352636664762
4644094320.5069733127388.4930266872744
4745694308.27889530822260.721104691777
4841064222.68234927671-116.682349276706
4947944259.36658329021534.633416709787
5039144463.16788336525-549.167883365254
5137934487.62403937426-694.624039374259
5244054422.40762335025-17.4076233502460
5340224373.49531133224-351.495311332236
5441004357.19120732623-257.191207326233
5547884414.25557134724373.744428652756
5631634463.16788336525-1300.16788336525
5735854483.54801337276-898.548013372758
5839034495.77609137726-592.776091377261
5941784499.85211737876-321.852117378762
6038634446.86377935925-583.863779359251
6141874495.77609137726-308.776091377261







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4172611291729570.8345222583459140.582738870827043
60.340940655405660.681881310811320.65905934459434
70.2143700863592020.4287401727184040.785629913640798
80.1495126052429960.2990252104859930.850487394757004
90.0856428828816630.1712857657633260.914357117118337
100.1380295104385160.2760590208770320.861970489561484
110.08441714873874330.1688342974774870.915582851261257
120.1522174795849810.3044349591699630.847782520415019
130.1627064769230380.3254129538460760.837293523076962
140.15906221102750.3181244220550.8409377889725
150.3993296781573930.7986593563147860.600670321842607
160.5714196617867610.8571606764264780.428580338213239
170.507825074453520.984349851092960.49217492554648
180.4421736896912570.8843473793825150.557826310308743
190.5964311853164810.8071376293670380.403568814683519
200.7032258275474370.5935483449051270.296774172452563
210.6396048478989220.7207903042021570.360395152101078
220.8431403784219180.3137192431561630.156859621578082
230.8029859328762420.3940281342475170.197014067123758
240.799465920974250.4010681580515010.200534079025750
250.8467172905570060.3065654188859890.153282709442994
260.7991046096917660.4017907806164680.200895390308234
270.7528449201449890.4943101597100230.247155079855011
280.7372077657283620.5255844685432760.262792234271638
290.7930692790380540.4138614419238910.206930720961946
300.8321585969750720.3356828060498550.167841403024928
310.8243210562352960.3513578875294080.175678943764704
320.8201335497343820.3597329005312350.179866450265618
330.8261357246954870.3477285506090250.173864275304513
340.8623044257056040.2753911485887910.137695574294396
350.8602988997299190.2794022005401630.139701100270081
360.8530807094108680.2938385811782630.146919290589132
370.8682446344183520.2635107311632960.131755365581648
380.842098997143460.3158020057130810.157901002856541
390.8524363269135790.2951273461728420.147563673086421
400.8475289764954830.3049420470090350.152471023504518
410.9871534099948080.02569318001038390.0128465900051919
420.9801345790714090.03973084185718220.0198654209285911
430.9785095034490690.04298099310186290.0214904965509315
440.9685742828144640.06285143437107260.0314257171855363
450.9758066409903860.04838671801922890.0241933590096144
460.959162472932590.08167505413482170.0408375270674108
470.9387826774733760.1224346450532480.0612173225266239
480.9419050414425830.1161899171148350.0580949585574173
490.9096470555742880.1807058888514230.0903529444257117
500.8667610243688220.2664779512623570.133238975631178
510.8144278936772330.3711442126455340.185572106322767
520.7614722199990350.477055560001930.238527780000965
530.6649481387980790.6701037224038420.335051861201921
540.5616350919692880.8767298160614240.438364908030712
550.824010935521170.3519781289576590.175989064478829
560.9083571518143150.1832856963713710.0916428481856853

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.417261129172957 & 0.834522258345914 & 0.582738870827043 \tabularnewline
6 & 0.34094065540566 & 0.68188131081132 & 0.65905934459434 \tabularnewline
7 & 0.214370086359202 & 0.428740172718404 & 0.785629913640798 \tabularnewline
8 & 0.149512605242996 & 0.299025210485993 & 0.850487394757004 \tabularnewline
9 & 0.085642882881663 & 0.171285765763326 & 0.914357117118337 \tabularnewline
10 & 0.138029510438516 & 0.276059020877032 & 0.861970489561484 \tabularnewline
11 & 0.0844171487387433 & 0.168834297477487 & 0.915582851261257 \tabularnewline
12 & 0.152217479584981 & 0.304434959169963 & 0.847782520415019 \tabularnewline
13 & 0.162706476923038 & 0.325412953846076 & 0.837293523076962 \tabularnewline
14 & 0.1590622110275 & 0.318124422055 & 0.8409377889725 \tabularnewline
15 & 0.399329678157393 & 0.798659356314786 & 0.600670321842607 \tabularnewline
16 & 0.571419661786761 & 0.857160676426478 & 0.428580338213239 \tabularnewline
17 & 0.50782507445352 & 0.98434985109296 & 0.49217492554648 \tabularnewline
18 & 0.442173689691257 & 0.884347379382515 & 0.557826310308743 \tabularnewline
19 & 0.596431185316481 & 0.807137629367038 & 0.403568814683519 \tabularnewline
20 & 0.703225827547437 & 0.593548344905127 & 0.296774172452563 \tabularnewline
21 & 0.639604847898922 & 0.720790304202157 & 0.360395152101078 \tabularnewline
22 & 0.843140378421918 & 0.313719243156163 & 0.156859621578082 \tabularnewline
23 & 0.802985932876242 & 0.394028134247517 & 0.197014067123758 \tabularnewline
24 & 0.79946592097425 & 0.401068158051501 & 0.200534079025750 \tabularnewline
25 & 0.846717290557006 & 0.306565418885989 & 0.153282709442994 \tabularnewline
26 & 0.799104609691766 & 0.401790780616468 & 0.200895390308234 \tabularnewline
27 & 0.752844920144989 & 0.494310159710023 & 0.247155079855011 \tabularnewline
28 & 0.737207765728362 & 0.525584468543276 & 0.262792234271638 \tabularnewline
29 & 0.793069279038054 & 0.413861441923891 & 0.206930720961946 \tabularnewline
30 & 0.832158596975072 & 0.335682806049855 & 0.167841403024928 \tabularnewline
31 & 0.824321056235296 & 0.351357887529408 & 0.175678943764704 \tabularnewline
32 & 0.820133549734382 & 0.359732900531235 & 0.179866450265618 \tabularnewline
33 & 0.826135724695487 & 0.347728550609025 & 0.173864275304513 \tabularnewline
34 & 0.862304425705604 & 0.275391148588791 & 0.137695574294396 \tabularnewline
35 & 0.860298899729919 & 0.279402200540163 & 0.139701100270081 \tabularnewline
36 & 0.853080709410868 & 0.293838581178263 & 0.146919290589132 \tabularnewline
37 & 0.868244634418352 & 0.263510731163296 & 0.131755365581648 \tabularnewline
38 & 0.84209899714346 & 0.315802005713081 & 0.157901002856541 \tabularnewline
39 & 0.852436326913579 & 0.295127346172842 & 0.147563673086421 \tabularnewline
40 & 0.847528976495483 & 0.304942047009035 & 0.152471023504518 \tabularnewline
41 & 0.987153409994808 & 0.0256931800103839 & 0.0128465900051919 \tabularnewline
42 & 0.980134579071409 & 0.0397308418571822 & 0.0198654209285911 \tabularnewline
43 & 0.978509503449069 & 0.0429809931018629 & 0.0214904965509315 \tabularnewline
44 & 0.968574282814464 & 0.0628514343710726 & 0.0314257171855363 \tabularnewline
45 & 0.975806640990386 & 0.0483867180192289 & 0.0241933590096144 \tabularnewline
46 & 0.95916247293259 & 0.0816750541348217 & 0.0408375270674108 \tabularnewline
47 & 0.938782677473376 & 0.122434645053248 & 0.0612173225266239 \tabularnewline
48 & 0.941905041442583 & 0.116189917114835 & 0.0580949585574173 \tabularnewline
49 & 0.909647055574288 & 0.180705888851423 & 0.0903529444257117 \tabularnewline
50 & 0.866761024368822 & 0.266477951262357 & 0.133238975631178 \tabularnewline
51 & 0.814427893677233 & 0.371144212645534 & 0.185572106322767 \tabularnewline
52 & 0.761472219999035 & 0.47705556000193 & 0.238527780000965 \tabularnewline
53 & 0.664948138798079 & 0.670103722403842 & 0.335051861201921 \tabularnewline
54 & 0.561635091969288 & 0.876729816061424 & 0.438364908030712 \tabularnewline
55 & 0.82401093552117 & 0.351978128957659 & 0.175989064478829 \tabularnewline
56 & 0.908357151814315 & 0.183285696371371 & 0.0916428481856853 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&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]5[/C][C]0.417261129172957[/C][C]0.834522258345914[/C][C]0.582738870827043[/C][/ROW]
[ROW][C]6[/C][C]0.34094065540566[/C][C]0.68188131081132[/C][C]0.65905934459434[/C][/ROW]
[ROW][C]7[/C][C]0.214370086359202[/C][C]0.428740172718404[/C][C]0.785629913640798[/C][/ROW]
[ROW][C]8[/C][C]0.149512605242996[/C][C]0.299025210485993[/C][C]0.850487394757004[/C][/ROW]
[ROW][C]9[/C][C]0.085642882881663[/C][C]0.171285765763326[/C][C]0.914357117118337[/C][/ROW]
[ROW][C]10[/C][C]0.138029510438516[/C][C]0.276059020877032[/C][C]0.861970489561484[/C][/ROW]
[ROW][C]11[/C][C]0.0844171487387433[/C][C]0.168834297477487[/C][C]0.915582851261257[/C][/ROW]
[ROW][C]12[/C][C]0.152217479584981[/C][C]0.304434959169963[/C][C]0.847782520415019[/C][/ROW]
[ROW][C]13[/C][C]0.162706476923038[/C][C]0.325412953846076[/C][C]0.837293523076962[/C][/ROW]
[ROW][C]14[/C][C]0.1590622110275[/C][C]0.318124422055[/C][C]0.8409377889725[/C][/ROW]
[ROW][C]15[/C][C]0.399329678157393[/C][C]0.798659356314786[/C][C]0.600670321842607[/C][/ROW]
[ROW][C]16[/C][C]0.571419661786761[/C][C]0.857160676426478[/C][C]0.428580338213239[/C][/ROW]
[ROW][C]17[/C][C]0.50782507445352[/C][C]0.98434985109296[/C][C]0.49217492554648[/C][/ROW]
[ROW][C]18[/C][C]0.442173689691257[/C][C]0.884347379382515[/C][C]0.557826310308743[/C][/ROW]
[ROW][C]19[/C][C]0.596431185316481[/C][C]0.807137629367038[/C][C]0.403568814683519[/C][/ROW]
[ROW][C]20[/C][C]0.703225827547437[/C][C]0.593548344905127[/C][C]0.296774172452563[/C][/ROW]
[ROW][C]21[/C][C]0.639604847898922[/C][C]0.720790304202157[/C][C]0.360395152101078[/C][/ROW]
[ROW][C]22[/C][C]0.843140378421918[/C][C]0.313719243156163[/C][C]0.156859621578082[/C][/ROW]
[ROW][C]23[/C][C]0.802985932876242[/C][C]0.394028134247517[/C][C]0.197014067123758[/C][/ROW]
[ROW][C]24[/C][C]0.79946592097425[/C][C]0.401068158051501[/C][C]0.200534079025750[/C][/ROW]
[ROW][C]25[/C][C]0.846717290557006[/C][C]0.306565418885989[/C][C]0.153282709442994[/C][/ROW]
[ROW][C]26[/C][C]0.799104609691766[/C][C]0.401790780616468[/C][C]0.200895390308234[/C][/ROW]
[ROW][C]27[/C][C]0.752844920144989[/C][C]0.494310159710023[/C][C]0.247155079855011[/C][/ROW]
[ROW][C]28[/C][C]0.737207765728362[/C][C]0.525584468543276[/C][C]0.262792234271638[/C][/ROW]
[ROW][C]29[/C][C]0.793069279038054[/C][C]0.413861441923891[/C][C]0.206930720961946[/C][/ROW]
[ROW][C]30[/C][C]0.832158596975072[/C][C]0.335682806049855[/C][C]0.167841403024928[/C][/ROW]
[ROW][C]31[/C][C]0.824321056235296[/C][C]0.351357887529408[/C][C]0.175678943764704[/C][/ROW]
[ROW][C]32[/C][C]0.820133549734382[/C][C]0.359732900531235[/C][C]0.179866450265618[/C][/ROW]
[ROW][C]33[/C][C]0.826135724695487[/C][C]0.347728550609025[/C][C]0.173864275304513[/C][/ROW]
[ROW][C]34[/C][C]0.862304425705604[/C][C]0.275391148588791[/C][C]0.137695574294396[/C][/ROW]
[ROW][C]35[/C][C]0.860298899729919[/C][C]0.279402200540163[/C][C]0.139701100270081[/C][/ROW]
[ROW][C]36[/C][C]0.853080709410868[/C][C]0.293838581178263[/C][C]0.146919290589132[/C][/ROW]
[ROW][C]37[/C][C]0.868244634418352[/C][C]0.263510731163296[/C][C]0.131755365581648[/C][/ROW]
[ROW][C]38[/C][C]0.84209899714346[/C][C]0.315802005713081[/C][C]0.157901002856541[/C][/ROW]
[ROW][C]39[/C][C]0.852436326913579[/C][C]0.295127346172842[/C][C]0.147563673086421[/C][/ROW]
[ROW][C]40[/C][C]0.847528976495483[/C][C]0.304942047009035[/C][C]0.152471023504518[/C][/ROW]
[ROW][C]41[/C][C]0.987153409994808[/C][C]0.0256931800103839[/C][C]0.0128465900051919[/C][/ROW]
[ROW][C]42[/C][C]0.980134579071409[/C][C]0.0397308418571822[/C][C]0.0198654209285911[/C][/ROW]
[ROW][C]43[/C][C]0.978509503449069[/C][C]0.0429809931018629[/C][C]0.0214904965509315[/C][/ROW]
[ROW][C]44[/C][C]0.968574282814464[/C][C]0.0628514343710726[/C][C]0.0314257171855363[/C][/ROW]
[ROW][C]45[/C][C]0.975806640990386[/C][C]0.0483867180192289[/C][C]0.0241933590096144[/C][/ROW]
[ROW][C]46[/C][C]0.95916247293259[/C][C]0.0816750541348217[/C][C]0.0408375270674108[/C][/ROW]
[ROW][C]47[/C][C]0.938782677473376[/C][C]0.122434645053248[/C][C]0.0612173225266239[/C][/ROW]
[ROW][C]48[/C][C]0.941905041442583[/C][C]0.116189917114835[/C][C]0.0580949585574173[/C][/ROW]
[ROW][C]49[/C][C]0.909647055574288[/C][C]0.180705888851423[/C][C]0.0903529444257117[/C][/ROW]
[ROW][C]50[/C][C]0.866761024368822[/C][C]0.266477951262357[/C][C]0.133238975631178[/C][/ROW]
[ROW][C]51[/C][C]0.814427893677233[/C][C]0.371144212645534[/C][C]0.185572106322767[/C][/ROW]
[ROW][C]52[/C][C]0.761472219999035[/C][C]0.47705556000193[/C][C]0.238527780000965[/C][/ROW]
[ROW][C]53[/C][C]0.664948138798079[/C][C]0.670103722403842[/C][C]0.335051861201921[/C][/ROW]
[ROW][C]54[/C][C]0.561635091969288[/C][C]0.876729816061424[/C][C]0.438364908030712[/C][/ROW]
[ROW][C]55[/C][C]0.82401093552117[/C][C]0.351978128957659[/C][C]0.175989064478829[/C][/ROW]
[ROW][C]56[/C][C]0.908357151814315[/C][C]0.183285696371371[/C][C]0.0916428481856853[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58739&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
50.4172611291729570.8345222583459140.582738870827043
60.340940655405660.681881310811320.65905934459434
70.2143700863592020.4287401727184040.785629913640798
80.1495126052429960.2990252104859930.850487394757004
90.0856428828816630.1712857657633260.914357117118337
100.1380295104385160.2760590208770320.861970489561484
110.08441714873874330.1688342974774870.915582851261257
120.1522174795849810.3044349591699630.847782520415019
130.1627064769230380.3254129538460760.837293523076962
140.15906221102750.3181244220550.8409377889725
150.3993296781573930.7986593563147860.600670321842607
160.5714196617867610.8571606764264780.428580338213239
170.507825074453520.984349851092960.49217492554648
180.4421736896912570.8843473793825150.557826310308743
190.5964311853164810.8071376293670380.403568814683519
200.7032258275474370.5935483449051270.296774172452563
210.6396048478989220.7207903042021570.360395152101078
220.8431403784219180.3137192431561630.156859621578082
230.8029859328762420.3940281342475170.197014067123758
240.799465920974250.4010681580515010.200534079025750
250.8467172905570060.3065654188859890.153282709442994
260.7991046096917660.4017907806164680.200895390308234
270.7528449201449890.4943101597100230.247155079855011
280.7372077657283620.5255844685432760.262792234271638
290.7930692790380540.4138614419238910.206930720961946
300.8321585969750720.3356828060498550.167841403024928
310.8243210562352960.3513578875294080.175678943764704
320.8201335497343820.3597329005312350.179866450265618
330.8261357246954870.3477285506090250.173864275304513
340.8623044257056040.2753911485887910.137695574294396
350.8602988997299190.2794022005401630.139701100270081
360.8530807094108680.2938385811782630.146919290589132
370.8682446344183520.2635107311632960.131755365581648
380.842098997143460.3158020057130810.157901002856541
390.8524363269135790.2951273461728420.147563673086421
400.8475289764954830.3049420470090350.152471023504518
410.9871534099948080.02569318001038390.0128465900051919
420.9801345790714090.03973084185718220.0198654209285911
430.9785095034490690.04298099310186290.0214904965509315
440.9685742828144640.06285143437107260.0314257171855363
450.9758066409903860.04838671801922890.0241933590096144
460.959162472932590.08167505413482170.0408375270674108
470.9387826774733760.1224346450532480.0612173225266239
480.9419050414425830.1161899171148350.0580949585574173
490.9096470555742880.1807058888514230.0903529444257117
500.8667610243688220.2664779512623570.133238975631178
510.8144278936772330.3711442126455340.185572106322767
520.7614722199990350.477055560001930.238527780000965
530.6649481387980790.6701037224038420.335051861201921
540.5616350919692880.8767298160614240.438364908030712
550.824010935521170.3519781289576590.175989064478829
560.9083571518143150.1832856963713710.0916428481856853







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 4 & 0.0769230769230769 & NOK \tabularnewline
10% type I error level & 6 & 0.115384615384615 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58739&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]4[/C][C]0.0769230769230769[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]6[/C][C]0.115384615384615[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58739&T=6

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

As an alternative you can also use a QR Code:  

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

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



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