Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationSat, 20 Dec 2008 07:28: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/20/t1229783645x9mvqz3hug3x4rg.htm/, Retrieved Sun, 19 May 2024 08:48:18 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=35389, Retrieved Sun, 19 May 2024 08:48:18 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact219
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [Multiple Linear R...] [2008-12-20 14:28:29] [475f09db20fba0c0bfd2501f1df773e0] [Current]
Feedback Forum

Post a new message
Dataseries X:
467	0
460	0
448	0
443	0
436	0
431	0
484	0
510	0
513	1
503	1
471	1
471	1
476	1
475	1
470	1
461	1
455	1
456	1
517	1
525	1
523	1
519	1
509	1
512	1
519	1
517	1
510	1
509	1
501	1
507	1
569	1
580	1
578	1
565	1
547	1
555	1
562	1
561	1
555	1
544	1
537	1
543	1
594	1
611	1
613	1
611	1
594	1
595	1
591	1
589	1
584	1
573	1
567	1
569	1
621	1
629	1
628	1
612	1
595	1
597	1




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Werkloosheid[t] = + 448.609375 -6.76562499999992Dummy[t] + 7.47239583333319M1[t] + 1.97916666666667M2[t] -7.9140625M3[t] -18.2072916666666M4[t] -27.9005208333333M5[t] -28.7937499999999M6[t] + 24.1130208333334M7[t] + 35.2197916666667M8[t] + 33.6796875M9[t] + 21.7864583333333M10[t] + 0.0932291666666544M11[t] + 2.89322916666667t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Werkloosheid[t] =  +  448.609375 -6.76562499999992Dummy[t] +  7.47239583333319M1[t] +  1.97916666666667M2[t] -7.9140625M3[t] -18.2072916666666M4[t] -27.9005208333333M5[t] -28.7937499999999M6[t] +  24.1130208333334M7[t] +  35.2197916666667M8[t] +  33.6796875M9[t] +  21.7864583333333M10[t] +  0.0932291666666544M11[t] +  2.89322916666667t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Werkloosheid[t] =  +  448.609375 -6.76562499999992Dummy[t] +  7.47239583333319M1[t] +  1.97916666666667M2[t] -7.9140625M3[t] -18.2072916666666M4[t] -27.9005208333333M5[t] -28.7937499999999M6[t] +  24.1130208333334M7[t] +  35.2197916666667M8[t] +  33.6796875M9[t] +  21.7864583333333M10[t] +  0.0932291666666544M11[t] +  2.89322916666667t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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
Werkloosheid[t] = + 448.609375 -6.76562499999992Dummy[t] + 7.47239583333319M1[t] + 1.97916666666667M2[t] -7.9140625M3[t] -18.2072916666666M4[t] -27.9005208333333M5[t] -28.7937499999999M6[t] + 24.1130208333334M7[t] + 35.2197916666667M8[t] + 33.6796875M9[t] + 21.7864583333333M10[t] + 0.0932291666666544M11[t] + 2.89322916666667t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)448.6093755.74283978.116300
Dummy-6.765624999999924.637761-1.45880.1514120.075706
M17.472395833333196.1221831.22050.2284790.114239
M21.979166666666676.1163240.32360.7477170.373858
M3-7.91406256.111764-1.29490.201820.10091
M4-18.20729166666666.108505-2.98060.0045850.002292
M5-27.90052083333336.106548-4.5693.7e-051.8e-05
M6-28.79374999999996.105896-4.71572.3e-051.1e-05
M724.11302083333346.1065483.94870.0002670.000134
M835.21979166666676.1085055.76571e-060
M933.67968756.0646595.55341e-061e-06
M1021.78645833333336.0613753.59430.000790.000395
M110.09322916666665446.0594030.01540.9877910.493895
t2.893229166666670.08925432.415800

