Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 24 Dec 2008 06:18:29 -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/2008/Dec/24/t1230124751z7z4snbabk9jk8j.htm/, Retrieved Sat, 18 May 2024 09:25:38 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=36554, Retrieved Sat, 18 May 2024 09:25:38 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact163
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
F     [Multiple Regression] [Question1] [2008-11-27 19:48:16] [74be16979710d4c4e7c6647856088456]
-    D    [Multiple Regression] [] [2008-12-24 13:18:29] [00d8a67dacc57b43a0eea87363e750e0] [Current]
-   P       [Multiple Regression] [] [2008-12-24 13:29:11] [f44d2eedff7a2c7a251294ef24b6c872]
Feedback Forum

Post a new message
Dataseries X:
555	0
562	0
561	0
555	0
544	0
537	0
543	0
594	0
611	0
613	0
611	0
594	0
595	0
591	0
589	0
584	0
573	0
567	0
569	0
621	0
629	0
628	0
612	0
595	0
597	0
593	0
590	0
580	0
574	0
573	0
573	0
620	0
626	0
620	0
588	1
566	1
557	1
561	1
549	1
532	1
526	1
511	1
499	1
555	1
565	1
542	1
527	1
510	1
514	1
517	1
508	1
493	1
490	1
469	1
478	1
528	1
534	1
518	1
506	1
502	1




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001

\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 & 7 seconds \tabularnewline
R Server & 'Herman Ole Andreas Wold' @ 193.190.124.10:1001 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Herman Ole Andreas Wold' @ 193.190.124.10:1001[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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 time7 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001







