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 computationWed, 18 Nov 2009 08:00:59 -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/18/t1258557137pptwss21ig35fq6.htm/, Retrieved Sun, 05 May 2024 17:11:49 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57472, Retrieved Sun, 05 May 2024 17:11:49 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact176
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] [SHw WS7] [2009-11-18 15:00:59] [d9efc2d105d810fc0b0ac636e31105d1] [Current]
-    D        [Multiple Regression] [Workshop 7] [2009-11-27 10:40:15] [4fe1472705bb0a32f118ba3ca90ffa8e]
-   PD        [Multiple Regression] [Workshop 7] [2009-11-27 10:58:24] [4fe1472705bb0a32f118ba3ca90ffa8e]
-   PD        [Multiple Regression] [Workshop 7] [2009-11-27 11:13:38] [4fe1472705bb0a32f118ba3ca90ffa8e]
Feedback Forum

Post a new message
Dataseries X:
627	356
696	386
825	444
677	387
656	327
785	448
412	225
352	182
839	460
729	411
696	342
641	361
695	377
638	331
762	428
635	340
721	352
854	461
418	221
367	198
824	422
687	329
601	320
676	375
740	364
691	351
683	380
594	319
729	322
731	386
386	221
331	187
707	344
715	342
657	365
653	313
642	356
643	337
718	389
654	326
632	343
731	357
392	220
344	228
792	391
852	425
649	332
629	298
685	360
617	326
715	325
715	393
629	301
916	426
531	265
357	210
917	429
828	440
708	357
858	431




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=57472&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=57472&T=0

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
Y[t] = -3.62513082855646 + 1.92818078915383X[t] + e[t]

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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57472&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] = -3.62513082855646 + 1.92818078915383X[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)-3.6251308285564630.084793-0.12050.9045060.452253
X1.928180789153830.08566522.508300

\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) & -3.62513082855646 & 30.084793 & -0.1205 & 0.904506 & 0.452253 \tabularnewline
X & 1.92818078915383 & 0.085665 & 22.5083 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57472&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]-3.62513082855646[/C][C]30.084793[/C][C]-0.1205[/C][C]0.904506[/C][C]0.452253[/C][/ROW]
[ROW][C]X[/C][C]1.92818078915383[/C][C]0.085665[/C][C]22.5083[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57472&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57472&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)-3.6251308285564630.084793-0.12050.9045060.452253
X1.928180789153830.08566522.508300