\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) & 448.609375 & 5.742839 & 78.1163 & 0 & 0 \tabularnewline
Dummy & -6.76562499999992 & 4.637761 & -1.4588 & 0.151412 & 0.075706 \tabularnewline
M1 & 7.47239583333319 & 6.122183 & 1.2205 & 0.228479 & 0.114239 \tabularnewline
M2 & 1.97916666666667 & 6.116324 & 0.3236 & 0.747717 & 0.373858 \tabularnewline
M3 & -7.9140625 & 6.111764 & -1.2949 & 0.20182 & 0.10091 \tabularnewline
M4 & -18.2072916666666 & 6.108505 & -2.9806 & 0.004585 & 0.002292 \tabularnewline
M5 & -27.9005208333333 & 6.106548 & -4.569 & 3.7e-05 & 1.8e-05 \tabularnewline
M6 & -28.7937499999999 & 6.105896 & -4.7157 & 2.3e-05 & 1.1e-05 \tabularnewline
M7 & 24.1130208333334 & 6.106548 & 3.9487 & 0.000267 & 0.000134 \tabularnewline
M8 & 35.2197916666667 & 6.108505 & 5.7657 & 1e-06 & 0 \tabularnewline
M9 & 33.6796875 & 6.064659 & 5.5534 & 1e-06 & 1e-06 \tabularnewline
M10 & 21.7864583333333 & 6.061375 & 3.5943 & 0.00079 & 0.000395 \tabularnewline
M11 & 0.0932291666666544 & 6.059403 & 0.0154 & 0.987791 & 0.493895 \tabularnewline
t & 2.89322916666667 & 0.089254 & 32.4158 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&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]448.609375[/C][C]5.742839[/C][C]78.1163[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Dummy[/C][C]-6.76562499999992[/C][C]4.637761[/C][C]-1.4588[/C][C]0.151412[/C][C]0.075706[/C][/ROW]
[ROW][C]M1[/C][C]7.47239583333319[/C][C]6.122183[/C][C]1.2205[/C][C]0.228479[/C][C]0.114239[/C][/ROW]
[ROW][C]M2[/C][C]1.97916666666667[/C][C]6.116324[/C][C]0.3236[/C][C]0.747717[/C][C]0.373858[/C][/ROW]
[ROW][C]M3[/C][C]-7.9140625[/C][C]6.111764[/C][C]-1.2949[/C][C]0.20182[/C][C]0.10091[/C][/ROW]
[ROW][C]M4[/C][C]-18.2072916666666[/C][C]6.108505[/C][C]-2.9806[/C][C]0.004585[/C][C]0.002292[/C][/ROW]
[ROW][C]M5[/C][C]-27.9005208333333[/C][C]6.106548[/C][C]-4.569[/C][C]3.7e-05[/C][C]1.8e-05[/C][/ROW]
[ROW][C]M6[/C][C]-28.7937499999999[/C][C]6.105896[/C][C]-4.7157[/C][C]2.3e-05[/C][C]1.1e-05[/C][/ROW]
[ROW][C]M7[/C][C]24.1130208333334[/C][C]6.106548[/C][C]3.9487[/C][C]0.000267[/C][C]0.000134[/C][/ROW]
[ROW][C]M8[/C][C]35.2197916666667[/C][C]6.108505[/C][C]5.7657[/C][C]1e-06[/C][C]0[/C][/ROW]
[ROW][C]M9[/C][C]33.6796875[/C][C]6.064659[/C][C]5.5534[/C][C]1e-06[/C][C]1e-06[/C][/ROW]
[ROW][C]M10[/C][C]21.7864583333333[/C][C]6.061375[/C][C]3.5943[/C][C]0.00079[/C][C]0.000395[/C][/ROW]
[ROW][C]M11[/C][C]0.0932291666666544[/C][C]6.059403[/C][C]0.0154[/C][C]0.987791[/C][C]0.493895[/C][/ROW]
[ROW][C]t[/C][C]2.89322916666667[/C][C]0.089254[/C][C]32.4158[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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)448.6093755.74283978.116300
Dummy-6.765624999999924.637761-1.45880.1514120.075706
M17.472395833333196.1221831.22050.2284790.114239
M21.979166666666676.1163240.32360.7477170.373858
M3-7.91406256.111764-1.29490.201820.10091
M4-18.20729166666666.108505-2.98060.0045850.002292
M5-27.90052083333336.106548-4.5693.7e-051.8e-05
M6-28.79374999999996.105896-4.71572.3e-051.1e-05
M724.11302083333346.1065483.94870.0002670.000134
M835.21979166666676.1085055.76571e-060
M933.67968756.0646595.55341e-061e-06
M1021.78645833333336.0613753.59430.000790.000395
M110.09322916666665446.0594030.01540.9877910.493895
t2.893229166666670.08925432.415800







Multiple Linear Regression - Regression Statistics
Multiple R0.988336900707975
R-squared0.976809829301045
Adjusted R-squared0.970256085407863
F-TEST (value)149.046078885860
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.57971773320205
Sum Squared Residuals4221.46562499999

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.988336900707975 \tabularnewline
R-squared & 0.976809829301045 \tabularnewline
Adjusted R-squared & 0.970256085407863 \tabularnewline
F-TEST (value) & 149.046078885860 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9.57971773320205 \tabularnewline
Sum Squared Residuals & 4221.46562499999 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.988336900707975[/C][/ROW]
[ROW][C]R-squared[/C][C]0.976809829301045[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.970256085407863[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]149.046078885860[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/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]9.57971773320205[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4221.46562499999[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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.988336900707975
R-squared0.976809829301045
Adjusted R-squared0.970256085407863
F-TEST (value)149.046078885860
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.57971773320205
Sum Squared Residuals4221.46562499999







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1467458.9750000000018.02499999999942
2460456.3753.62500000000015
3448449.375-1.37499999999990
4443441.9751.02500000000013
5436435.1750.825000000000122
6431437.175-6.17499999999999
7484492.975-8.9749999999999
8510506.9753.02499999999999
9513501.562511.4375
10503492.562510.4375000000000
11471473.7625-2.76249999999999
12471476.5625-5.56249999999999
13476486.928125-10.9281249999999
14475484.328125-9.32812500000007
15470477.328125-7.32812500000004
16461469.928125-8.92812500000003
17455463.128125-8.12812500000003
18456465.128125-9.128125
19517520.928125-3.928125
20525534.928125-9.928125
21523536.28125-13.2812500000000
22519527.28125-8.28124999999999
23509508.481250.518749999999995
24512511.281250.71874999999999
25519521.646875-2.64687499999985
26517519.046875-2.04687500000002
27510512.046875-2.04687500000002
28509504.6468754.35312499999997
29501497.8468753.15312499999996
30507499.8468757.153125
31569555.64687513.3531250000000
32580569.64687510.353125
335785717
345655623.00000000000001
35547543.23.79999999999999
365555469
37562556.3656255.63437500000014
38561553.7656257.23437499999997
39555546.7656258.23437499999998
40544539.3656254.63437499999997
41537532.5656254.43437499999997
42543534.5656258.434375
43594590.3656253.63437499999997
44611604.3656256.634375
45613605.718757.28125
46611596.7187514.28125
47594577.9187516.08125
48595580.7187514.28125
49591591.084375-0.0843749999998457
50589588.4843750.515624999999971
51584581.4843752.51562499999999
52573574.084375-1.08437500000004
53567567.284375-0.284375000000034
54569569.284375-0.284375000000020
55621625.084375-4.08437500000004
56629639.084375-10.084375
57628640.4375-12.4375000000000
58612631.4375-19.4375
59595612.6375-17.6375
60597615.4375-18.4375

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 467 & 458.975000000001 & 8.02499999999942 \tabularnewline
2 & 460 & 456.375 & 3.62500000000015 \tabularnewline
3 & 448 & 449.375 & -1.37499999999990 \tabularnewline
4 & 443 & 441.975 & 1.02500000000013 \tabularnewline
5 & 436 & 435.175 & 0.825000000000122 \tabularnewline
6 & 431 & 437.175 & -6.17499999999999 \tabularnewline
7 & 484 & 492.975 & -8.9749999999999 \tabularnewline
8 & 510 & 506.975 & 3.02499999999999 \tabularnewline
9 & 513 & 501.5625 & 11.4375 \tabularnewline
10 & 503 & 492.5625 & 10.4375000000000 \tabularnewline
11 & 471 & 473.7625 & -2.76249999999999 \tabularnewline
12 & 471 & 476.5625 & -5.56249999999999 \tabularnewline
13 & 476 & 486.928125 & -10.9281249999999 \tabularnewline
14 & 475 & 484.328125 & -9.32812500000007 \tabularnewline
15 & 470 & 477.328125 & -7.32812500000004 \tabularnewline
16 & 461 & 469.928125 & -8.92812500000003 \tabularnewline
17 & 455 & 463.128125 & -8.12812500000003 \tabularnewline
18 & 456 & 465.128125 & -9.128125 \tabularnewline
19 & 517 & 520.928125 & -3.928125 \tabularnewline
20 & 525 & 534.928125 & -9.928125 \tabularnewline
21 & 523 & 536.28125 & -13.2812500000000 \tabularnewline
22 & 519 & 527.28125 & -8.28124999999999 \tabularnewline
23 & 509 & 508.48125 & 0.518749999999995 \tabularnewline
24 & 512 & 511.28125 & 0.71874999999999 \tabularnewline
25 & 519 & 521.646875 & -2.64687499999985 \tabularnewline
26 & 517 & 519.046875 & -2.04687500000002 \tabularnewline
27 & 510 & 512.046875 & -2.04687500000002 \tabularnewline
28 & 509 & 504.646875 & 4.35312499999997 \tabularnewline
29 & 501 & 497.846875 & 3.15312499999996 \tabularnewline
30 & 507 & 499.846875 & 7.153125 \tabularnewline
31 & 569 & 555.646875 & 13.3531250000000 \tabularnewline
32 & 580 & 569.646875 & 10.353125 \tabularnewline
33 & 578 & 571 & 7 \tabularnewline
34 & 565 & 562 & 3.00000000000001 \tabularnewline
35 & 547 & 543.2 & 3.79999999999999 \tabularnewline
36 & 555 & 546 & 9 \tabularnewline
37 & 562 & 556.365625 & 5.63437500000014 \tabularnewline
38 & 561 & 553.765625 & 7.23437499999997 \tabularnewline
39 & 555 & 546.765625 & 8.23437499999998 \tabularnewline
40 & 544 & 539.365625 & 4.63437499999997 \tabularnewline
41 & 537 & 532.565625 & 4.43437499999997 \tabularnewline
42 & 543 & 534.565625 & 8.434375 \tabularnewline
43 & 594 & 590.365625 & 3.63437499999997 \tabularnewline
44 & 611 & 604.365625 & 6.634375 \tabularnewline
45 & 613 & 605.71875 & 7.28125 \tabularnewline
46 & 611 & 596.71875 & 14.28125 \tabularnewline
47 & 594 & 577.91875 & 16.08125 \tabularnewline
48 & 595 & 580.71875 & 14.28125 \tabularnewline
49 & 591 & 591.084375 & -0.0843749999998457 \tabularnewline
50 & 589 & 588.484375 & 0.515624999999971 \tabularnewline
51 & 584 & 581.484375 & 2.51562499999999 \tabularnewline
52 & 573 & 574.084375 & -1.08437500000004 \tabularnewline
53 & 567 & 567.284375 & -0.284375000000034 \tabularnewline
54 & 569 & 569.284375 & -0.284375000000020 \tabularnewline
55 & 621 & 625.084375 & -4.08437500000004 \tabularnewline
56 & 629 & 639.084375 & -10.084375 \tabularnewline
57 & 628 & 640.4375 & -12.4375000000000 \tabularnewline
58 & 612 & 631.4375 & -19.4375 \tabularnewline
59 & 595 & 612.6375 & -17.6375 \tabularnewline
60 & 597 & 615.4375 & -18.4375 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&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]467[/C][C]458.975000000001[/C][C]8.02499999999942[/C][/ROW]
[ROW][C]2[/C][C]460[/C][C]456.375[/C][C]3.62500000000015[/C][/ROW]
[ROW][C]3[/C][C]448[/C][C]449.375[/C][C]-1.37499999999990[/C][/ROW]
[ROW][C]4[/C][C]443[/C][C]441.975[/C][C]1.02500000000013[/C][/ROW]
[ROW][C]5[/C][C]436[/C][C]435.175[/C][C]0.825000000000122[/C][/ROW]
[ROW][C]6[/C][C]431[/C][C]437.175[/C][C]-6.17499999999999[/C][/ROW]
[ROW][C]7[/C][C]484[/C][C]492.975[/C][C]-8.9749999999999[/C][/ROW]
[ROW][C]8[/C][C]510[/C][C]506.975[/C][C]3.02499999999999[/C][/ROW]
[ROW][C]9[/C][C]513[/C][C]501.5625[/C][C]11.4375[/C][/ROW]
[ROW][C]10[/C][C]503[/C][C]492.5625[/C][C]10.4375000000000[/C][/ROW]
[ROW][C]11[/C][C]471[/C][C]473.7625[/C][C]-2.76249999999999[/C][/ROW]
[ROW][C]12[/C][C]471[/C][C]476.5625[/C][C]-5.56249999999999[/C][/ROW]
[ROW][C]13[/C][C]476[/C][C]486.928125[/C][C]-10.9281249999999[/C][/ROW]
[ROW][C]14[/C][C]475[/C][C]484.328125[/C][C]-9.32812500000007[/C][/ROW]
[ROW][C]15[/C][C]470[/C][C]477.328125[/C][C]-7.32812500000004[/C][/ROW]
[ROW][C]16[/C][C]461[/C][C]469.928125[/C][C]-8.92812500000003[/C][/ROW]
[ROW][C]17[/C][C]455[/C][C]463.128125[/C][C]-8.12812500000003[/C][/ROW]
[ROW][C]18[/C][C]456[/C][C]465.128125[/C][C]-9.128125[/C][/ROW]
[ROW][C]19[/C][C]517[/C][C]520.928125[/C][C]-3.928125[/C][/ROW]
[ROW][C]20[/C][C]525[/C][C]534.928125[/C][C]-9.928125[/C][/ROW]
[ROW][C]21[/C][C]523[/C][C]536.28125[/C][C]-13.2812500000000[/C][/ROW]
[ROW][C]22[/C][C]519[/C][C]527.28125[/C][C]-8.28124999999999[/C][/ROW]
[ROW][C]23[/C][C]509[/C][C]508.48125[/C][C]0.518749999999995[/C][/ROW]
[ROW][C]24[/C][C]512[/C][C]511.28125[/C][C]0.71874999999999[/C][/ROW]
[ROW][C]25[/C][C]519[/C][C]521.646875[/C][C]-2.64687499999985[/C][/ROW]
[ROW][C]26[/C][C]517[/C][C]519.046875[/C][C]-2.04687500000002[/C][/ROW]
[ROW][C]27[/C][C]510[/C][C]512.046875[/C][C]-2.04687500000002[/C][/ROW]
[ROW][C]28[/C][C]509[/C][C]504.646875[/C][C]4.35312499999997[/C][/ROW]
[ROW][C]29[/C][C]501[/C][C]497.846875[/C][C]3.15312499999996[/C][/ROW]
[ROW][C]30[/C][C]507[/C][C]499.846875[/C][C]7.153125[/C][/ROW]
[ROW][C]31[/C][C]569[/C][C]555.646875[/C][C]13.3531250000000[/C][/ROW]
[ROW][C]32[/C][C]580[/C][C]569.646875[/C][C]10.353125[/C][/ROW]
[ROW][C]33[/C][C]578[/C][C]571[/C][C]7[/C][/ROW]
[ROW][C]34[/C][C]565[/C][C]562[/C][C]3.00000000000001[/C][/ROW]
[ROW][C]35[/C][C]547[/C][C]543.2[/C][C]3.79999999999999[/C][/ROW]
[ROW][C]36[/C][C]555[/C][C]546[/C][C]9[/C][/ROW]
[ROW][C]37[/C][C]562[/C][C]556.365625[/C][C]5.63437500000014[/C][/ROW]
[ROW][C]38[/C][C]561[/C][C]553.765625[/C][C]7.23437499999997[/C][/ROW]
[ROW][C]39[/C][C]555[/C][C]546.765625[/C][C]8.23437499999998[/C][/ROW]
[ROW][C]40[/C][C]544[/C][C]539.365625[/C][C]4.63437499999997[/C][/ROW]
[ROW][C]41[/C][C]537[/C][C]532.565625[/C][C]4.43437499999997[/C][/ROW]
[ROW][C]42[/C][C]543[/C][C]534.565625[/C][C]8.434375[/C][/ROW]
[ROW][C]43[/C][C]594[/C][C]590.365625[/C][C]3.63437499999997[/C][/ROW]
[ROW][C]44[/C][C]611[/C][C]604.365625[/C][C]6.634375[/C][/ROW]
[ROW][C]45[/C][C]613[/C][C]605.71875[/C][C]7.28125[/C][/ROW]
[ROW][C]46[/C][C]611[/C][C]596.71875[/C][C]14.28125[/C][/ROW]
[ROW][C]47[/C][C]594[/C][C]577.91875[/C][C]16.08125[/C][/ROW]
[ROW][C]48[/C][C]595[/C][C]580.71875[/C][C]14.28125[/C][/ROW]
[ROW][C]49[/C][C]591[/C][C]591.084375[/C][C]-0.0843749999998457[/C][/ROW]
[ROW][C]50[/C][C]589[/C][C]588.484375[/C][C]0.515624999999971[/C][/ROW]
[ROW][C]51[/C][C]584[/C][C]581.484375[/C][C]2.51562499999999[/C][/ROW]
[ROW][C]52[/C][C]573[/C][C]574.084375[/C][C]-1.08437500000004[/C][/ROW]
[ROW][C]53[/C][C]567[/C][C]567.284375[/C][C]-0.284375000000034[/C][/ROW]
[ROW][C]54[/C][C]569[/C][C]569.284375[/C][C]-0.284375000000020[/C][/ROW]
[ROW][C]55[/C][C]621[/C][C]625.084375[/C][C]-4.08437500000004[/C][/ROW]
[ROW][C]56[/C][C]629[/C][C]639.084375[/C][C]-10.084375[/C][/ROW]
[ROW][C]57[/C][C]628[/C][C]640.4375[/C][C]-12.4375000000000[/C][/ROW]
[ROW][C]58[/C][C]612[/C][C]631.4375[/C][C]-19.4375[/C][/ROW]
[ROW][C]59[/C][C]595[/C][C]612.6375[/C][C]-17.6375[/C][/ROW]
[ROW][C]60[/C][C]597[/C][C]615.4375[/C][C]-18.4375[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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
1467458.9750000000018.02499999999942
2460456.3753.62500000000015
3448449.375-1.37499999999990
4443441.9751.02500000000013
5436435.1750.825000000000122
6431437.175-6.17499999999999
7484492.975-8.9749999999999
8510506.9753.02499999999999
9513501.562511.4375
10503492.562510.4375000000000
11471473.7625-2.76249999999999
12471476.5625-5.56249999999999
13476486.928125-10.9281249999999
14475484.328125-9.32812500000007
15470477.328125-7.32812500000004
16461469.928125-8.92812500000003
17455463.128125-8.12812500000003
18456465.128125-9.128125
19517520.928125-3.928125
20525534.928125-9.928125
21523536.28125-13.2812500000000
22519527.28125-8.28124999999999
23509508.481250.518749999999995
24512511.281250.71874999999999
25519521.646875-2.64687499999985
26517519.046875-2.04687500000002
27510512.046875-2.04687500000002
28509504.6468754.35312499999997
29501497.8468753.15312499999996
30507499.8468757.153125
31569555.64687513.3531250000000
32580569.64687510.353125
335785717
345655623.00000000000001
35547543.23.79999999999999
365555469
37562556.3656255.63437500000014
38561553.7656257.23437499999997
39555546.7656258.23437499999998
40544539.3656254.63437499999997
41537532.5656254.43437499999997
42543534.5656258.434375
43594590.3656253.63437499999997
44611604.3656256.634375
45613605.718757.28125
46611596.7187514.28125
47594577.9187516.08125
48595580.7187514.28125
49591591.084375-0.0843749999998457
50589588.4843750.515624999999971
51584581.4843752.51562499999999
52573574.084375-1.08437500000004
53567567.284375-0.284375000000034
54569569.284375-0.284375000000020
55621625.084375-4.08437500000004
56629639.084375-10.084375
57628640.4375-12.4375000000000
58612631.4375-19.4375
59595612.6375-17.6375
60597615.4375-18.4375







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.07230540513218920.1446108102643780.927694594867811
180.05821675080162570.1164335016032510.941783249198374
190.1159500642099210.2319001284198410.88404993579008
200.07737569027777380.1547513805555480.922624309722226
210.05140367046604670.1028073409320930.948596329533953
220.03555454488389140.07110908976778280.964445455116109
230.1549296547648590.3098593095297180.84507034523514
240.235719133563350.47143826712670.76428086643665
250.2489808553874070.4979617107748140.751019144612593
260.2708350852447790.5416701704895580.72916491475522
270.3279169569497100.6558339138994190.67208304305029
280.3652573514161160.7305147028322330.634742648583884
290.3780215240358180.7560430480716370.621978475964182
300.4666009605633640.9332019211267280.533399039436636
310.5246357755547790.9507284488904430.475364224445221
320.4761312157587580.9522624315175170.523868784241242
330.3911691311202980.7823382622405970.608830868879702
340.3629687556862610.7259375113725230.637031244313739
350.3722977575785390.7445955151570770.627702242421461
360.3388308973336710.6776617946673420.661169102666329
370.2823910922583600.5647821845167210.71760890774164
380.2316252510441810.4632505020883620.768374748955819
390.2052730075276510.4105460150553030.794726992472349
400.1915097328121950.3830194656243890.808490267187805
410.2247807137612140.4495614275224290.775219286238786
420.2469532707115830.4939065414231660.753046729288417
430.4422987270367210.8845974540734410.557701272963279

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0723054051321892 & 0.144610810264378 & 0.927694594867811 \tabularnewline
18 & 0.0582167508016257 & 0.116433501603251 & 0.941783249198374 \tabularnewline
19 & 0.115950064209921 & 0.231900128419841 & 0.88404993579008 \tabularnewline
20 & 0.0773756902777738 & 0.154751380555548 & 0.922624309722226 \tabularnewline
21 & 0.0514036704660467 & 0.102807340932093 & 0.948596329533953 \tabularnewline
22 & 0.0355545448838914 & 0.0711090897677828 & 0.964445455116109 \tabularnewline
23 & 0.154929654764859 & 0.309859309529718 & 0.84507034523514 \tabularnewline
24 & 0.23571913356335 & 0.4714382671267 & 0.76428086643665 \tabularnewline
25 & 0.248980855387407 & 0.497961710774814 & 0.751019144612593 \tabularnewline
26 & 0.270835085244779 & 0.541670170489558 & 0.72916491475522 \tabularnewline
27 & 0.327916956949710 & 0.655833913899419 & 0.67208304305029 \tabularnewline
28 & 0.365257351416116 & 0.730514702832233 & 0.634742648583884 \tabularnewline
29 & 0.378021524035818 & 0.756043048071637 & 0.621978475964182 \tabularnewline
30 & 0.466600960563364 & 0.933201921126728 & 0.533399039436636 \tabularnewline
31 & 0.524635775554779 & 0.950728448890443 & 0.475364224445221 \tabularnewline
32 & 0.476131215758758 & 0.952262431517517 & 0.523868784241242 \tabularnewline
33 & 0.391169131120298 & 0.782338262240597 & 0.608830868879702 \tabularnewline
34 & 0.362968755686261 & 0.725937511372523 & 0.637031244313739 \tabularnewline
35 & 0.372297757578539 & 0.744595515157077 & 0.627702242421461 \tabularnewline
36 & 0.338830897333671 & 0.677661794667342 & 0.661169102666329 \tabularnewline
37 & 0.282391092258360 & 0.564782184516721 & 0.71760890774164 \tabularnewline
38 & 0.231625251044181 & 0.463250502088362 & 0.768374748955819 \tabularnewline
39 & 0.205273007527651 & 0.410546015055303 & 0.794726992472349 \tabularnewline
40 & 0.191509732812195 & 0.383019465624389 & 0.808490267187805 \tabularnewline
41 & 0.224780713761214 & 0.449561427522429 & 0.775219286238786 \tabularnewline
42 & 0.246953270711583 & 0.493906541423166 & 0.753046729288417 \tabularnewline
43 & 0.442298727036721 & 0.884597454073441 & 0.557701272963279 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&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]17[/C][C]0.0723054051321892[/C][C]0.144610810264378[/C][C]0.927694594867811[/C][/ROW]
[ROW][C]18[/C][C]0.0582167508016257[/C][C]0.116433501603251[/C][C]0.941783249198374[/C][/ROW]
[ROW][C]19[/C][C]0.115950064209921[/C][C]0.231900128419841[/C][C]0.88404993579008[/C][/ROW]
[ROW][C]20[/C][C]0.0773756902777738[/C][C]0.154751380555548[/C][C]0.922624309722226[/C][/ROW]
[ROW][C]21[/C][C]0.0514036704660467[/C][C]0.102807340932093[/C][C]0.948596329533953[/C][/ROW]
[ROW][C]22[/C][C]0.0355545448838914[/C][C]0.0711090897677828[/C][C]0.964445455116109[/C][/ROW]
[ROW][C]23[/C][C]0.154929654764859[/C][C]0.309859309529718[/C][C]0.84507034523514[/C][/ROW]
[ROW][C]24[/C][C]0.23571913356335[/C][C]0.4714382671267[/C][C]0.76428086643665[/C][/ROW]
[ROW][C]25[/C][C]0.248980855387407[/C][C]0.497961710774814[/C][C]0.751019144612593[/C][/ROW]
[ROW][C]26[/C][C]0.270835085244779[/C][C]0.541670170489558[/C][C]0.72916491475522[/C][/ROW]
[ROW][C]27[/C][C]0.327916956949710[/C][C]0.655833913899419[/C][C]0.67208304305029[/C][/ROW]
[ROW][C]28[/C][C]0.365257351416116[/C][C]0.730514702832233[/C][C]0.634742648583884[/C][/ROW]
[ROW][C]29[/C][C]0.378021524035818[/C][C]0.756043048071637[/C][C]0.621978475964182[/C][/ROW]
[ROW][C]30[/C][C]0.466600960563364[/C][C]0.933201921126728[/C][C]0.533399039436636[/C][/ROW]
[ROW][C]31[/C][C]0.524635775554779[/C][C]0.950728448890443[/C][C]0.475364224445221[/C][/ROW]
[ROW][C]32[/C][C]0.476131215758758[/C][C]0.952262431517517[/C][C]0.523868784241242[/C][/ROW]
[ROW][C]33[/C][C]0.391169131120298[/C][C]0.782338262240597[/C][C]0.608830868879702[/C][/ROW]
[ROW][C]34[/C][C]0.362968755686261[/C][C]0.725937511372523[/C][C]0.637031244313739[/C][/ROW]
[ROW][C]35[/C][C]0.372297757578539[/C][C]0.744595515157077[/C][C]0.627702242421461[/C][/ROW]
[ROW][C]36[/C][C]0.338830897333671[/C][C]0.677661794667342[/C][C]0.661169102666329[/C][/ROW]
[ROW][C]37[/C][C]0.282391092258360[/C][C]0.564782184516721[/C][C]0.71760890774164[/C][/ROW]
[ROW][C]38[/C][C]0.231625251044181[/C][C]0.463250502088362[/C][C]0.768374748955819[/C][/ROW]
[ROW][C]39[/C][C]0.205273007527651[/C][C]0.410546015055303[/C][C]0.794726992472349[/C][/ROW]
[ROW][C]40[/C][C]0.191509732812195[/C][C]0.383019465624389[/C][C]0.808490267187805[/C][/ROW]
[ROW][C]41[/C][C]0.224780713761214[/C][C]0.449561427522429[/C][C]0.775219286238786[/C][/ROW]
[ROW][C]42[/C][C]0.246953270711583[/C][C]0.493906541423166[/C][C]0.753046729288417[/C][/ROW]
[ROW][C]43[/C][C]0.442298727036721[/C][C]0.884597454073441[/C][C]0.557701272963279[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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
170.07230540513218920.1446108102643780.927694594867811
180.05821675080162570.1164335016032510.941783249198374
190.1159500642099210.2319001284198410.88404993579008
200.07737569027777380.1547513805555480.922624309722226
210.05140367046604670.1028073409320930.948596329533953
220.03555454488389140.07110908976778280.964445455116109
230.1549296547648590.3098593095297180.84507034523514
240.235719133563350.47143826712670.76428086643665
250.2489808553874070.4979617107748140.751019144612593
260.2708350852447790.5416701704895580.72916491475522
270.3279169569497100.6558339138994190.67208304305029
280.3652573514161160.7305147028322330.634742648583884
290.3780215240358180.7560430480716370.621978475964182
300.4666009605633640.9332019211267280.533399039436636
310.5246357755547790.9507284488904430.475364224445221
320.4761312157587580.9522624315175170.523868784241242
330.3911691311202980.7823382622405970.608830868879702
340.3629687556862610.7259375113725230.637031244313739
350.3722977575785390.7445955151570770.627702242421461
360.3388308973336710.6776617946673420.661169102666329
370.2823910922583600.5647821845167210.71760890774164
380.2316252510441810.4632505020883620.768374748955819
390.2052730075276510.4105460150553030.794726992472349
400.1915097328121950.3830194656243890.808490267187805
410.2247807137612140.4495614275224290.775219286238786
420.2469532707115830.4939065414231660.753046729288417
430.4422987270367210.8845974540734410.557701272963279







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 level10.0370370370370370OK

\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 & 1 & 0.0370370370370370 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=35389&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]1[/C][C]0.0370370370370370[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=35389&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=35389&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 level10.0370370370370370OK



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