Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 16:08:43 -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/21/t1258758673oioerow0h5yem4a.htm/, Retrieved Sat, 27 Apr 2024 17:54:06 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=58490, Retrieved Sat, 27 Apr 2024 17:54:06 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact193
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RMPD  [Multiple Regression] [Seatbelt] [2009-11-12 13:54:52] [b98453cac15ba1066b407e146608df68]
-    D    [Multiple Regression] [] [2009-11-20 07:36:00] [5d885a68c2332cc44f6191ec94766bfa]
-   PD        [Multiple Regression] [Model5] [2009-11-20 23:08:43] [82f29a5d509ab8039aab37a0145f886d] [Current]
Feedback Forum

Post a new message
Dataseries X:
561	15,9	562
555	18,2	561
544	19,7	555
537	20,1	544
543	19,9	537
594	20	543
611	22,6	594
613	20,6	611
611	20,1	613
594	20,2	611
595	21,8	594
591	22	595
589	19,5	591
584	17,5	589
573	18,2	584
567	18,8	573
569	19,7	567
621	18,8	569
629	18,5	621
628	18,7	629
612	18,5	628
595	19,3	612
597	18,9	595
593	21,4	597
590	22,5	593
580	25	590
574	22,9	580
573	22,9	574
573	21,3	573
620	22,3	573
626	20,9	620
620	19,9	626
588	20,2	620
566	19,8	588
557	17,7	566
561	18,1	557
549	17,6	561
532	18,2	549
526	16	532
511	16,3	526
499	17,3	511
555	19	499
565	18,6	555
542	18	565
527	17,9	542
510	17,8	527
514	18,5	510
517	17,4	514
508	19	517
493	17,4	508
490	20,6	493
469	18,5	490
478	20	469
528	18,8	478
534	18,8	528
518	19,7	534
506	15,3	518
502	10,6	506
516	6,1	502
528	0,9	516




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 49.328366603281 -0.651288616346723X[t] + 0.947192748369779Y1[t] -7.46602476253019M1[t] -12.5116219686066M2[t] -9.5229972894487M3[t] -12.4128790792859M4[t] -1.52744118751515M5[t] + 49.0216445212456M6[t] + 10.1956027171895M7[t] -7.6285553748178M8[t] -15.1264239823416M9[t] -16.2946658166632M10[t] + 0.284989259707416M11[t] -0.205098050841956t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  49.328366603281 -0.651288616346723X[t] +  0.947192748369779Y1[t] -7.46602476253019M1[t] -12.5116219686066M2[t] -9.5229972894487M3[t] -12.4128790792859M4[t] -1.52744118751515M5[t] +  49.0216445212456M6[t] +  10.1956027171895M7[t] -7.6285553748178M8[t] -15.1264239823416M9[t] -16.2946658166632M10[t] +  0.284989259707416M11[t] -0.205098050841956t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  49.328366603281 -0.651288616346723X[t] +  0.947192748369779Y1[t] -7.46602476253019M1[t] -12.5116219686066M2[t] -9.5229972894487M3[t] -12.4128790792859M4[t] -1.52744118751515M5[t] +  49.0216445212456M6[t] +  10.1956027171895M7[t] -7.6285553748178M8[t] -15.1264239823416M9[t] -16.2946658166632M10[t] +  0.284989259707416M11[t] -0.205098050841956t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58490&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] = + 49.328366603281 -0.651288616346723X[t] + 0.947192748369779Y1[t] -7.46602476253019M1[t] -12.5116219686066M2[t] -9.5229972894487M3[t] -12.4128790792859M4[t] -1.52744118751515M5[t] + 49.0216445212456M6[t] + 10.1956027171895M7[t] -7.6285553748178M8[t] -15.1264239823416M9[t] -16.2946658166632M10[t] + 0.284989259707416M11[t] -0.205098050841956t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)49.32836660328123.8527122.0680.0444130.022207
X-0.6512886163467230.296327-2.19790.0331450.016572
Y10.9471927483697790.039823.798900
M1-7.466024762530194.301168-1.73580.089440.04472
M2-12.51162196860664.341435-2.88190.0060380.003019
M3-9.52299728944874.431793-2.14880.0370680.018534
M4-12.41287907928594.484485-2.7680.008160.00408
M5-1.527441187515154.623348-0.33040.7426490.371325
M649.02164452124564.60015610.656500
M710.19560271718954.3376392.35050.0231920.011596
M8-7.62855537481784.387332-1.73880.0889140.044457
M9-15.12642398234164.302066-3.51610.0010120.000506
M10-16.29466581666324.218318-3.86280.0003560.000178
M110.2849892597074164.1986950.06790.9461850.473093
t-0.2050980508419560.083122-2.46740.0174780.008739

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 49.328366603281 & 23.852712 & 2.068 & 0.044413 & 0.022207 \tabularnewline
X & -0.651288616346723 & 0.296327 & -2.1979 & 0.033145 & 0.016572 \tabularnewline
Y1 & 0.947192748369779 & 0.0398 & 23.7989 & 0 & 0 \tabularnewline
M1 & -7.46602476253019 & 4.301168 & -1.7358 & 0.08944 & 0.04472 \tabularnewline
M2 & -12.5116219686066 & 4.341435 & -2.8819 & 0.006038 & 0.003019 \tabularnewline
M3 & -9.5229972894487 & 4.431793 & -2.1488 & 0.037068 & 0.018534 \tabularnewline
M4 & -12.4128790792859 & 4.484485 & -2.768 & 0.00816 & 0.00408 \tabularnewline
M5 & -1.52744118751515 & 4.623348 & -0.3304 & 0.742649 & 0.371325 \tabularnewline
M6 & 49.0216445212456 & 4.600156 & 10.6565 & 0 & 0 \tabularnewline
M7 & 10.1956027171895 & 4.337639 & 2.3505 & 0.023192 & 0.011596 \tabularnewline
M8 & -7.6285553748178 & 4.387332 & -1.7388 & 0.088914 & 0.044457 \tabularnewline
M9 & -15.1264239823416 & 4.302066 & -3.5161 & 0.001012 & 0.000506 \tabularnewline
M10 & -16.2946658166632 & 4.218318 & -3.8628 & 0.000356 & 0.000178 \tabularnewline
M11 & 0.284989259707416 & 4.198695 & 0.0679 & 0.946185 & 0.473093 \tabularnewline
t & -0.205098050841956 & 0.083122 & -2.4674 & 0.017478 & 0.008739 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]49.328366603281[/C][C]23.852712[/C][C]2.068[/C][C]0.044413[/C][C]0.022207[/C][/ROW]
[ROW][C]X[/C][C]-0.651288616346723[/C][C]0.296327[/C][C]-2.1979[/C][C]0.033145[/C][C]0.016572[/C][/ROW]
[ROW][C]Y1[/C][C]0.947192748369779[/C][C]0.0398[/C][C]23.7989[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M1[/C][C]-7.46602476253019[/C][C]4.301168[/C][C]-1.7358[/C][C]0.08944[/C][C]0.04472[/C][/ROW]
[ROW][C]M2[/C][C]-12.5116219686066[/C][C]4.341435[/C][C]-2.8819[/C][C]0.006038[/C][C]0.003019[/C][/ROW]
[ROW][C]M3[/C][C]-9.5229972894487[/C][C]4.431793[/C][C]-2.1488[/C][C]0.037068[/C][C]0.018534[/C][/ROW]
[ROW][C]M4[/C][C]-12.4128790792859[/C][C]4.484485[/C][C]-2.768[/C][C]0.00816[/C][C]0.00408[/C][/ROW]
[ROW][C]M5[/C][C]-1.52744118751515[/C][C]4.623348[/C][C]-0.3304[/C][C]0.742649[/C][C]0.371325[/C][/ROW]
[ROW][C]M6[/C][C]49.0216445212456[/C][C]4.600156[/C][C]10.6565[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]M7[/C][C]10.1956027171895[/C][C]4.337639[/C][C]2.3505[/C][C]0.023192[/C][C]0.011596[/C][/ROW]
[ROW][C]M8[/C][C]-7.6285553748178[/C][C]4.387332[/C][C]-1.7388[/C][C]0.088914[/C][C]0.044457[/C][/ROW]
[ROW][C]M9[/C][C]-15.1264239823416[/C][C]4.302066[/C][C]-3.5161[/C][C]0.001012[/C][C]0.000506[/C][/ROW]
[ROW][C]M10[/C][C]-16.2946658166632[/C][C]4.218318[/C][C]-3.8628[/C][C]0.000356[/C][C]0.000178[/C][/ROW]
[ROW][C]M11[/C][C]0.284989259707416[/C][C]4.198695[/C][C]0.0679[/C][C]0.946185[/C][C]0.473093[/C][/ROW]
[ROW][C]t[/C][C]-0.205098050841956[/C][C]0.083122[/C][C]-2.4674[/C][C]0.017478[/C][C]0.008739[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)49.32836660328123.8527122.0680.0444130.022207
X-0.6512886163467230.296327-2.19790.0331450.016572
Y10.9471927483697790.039823.798900
M1-7.466024762530194.301168-1.73580.089440.04472
M2-12.51162196860664.341435-2.88190.0060380.003019
M3-9.52299728944874.431793-2.14880.0370680.018534
M4-12.41287907928594.484485-2.7680.008160.00408
M5-1.527441187515154.623348-0.33040.7426490.371325
M649.02164452124564.60015610.656500
M710.19560271718954.3376392.35050.0231920.011596
M8-7.62855537481784.387332-1.73880.0889140.044457
M9-15.12642398234164.302066-3.51610.0010120.000506
M10-16.29466581666324.218318-3.86280.0003560.000178
M110.2849892597074164.1986950.06790.9461850.473093
t-0.2050980508419560.083122-2.46740.0174780.008739







Multiple Linear Regression - Regression Statistics
Multiple R0.99054160865246
R-squared0.981172678471802
Adjusted R-squared0.975315289551918
F-TEST (value)167.510249343534
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.62519234950304
Sum Squared Residuals1975.19281505611

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.99054160865246 \tabularnewline
R-squared & 0.981172678471802 \tabularnewline
Adjusted R-squared & 0.975315289551918 \tabularnewline
F-TEST (value) & 167.510249343534 \tabularnewline
F-TEST (DF numerator) & 14 \tabularnewline
F-TEST (DF denominator) & 45 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 6.62519234950304 \tabularnewline
Sum Squared Residuals & 1975.19281505611 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.99054160865246[/C][/ROW]
[ROW][C]R-squared[/C][C]0.981172678471802[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.975315289551918[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]167.510249343534[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]14[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]45[/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]6.62519234950304[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]1975.19281505611[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58490&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.99054160865246
R-squared0.981172678471802
Adjusted R-squared0.975315289551918
F-TEST (value)167.510249343534
F-TEST (DF numerator)14
F-TEST (DF denominator)45
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.62519234950304
Sum Squared Residuals1975.19281505611







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1561563.624079373812-2.62407937381185
2555555.928227550926-0.928227550926121
3544552.051664764503-8.05166476450334
4537538.277049245218-1.27704924521792
5543542.4572975708280.542702429172447
6594598.41931285733-4.41931285733032
7611606.001652766794.99834723321046
8613605.377250578927.62274942108004
9611599.89431372546711.1056862745328
10594596.561459481929-2.56145948192933
11595595.791677999017-0.791677999017001
12591596.118525713568-5.11852571356806
13589586.2868534475842.71314655241640
14584580.4443499266193.55565007338085
15573578.036010781643-5.03601078164348
16567564.1311375390892.86886246091123
17569568.5421611350870.457838864913215
18621621.366694044457-0.366694044457154
19629631.784963689692-2.78496368969167
20628621.2029918105316.79700818946873
21612612.683090127065-0.68309012706509
22595595.633635374908-0.633635374907683
23597596.1664311246890.833568875311195
24593595.942507770012-2.94250777001218
25590583.766196485186.23380351482047
26580574.0457014422855.95429855771496
27574568.7250066812315.2749933187687
28573559.94687035033313.0531296496665
29573570.7220792290472.27792077095277
30620620.414778270619-0.414778270619278
31626626.813501651986-0.813501651986298
32620615.1186906157024.88130938429759
33588601.537180882214-13.5371808822140
34566570.114188495756-4.11418849575617
35557567.018211151478-10.0182111514778
36561557.7428736590623.25712634093825
37549554.186166147342-5.18616614734208
38532537.178384740178-5.17838474017835
39526525.2924696021710.707530397829175
40511516.318946686369-5.31894668636903
41499512.140106685404-13.1401066854044
42555550.0105907150964.98940928490363
43565564.2827602154450.717239784555338
44542556.116204726101-14.1162047261012
45527526.6929337168650.307066283134788
46510511.17683146779-1.17683146778963
47514510.9932097395893.00679026041063
48517515.00831090051.99168909949949
49508509.136704546083-1.13670454608293
50493496.403336339991-3.40333633999134
51490482.8948481704517.10515182954894
52469478.325996178991-9.32599617899074
53478468.1383553796349.86164462036595
54528527.7886241124970.211375887503119
55534536.117121676088-2.11712167608783
56518523.184862268745-5.18486226874515
57506503.1924815483892.80751845161147
58502493.5138851796178.4861148203828
59516509.0304699852276.96953001477299
60528525.1877819568582.8122180431425

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 561 & 563.624079373812 & -2.62407937381185 \tabularnewline
2 & 555 & 555.928227550926 & -0.928227550926121 \tabularnewline
3 & 544 & 552.051664764503 & -8.05166476450334 \tabularnewline
4 & 537 & 538.277049245218 & -1.27704924521792 \tabularnewline
5 & 543 & 542.457297570828 & 0.542702429172447 \tabularnewline
6 & 594 & 598.41931285733 & -4.41931285733032 \tabularnewline
7 & 611 & 606.00165276679 & 4.99834723321046 \tabularnewline
8 & 613 & 605.37725057892 & 7.62274942108004 \tabularnewline
9 & 611 & 599.894313725467 & 11.1056862745328 \tabularnewline
10 & 594 & 596.561459481929 & -2.56145948192933 \tabularnewline
11 & 595 & 595.791677999017 & -0.791677999017001 \tabularnewline
12 & 591 & 596.118525713568 & -5.11852571356806 \tabularnewline
13 & 589 & 586.286853447584 & 2.71314655241640 \tabularnewline
14 & 584 & 580.444349926619 & 3.55565007338085 \tabularnewline
15 & 573 & 578.036010781643 & -5.03601078164348 \tabularnewline
16 & 567 & 564.131137539089 & 2.86886246091123 \tabularnewline
17 & 569 & 568.542161135087 & 0.457838864913215 \tabularnewline
18 & 621 & 621.366694044457 & -0.366694044457154 \tabularnewline
19 & 629 & 631.784963689692 & -2.78496368969167 \tabularnewline
20 & 628 & 621.202991810531 & 6.79700818946873 \tabularnewline
21 & 612 & 612.683090127065 & -0.68309012706509 \tabularnewline
22 & 595 & 595.633635374908 & -0.633635374907683 \tabularnewline
23 & 597 & 596.166431124689 & 0.833568875311195 \tabularnewline
24 & 593 & 595.942507770012 & -2.94250777001218 \tabularnewline
25 & 590 & 583.76619648518 & 6.23380351482047 \tabularnewline
26 & 580 & 574.045701442285 & 5.95429855771496 \tabularnewline
27 & 574 & 568.725006681231 & 5.2749933187687 \tabularnewline
28 & 573 & 559.946870350333 & 13.0531296496665 \tabularnewline
29 & 573 & 570.722079229047 & 2.27792077095277 \tabularnewline
30 & 620 & 620.414778270619 & -0.414778270619278 \tabularnewline
31 & 626 & 626.813501651986 & -0.813501651986298 \tabularnewline
32 & 620 & 615.118690615702 & 4.88130938429759 \tabularnewline
33 & 588 & 601.537180882214 & -13.5371808822140 \tabularnewline
34 & 566 & 570.114188495756 & -4.11418849575617 \tabularnewline
35 & 557 & 567.018211151478 & -10.0182111514778 \tabularnewline
36 & 561 & 557.742873659062 & 3.25712634093825 \tabularnewline
37 & 549 & 554.186166147342 & -5.18616614734208 \tabularnewline
38 & 532 & 537.178384740178 & -5.17838474017835 \tabularnewline
39 & 526 & 525.292469602171 & 0.707530397829175 \tabularnewline
40 & 511 & 516.318946686369 & -5.31894668636903 \tabularnewline
41 & 499 & 512.140106685404 & -13.1401066854044 \tabularnewline
42 & 555 & 550.010590715096 & 4.98940928490363 \tabularnewline
43 & 565 & 564.282760215445 & 0.717239784555338 \tabularnewline
44 & 542 & 556.116204726101 & -14.1162047261012 \tabularnewline
45 & 527 & 526.692933716865 & 0.307066283134788 \tabularnewline
46 & 510 & 511.17683146779 & -1.17683146778963 \tabularnewline
47 & 514 & 510.993209739589 & 3.00679026041063 \tabularnewline
48 & 517 & 515.0083109005 & 1.99168909949949 \tabularnewline
49 & 508 & 509.136704546083 & -1.13670454608293 \tabularnewline
50 & 493 & 496.403336339991 & -3.40333633999134 \tabularnewline
51 & 490 & 482.894848170451 & 7.10515182954894 \tabularnewline
52 & 469 & 478.325996178991 & -9.32599617899074 \tabularnewline
53 & 478 & 468.138355379634 & 9.86164462036595 \tabularnewline
54 & 528 & 527.788624112497 & 0.211375887503119 \tabularnewline
55 & 534 & 536.117121676088 & -2.11712167608783 \tabularnewline
56 & 518 & 523.184862268745 & -5.18486226874515 \tabularnewline
57 & 506 & 503.192481548389 & 2.80751845161147 \tabularnewline
58 & 502 & 493.513885179617 & 8.4861148203828 \tabularnewline
59 & 516 & 509.030469985227 & 6.96953001477299 \tabularnewline
60 & 528 & 525.187781956858 & 2.8122180431425 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&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]561[/C][C]563.624079373812[/C][C]-2.62407937381185[/C][/ROW]
[ROW][C]2[/C][C]555[/C][C]555.928227550926[/C][C]-0.928227550926121[/C][/ROW]
[ROW][C]3[/C][C]544[/C][C]552.051664764503[/C][C]-8.05166476450334[/C][/ROW]
[ROW][C]4[/C][C]537[/C][C]538.277049245218[/C][C]-1.27704924521792[/C][/ROW]
[ROW][C]5[/C][C]543[/C][C]542.457297570828[/C][C]0.542702429172447[/C][/ROW]
[ROW][C]6[/C][C]594[/C][C]598.41931285733[/C][C]-4.41931285733032[/C][/ROW]
[ROW][C]7[/C][C]611[/C][C]606.00165276679[/C][C]4.99834723321046[/C][/ROW]
[ROW][C]8[/C][C]613[/C][C]605.37725057892[/C][C]7.62274942108004[/C][/ROW]
[ROW][C]9[/C][C]611[/C][C]599.894313725467[/C][C]11.1056862745328[/C][/ROW]
[ROW][C]10[/C][C]594[/C][C]596.561459481929[/C][C]-2.56145948192933[/C][/ROW]
[ROW][C]11[/C][C]595[/C][C]595.791677999017[/C][C]-0.791677999017001[/C][/ROW]
[ROW][C]12[/C][C]591[/C][C]596.118525713568[/C][C]-5.11852571356806[/C][/ROW]
[ROW][C]13[/C][C]589[/C][C]586.286853447584[/C][C]2.71314655241640[/C][/ROW]
[ROW][C]14[/C][C]584[/C][C]580.444349926619[/C][C]3.55565007338085[/C][/ROW]
[ROW][C]15[/C][C]573[/C][C]578.036010781643[/C][C]-5.03601078164348[/C][/ROW]
[ROW][C]16[/C][C]567[/C][C]564.131137539089[/C][C]2.86886246091123[/C][/ROW]
[ROW][C]17[/C][C]569[/C][C]568.542161135087[/C][C]0.457838864913215[/C][/ROW]
[ROW][C]18[/C][C]621[/C][C]621.366694044457[/C][C]-0.366694044457154[/C][/ROW]
[ROW][C]19[/C][C]629[/C][C]631.784963689692[/C][C]-2.78496368969167[/C][/ROW]
[ROW][C]20[/C][C]628[/C][C]621.202991810531[/C][C]6.79700818946873[/C][/ROW]
[ROW][C]21[/C][C]612[/C][C]612.683090127065[/C][C]-0.68309012706509[/C][/ROW]
[ROW][C]22[/C][C]595[/C][C]595.633635374908[/C][C]-0.633635374907683[/C][/ROW]
[ROW][C]23[/C][C]597[/C][C]596.166431124689[/C][C]0.833568875311195[/C][/ROW]
[ROW][C]24[/C][C]593[/C][C]595.942507770012[/C][C]-2.94250777001218[/C][/ROW]
[ROW][C]25[/C][C]590[/C][C]583.76619648518[/C][C]6.23380351482047[/C][/ROW]
[ROW][C]26[/C][C]580[/C][C]574.045701442285[/C][C]5.95429855771496[/C][/ROW]
[ROW][C]27[/C][C]574[/C][C]568.725006681231[/C][C]5.2749933187687[/C][/ROW]
[ROW][C]28[/C][C]573[/C][C]559.946870350333[/C][C]13.0531296496665[/C][/ROW]
[ROW][C]29[/C][C]573[/C][C]570.722079229047[/C][C]2.27792077095277[/C][/ROW]
[ROW][C]30[/C][C]620[/C][C]620.414778270619[/C][C]-0.414778270619278[/C][/ROW]
[ROW][C]31[/C][C]626[/C][C]626.813501651986[/C][C]-0.813501651986298[/C][/ROW]
[ROW][C]32[/C][C]620[/C][C]615.118690615702[/C][C]4.88130938429759[/C][/ROW]
[ROW][C]33[/C][C]588[/C][C]601.537180882214[/C][C]-13.5371808822140[/C][/ROW]
[ROW][C]34[/C][C]566[/C][C]570.114188495756[/C][C]-4.11418849575617[/C][/ROW]
[ROW][C]35[/C][C]557[/C][C]567.018211151478[/C][C]-10.0182111514778[/C][/ROW]
[ROW][C]36[/C][C]561[/C][C]557.742873659062[/C][C]3.25712634093825[/C][/ROW]
[ROW][C]37[/C][C]549[/C][C]554.186166147342[/C][C]-5.18616614734208[/C][/ROW]
[ROW][C]38[/C][C]532[/C][C]537.178384740178[/C][C]-5.17838474017835[/C][/ROW]
[ROW][C]39[/C][C]526[/C][C]525.292469602171[/C][C]0.707530397829175[/C][/ROW]
[ROW][C]40[/C][C]511[/C][C]516.318946686369[/C][C]-5.31894668636903[/C][/ROW]
[ROW][C]41[/C][C]499[/C][C]512.140106685404[/C][C]-13.1401066854044[/C][/ROW]
[ROW][C]42[/C][C]555[/C][C]550.010590715096[/C][C]4.98940928490363[/C][/ROW]
[ROW][C]43[/C][C]565[/C][C]564.282760215445[/C][C]0.717239784555338[/C][/ROW]
[ROW][C]44[/C][C]542[/C][C]556.116204726101[/C][C]-14.1162047261012[/C][/ROW]
[ROW][C]45[/C][C]527[/C][C]526.692933716865[/C][C]0.307066283134788[/C][/ROW]
[ROW][C]46[/C][C]510[/C][C]511.17683146779[/C][C]-1.17683146778963[/C][/ROW]
[ROW][C]47[/C][C]514[/C][C]510.993209739589[/C][C]3.00679026041063[/C][/ROW]
[ROW][C]48[/C][C]517[/C][C]515.0083109005[/C][C]1.99168909949949[/C][/ROW]
[ROW][C]49[/C][C]508[/C][C]509.136704546083[/C][C]-1.13670454608293[/C][/ROW]
[ROW][C]50[/C][C]493[/C][C]496.403336339991[/C][C]-3.40333633999134[/C][/ROW]
[ROW][C]51[/C][C]490[/C][C]482.894848170451[/C][C]7.10515182954894[/C][/ROW]
[ROW][C]52[/C][C]469[/C][C]478.325996178991[/C][C]-9.32599617899074[/C][/ROW]
[ROW][C]53[/C][C]478[/C][C]468.138355379634[/C][C]9.86164462036595[/C][/ROW]
[ROW][C]54[/C][C]528[/C][C]527.788624112497[/C][C]0.211375887503119[/C][/ROW]
[ROW][C]55[/C][C]534[/C][C]536.117121676088[/C][C]-2.11712167608783[/C][/ROW]
[ROW][C]56[/C][C]518[/C][C]523.184862268745[/C][C]-5.18486226874515[/C][/ROW]
[ROW][C]57[/C][C]506[/C][C]503.192481548389[/C][C]2.80751845161147[/C][/ROW]
[ROW][C]58[/C][C]502[/C][C]493.513885179617[/C][C]8.4861148203828[/C][/ROW]
[ROW][C]59[/C][C]516[/C][C]509.030469985227[/C][C]6.96953001477299[/C][/ROW]
[ROW][C]60[/C][C]528[/C][C]525.187781956858[/C][C]2.8122180431425[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58490&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
1561563.624079373812-2.62407937381185
2555555.928227550926-0.928227550926121
3544552.051664764503-8.05166476450334
4537538.277049245218-1.27704924521792
5543542.4572975708280.542702429172447
6594598.41931285733-4.41931285733032
7611606.001652766794.99834723321046
8613605.377250578927.62274942108004
9611599.89431372546711.1056862745328
10594596.561459481929-2.56145948192933
11595595.791677999017-0.791677999017001
12591596.118525713568-5.11852571356806
13589586.2868534475842.71314655241640
14584580.4443499266193.55565007338085
15573578.036010781643-5.03601078164348
16567564.1311375390892.86886246091123
17569568.5421611350870.457838864913215
18621621.366694044457-0.366694044457154
19629631.784963689692-2.78496368969167
20628621.2029918105316.79700818946873
21612612.683090127065-0.68309012706509
22595595.633635374908-0.633635374907683
23597596.1664311246890.833568875311195
24593595.942507770012-2.94250777001218
25590583.766196485186.23380351482047
26580574.0457014422855.95429855771496
27574568.7250066812315.2749933187687
28573559.94687035033313.0531296496665
29573570.7220792290472.27792077095277
30620620.414778270619-0.414778270619278
31626626.813501651986-0.813501651986298
32620615.1186906157024.88130938429759
33588601.537180882214-13.5371808822140
34566570.114188495756-4.11418849575617
35557567.018211151478-10.0182111514778
36561557.7428736590623.25712634093825
37549554.186166147342-5.18616614734208
38532537.178384740178-5.17838474017835
39526525.2924696021710.707530397829175
40511516.318946686369-5.31894668636903
41499512.140106685404-13.1401066854044
42555550.0105907150964.98940928490363
43565564.2827602154450.717239784555338
44542556.116204726101-14.1162047261012
45527526.6929337168650.307066283134788
46510511.17683146779-1.17683146778963
47514510.9932097395893.00679026041063
48517515.00831090051.99168909949949
49508509.136704546083-1.13670454608293
50493496.403336339991-3.40333633999134
51490482.8948481704517.10515182954894
52469478.325996178991-9.32599617899074
53478468.1383553796349.86164462036595
54528527.7886241124970.211375887503119
55534536.117121676088-2.11712167608783
56518523.184862268745-5.18486226874515
57506503.1924815483892.80751845161147
58502493.5138851796178.4861148203828
59516509.0304699852276.96953001477299
60528525.1877819568582.8122180431425







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.007766343283125920.01553268656625180.992233656716874
190.03833887436876020.07667774873752040.96166112563124
200.01486399513887740.02972799027775470.985136004861123
210.02025612209302350.0405122441860470.979743877906976
220.02898158804805470.05796317609610940.971018411951945
230.01880050256603380.03760100513206750.981199497433966
240.008362648872560250.01672529774512050.99163735112744
250.004582215270312710.009164430540625420.995417784729687
260.003215283108374000.006430566216747990.996784716891626
270.003225164988883340.006450329977766680.996774835011117
280.01377587281200990.02755174562401980.98622412718799
290.009799724381599180.01959944876319840.9902002756184
300.005934108639613320.01186821727922660.994065891360387
310.004526871171659170.009053742343318340.99547312882834
320.07342982867070380.1468596573414080.926570171329296
330.3358667062988410.6717334125976820.664133293701159
340.3133595177001080.6267190354002170.686640482299892
350.2406864196979960.4813728393959920.759313580302004
360.4716727849479650.943345569895930.528327215052035
370.4199438804723160.8398877609446330.580056119527684
380.6739892085751940.6520215828496130.326010791424807
390.6095678275224050.780864344955190.390432172477595
400.9434354867509270.1131290264981450.0565645132490726
410.9265028878048660.1469942243902680.0734971121951342
420.8513994579111130.2972010841777730.148600542088887

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
18 & 0.00776634328312592 & 0.0155326865662518 & 0.992233656716874 \tabularnewline
19 & 0.0383388743687602 & 0.0766777487375204 & 0.96166112563124 \tabularnewline
20 & 0.0148639951388774 & 0.0297279902777547 & 0.985136004861123 \tabularnewline
21 & 0.0202561220930235 & 0.040512244186047 & 0.979743877906976 \tabularnewline
22 & 0.0289815880480547 & 0.0579631760961094 & 0.971018411951945 \tabularnewline
23 & 0.0188005025660338 & 0.0376010051320675 & 0.981199497433966 \tabularnewline
24 & 0.00836264887256025 & 0.0167252977451205 & 0.99163735112744 \tabularnewline
25 & 0.00458221527031271 & 0.00916443054062542 & 0.995417784729687 \tabularnewline
26 & 0.00321528310837400 & 0.00643056621674799 & 0.996784716891626 \tabularnewline
27 & 0.00322516498888334 & 0.00645032997776668 & 0.996774835011117 \tabularnewline
28 & 0.0137758728120099 & 0.0275517456240198 & 0.98622412718799 \tabularnewline
29 & 0.00979972438159918 & 0.0195994487631984 & 0.9902002756184 \tabularnewline
30 & 0.00593410863961332 & 0.0118682172792266 & 0.994065891360387 \tabularnewline
31 & 0.00452687117165917 & 0.00905374234331834 & 0.99547312882834 \tabularnewline
32 & 0.0734298286707038 & 0.146859657341408 & 0.926570171329296 \tabularnewline
33 & 0.335866706298841 & 0.671733412597682 & 0.664133293701159 \tabularnewline
34 & 0.313359517700108 & 0.626719035400217 & 0.686640482299892 \tabularnewline
35 & 0.240686419697996 & 0.481372839395992 & 0.759313580302004 \tabularnewline
36 & 0.471672784947965 & 0.94334556989593 & 0.528327215052035 \tabularnewline
37 & 0.419943880472316 & 0.839887760944633 & 0.580056119527684 \tabularnewline
38 & 0.673989208575194 & 0.652021582849613 & 0.326010791424807 \tabularnewline
39 & 0.609567827522405 & 0.78086434495519 & 0.390432172477595 \tabularnewline
40 & 0.943435486750927 & 0.113129026498145 & 0.0565645132490726 \tabularnewline
41 & 0.926502887804866 & 0.146994224390268 & 0.0734971121951342 \tabularnewline
42 & 0.851399457911113 & 0.297201084177773 & 0.148600542088887 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&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]18[/C][C]0.00776634328312592[/C][C]0.0155326865662518[/C][C]0.992233656716874[/C][/ROW]
[ROW][C]19[/C][C]0.0383388743687602[/C][C]0.0766777487375204[/C][C]0.96166112563124[/C][/ROW]
[ROW][C]20[/C][C]0.0148639951388774[/C][C]0.0297279902777547[/C][C]0.985136004861123[/C][/ROW]
[ROW][C]21[/C][C]0.0202561220930235[/C][C]0.040512244186047[/C][C]0.979743877906976[/C][/ROW]
[ROW][C]22[/C][C]0.0289815880480547[/C][C]0.0579631760961094[/C][C]0.971018411951945[/C][/ROW]
[ROW][C]23[/C][C]0.0188005025660338[/C][C]0.0376010051320675[/C][C]0.981199497433966[/C][/ROW]
[ROW][C]24[/C][C]0.00836264887256025[/C][C]0.0167252977451205[/C][C]0.99163735112744[/C][/ROW]
[ROW][C]25[/C][C]0.00458221527031271[/C][C]0.00916443054062542[/C][C]0.995417784729687[/C][/ROW]
[ROW][C]26[/C][C]0.00321528310837400[/C][C]0.00643056621674799[/C][C]0.996784716891626[/C][/ROW]
[ROW][C]27[/C][C]0.00322516498888334[/C][C]0.00645032997776668[/C][C]0.996774835011117[/C][/ROW]
[ROW][C]28[/C][C]0.0137758728120099[/C][C]0.0275517456240198[/C][C]0.98622412718799[/C][/ROW]
[ROW][C]29[/C][C]0.00979972438159918[/C][C]0.0195994487631984[/C][C]0.9902002756184[/C][/ROW]
[ROW][C]30[/C][C]0.00593410863961332[/C][C]0.0118682172792266[/C][C]0.994065891360387[/C][/ROW]
[ROW][C]31[/C][C]0.00452687117165917[/C][C]0.00905374234331834[/C][C]0.99547312882834[/C][/ROW]
[ROW][C]32[/C][C]0.0734298286707038[/C][C]0.146859657341408[/C][C]0.926570171329296[/C][/ROW]
[ROW][C]33[/C][C]0.335866706298841[/C][C]0.671733412597682[/C][C]0.664133293701159[/C][/ROW]
[ROW][C]34[/C][C]0.313359517700108[/C][C]0.626719035400217[/C][C]0.686640482299892[/C][/ROW]
[ROW][C]35[/C][C]0.240686419697996[/C][C]0.481372839395992[/C][C]0.759313580302004[/C][/ROW]
[ROW][C]36[/C][C]0.471672784947965[/C][C]0.94334556989593[/C][C]0.528327215052035[/C][/ROW]
[ROW][C]37[/C][C]0.419943880472316[/C][C]0.839887760944633[/C][C]0.580056119527684[/C][/ROW]
[ROW][C]38[/C][C]0.673989208575194[/C][C]0.652021582849613[/C][C]0.326010791424807[/C][/ROW]
[ROW][C]39[/C][C]0.609567827522405[/C][C]0.78086434495519[/C][C]0.390432172477595[/C][/ROW]
[ROW][C]40[/C][C]0.943435486750927[/C][C]0.113129026498145[/C][C]0.0565645132490726[/C][/ROW]
[ROW][C]41[/C][C]0.926502887804866[/C][C]0.146994224390268[/C][C]0.0734971121951342[/C][/ROW]
[ROW][C]42[/C][C]0.851399457911113[/C][C]0.297201084177773[/C][C]0.148600542088887[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58490&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
180.007766343283125920.01553268656625180.992233656716874
190.03833887436876020.07667774873752040.96166112563124
200.01486399513887740.02972799027775470.985136004861123
210.02025612209302350.0405122441860470.979743877906976
220.02898158804805470.05796317609610940.971018411951945
230.01880050256603380.03760100513206750.981199497433966
240.008362648872560250.01672529774512050.99163735112744
250.004582215270312710.009164430540625420.995417784729687
260.003215283108374000.006430566216747990.996784716891626
270.003225164988883340.006450329977766680.996774835011117
280.01377587281200990.02755174562401980.98622412718799
290.009799724381599180.01959944876319840.9902002756184
300.005934108639613320.01186821727922660.994065891360387
310.004526871171659170.009053742343318340.99547312882834
320.07342982867070380.1468596573414080.926570171329296
330.3358667062988410.6717334125976820.664133293701159
340.3133595177001080.6267190354002170.686640482299892
350.2406864196979960.4813728393959920.759313580302004
360.4716727849479650.943345569895930.528327215052035
370.4199438804723160.8398877609446330.580056119527684
380.6739892085751940.6520215828496130.326010791424807
390.6095678275224050.780864344955190.390432172477595
400.9434354867509270.1131290264981450.0565645132490726
410.9265028878048660.1469942243902680.0734971121951342
420.8513994579111130.2972010841777730.148600542088887







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.16NOK
5% type I error level120.48NOK
10% type I error level140.56NOK

\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 & 4 & 0.16 & NOK \tabularnewline
5% type I error level & 12 & 0.48 & NOK \tabularnewline
10% type I error level & 14 & 0.56 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=58490&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]4[/C][C]0.16[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]12[/C][C]0.48[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]14[/C][C]0.56[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=58490&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=58490&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 level40.16NOK
5% type I error level120.48NOK
10% type I error level140.56NOK



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