Multiple Linear Regression - Estimated Regression Equation
Totale_werkloosheid[t] = + 587.617647058823 -62.8099547511312Dummyvariabele[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totale_werkloosheid[t] =  +  587.617647058823 -62.8099547511312Dummyvariabele[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totale_werkloosheid[t] =  +  587.617647058823 -62.8099547511312Dummyvariabele[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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
Totale_werkloosheid[t] = + 587.617647058823 -62.8099547511312Dummyvariabele[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)587.6176470588234.717478124.561800
Dummyvariabele-62.80995475113127.166363-8.764600

\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) & 587.617647058823 & 4.717478 & 124.5618 & 0 & 0 \tabularnewline
Dummyvariabele & -62.8099547511312 & 7.166363 & -8.7646 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&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]587.617647058823[/C][C]4.717478[/C][C]124.5618[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummyvariabele[/C][C]-62.8099547511312[/C][C]7.166363[/C][C]-8.7646[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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)587.6176470588234.717478124.561800
Dummyvariabele-62.80995475113127.166363-8.764600







Multiple Linear Regression - Regression Statistics
Multiple R0.754843226993062
R-squared0.5697882973373
Adjusted R-squared0.562370854187943
F-TEST (value)76.8173460671148
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value3.25062199380000e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation27.5073870559012
Sum Squared Residuals43886.0678733032

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.754843226993062 \tabularnewline
R-squared & 0.5697882973373 \tabularnewline
Adjusted R-squared & 0.562370854187943 \tabularnewline
F-TEST (value) & 76.8173460671148 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 3.25062199380000e-12 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 27.5073870559012 \tabularnewline
Sum Squared Residuals & 43886.0678733032 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.754843226993062[/C][/ROW]
[ROW][C]R-squared[/C][C]0.5697882973373[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.562370854187943[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]76.8173460671148[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]1[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]58[/C][/ROW]
[ROW][C]p-value[/C][C]3.25062199380000e-12[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]27.5073870559012[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]43886.0678733032[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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.754843226993062
R-squared0.5697882973373
Adjusted R-squared0.562370854187943
F-TEST (value)76.8173460671148
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value3.25062199380000e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation27.5073870559012
Sum Squared Residuals43886.0678733032







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1555587.617647058824-32.6176470588242
2562587.617647058824-25.6176470588236
3561587.617647058824-26.6176470588235
4555587.617647058824-32.6176470588235
5544587.617647058824-43.6176470588235
6537587.617647058824-50.6176470588235
7543587.617647058824-44.6176470588235
8594587.6176470588246.38235294117649
9611587.61764705882423.3823529411765
10613587.61764705882425.3823529411765
11611587.61764705882423.3823529411765
12594587.6176470588246.38235294117649
13595587.6176470588247.38235294117649
14591587.6176470588243.38235294117650
15589587.6176470588241.38235294117650
16584587.617647058824-3.6176470588235
17573587.617647058824-14.6176470588235
18567587.617647058824-20.6176470588235
19569587.617647058824-18.6176470588235
20621587.61764705882433.3823529411765
21629587.61764705882441.3823529411765
22628587.61764705882440.3823529411765
23612587.61764705882424.3823529411765
24595587.6176470588247.38235294117649
25597587.6176470588249.3823529411765
26593587.6176470588245.38235294117649
27590587.6176470588242.38235294117650
28580587.617647058824-7.6176470588235
29574587.617647058824-13.6176470588235
30573587.617647058824-14.6176470588235
31573587.617647058824-14.6176470588235
32620587.61764705882432.3823529411765
33626587.61764705882438.3823529411765
34620587.61764705882432.3823529411765
35588524.80769230769263.1923076923077
36566524.80769230769241.1923076923077
37557524.80769230769232.1923076923077
38561524.80769230769236.1923076923077
39549524.80769230769224.1923076923077
40532524.8076923076927.19230769230769
41526524.8076923076921.19230769230769
42511524.807692307692-13.8076923076923
43499524.807692307692-25.8076923076923
44555524.80769230769230.1923076923077
45565524.80769230769240.1923076923077
46542524.80769230769217.1923076923077
47527524.8076923076922.19230769230769
48510524.807692307692-14.8076923076923
49514524.807692307692-10.8076923076923
50517524.807692307692-7.80769230769231
51508524.807692307692-16.8076923076923
52493524.807692307692-31.8076923076923
53490524.807692307692-34.8076923076923
54469524.807692307692-55.8076923076923
55478524.807692307692-46.8076923076923
56528524.8076923076923.19230769230769
57534524.8076923076929.1923076923077
58518524.807692307692-6.80769230769231
59506524.807692307692-18.8076923076923
60502524.807692307692-22.8076923076923

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 555 & 587.617647058824 & -32.6176470588242 \tabularnewline
2 & 562 & 587.617647058824 & -25.6176470588236 \tabularnewline
3 & 561 & 587.617647058824 & -26.6176470588235 \tabularnewline
4 & 555 & 587.617647058824 & -32.6176470588235 \tabularnewline
5 & 544 & 587.617647058824 & -43.6176470588235 \tabularnewline
6 & 537 & 587.617647058824 & -50.6176470588235 \tabularnewline
7 & 543 & 587.617647058824 & -44.6176470588235 \tabularnewline
8 & 594 & 587.617647058824 & 6.38235294117649 \tabularnewline
9 & 611 & 587.617647058824 & 23.3823529411765 \tabularnewline
10 & 613 & 587.617647058824 & 25.3823529411765 \tabularnewline
11 & 611 & 587.617647058824 & 23.3823529411765 \tabularnewline
12 & 594 & 587.617647058824 & 6.38235294117649 \tabularnewline
13 & 595 & 587.617647058824 & 7.38235294117649 \tabularnewline
14 & 591 & 587.617647058824 & 3.38235294117650 \tabularnewline
15 & 589 & 587.617647058824 & 1.38235294117650 \tabularnewline
16 & 584 & 587.617647058824 & -3.6176470588235 \tabularnewline
17 & 573 & 587.617647058824 & -14.6176470588235 \tabularnewline
18 & 567 & 587.617647058824 & -20.6176470588235 \tabularnewline
19 & 569 & 587.617647058824 & -18.6176470588235 \tabularnewline
20 & 621 & 587.617647058824 & 33.3823529411765 \tabularnewline
21 & 629 & 587.617647058824 & 41.3823529411765 \tabularnewline
22 & 628 & 587.617647058824 & 40.3823529411765 \tabularnewline
23 & 612 & 587.617647058824 & 24.3823529411765 \tabularnewline
24 & 595 & 587.617647058824 & 7.38235294117649 \tabularnewline
25 & 597 & 587.617647058824 & 9.3823529411765 \tabularnewline
26 & 593 & 587.617647058824 & 5.38235294117649 \tabularnewline
27 & 590 & 587.617647058824 & 2.38235294117650 \tabularnewline
28 & 580 & 587.617647058824 & -7.6176470588235 \tabularnewline
29 & 574 & 587.617647058824 & -13.6176470588235 \tabularnewline
30 & 573 & 587.617647058824 & -14.6176470588235 \tabularnewline
31 & 573 & 587.617647058824 & -14.6176470588235 \tabularnewline
32 & 620 & 587.617647058824 & 32.3823529411765 \tabularnewline
33 & 626 & 587.617647058824 & 38.3823529411765 \tabularnewline
34 & 620 & 587.617647058824 & 32.3823529411765 \tabularnewline
35 & 588 & 524.807692307692 & 63.1923076923077 \tabularnewline
36 & 566 & 524.807692307692 & 41.1923076923077 \tabularnewline
37 & 557 & 524.807692307692 & 32.1923076923077 \tabularnewline
38 & 561 & 524.807692307692 & 36.1923076923077 \tabularnewline
39 & 549 & 524.807692307692 & 24.1923076923077 \tabularnewline
40 & 532 & 524.807692307692 & 7.19230769230769 \tabularnewline
41 & 526 & 524.807692307692 & 1.19230769230769 \tabularnewline
42 & 511 & 524.807692307692 & -13.8076923076923 \tabularnewline
43 & 499 & 524.807692307692 & -25.8076923076923 \tabularnewline
44 & 555 & 524.807692307692 & 30.1923076923077 \tabularnewline
45 & 565 & 524.807692307692 & 40.1923076923077 \tabularnewline
46 & 542 & 524.807692307692 & 17.1923076923077 \tabularnewline
47 & 527 & 524.807692307692 & 2.19230769230769 \tabularnewline
48 & 510 & 524.807692307692 & -14.8076923076923 \tabularnewline
49 & 514 & 524.807692307692 & -10.8076923076923 \tabularnewline
50 & 517 & 524.807692307692 & -7.80769230769231 \tabularnewline
51 & 508 & 524.807692307692 & -16.8076923076923 \tabularnewline
52 & 493 & 524.807692307692 & -31.8076923076923 \tabularnewline
53 & 490 & 524.807692307692 & -34.8076923076923 \tabularnewline
54 & 469 & 524.807692307692 & -55.8076923076923 \tabularnewline
55 & 478 & 524.807692307692 & -46.8076923076923 \tabularnewline
56 & 528 & 524.807692307692 & 3.19230769230769 \tabularnewline
57 & 534 & 524.807692307692 & 9.1923076923077 \tabularnewline
58 & 518 & 524.807692307692 & -6.80769230769231 \tabularnewline
59 & 506 & 524.807692307692 & -18.8076923076923 \tabularnewline
60 & 502 & 524.807692307692 & -22.8076923076923 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&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]555[/C][C]587.617647058824[/C][C]-32.6176470588242[/C][/ROW]
[ROW][C]2[/C][C]562[/C][C]587.617647058824[/C][C]-25.6176470588236[/C][/ROW]
[ROW][C]3[/C][C]561[/C][C]587.617647058824[/C][C]-26.6176470588235[/C][/ROW]
[ROW][C]4[/C][C]555[/C][C]587.617647058824[/C][C]-32.6176470588235[/C][/ROW]
[ROW][C]5[/C][C]544[/C][C]587.617647058824[/C][C]-43.6176470588235[/C][/ROW]
[ROW][C]6[/C][C]537[/C][C]587.617647058824[/C][C]-50.6176470588235[/C][/ROW]
[ROW][C]7[/C][C]543[/C][C]587.617647058824[/C][C]-44.6176470588235[/C][/ROW]
[ROW][C]8[/C][C]594[/C][C]587.617647058824[/C][C]6.38235294117649[/C][/ROW]
[ROW][C]9[/C][C]611[/C][C]587.617647058824[/C][C]23.3823529411765[/C][/ROW]
[ROW][C]10[/C][C]613[/C][C]587.617647058824[/C][C]25.3823529411765[/C][/ROW]
[ROW][C]11[/C][C]611[/C][C]587.617647058824[/C][C]23.3823529411765[/C][/ROW]
[ROW][C]12[/C][C]594[/C][C]587.617647058824[/C][C]6.38235294117649[/C][/ROW]
[ROW][C]13[/C][C]595[/C][C]587.617647058824[/C][C]7.38235294117649[/C][/ROW]
[ROW][C]14[/C][C]591[/C][C]587.617647058824[/C][C]3.38235294117650[/C][/ROW]
[ROW][C]15[/C][C]589[/C][C]587.617647058824[/C][C]1.38235294117650[/C][/ROW]
[ROW][C]16[/C][C]584[/C][C]587.617647058824[/C][C]-3.6176470588235[/C][/ROW]
[ROW][C]17[/C][C]573[/C][C]587.617647058824[/C][C]-14.6176470588235[/C][/ROW]
[ROW][C]18[/C][C]567[/C][C]587.617647058824[/C][C]-20.6176470588235[/C][/ROW]
[ROW][C]19[/C][C]569[/C][C]587.617647058824[/C][C]-18.6176470588235[/C][/ROW]
[ROW][C]20[/C][C]621[/C][C]587.617647058824[/C][C]33.3823529411765[/C][/ROW]
[ROW][C]21[/C][C]629[/C][C]587.617647058824[/C][C]41.3823529411765[/C][/ROW]
[ROW][C]22[/C][C]628[/C][C]587.617647058824[/C][C]40.3823529411765[/C][/ROW]
[ROW][C]23[/C][C]612[/C][C]587.617647058824[/C][C]24.3823529411765[/C][/ROW]
[ROW][C]24[/C][C]595[/C][C]587.617647058824[/C][C]7.38235294117649[/C][/ROW]
[ROW][C]25[/C][C]597[/C][C]587.617647058824[/C][C]9.3823529411765[/C][/ROW]
[ROW][C]26[/C][C]593[/C][C]587.617647058824[/C][C]5.38235294117649[/C][/ROW]
[ROW][C]27[/C][C]590[/C][C]587.617647058824[/C][C]2.38235294117650[/C][/ROW]
[ROW][C]28[/C][C]580[/C][C]587.617647058824[/C][C]-7.6176470588235[/C][/ROW]
[ROW][C]29[/C][C]574[/C][C]587.617647058824[/C][C]-13.6176470588235[/C][/ROW]
[ROW][C]30[/C][C]573[/C][C]587.617647058824[/C][C]-14.6176470588235[/C][/ROW]
[ROW][C]31[/C][C]573[/C][C]587.617647058824[/C][C]-14.6176470588235[/C][/ROW]
[ROW][C]32[/C][C]620[/C][C]587.617647058824[/C][C]32.3823529411765[/C][/ROW]
[ROW][C]33[/C][C]626[/C][C]587.617647058824[/C][C]38.3823529411765[/C][/ROW]
[ROW][C]34[/C][C]620[/C][C]587.617647058824[/C][C]32.3823529411765[/C][/ROW]
[ROW][C]35[/C][C]588[/C][C]524.807692307692[/C][C]63.1923076923077[/C][/ROW]
[ROW][C]36[/C][C]566[/C][C]524.807692307692[/C][C]41.1923076923077[/C][/ROW]
[ROW][C]37[/C][C]557[/C][C]524.807692307692[/C][C]32.1923076923077[/C][/ROW]
[ROW][C]38[/C][C]561[/C][C]524.807692307692[/C][C]36.1923076923077[/C][/ROW]
[ROW][C]39[/C][C]549[/C][C]524.807692307692[/C][C]24.1923076923077[/C][/ROW]
[ROW][C]40[/C][C]532[/C][C]524.807692307692[/C][C]7.19230769230769[/C][/ROW]
[ROW][C]41[/C][C]526[/C][C]524.807692307692[/C][C]1.19230769230769[/C][/ROW]
[ROW][C]42[/C][C]511[/C][C]524.807692307692[/C][C]-13.8076923076923[/C][/ROW]
[ROW][C]43[/C][C]499[/C][C]524.807692307692[/C][C]-25.8076923076923[/C][/ROW]
[ROW][C]44[/C][C]555[/C][C]524.807692307692[/C][C]30.1923076923077[/C][/ROW]
[ROW][C]45[/C][C]565[/C][C]524.807692307692[/C][C]40.1923076923077[/C][/ROW]
[ROW][C]46[/C][C]542[/C][C]524.807692307692[/C][C]17.1923076923077[/C][/ROW]
[ROW][C]47[/C][C]527[/C][C]524.807692307692[/C][C]2.19230769230769[/C][/ROW]
[ROW][C]48[/C][C]510[/C][C]524.807692307692[/C][C]-14.8076923076923[/C][/ROW]
[ROW][C]49[/C][C]514[/C][C]524.807692307692[/C][C]-10.8076923076923[/C][/ROW]
[ROW][C]50[/C][C]517[/C][C]524.807692307692[/C][C]-7.80769230769231[/C][/ROW]
[ROW][C]51[/C][C]508[/C][C]524.807692307692[/C][C]-16.8076923076923[/C][/ROW]
[ROW][C]52[/C][C]493[/C][C]524.807692307692[/C][C]-31.8076923076923[/C][/ROW]
[ROW][C]53[/C][C]490[/C][C]524.807692307692[/C][C]-34.8076923076923[/C][/ROW]
[ROW][C]54[/C][C]469[/C][C]524.807692307692[/C][C]-55.8076923076923[/C][/ROW]
[ROW][C]55[/C][C]478[/C][C]524.807692307692[/C][C]-46.8076923076923[/C][/ROW]
[ROW][C]56[/C][C]528[/C][C]524.807692307692[/C][C]3.19230769230769[/C][/ROW]
[ROW][C]57[/C][C]534[/C][C]524.807692307692[/C][C]9.1923076923077[/C][/ROW]
[ROW][C]58[/C][C]518[/C][C]524.807692307692[/C][C]-6.80769230769231[/C][/ROW]
[ROW][C]59[/C][C]506[/C][C]524.807692307692[/C][C]-18.8076923076923[/C][/ROW]
[ROW][C]60[/C][C]502[/C][C]524.807692307692[/C][C]-22.8076923076923[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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
1555587.617647058824-32.6176470588242
2562587.617647058824-25.6176470588236
3561587.617647058824-26.6176470588235
4555587.617647058824-32.6176470588235
5544587.617647058824-43.6176470588235
6537587.617647058824-50.6176470588235
7543587.617647058824-44.6176470588235
8594587.6176470588246.38235294117649
9611587.61764705882423.3823529411765
10613587.61764705882425.3823529411765
11611587.61764705882423.3823529411765
12594587.6176470588246.38235294117649
13595587.6176470588247.38235294117649
14591587.6176470588243.38235294117650
15589587.6176470588241.38235294117650
16584587.617647058824-3.6176470588235
17573587.617647058824-14.6176470588235
18567587.617647058824-20.6176470588235
19569587.617647058824-18.6176470588235
20621587.61764705882433.3823529411765
21629587.61764705882441.3823529411765
22628587.61764705882440.3823529411765
23612587.61764705882424.3823529411765
24595587.6176470588247.38235294117649
25597587.6176470588249.3823529411765
26593587.6176470588245.38235294117649
27590587.6176470588242.38235294117650
28580587.617647058824-7.6176470588235
29574587.617647058824-13.6176470588235
30573587.617647058824-14.6176470588235
31573587.617647058824-14.6176470588235
32620587.61764705882432.3823529411765
33626587.61764705882438.3823529411765
34620587.61764705882432.3823529411765
35588524.80769230769263.1923076923077
36566524.80769230769241.1923076923077
37557524.80769230769232.1923076923077
38561524.80769230769236.1923076923077
39549524.80769230769224.1923076923077
40532524.8076923076927.19230769230769
41526524.8076923076921.19230769230769
42511524.807692307692-13.8076923076923
43499524.807692307692-25.8076923076923
44555524.80769230769230.1923076923077
45565524.80769230769240.1923076923077
46542524.80769230769217.1923076923077
47527524.8076923076922.19230769230769
48510524.807692307692-14.8076923076923
49514524.807692307692-10.8076923076923
50517524.807692307692-7.80769230769231
51508524.807692307692-16.8076923076923
52493524.807692307692-31.8076923076923
53490524.807692307692-34.8076923076923
54469524.807692307692-55.8076923076923
55478524.807692307692-46.8076923076923
56528524.8076923076923.19230769230769
57534524.8076923076929.1923076923077
58518524.807692307692-6.80769230769231
59506524.807692307692-18.8076923076923
60502524.807692307692-22.8076923076923







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.03832258446099820.07664516892199650.961677415539002
60.05458659001355150.1091731800271030.945413409986449
70.03183380399780400.06366760799560810.968166196002196
80.2530499263101020.5060998526202040.746950073689898
90.6100500297850070.7798999404299870.389949970214993
100.7704768269733530.4590463460532950.229523173026647
110.8247563527340280.3504872945319430.175243647265972
120.786118555202540.4277628895949210.213881444797460
130.742111504555040.5157769908899210.257888495444960
140.6805863427819230.6388273144361540.319413657218077
150.6092154546294690.7815690907410620.390784545370531
160.5293395540929050.941320891814190.470660445907095
170.4607672795313770.9215345590627550.539232720468623
180.4156313034299210.8312626068598420.584368696570079
190.3708674082589840.7417348165179680.629132591741016
200.4596497846593310.9192995693186620.540350215340669
210.5866531658029030.8266936683941940.413346834197097
220.6733750949932280.6532498100135450.326624905006772
230.6547383564809730.6905232870380530.345261643519027
240.5861159028523870.8277681942952260.413884097147613
250.5174118537894130.9651762924211740.482588146210587
260.443419739229960.886839478459920.55658026077004
270.3703310848452290.7406621696904580.629668915154771
280.3112664658826120.6225329317652250.688733534117388
290.2755227272307520.5510454544615040.724477272769248
300.2576842387436560.5153684774873110.742315761256344
310.2695296175884130.5390592351768260.730470382411587
320.2626847387763930.5253694775527860.737315261223607
330.2676496621026510.5352993242053010.73235033789735
340.2474323322071660.4948646644143320.752567667792834
350.3748656901303220.7497313802606440.625134309869678
360.431332637980170.862665275960340.56866736201983
370.4609161360008410.9218322720016810.539083863999159
380.5267805124426250.946438975114750.473219487557375
390.5499093954482160.9001812091035680.450090604551784
400.5296068494785510.9407863010428980.470393150521449
410.4953063968928320.9906127937856630.504693603107168
420.4720469078525640.9440938157051290.527953092147436
430.4819408454487080.9638816908974160.518059154551292
440.5581997550135540.8836004899728920.441800244986446
450.7930006575651460.4139986848697090.206999342434854
460.8454063366898780.3091873266202440.154593663310122
470.8348529250603450.3302941498793100.165147074939655
480.7847870680635950.4304258638728110.215212931936406
490.7251005442362790.5497989115274420.274899455763721
500.663797671948330.672404656103340.33620232805167
510.5733417757357370.8533164485285270.426658224264263
520.4982206495909340.9964412991818680.501779350409066
530.4288564799839940.8577129599679870.571143520016006
540.6194592385645710.7610815228708590.380540761435429
550.8168567012338820.3662865975322360.183143298766118

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.0383225844609982 & 0.0766451689219965 & 0.961677415539002 \tabularnewline
6 & 0.0545865900135515 & 0.109173180027103 & 0.945413409986449 \tabularnewline
7 & 0.0318338039978040 & 0.0636676079956081 & 0.968166196002196 \tabularnewline
8 & 0.253049926310102 & 0.506099852620204 & 0.746950073689898 \tabularnewline
9 & 0.610050029785007 & 0.779899940429987 & 0.389949970214993 \tabularnewline
10 & 0.770476826973353 & 0.459046346053295 & 0.229523173026647 \tabularnewline
11 & 0.824756352734028 & 0.350487294531943 & 0.175243647265972 \tabularnewline
12 & 0.78611855520254 & 0.427762889594921 & 0.213881444797460 \tabularnewline
13 & 0.74211150455504 & 0.515776990889921 & 0.257888495444960 \tabularnewline
14 & 0.680586342781923 & 0.638827314436154 & 0.319413657218077 \tabularnewline
15 & 0.609215454629469 & 0.781569090741062 & 0.390784545370531 \tabularnewline
16 & 0.529339554092905 & 0.94132089181419 & 0.470660445907095 \tabularnewline
17 & 0.460767279531377 & 0.921534559062755 & 0.539232720468623 \tabularnewline
18 & 0.415631303429921 & 0.831262606859842 & 0.584368696570079 \tabularnewline
19 & 0.370867408258984 & 0.741734816517968 & 0.629132591741016 \tabularnewline
20 & 0.459649784659331 & 0.919299569318662 & 0.540350215340669 \tabularnewline
21 & 0.586653165802903 & 0.826693668394194 & 0.413346834197097 \tabularnewline
22 & 0.673375094993228 & 0.653249810013545 & 0.326624905006772 \tabularnewline
23 & 0.654738356480973 & 0.690523287038053 & 0.345261643519027 \tabularnewline
24 & 0.586115902852387 & 0.827768194295226 & 0.413884097147613 \tabularnewline
25 & 0.517411853789413 & 0.965176292421174 & 0.482588146210587 \tabularnewline
26 & 0.44341973922996 & 0.88683947845992 & 0.55658026077004 \tabularnewline
27 & 0.370331084845229 & 0.740662169690458 & 0.629668915154771 \tabularnewline
28 & 0.311266465882612 & 0.622532931765225 & 0.688733534117388 \tabularnewline
29 & 0.275522727230752 & 0.551045454461504 & 0.724477272769248 \tabularnewline
30 & 0.257684238743656 & 0.515368477487311 & 0.742315761256344 \tabularnewline
31 & 0.269529617588413 & 0.539059235176826 & 0.730470382411587 \tabularnewline
32 & 0.262684738776393 & 0.525369477552786 & 0.737315261223607 \tabularnewline
33 & 0.267649662102651 & 0.535299324205301 & 0.73235033789735 \tabularnewline
34 & 0.247432332207166 & 0.494864664414332 & 0.752567667792834 \tabularnewline
35 & 0.374865690130322 & 0.749731380260644 & 0.625134309869678 \tabularnewline
36 & 0.43133263798017 & 0.86266527596034 & 0.56866736201983 \tabularnewline
37 & 0.460916136000841 & 0.921832272001681 & 0.539083863999159 \tabularnewline
38 & 0.526780512442625 & 0.94643897511475 & 0.473219487557375 \tabularnewline
39 & 0.549909395448216 & 0.900181209103568 & 0.450090604551784 \tabularnewline
40 & 0.529606849478551 & 0.940786301042898 & 0.470393150521449 \tabularnewline
41 & 0.495306396892832 & 0.990612793785663 & 0.504693603107168 \tabularnewline
42 & 0.472046907852564 & 0.944093815705129 & 0.527953092147436 \tabularnewline
43 & 0.481940845448708 & 0.963881690897416 & 0.518059154551292 \tabularnewline
44 & 0.558199755013554 & 0.883600489972892 & 0.441800244986446 \tabularnewline
45 & 0.793000657565146 & 0.413998684869709 & 0.206999342434854 \tabularnewline
46 & 0.845406336689878 & 0.309187326620244 & 0.154593663310122 \tabularnewline
47 & 0.834852925060345 & 0.330294149879310 & 0.165147074939655 \tabularnewline
48 & 0.784787068063595 & 0.430425863872811 & 0.215212931936406 \tabularnewline
49 & 0.725100544236279 & 0.549798911527442 & 0.274899455763721 \tabularnewline
50 & 0.66379767194833 & 0.67240465610334 & 0.33620232805167 \tabularnewline
51 & 0.573341775735737 & 0.853316448528527 & 0.426658224264263 \tabularnewline
52 & 0.498220649590934 & 0.996441299181868 & 0.501779350409066 \tabularnewline
53 & 0.428856479983994 & 0.857712959967987 & 0.571143520016006 \tabularnewline
54 & 0.619459238564571 & 0.761081522870859 & 0.380540761435429 \tabularnewline
55 & 0.816856701233882 & 0.366286597532236 & 0.183143298766118 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&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.0383225844609982[/C][C]0.0766451689219965[/C][C]0.961677415539002[/C][/ROW]
[ROW][C]6[/C][C]0.0545865900135515[/C][C]0.109173180027103[/C][C]0.945413409986449[/C][/ROW]
[ROW][C]7[/C][C]0.0318338039978040[/C][C]0.0636676079956081[/C][C]0.968166196002196[/C][/ROW]
[ROW][C]8[/C][C]0.253049926310102[/C][C]0.506099852620204[/C][C]0.746950073689898[/C][/ROW]
[ROW][C]9[/C][C]0.610050029785007[/C][C]0.779899940429987[/C][C]0.389949970214993[/C][/ROW]
[ROW][C]10[/C][C]0.770476826973353[/C][C]0.459046346053295[/C][C]0.229523173026647[/C][/ROW]
[ROW][C]11[/C][C]0.824756352734028[/C][C]0.350487294531943[/C][C]0.175243647265972[/C][/ROW]
[ROW][C]12[/C][C]0.78611855520254[/C][C]0.427762889594921[/C][C]0.213881444797460[/C][/ROW]
[ROW][C]13[/C][C]0.74211150455504[/C][C]0.515776990889921[/C][C]0.257888495444960[/C][/ROW]
[ROW][C]14[/C][C]0.680586342781923[/C][C]0.638827314436154[/C][C]0.319413657218077[/C][/ROW]
[ROW][C]15[/C][C]0.609215454629469[/C][C]0.781569090741062[/C][C]0.390784545370531[/C][/ROW]
[ROW][C]16[/C][C]0.529339554092905[/C][C]0.94132089181419[/C][C]0.470660445907095[/C][/ROW]
[ROW][C]17[/C][C]0.460767279531377[/C][C]0.921534559062755[/C][C]0.539232720468623[/C][/ROW]
[ROW][C]18[/C][C]0.415631303429921[/C][C]0.831262606859842[/C][C]0.584368696570079[/C][/ROW]
[ROW][C]19[/C][C]0.370867408258984[/C][C]0.741734816517968[/C][C]0.629132591741016[/C][/ROW]
[ROW][C]20[/C][C]0.459649784659331[/C][C]0.919299569318662[/C][C]0.540350215340669[/C][/ROW]
[ROW][C]21[/C][C]0.586653165802903[/C][C]0.826693668394194[/C][C]0.413346834197097[/C][/ROW]
[ROW][C]22[/C][C]0.673375094993228[/C][C]0.653249810013545[/C][C]0.326624905006772[/C][/ROW]
[ROW][C]23[/C][C]0.654738356480973[/C][C]0.690523287038053[/C][C]0.345261643519027[/C][/ROW]
[ROW][C]24[/C][C]0.586115902852387[/C][C]0.827768194295226[/C][C]0.413884097147613[/C][/ROW]
[ROW][C]25[/C][C]0.517411853789413[/C][C]0.965176292421174[/C][C]0.482588146210587[/C][/ROW]
[ROW][C]26[/C][C]0.44341973922996[/C][C]0.88683947845992[/C][C]0.55658026077004[/C][/ROW]
[ROW][C]27[/C][C]0.370331084845229[/C][C]0.740662169690458[/C][C]0.629668915154771[/C][/ROW]
[ROW][C]28[/C][C]0.311266465882612[/C][C]0.622532931765225[/C][C]0.688733534117388[/C][/ROW]
[ROW][C]29[/C][C]0.275522727230752[/C][C]0.551045454461504[/C][C]0.724477272769248[/C][/ROW]
[ROW][C]30[/C][C]0.257684238743656[/C][C]0.515368477487311[/C][C]0.742315761256344[/C][/ROW]
[ROW][C]31[/C][C]0.269529617588413[/C][C]0.539059235176826[/C][C]0.730470382411587[/C][/ROW]
[ROW][C]32[/C][C]0.262684738776393[/C][C]0.525369477552786[/C][C]0.737315261223607[/C][/ROW]
[ROW][C]33[/C][C]0.267649662102651[/C][C]0.535299324205301[/C][C]0.73235033789735[/C][/ROW]
[ROW][C]34[/C][C]0.247432332207166[/C][C]0.494864664414332[/C][C]0.752567667792834[/C][/ROW]
[ROW][C]35[/C][C]0.374865690130322[/C][C]0.749731380260644[/C][C]0.625134309869678[/C][/ROW]
[ROW][C]36[/C][C]0.43133263798017[/C][C]0.86266527596034[/C][C]0.56866736201983[/C][/ROW]
[ROW][C]37[/C][C]0.460916136000841[/C][C]0.921832272001681[/C][C]0.539083863999159[/C][/ROW]
[ROW][C]38[/C][C]0.526780512442625[/C][C]0.94643897511475[/C][C]0.473219487557375[/C][/ROW]
[ROW][C]39[/C][C]0.549909395448216[/C][C]0.900181209103568[/C][C]0.450090604551784[/C][/ROW]
[ROW][C]40[/C][C]0.529606849478551[/C][C]0.940786301042898[/C][C]0.470393150521449[/C][/ROW]
[ROW][C]41[/C][C]0.495306396892832[/C][C]0.990612793785663[/C][C]0.504693603107168[/C][/ROW]
[ROW][C]42[/C][C]0.472046907852564[/C][C]0.944093815705129[/C][C]0.527953092147436[/C][/ROW]
[ROW][C]43[/C][C]0.481940845448708[/C][C]0.963881690897416[/C][C]0.518059154551292[/C][/ROW]
[ROW][C]44[/C][C]0.558199755013554[/C][C]0.883600489972892[/C][C]0.441800244986446[/C][/ROW]
[ROW][C]45[/C][C]0.793000657565146[/C][C]0.413998684869709[/C][C]0.206999342434854[/C][/ROW]
[ROW][C]46[/C][C]0.845406336689878[/C][C]0.309187326620244[/C][C]0.154593663310122[/C][/ROW]
[ROW][C]47[/C][C]0.834852925060345[/C][C]0.330294149879310[/C][C]0.165147074939655[/C][/ROW]
[ROW][C]48[/C][C]0.784787068063595[/C][C]0.430425863872811[/C][C]0.215212931936406[/C][/ROW]
[ROW][C]49[/C][C]0.725100544236279[/C][C]0.549798911527442[/C][C]0.274899455763721[/C][/ROW]
[ROW][C]50[/C][C]0.66379767194833[/C][C]0.67240465610334[/C][C]0.33620232805167[/C][/ROW]
[ROW][C]51[/C][C]0.573341775735737[/C][C]0.853316448528527[/C][C]0.426658224264263[/C][/ROW]
[ROW][C]52[/C][C]0.498220649590934[/C][C]0.996441299181868[/C][C]0.501779350409066[/C][/ROW]
[ROW][C]53[/C][C]0.428856479983994[/C][C]0.857712959967987[/C][C]0.571143520016006[/C][/ROW]
[ROW][C]54[/C][C]0.619459238564571[/C][C]0.761081522870859[/C][C]0.380540761435429[/C][/ROW]
[ROW][C]55[/C][C]0.816856701233882[/C][C]0.366286597532236[/C][C]0.183143298766118[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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.03832258446099820.07664516892199650.961677415539002
60.05458659001355150.1091731800271030.945413409986449
70.03183380399780400.06366760799560810.968166196002196
80.2530499263101020.5060998526202040.746950073689898
90.6100500297850070.7798999404299870.389949970214993
100.7704768269733530.4590463460532950.229523173026647
110.8247563527340280.3504872945319430.175243647265972
120.786118555202540.4277628895949210.213881444797460
130.742111504555040.5157769908899210.257888495444960
140.6805863427819230.6388273144361540.319413657218077
150.6092154546294690.7815690907410620.390784545370531
160.5293395540929050.941320891814190.470660445907095
170.4607672795313770.9215345590627550.539232720468623
180.4156313034299210.8312626068598420.584368696570079
190.3708674082589840.7417348165179680.629132591741016
200.4596497846593310.9192995693186620.540350215340669
210.5866531658029030.8266936683941940.413346834197097
220.6733750949932280.6532498100135450.326624905006772
230.6547383564809730.6905232870380530.345261643519027
240.5861159028523870.8277681942952260.413884097147613
250.5174118537894130.9651762924211740.482588146210587
260.443419739229960.886839478459920.55658026077004
270.3703310848452290.7406621696904580.629668915154771
280.3112664658826120.6225329317652250.688733534117388
290.2755227272307520.5510454544615040.724477272769248
300.2576842387436560.5153684774873110.742315761256344
310.2695296175884130.5390592351768260.730470382411587
320.2626847387763930.5253694775527860.737315261223607
330.2676496621026510.5352993242053010.73235033789735
340.2474323322071660.4948646644143320.752567667792834
350.3748656901303220.7497313802606440.625134309869678
360.431332637980170.862665275960340.56866736201983
370.4609161360008410.9218322720016810.539083863999159
380.5267805124426250.946438975114750.473219487557375
390.5499093954482160.9001812091035680.450090604551784
400.5296068494785510.9407863010428980.470393150521449
410.4953063968928320.9906127937856630.504693603107168
420.4720469078525640.9440938157051290.527953092147436
430.4819408454487080.9638816908974160.518059154551292
440.5581997550135540.8836004899728920.441800244986446
450.7930006575651460.4139986848697090.206999342434854
460.8454063366898780.3091873266202440.154593663310122
470.8348529250603450.3302941498793100.165147074939655
480.7847870680635950.4304258638728110.215212931936406
490.7251005442362790.5497989115274420.274899455763721
500.663797671948330.672404656103340.33620232805167
510.5733417757357370.8533164485285270.426658224264263
520.4982206495909340.9964412991818680.501779350409066
530.4288564799839940.8577129599679870.571143520016006
540.6194592385645710.7610815228708590.380540761435429
550.8168567012338820.3662865975322360.183143298766118







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level20.0392156862745098OK

\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 & 0 & 0 & OK \tabularnewline
10% type I error level & 2 & 0.0392156862745098 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=36554&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]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]2[/C][C]0.0392156862745098[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=36554&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=36554&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 level00OK
10% type I error level20.0392156862745098OK



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