Multiple Linear Regression - Regression Statistics
Multiple R0.947247051747586
R-squared0.897276977044494
Adjusted R-squared0.895505890441813
F-TEST (value)506.625128147974
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation46.8069096162617
Sum Squared Residuals127071.433693844

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.947247051747586 \tabularnewline
R-squared & 0.897276977044494 \tabularnewline
Adjusted R-squared & 0.895505890441813 \tabularnewline
F-TEST (value) & 506.625128147974 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 46.8069096162617 \tabularnewline
Sum Squared Residuals & 127071.433693844 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57472&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.947247051747586[/C][/ROW]
[ROW][C]R-squared[/C][C]0.897276977044494[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.895505890441813[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]506.625128147974[/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]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]46.8069096162617[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]127071.433693844[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57472&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57472&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.947247051747586
R-squared0.897276977044494
Adjusted R-squared0.895505890441813
F-TEST (value)506.625128147974
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation46.8069096162617
Sum Squared Residuals127071.433693844







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1627682.807230110208-55.807230110208
2696740.652653784822-44.6526537848222
3825852.487139555745-27.4871395557445
4677742.580834573976-65.5808345739762
5656626.88998722474629.1100127752536
6785860.19986271236-75.1998627123598
7412430.215546731056-18.2155467310558
8352347.3037727974414.69622720255887
9839883.338032182206-44.3380321822058
10729788.857173513668-59.8571735136681
11696655.81269906205440.1873009379461
12641692.448134055977-51.4481340559766
13695723.299026682438-28.2990266824379
14638634.6027103813623.39728961863826
15762821.636246929283-59.6362469292833
16635651.956337483746-16.9563374837462
17721675.09450695359245.9054930464078
18854885.26621297136-31.2662129713596
19418422.502823574440-4.50282357444045
20367378.154665423902-11.1546654239024
21824810.0671621943613.9328378056397
22687630.74634880305456.2536511969459
23601613.39272170067-12.3927217006696
24676719.44266510413-43.4426651041303
25740698.23267642343841.7673235765619
26691673.16632616443817.8336738355617
27683729.0835690499-46.0835690498994
28594611.464540911516-17.4645409115158
29729617.249083278977111.750916721023
30731740.652653784822-9.6526537848224
31386422.502823574440-36.5028235744404
32331356.94467674321-25.9446767432102
33707659.66906064036247.3309393596385
34715655.81269906205459.1873009379461
35657700.160857212592-43.1608572125920
36653599.89545617659353.1045438234072
37642682.807230110207-40.8072301102075
38643646.171795116285-3.17179511628472
39718746.437196152284-28.4371961522839
40654624.96180643559329.0381935644074
41632657.740879851208-25.7408798512077
42731684.73541089936146.2645891006387
43392420.574642785287-28.5746427852866
44344436.000089098517-92.0000890985173
45792750.29355773059141.7064422694085
46852815.85170456182236.1482954381783
47649636.53089117051612.4691088294844
48629570.97274433928558.0272556607146
49685690.519953266823-5.51995326682281
50617624.961806435593-7.9618064355926
51715623.03362564643991.9663743535612
52715754.149919308899-39.1499193088992
53629576.75728670674752.2427132932532
54916817.77988535097698.2201146490244
55531507.34277829720923.657221702791
56357401.292834893748-44.2928348937483
57917823.56442771843793.435572281563
58828844.774416399129-16.7744163991292
59708684.73541089936123.2645891006387
60858827.42078929674530.5792107032553

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 627 & 682.807230110208 & -55.807230110208 \tabularnewline
2 & 696 & 740.652653784822 & -44.6526537848222 \tabularnewline
3 & 825 & 852.487139555745 & -27.4871395557445 \tabularnewline
4 & 677 & 742.580834573976 & -65.5808345739762 \tabularnewline
5 & 656 & 626.889987224746 & 29.1100127752536 \tabularnewline
6 & 785 & 860.19986271236 & -75.1998627123598 \tabularnewline
7 & 412 & 430.215546731056 & -18.2155467310558 \tabularnewline
8 & 352 & 347.303772797441 & 4.69622720255887 \tabularnewline
9 & 839 & 883.338032182206 & -44.3380321822058 \tabularnewline
10 & 729 & 788.857173513668 & -59.8571735136681 \tabularnewline
11 & 696 & 655.812699062054 & 40.1873009379461 \tabularnewline
12 & 641 & 692.448134055977 & -51.4481340559766 \tabularnewline
13 & 695 & 723.299026682438 & -28.2990266824379 \tabularnewline
14 & 638 & 634.602710381362 & 3.39728961863826 \tabularnewline
15 & 762 & 821.636246929283 & -59.6362469292833 \tabularnewline
16 & 635 & 651.956337483746 & -16.9563374837462 \tabularnewline
17 & 721 & 675.094506953592 & 45.9054930464078 \tabularnewline
18 & 854 & 885.26621297136 & -31.2662129713596 \tabularnewline
19 & 418 & 422.502823574440 & -4.50282357444045 \tabularnewline
20 & 367 & 378.154665423902 & -11.1546654239024 \tabularnewline
21 & 824 & 810.06716219436 & 13.9328378056397 \tabularnewline
22 & 687 & 630.746348803054 & 56.2536511969459 \tabularnewline
23 & 601 & 613.39272170067 & -12.3927217006696 \tabularnewline
24 & 676 & 719.44266510413 & -43.4426651041303 \tabularnewline
25 & 740 & 698.232676423438 & 41.7673235765619 \tabularnewline
26 & 691 & 673.166326164438 & 17.8336738355617 \tabularnewline
27 & 683 & 729.0835690499 & -46.0835690498994 \tabularnewline
28 & 594 & 611.464540911516 & -17.4645409115158 \tabularnewline
29 & 729 & 617.249083278977 & 111.750916721023 \tabularnewline
30 & 731 & 740.652653784822 & -9.6526537848224 \tabularnewline
31 & 386 & 422.502823574440 & -36.5028235744404 \tabularnewline
32 & 331 & 356.94467674321 & -25.9446767432102 \tabularnewline
33 & 707 & 659.669060640362 & 47.3309393596385 \tabularnewline
34 & 715 & 655.812699062054 & 59.1873009379461 \tabularnewline
35 & 657 & 700.160857212592 & -43.1608572125920 \tabularnewline
36 & 653 & 599.895456176593 & 53.1045438234072 \tabularnewline
37 & 642 & 682.807230110207 & -40.8072301102075 \tabularnewline
38 & 643 & 646.171795116285 & -3.17179511628472 \tabularnewline
39 & 718 & 746.437196152284 & -28.4371961522839 \tabularnewline
40 & 654 & 624.961806435593 & 29.0381935644074 \tabularnewline
41 & 632 & 657.740879851208 & -25.7408798512077 \tabularnewline
42 & 731 & 684.735410899361 & 46.2645891006387 \tabularnewline
43 & 392 & 420.574642785287 & -28.5746427852866 \tabularnewline
44 & 344 & 436.000089098517 & -92.0000890985173 \tabularnewline
45 & 792 & 750.293557730591 & 41.7064422694085 \tabularnewline
46 & 852 & 815.851704561822 & 36.1482954381783 \tabularnewline
47 & 649 & 636.530891170516 & 12.4691088294844 \tabularnewline
48 & 629 & 570.972744339285 & 58.0272556607146 \tabularnewline
49 & 685 & 690.519953266823 & -5.51995326682281 \tabularnewline
50 & 617 & 624.961806435593 & -7.9618064355926 \tabularnewline
51 & 715 & 623.033625646439 & 91.9663743535612 \tabularnewline
52 & 715 & 754.149919308899 & -39.1499193088992 \tabularnewline
53 & 629 & 576.757286706747 & 52.2427132932532 \tabularnewline
54 & 916 & 817.779885350976 & 98.2201146490244 \tabularnewline
55 & 531 & 507.342778297209 & 23.657221702791 \tabularnewline
56 & 357 & 401.292834893748 & -44.2928348937483 \tabularnewline
57 & 917 & 823.564427718437 & 93.435572281563 \tabularnewline
58 & 828 & 844.774416399129 & -16.7744163991292 \tabularnewline
59 & 708 & 684.735410899361 & 23.2645891006387 \tabularnewline
60 & 858 & 827.420789296745 & 30.5792107032553 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57472&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]627[/C][C]682.807230110208[/C][C]-55.807230110208[/C][/ROW]
[ROW][C]2[/C][C]696[/C][C]740.652653784822[/C][C]-44.6526537848222[/C][/ROW]
[ROW][C]3[/C][C]825[/C][C]852.487139555745[/C][C]-27.4871395557445[/C][/ROW]
[ROW][C]4[/C][C]677[/C][C]742.580834573976[/C][C]-65.5808345739762[/C][/ROW]
[ROW][C]5[/C][C]656[/C][C]626.889987224746[/C][C]29.1100127752536[/C][/ROW]
[ROW][C]6[/C][C]785[/C][C]860.19986271236[/C][C]-75.1998627123598[/C][/ROW]
[ROW][C]7[/C][C]412[/C][C]430.215546731056[/C][C]-18.2155467310558[/C][/ROW]
[ROW][C]8[/C][C]352[/C][C]347.303772797441[/C][C]4.69622720255887[/C][/ROW]
[ROW][C]9[/C][C]839[/C][C]883.338032182206[/C][C]-44.3380321822058[/C][/ROW]
[ROW][C]10[/C][C]729[/C][C]788.857173513668[/C][C]-59.8571735136681[/C][/ROW]
[ROW][C]11[/C][C]696[/C][C]655.812699062054[/C][C]40.1873009379461[/C][/ROW]
[ROW][C]12[/C][C]641[/C][C]692.448134055977[/C][C]-51.4481340559766[/C][/ROW]
[ROW][C]13[/C][C]695[/C][C]723.299026682438[/C][C]-28.2990266824379[/C][/ROW]
[ROW][C]14[/C][C]638[/C][C]634.602710381362[/C][C]3.39728961863826[/C][/ROW]
[ROW][C]15[/C][C]762[/C][C]821.636246929283[/C][C]-59.6362469292833[/C][/ROW]
[ROW][C]16[/C][C]635[/C][C]651.956337483746[/C][C]-16.9563374837462[/C][/ROW]
[ROW][C]17[/C][C]721[/C][C]675.094506953592[/C][C]45.9054930464078[/C][/ROW]
[ROW][C]18[/C][C]854[/C][C]885.26621297136[/C][C]-31.2662129713596[/C][/ROW]
[ROW][C]19[/C][C]418[/C][C]422.502823574440[/C][C]-4.50282357444045[/C][/ROW]
[ROW][C]20[/C][C]367[/C][C]378.154665423902[/C][C]-11.1546654239024[/C][/ROW]
[ROW][C]21[/C][C]824[/C][C]810.06716219436[/C][C]13.9328378056397[/C][/ROW]
[ROW][C]22[/C][C]687[/C][C]630.746348803054[/C][C]56.2536511969459[/C][/ROW]
[ROW][C]23[/C][C]601[/C][C]613.39272170067[/C][C]-12.3927217006696[/C][/ROW]
[ROW][C]24[/C][C]676[/C][C]719.44266510413[/C][C]-43.4426651041303[/C][/ROW]
[ROW][C]25[/C][C]740[/C][C]698.232676423438[/C][C]41.7673235765619[/C][/ROW]
[ROW][C]26[/C][C]691[/C][C]673.166326164438[/C][C]17.8336738355617[/C][/ROW]
[ROW][C]27[/C][C]683[/C][C]729.0835690499[/C][C]-46.0835690498994[/C][/ROW]
[ROW][C]28[/C][C]594[/C][C]611.464540911516[/C][C]-17.4645409115158[/C][/ROW]
[ROW][C]29[/C][C]729[/C][C]617.249083278977[/C][C]111.750916721023[/C][/ROW]
[ROW][C]30[/C][C]731[/C][C]740.652653784822[/C][C]-9.6526537848224[/C][/ROW]
[ROW][C]31[/C][C]386[/C][C]422.502823574440[/C][C]-36.5028235744404[/C][/ROW]
[ROW][C]32[/C][C]331[/C][C]356.94467674321[/C][C]-25.9446767432102[/C][/ROW]
[ROW][C]33[/C][C]707[/C][C]659.669060640362[/C][C]47.3309393596385[/C][/ROW]
[ROW][C]34[/C][C]715[/C][C]655.812699062054[/C][C]59.1873009379461[/C][/ROW]
[ROW][C]35[/C][C]657[/C][C]700.160857212592[/C][C]-43.1608572125920[/C][/ROW]
[ROW][C]36[/C][C]653[/C][C]599.895456176593[/C][C]53.1045438234072[/C][/ROW]
[ROW][C]37[/C][C]642[/C][C]682.807230110207[/C][C]-40.8072301102075[/C][/ROW]
[ROW][C]38[/C][C]643[/C][C]646.171795116285[/C][C]-3.17179511628472[/C][/ROW]
[ROW][C]39[/C][C]718[/C][C]746.437196152284[/C][C]-28.4371961522839[/C][/ROW]
[ROW][C]40[/C][C]654[/C][C]624.961806435593[/C][C]29.0381935644074[/C][/ROW]
[ROW][C]41[/C][C]632[/C][C]657.740879851208[/C][C]-25.7408798512077[/C][/ROW]
[ROW][C]42[/C][C]731[/C][C]684.735410899361[/C][C]46.2645891006387[/C][/ROW]
[ROW][C]43[/C][C]392[/C][C]420.574642785287[/C][C]-28.5746427852866[/C][/ROW]
[ROW][C]44[/C][C]344[/C][C]436.000089098517[/C][C]-92.0000890985173[/C][/ROW]
[ROW][C]45[/C][C]792[/C][C]750.293557730591[/C][C]41.7064422694085[/C][/ROW]
[ROW][C]46[/C][C]852[/C][C]815.851704561822[/C][C]36.1482954381783[/C][/ROW]
[ROW][C]47[/C][C]649[/C][C]636.530891170516[/C][C]12.4691088294844[/C][/ROW]
[ROW][C]48[/C][C]629[/C][C]570.972744339285[/C][C]58.0272556607146[/C][/ROW]
[ROW][C]49[/C][C]685[/C][C]690.519953266823[/C][C]-5.51995326682281[/C][/ROW]
[ROW][C]50[/C][C]617[/C][C]624.961806435593[/C][C]-7.9618064355926[/C][/ROW]
[ROW][C]51[/C][C]715[/C][C]623.033625646439[/C][C]91.9663743535612[/C][/ROW]
[ROW][C]52[/C][C]715[/C][C]754.149919308899[/C][C]-39.1499193088992[/C][/ROW]
[ROW][C]53[/C][C]629[/C][C]576.757286706747[/C][C]52.2427132932532[/C][/ROW]
[ROW][C]54[/C][C]916[/C][C]817.779885350976[/C][C]98.2201146490244[/C][/ROW]
[ROW][C]55[/C][C]531[/C][C]507.342778297209[/C][C]23.657221702791[/C][/ROW]
[ROW][C]56[/C][C]357[/C][C]401.292834893748[/C][C]-44.2928348937483[/C][/ROW]
[ROW][C]57[/C][C]917[/C][C]823.564427718437[/C][C]93.435572281563[/C][/ROW]
[ROW][C]58[/C][C]828[/C][C]844.774416399129[/C][C]-16.7744163991292[/C][/ROW]
[ROW][C]59[/C][C]708[/C][C]684.735410899361[/C][C]23.2645891006387[/C][/ROW]
[ROW][C]60[/C][C]858[/C][C]827.420789296745[/C][C]30.5792107032553[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57472&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57472&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
1627682.807230110208-55.807230110208
2696740.652653784822-44.6526537848222
3825852.487139555745-27.4871395557445
4677742.580834573976-65.5808345739762
5656626.88998722474629.1100127752536
6785860.19986271236-75.1998627123598
7412430.215546731056-18.2155467310558
8352347.3037727974414.69622720255887
9839883.338032182206-44.3380321822058
10729788.857173513668-59.8571735136681
11696655.81269906205440.1873009379461
12641692.448134055977-51.4481340559766
13695723.299026682438-28.2990266824379
14638634.6027103813623.39728961863826
15762821.636246929283-59.6362469292833
16635651.956337483746-16.9563374837462
17721675.09450695359245.9054930464078
18854885.26621297136-31.2662129713596
19418422.502823574440-4.50282357444045
20367378.154665423902-11.1546654239024
21824810.0671621943613.9328378056397
22687630.74634880305456.2536511969459
23601613.39272170067-12.3927217006696
24676719.44266510413-43.4426651041303
25740698.23267642343841.7673235765619
26691673.16632616443817.8336738355617
27683729.0835690499-46.0835690498994
28594611.464540911516-17.4645409115158
29729617.249083278977111.750916721023
30731740.652653784822-9.6526537848224
31386422.502823574440-36.5028235744404
32331356.94467674321-25.9446767432102
33707659.66906064036247.3309393596385
34715655.81269906205459.1873009379461
35657700.160857212592-43.1608572125920
36653599.89545617659353.1045438234072
37642682.807230110207-40.8072301102075
38643646.171795116285-3.17179511628472
39718746.437196152284-28.4371961522839
40654624.96180643559329.0381935644074
41632657.740879851208-25.7408798512077
42731684.73541089936146.2645891006387
43392420.574642785287-28.5746427852866
44344436.000089098517-92.0000890985173
45792750.29355773059141.7064422694085
46852815.85170456182236.1482954381783
47649636.53089117051612.4691088294844
48629570.97274433928558.0272556607146
49685690.519953266823-5.51995326682281
50617624.961806435593-7.9618064355926
51715623.03362564643991.9663743535612
52715754.149919308899-39.1499193088992
53629576.75728670674752.2427132932532
54916817.77988535097698.2201146490244
55531507.34277829720923.657221702791
56357401.292834893748-44.2928348937483
57917823.56442771843793.435572281563
58828844.774416399129-16.7744163991292
59708684.73541089936123.2645891006387
60858827.42078929674530.5792107032553







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4511586559416050.902317311883210.548841344058395
60.3219049231284550.643809846256910.678095076871545
70.2465714273823990.4931428547647980.753428572617601
80.1462557898296840.2925115796593680.853744210170316
90.09322910909729620.1864582181945920.906770890902704
100.06403243584895740.1280648716979150.935967564151043
110.1804867219996490.3609734439992980.81951327800035
120.1467072219131830.2934144438263660.853292778086817
130.1002092130432190.2004184260864380.899790786956781
140.07554486791703920.1510897358340780.92445513208296
150.06505450413657530.1301090082731510.934945495863425
160.04155602141107570.08311204282215140.958443978588924
170.1061566506722870.2123133013445730.893843349327713
180.09304347600219650.1860869520043930.906956523997803
190.06431473755403080.1286294751080620.93568526244597
200.04633139580360790.09266279160721580.953668604196392
210.05458601496946120.1091720299389220.945413985030539
220.1098435847412810.2196871694825620.890156415258719
230.07756350108697670.1551270021739530.922436498913023
240.07305968745237040.1461193749047410.92694031254763
250.09628951416071170.1925790283214230.903710485839288
260.07915473759545680.1583094751909140.920845262404543
270.0835022982891480.1670045965782960.916497701710852
280.06120005027879680.1224001005575940.938799949721203
290.3718486440804930.7436972881609860.628151355919507
300.3243484262797340.6486968525594670.675651573720266
310.3100813990319430.6201627980638860.689918600968057
320.2710178542899990.5420357085799990.728982145710001
330.2847046530028000.5694093060056010.7152953469972
340.3345705810028410.6691411620056820.665429418997159
350.3540308468124460.7080616936248910.645969153187554
360.383810563664860.767621127329720.61618943633514
370.399850268019720.799700536039440.60014973198028
380.3320392079185570.6640784158371130.667960792081443
390.3445615510506760.6891231021013520.655438448949324
400.2961821802151010.5923643604302020.7038178197849
410.2760132000071920.5520264000143840.723986799992808
420.2583890778536780.5167781557073560.741610922146322
430.2112225979677450.4224451959354910.788777402032255
440.4310583872225830.8621167744451670.568941612777417
450.3798187885599270.7596375771198540.620181211440073
460.3202227354558760.6404454709117530.679777264544124
470.2478311258713290.4956622517426580.752168874128671
480.2476265500726550.4952531001453110.752373449927345
490.2000291305063230.4000582610126460.799970869493677
500.1546131259958730.3092262519917470.845386874004127
510.2658678383117860.5317356766235720.734132161688214
520.4030563021652840.8061126043305670.596943697834716
530.3734551984338780.7469103968677560.626544801566122
540.4653249169915680.9306498339831360.534675083008432
550.3813829679944740.7627659359889480.618617032005526

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.451158655941605 & 0.90231731188321 & 0.548841344058395 \tabularnewline
6 & 0.321904923128455 & 0.64380984625691 & 0.678095076871545 \tabularnewline
7 & 0.246571427382399 & 0.493142854764798 & 0.753428572617601 \tabularnewline
8 & 0.146255789829684 & 0.292511579659368 & 0.853744210170316 \tabularnewline
9 & 0.0932291090972962 & 0.186458218194592 & 0.906770890902704 \tabularnewline
10 & 0.0640324358489574 & 0.128064871697915 & 0.935967564151043 \tabularnewline
11 & 0.180486721999649 & 0.360973443999298 & 0.81951327800035 \tabularnewline
12 & 0.146707221913183 & 0.293414443826366 & 0.853292778086817 \tabularnewline
13 & 0.100209213043219 & 0.200418426086438 & 0.899790786956781 \tabularnewline
14 & 0.0755448679170392 & 0.151089735834078 & 0.92445513208296 \tabularnewline
15 & 0.0650545041365753 & 0.130109008273151 & 0.934945495863425 \tabularnewline
16 & 0.0415560214110757 & 0.0831120428221514 & 0.958443978588924 \tabularnewline
17 & 0.106156650672287 & 0.212313301344573 & 0.893843349327713 \tabularnewline
18 & 0.0930434760021965 & 0.186086952004393 & 0.906956523997803 \tabularnewline
19 & 0.0643147375540308 & 0.128629475108062 & 0.93568526244597 \tabularnewline
20 & 0.0463313958036079 & 0.0926627916072158 & 0.953668604196392 \tabularnewline
21 & 0.0545860149694612 & 0.109172029938922 & 0.945413985030539 \tabularnewline
22 & 0.109843584741281 & 0.219687169482562 & 0.890156415258719 \tabularnewline
23 & 0.0775635010869767 & 0.155127002173953 & 0.922436498913023 \tabularnewline
24 & 0.0730596874523704 & 0.146119374904741 & 0.92694031254763 \tabularnewline
25 & 0.0962895141607117 & 0.192579028321423 & 0.903710485839288 \tabularnewline
26 & 0.0791547375954568 & 0.158309475190914 & 0.920845262404543 \tabularnewline
27 & 0.083502298289148 & 0.167004596578296 & 0.916497701710852 \tabularnewline
28 & 0.0612000502787968 & 0.122400100557594 & 0.938799949721203 \tabularnewline
29 & 0.371848644080493 & 0.743697288160986 & 0.628151355919507 \tabularnewline
30 & 0.324348426279734 & 0.648696852559467 & 0.675651573720266 \tabularnewline
31 & 0.310081399031943 & 0.620162798063886 & 0.689918600968057 \tabularnewline
32 & 0.271017854289999 & 0.542035708579999 & 0.728982145710001 \tabularnewline
33 & 0.284704653002800 & 0.569409306005601 & 0.7152953469972 \tabularnewline
34 & 0.334570581002841 & 0.669141162005682 & 0.665429418997159 \tabularnewline
35 & 0.354030846812446 & 0.708061693624891 & 0.645969153187554 \tabularnewline
36 & 0.38381056366486 & 0.76762112732972 & 0.61618943633514 \tabularnewline
37 & 0.39985026801972 & 0.79970053603944 & 0.60014973198028 \tabularnewline
38 & 0.332039207918557 & 0.664078415837113 & 0.667960792081443 \tabularnewline
39 & 0.344561551050676 & 0.689123102101352 & 0.655438448949324 \tabularnewline
40 & 0.296182180215101 & 0.592364360430202 & 0.7038178197849 \tabularnewline
41 & 0.276013200007192 & 0.552026400014384 & 0.723986799992808 \tabularnewline
42 & 0.258389077853678 & 0.516778155707356 & 0.741610922146322 \tabularnewline
43 & 0.211222597967745 & 0.422445195935491 & 0.788777402032255 \tabularnewline
44 & 0.431058387222583 & 0.862116774445167 & 0.568941612777417 \tabularnewline
45 & 0.379818788559927 & 0.759637577119854 & 0.620181211440073 \tabularnewline
46 & 0.320222735455876 & 0.640445470911753 & 0.679777264544124 \tabularnewline
47 & 0.247831125871329 & 0.495662251742658 & 0.752168874128671 \tabularnewline
48 & 0.247626550072655 & 0.495253100145311 & 0.752373449927345 \tabularnewline
49 & 0.200029130506323 & 0.400058261012646 & 0.799970869493677 \tabularnewline
50 & 0.154613125995873 & 0.309226251991747 & 0.845386874004127 \tabularnewline
51 & 0.265867838311786 & 0.531735676623572 & 0.734132161688214 \tabularnewline
52 & 0.403056302165284 & 0.806112604330567 & 0.596943697834716 \tabularnewline
53 & 0.373455198433878 & 0.746910396867756 & 0.626544801566122 \tabularnewline
54 & 0.465324916991568 & 0.930649833983136 & 0.534675083008432 \tabularnewline
55 & 0.381382967994474 & 0.762765935988948 & 0.618617032005526 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57472&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.451158655941605[/C][C]0.90231731188321[/C][C]0.548841344058395[/C][/ROW]
[ROW][C]6[/C][C]0.321904923128455[/C][C]0.64380984625691[/C][C]0.678095076871545[/C][/ROW]
[ROW][C]7[/C][C]0.246571427382399[/C][C]0.493142854764798[/C][C]0.753428572617601[/C][/ROW]
[ROW][C]8[/C][C]0.146255789829684[/C][C]0.292511579659368[/C][C]0.853744210170316[/C][/ROW]
[ROW][C]9[/C][C]0.0932291090972962[/C][C]0.186458218194592[/C][C]0.906770890902704[/C][/ROW]
[ROW][C]10[/C][C]0.0640324358489574[/C][C]0.128064871697915[/C][C]0.935967564151043[/C][/ROW]
[ROW][C]11[/C][C]0.180486721999649[/C][C]0.360973443999298[/C][C]0.81951327800035[/C][/ROW]
[ROW][C]12[/C][C]0.146707221913183[/C][C]0.293414443826366[/C][C]0.853292778086817[/C][/ROW]
[ROW][C]13[/C][C]0.100209213043219[/C][C]0.200418426086438[/C][C]0.899790786956781[/C][/ROW]
[ROW][C]14[/C][C]0.0755448679170392[/C][C]0.151089735834078[/C][C]0.92445513208296[/C][/ROW]
[ROW][C]15[/C][C]0.0650545041365753[/C][C]0.130109008273151[/C][C]0.934945495863425[/C][/ROW]
[ROW][C]16[/C][C]0.0415560214110757[/C][C]0.0831120428221514[/C][C]0.958443978588924[/C][/ROW]
[ROW][C]17[/C][C]0.106156650672287[/C][C]0.212313301344573[/C][C]0.893843349327713[/C][/ROW]
[ROW][C]18[/C][C]0.0930434760021965[/C][C]0.186086952004393[/C][C]0.906956523997803[/C][/ROW]
[ROW][C]19[/C][C]0.0643147375540308[/C][C]0.128629475108062[/C][C]0.93568526244597[/C][/ROW]
[ROW][C]20[/C][C]0.0463313958036079[/C][C]0.0926627916072158[/C][C]0.953668604196392[/C][/ROW]
[ROW][C]21[/C][C]0.0545860149694612[/C][C]0.109172029938922[/C][C]0.945413985030539[/C][/ROW]
[ROW][C]22[/C][C]0.109843584741281[/C][C]0.219687169482562[/C][C]0.890156415258719[/C][/ROW]
[ROW][C]23[/C][C]0.0775635010869767[/C][C]0.155127002173953[/C][C]0.922436498913023[/C][/ROW]
[ROW][C]24[/C][C]0.0730596874523704[/C][C]0.146119374904741[/C][C]0.92694031254763[/C][/ROW]
[ROW][C]25[/C][C]0.0962895141607117[/C][C]0.192579028321423[/C][C]0.903710485839288[/C][/ROW]
[ROW][C]26[/C][C]0.0791547375954568[/C][C]0.158309475190914[/C][C]0.920845262404543[/C][/ROW]
[ROW][C]27[/C][C]0.083502298289148[/C][C]0.167004596578296[/C][C]0.916497701710852[/C][/ROW]
[ROW][C]28[/C][C]0.0612000502787968[/C][C]0.122400100557594[/C][C]0.938799949721203[/C][/ROW]
[ROW][C]29[/C][C]0.371848644080493[/C][C]0.743697288160986[/C][C]0.628151355919507[/C][/ROW]
[ROW][C]30[/C][C]0.324348426279734[/C][C]0.648696852559467[/C][C]0.675651573720266[/C][/ROW]
[ROW][C]31[/C][C]0.310081399031943[/C][C]0.620162798063886[/C][C]0.689918600968057[/C][/ROW]
[ROW][C]32[/C][C]0.271017854289999[/C][C]0.542035708579999[/C][C]0.728982145710001[/C][/ROW]
[ROW][C]33[/C][C]0.284704653002800[/C][C]0.569409306005601[/C][C]0.7152953469972[/C][/ROW]
[ROW][C]34[/C][C]0.334570581002841[/C][C]0.669141162005682[/C][C]0.665429418997159[/C][/ROW]
[ROW][C]35[/C][C]0.354030846812446[/C][C]0.708061693624891[/C][C]0.645969153187554[/C][/ROW]
[ROW][C]36[/C][C]0.38381056366486[/C][C]0.76762112732972[/C][C]0.61618943633514[/C][/ROW]
[ROW][C]37[/C][C]0.39985026801972[/C][C]0.79970053603944[/C][C]0.60014973198028[/C][/ROW]
[ROW][C]38[/C][C]0.332039207918557[/C][C]0.664078415837113[/C][C]0.667960792081443[/C][/ROW]
[ROW][C]39[/C][C]0.344561551050676[/C][C]0.689123102101352[/C][C]0.655438448949324[/C][/ROW]
[ROW][C]40[/C][C]0.296182180215101[/C][C]0.592364360430202[/C][C]0.7038178197849[/C][/ROW]
[ROW][C]41[/C][C]0.276013200007192[/C][C]0.552026400014384[/C][C]0.723986799992808[/C][/ROW]
[ROW][C]42[/C][C]0.258389077853678[/C][C]0.516778155707356[/C][C]0.741610922146322[/C][/ROW]
[ROW][C]43[/C][C]0.211222597967745[/C][C]0.422445195935491[/C][C]0.788777402032255[/C][/ROW]
[ROW][C]44[/C][C]0.431058387222583[/C][C]0.862116774445167[/C][C]0.568941612777417[/C][/ROW]
[ROW][C]45[/C][C]0.379818788559927[/C][C]0.759637577119854[/C][C]0.620181211440073[/C][/ROW]
[ROW][C]46[/C][C]0.320222735455876[/C][C]0.640445470911753[/C][C]0.679777264544124[/C][/ROW]
[ROW][C]47[/C][C]0.247831125871329[/C][C]0.495662251742658[/C][C]0.752168874128671[/C][/ROW]
[ROW][C]48[/C][C]0.247626550072655[/C][C]0.495253100145311[/C][C]0.752373449927345[/C][/ROW]
[ROW][C]49[/C][C]0.200029130506323[/C][C]0.400058261012646[/C][C]0.799970869493677[/C][/ROW]
[ROW][C]50[/C][C]0.154613125995873[/C][C]0.309226251991747[/C][C]0.845386874004127[/C][/ROW]
[ROW][C]51[/C][C]0.265867838311786[/C][C]0.531735676623572[/C][C]0.734132161688214[/C][/ROW]
[ROW][C]52[/C][C]0.403056302165284[/C][C]0.806112604330567[/C][C]0.596943697834716[/C][/ROW]
[ROW][C]53[/C][C]0.373455198433878[/C][C]0.746910396867756[/C][C]0.626544801566122[/C][/ROW]
[ROW][C]54[/C][C]0.465324916991568[/C][C]0.930649833983136[/C][C]0.534675083008432[/C][/ROW]
[ROW][C]55[/C][C]0.381382967994474[/C][C]0.762765935988948[/C][C]0.618617032005526[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57472&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57472&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.4511586559416050.902317311883210.548841344058395
60.3219049231284550.643809846256910.678095076871545
70.2465714273823990.4931428547647980.753428572617601
80.1462557898296840.2925115796593680.853744210170316
90.09322910909729620.1864582181945920.906770890902704
100.06403243584895740.1280648716979150.935967564151043
110.1804867219996490.3609734439992980.81951327800035
120.1467072219131830.2934144438263660.853292778086817
130.1002092130432190.2004184260864380.899790786956781
140.07554486791703920.1510897358340780.92445513208296
150.06505450413657530.1301090082731510.934945495863425
160.04155602141107570.08311204282215140.958443978588924
170.1061566506722870.2123133013445730.893843349327713
180.09304347600219650.1860869520043930.906956523997803
190.06431473755403080.1286294751080620.93568526244597
200.04633139580360790.09266279160721580.953668604196392
210.05458601496946120.1091720299389220.945413985030539
220.1098435847412810.2196871694825620.890156415258719
230.07756350108697670.1551270021739530.922436498913023
240.07305968745237040.1461193749047410.92694031254763
250.09628951416071170.1925790283214230.903710485839288
260.07915473759545680.1583094751909140.920845262404543
270.0835022982891480.1670045965782960.916497701710852
280.06120005027879680.1224001005575940.938799949721203
290.3718486440804930.7436972881609860.628151355919507
300.3243484262797340.6486968525594670.675651573720266
310.3100813990319430.6201627980638860.689918600968057
320.2710178542899990.5420357085799990.728982145710001
330.2847046530028000.5694093060056010.7152953469972
340.3345705810028410.6691411620056820.665429418997159
350.3540308468124460.7080616936248910.645969153187554
360.383810563664860.767621127329720.61618943633514
370.399850268019720.799700536039440.60014973198028
380.3320392079185570.6640784158371130.667960792081443
390.3445615510506760.6891231021013520.655438448949324
400.2961821802151010.5923643604302020.7038178197849
410.2760132000071920.5520264000143840.723986799992808
420.2583890778536780.5167781557073560.741610922146322
430.2112225979677450.4224451959354910.788777402032255
440.4310583872225830.8621167744451670.568941612777417
450.3798187885599270.7596375771198540.620181211440073
460.3202227354558760.6404454709117530.679777264544124
470.2478311258713290.4956622517426580.752168874128671
480.2476265500726550.4952531001453110.752373449927345
490.2000291305063230.4000582610126460.799970869493677
500.1546131259958730.3092262519917470.845386874004127
510.2658678383117860.5317356766235720.734132161688214
520.4030563021652840.8061126043305670.596943697834716
530.3734551984338780.7469103968677560.626544801566122
540.4653249169915680.9306498339831360.534675083008432
550.3813829679944740.7627659359889480.618617032005526







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=57472&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=57472&T=6

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