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 computationThu, 17 Dec 2009 09:21:45 -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/Dec/17/t1261066979txy2mlq3slgmqrh.htm/, Retrieved Tue, 30 Apr 2024 06:39:19 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=68974, Retrieved Tue, 30 Apr 2024 06:39:19 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact107
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] [Multiple lineair ...] [2009-11-19 17:03:37] [e3c32faf833f030d3b397185b633f75f]
-    D        [Multiple Regression] [Multiple regression] [2009-12-17 16:21:45] [4996e0131d5120d29a6e9a8dccb25dc3] [Current]
Feedback Forum

Post a new message
Dataseries X:
611	19
594	18
595	19
591	19
589	22
584	23
573	20
567	14
569	14
621	14
629	15
628	11
612	17
595	16
597	20
593	24
590	23
580	20
574	21
573	19
573	23
620	23
626	23
620	23
588	27
566	26
557	17
561	24
549	26
532	24
526	27
511	27
499	26
555	24
565	23
542	23
527	24
510	17
514	21
517	19
508	22
493	22
490	18
469	16
478	14
528	12
534	14
518	16
506	8
502	3
516	0
528	5
533	1
536	1
537	3
524	6
536	7
587	8
597	14
581	14




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
WHL[t] = + 537.42712288551 + 1.13414112306967ICONS[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
WHL[t] =  +  537.42712288551 +  1.13414112306967ICONS[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]WHL[t] =  +  537.42712288551 +  1.13414112306967ICONS[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68974&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
WHL[t] = + 537.42712288551 + 1.13414112306967ICONS[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)537.4271228855113.96078738.495500
ICONS1.134141123069670.7450131.52230.1333650.066682

\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) & 537.42712288551 & 13.960787 & 38.4955 & 0 & 0 \tabularnewline
ICONS & 1.13414112306967 & 0.745013 & 1.5223 & 0.133365 & 0.066682 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&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]537.42712288551[/C][C]13.960787[/C][C]38.4955[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]ICONS[/C][C]1.13414112306967[/C][C]0.745013[/C][C]1.5223[/C][C]0.133365[/C][C]0.066682[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.196011750165139
R-squared0.0384206062028008
Adjusted R-squared0.0218416511373318
F-TEST (value)2.31743231410429
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.133364918003988
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41.3262635143747
Sum Squared Residuals99055.883251453

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.196011750165139 \tabularnewline
R-squared & 0.0384206062028008 \tabularnewline
Adjusted R-squared & 0.0218416511373318 \tabularnewline
F-TEST (value) & 2.31743231410429 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.133364918003988 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 41.3262635143747 \tabularnewline
Sum Squared Residuals & 99055.883251453 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.196011750165139[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0384206062028008[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0218416511373318[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]2.31743231410429[/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.133364918003988[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]41.3262635143747[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]99055.883251453[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68974&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.196011750165139
R-squared0.0384206062028008
Adjusted R-squared0.0218416511373318
F-TEST (value)2.31743231410429
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.133364918003988
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation41.3262635143747
Sum Squared Residuals99055.883251453







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1611558.97580422383452.0241957761664
2594557.84166310076436.1583368992357
3595558.97580422383436.0241957761660
4591558.97580422383432.0241957761660
5589562.37822759304326.621772406957
6584563.51236871611320.4876312838873
7573560.10994534690412.8900546530964
8567553.30509860848613.6949013915144
9569553.30509860848615.6949013915144
10621553.30509860848667.6949013915144
11629554.43923973155574.5607602684447
12628549.90267523927778.0973247607234
13612556.70752197769555.2924780223054
14595555.57338085462539.4266191453751
15597560.10994534690436.8900546530964
16593564.64650983918228.3534901608177
17590563.51236871611326.4876312838874
18580560.10994534690419.8900546530964
19574561.24408646997312.7559135300267
20573558.97580422383414.0241957761660
21573563.5123687161139.48763128388735
22620563.51236871611356.4876312838874
23626563.51236871611362.4876312838874
24620563.51236871611356.4876312838874
25588568.04893320839119.9510667916087
26566566.914792085322-0.914792085321672
27557556.7075219776950.292478022305391
28561564.646509839182-3.64650983918232
29549566.914792085322-17.9147920853217
30532564.646509839182-32.6465098391823
31526568.048933208391-42.0489332083913
32511568.048933208391-57.0489332083913
33499566.914792085322-67.9147920853217
34555564.646509839182-9.64650983918232
35565563.5123687161131.48763128388735
36542563.512368716113-21.5123687161126
37527564.646509839182-37.6465098391823
38510556.707521977695-46.7075219776946
39514561.244086469973-47.2440864699733
40517558.975804223834-41.975804223834
41508562.378227593043-54.378227593043
42493562.378227593043-69.378227593043
43490557.841663100764-67.8416631007643
44469555.573380854625-86.573380854625
45478553.305098608486-75.3050986084856
46528551.036816362346-23.0368163623462
47534553.305098608486-19.3050986084856
48518555.573380854625-37.5733808546249
49506546.500251870068-40.5002518700675
50502540.829546254719-38.8295462547192
51516537.42712288551-21.4271228855102
52528543.097828500859-15.0978285008585
53533538.56126400858-5.56126400857983
54536538.56126400858-2.56126400857983
55537540.829546254719-3.82954625471918
56524544.231969623928-20.2319696239282
57536545.366110746998-9.36611074699787
58587546.50025187006840.4997481299325
59597553.30509860848643.6949013915144
60581553.30509860848627.6949013915144

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 611 & 558.975804223834 & 52.0241957761664 \tabularnewline
2 & 594 & 557.841663100764 & 36.1583368992357 \tabularnewline
3 & 595 & 558.975804223834 & 36.0241957761660 \tabularnewline
4 & 591 & 558.975804223834 & 32.0241957761660 \tabularnewline
5 & 589 & 562.378227593043 & 26.621772406957 \tabularnewline
6 & 584 & 563.512368716113 & 20.4876312838873 \tabularnewline
7 & 573 & 560.109945346904 & 12.8900546530964 \tabularnewline
8 & 567 & 553.305098608486 & 13.6949013915144 \tabularnewline
9 & 569 & 553.305098608486 & 15.6949013915144 \tabularnewline
10 & 621 & 553.305098608486 & 67.6949013915144 \tabularnewline
11 & 629 & 554.439239731555 & 74.5607602684447 \tabularnewline
12 & 628 & 549.902675239277 & 78.0973247607234 \tabularnewline
13 & 612 & 556.707521977695 & 55.2924780223054 \tabularnewline
14 & 595 & 555.573380854625 & 39.4266191453751 \tabularnewline
15 & 597 & 560.109945346904 & 36.8900546530964 \tabularnewline
16 & 593 & 564.646509839182 & 28.3534901608177 \tabularnewline
17 & 590 & 563.512368716113 & 26.4876312838874 \tabularnewline
18 & 580 & 560.109945346904 & 19.8900546530964 \tabularnewline
19 & 574 & 561.244086469973 & 12.7559135300267 \tabularnewline
20 & 573 & 558.975804223834 & 14.0241957761660 \tabularnewline
21 & 573 & 563.512368716113 & 9.48763128388735 \tabularnewline
22 & 620 & 563.512368716113 & 56.4876312838874 \tabularnewline
23 & 626 & 563.512368716113 & 62.4876312838874 \tabularnewline
24 & 620 & 563.512368716113 & 56.4876312838874 \tabularnewline
25 & 588 & 568.048933208391 & 19.9510667916087 \tabularnewline
26 & 566 & 566.914792085322 & -0.914792085321672 \tabularnewline
27 & 557 & 556.707521977695 & 0.292478022305391 \tabularnewline
28 & 561 & 564.646509839182 & -3.64650983918232 \tabularnewline
29 & 549 & 566.914792085322 & -17.9147920853217 \tabularnewline
30 & 532 & 564.646509839182 & -32.6465098391823 \tabularnewline
31 & 526 & 568.048933208391 & -42.0489332083913 \tabularnewline
32 & 511 & 568.048933208391 & -57.0489332083913 \tabularnewline
33 & 499 & 566.914792085322 & -67.9147920853217 \tabularnewline
34 & 555 & 564.646509839182 & -9.64650983918232 \tabularnewline
35 & 565 & 563.512368716113 & 1.48763128388735 \tabularnewline
36 & 542 & 563.512368716113 & -21.5123687161126 \tabularnewline
37 & 527 & 564.646509839182 & -37.6465098391823 \tabularnewline
38 & 510 & 556.707521977695 & -46.7075219776946 \tabularnewline
39 & 514 & 561.244086469973 & -47.2440864699733 \tabularnewline
40 & 517 & 558.975804223834 & -41.975804223834 \tabularnewline
41 & 508 & 562.378227593043 & -54.378227593043 \tabularnewline
42 & 493 & 562.378227593043 & -69.378227593043 \tabularnewline
43 & 490 & 557.841663100764 & -67.8416631007643 \tabularnewline
44 & 469 & 555.573380854625 & -86.573380854625 \tabularnewline
45 & 478 & 553.305098608486 & -75.3050986084856 \tabularnewline
46 & 528 & 551.036816362346 & -23.0368163623462 \tabularnewline
47 & 534 & 553.305098608486 & -19.3050986084856 \tabularnewline
48 & 518 & 555.573380854625 & -37.5733808546249 \tabularnewline
49 & 506 & 546.500251870068 & -40.5002518700675 \tabularnewline
50 & 502 & 540.829546254719 & -38.8295462547192 \tabularnewline
51 & 516 & 537.42712288551 & -21.4271228855102 \tabularnewline
52 & 528 & 543.097828500859 & -15.0978285008585 \tabularnewline
53 & 533 & 538.56126400858 & -5.56126400857983 \tabularnewline
54 & 536 & 538.56126400858 & -2.56126400857983 \tabularnewline
55 & 537 & 540.829546254719 & -3.82954625471918 \tabularnewline
56 & 524 & 544.231969623928 & -20.2319696239282 \tabularnewline
57 & 536 & 545.366110746998 & -9.36611074699787 \tabularnewline
58 & 587 & 546.500251870068 & 40.4997481299325 \tabularnewline
59 & 597 & 553.305098608486 & 43.6949013915144 \tabularnewline
60 & 581 & 553.305098608486 & 27.6949013915144 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&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]611[/C][C]558.975804223834[/C][C]52.0241957761664[/C][/ROW]
[ROW][C]2[/C][C]594[/C][C]557.841663100764[/C][C]36.1583368992357[/C][/ROW]
[ROW][C]3[/C][C]595[/C][C]558.975804223834[/C][C]36.0241957761660[/C][/ROW]
[ROW][C]4[/C][C]591[/C][C]558.975804223834[/C][C]32.0241957761660[/C][/ROW]
[ROW][C]5[/C][C]589[/C][C]562.378227593043[/C][C]26.621772406957[/C][/ROW]
[ROW][C]6[/C][C]584[/C][C]563.512368716113[/C][C]20.4876312838873[/C][/ROW]
[ROW][C]7[/C][C]573[/C][C]560.109945346904[/C][C]12.8900546530964[/C][/ROW]
[ROW][C]8[/C][C]567[/C][C]553.305098608486[/C][C]13.6949013915144[/C][/ROW]
[ROW][C]9[/C][C]569[/C][C]553.305098608486[/C][C]15.6949013915144[/C][/ROW]
[ROW][C]10[/C][C]621[/C][C]553.305098608486[/C][C]67.6949013915144[/C][/ROW]
[ROW][C]11[/C][C]629[/C][C]554.439239731555[/C][C]74.5607602684447[/C][/ROW]
[ROW][C]12[/C][C]628[/C][C]549.902675239277[/C][C]78.0973247607234[/C][/ROW]
[ROW][C]13[/C][C]612[/C][C]556.707521977695[/C][C]55.2924780223054[/C][/ROW]
[ROW][C]14[/C][C]595[/C][C]555.573380854625[/C][C]39.4266191453751[/C][/ROW]
[ROW][C]15[/C][C]597[/C][C]560.109945346904[/C][C]36.8900546530964[/C][/ROW]
[ROW][C]16[/C][C]593[/C][C]564.646509839182[/C][C]28.3534901608177[/C][/ROW]
[ROW][C]17[/C][C]590[/C][C]563.512368716113[/C][C]26.4876312838874[/C][/ROW]
[ROW][C]18[/C][C]580[/C][C]560.109945346904[/C][C]19.8900546530964[/C][/ROW]
[ROW][C]19[/C][C]574[/C][C]561.244086469973[/C][C]12.7559135300267[/C][/ROW]
[ROW][C]20[/C][C]573[/C][C]558.975804223834[/C][C]14.0241957761660[/C][/ROW]
[ROW][C]21[/C][C]573[/C][C]563.512368716113[/C][C]9.48763128388735[/C][/ROW]
[ROW][C]22[/C][C]620[/C][C]563.512368716113[/C][C]56.4876312838874[/C][/ROW]
[ROW][C]23[/C][C]626[/C][C]563.512368716113[/C][C]62.4876312838874[/C][/ROW]
[ROW][C]24[/C][C]620[/C][C]563.512368716113[/C][C]56.4876312838874[/C][/ROW]
[ROW][C]25[/C][C]588[/C][C]568.048933208391[/C][C]19.9510667916087[/C][/ROW]
[ROW][C]26[/C][C]566[/C][C]566.914792085322[/C][C]-0.914792085321672[/C][/ROW]
[ROW][C]27[/C][C]557[/C][C]556.707521977695[/C][C]0.292478022305391[/C][/ROW]
[ROW][C]28[/C][C]561[/C][C]564.646509839182[/C][C]-3.64650983918232[/C][/ROW]
[ROW][C]29[/C][C]549[/C][C]566.914792085322[/C][C]-17.9147920853217[/C][/ROW]
[ROW][C]30[/C][C]532[/C][C]564.646509839182[/C][C]-32.6465098391823[/C][/ROW]
[ROW][C]31[/C][C]526[/C][C]568.048933208391[/C][C]-42.0489332083913[/C][/ROW]
[ROW][C]32[/C][C]511[/C][C]568.048933208391[/C][C]-57.0489332083913[/C][/ROW]
[ROW][C]33[/C][C]499[/C][C]566.914792085322[/C][C]-67.9147920853217[/C][/ROW]
[ROW][C]34[/C][C]555[/C][C]564.646509839182[/C][C]-9.64650983918232[/C][/ROW]
[ROW][C]35[/C][C]565[/C][C]563.512368716113[/C][C]1.48763128388735[/C][/ROW]
[ROW][C]36[/C][C]542[/C][C]563.512368716113[/C][C]-21.5123687161126[/C][/ROW]
[ROW][C]37[/C][C]527[/C][C]564.646509839182[/C][C]-37.6465098391823[/C][/ROW]
[ROW][C]38[/C][C]510[/C][C]556.707521977695[/C][C]-46.7075219776946[/C][/ROW]
[ROW][C]39[/C][C]514[/C][C]561.244086469973[/C][C]-47.2440864699733[/C][/ROW]
[ROW][C]40[/C][C]517[/C][C]558.975804223834[/C][C]-41.975804223834[/C][/ROW]
[ROW][C]41[/C][C]508[/C][C]562.378227593043[/C][C]-54.378227593043[/C][/ROW]
[ROW][C]42[/C][C]493[/C][C]562.378227593043[/C][C]-69.378227593043[/C][/ROW]
[ROW][C]43[/C][C]490[/C][C]557.841663100764[/C][C]-67.8416631007643[/C][/ROW]
[ROW][C]44[/C][C]469[/C][C]555.573380854625[/C][C]-86.573380854625[/C][/ROW]
[ROW][C]45[/C][C]478[/C][C]553.305098608486[/C][C]-75.3050986084856[/C][/ROW]
[ROW][C]46[/C][C]528[/C][C]551.036816362346[/C][C]-23.0368163623462[/C][/ROW]
[ROW][C]47[/C][C]534[/C][C]553.305098608486[/C][C]-19.3050986084856[/C][/ROW]
[ROW][C]48[/C][C]518[/C][C]555.573380854625[/C][C]-37.5733808546249[/C][/ROW]
[ROW][C]49[/C][C]506[/C][C]546.500251870068[/C][C]-40.5002518700675[/C][/ROW]
[ROW][C]50[/C][C]502[/C][C]540.829546254719[/C][C]-38.8295462547192[/C][/ROW]
[ROW][C]51[/C][C]516[/C][C]537.42712288551[/C][C]-21.4271228855102[/C][/ROW]
[ROW][C]52[/C][C]528[/C][C]543.097828500859[/C][C]-15.0978285008585[/C][/ROW]
[ROW][C]53[/C][C]533[/C][C]538.56126400858[/C][C]-5.56126400857983[/C][/ROW]
[ROW][C]54[/C][C]536[/C][C]538.56126400858[/C][C]-2.56126400857983[/C][/ROW]
[ROW][C]55[/C][C]537[/C][C]540.829546254719[/C][C]-3.82954625471918[/C][/ROW]
[ROW][C]56[/C][C]524[/C][C]544.231969623928[/C][C]-20.2319696239282[/C][/ROW]
[ROW][C]57[/C][C]536[/C][C]545.366110746998[/C][C]-9.36611074699787[/C][/ROW]
[ROW][C]58[/C][C]587[/C][C]546.500251870068[/C][C]40.4997481299325[/C][/ROW]
[ROW][C]59[/C][C]597[/C][C]553.305098608486[/C][C]43.6949013915144[/C][/ROW]
[ROW][C]60[/C][C]581[/C][C]553.305098608486[/C][C]27.6949013915144[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68974&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
1611558.97580422383452.0241957761664
2594557.84166310076436.1583368992357
3595558.97580422383436.0241957761660
4591558.97580422383432.0241957761660
5589562.37822759304326.621772406957
6584563.51236871611320.4876312838873
7573560.10994534690412.8900546530964
8567553.30509860848613.6949013915144
9569553.30509860848615.6949013915144
10621553.30509860848667.6949013915144
11629554.43923973155574.5607602684447
12628549.90267523927778.0973247607234
13612556.70752197769555.2924780223054
14595555.57338085462539.4266191453751
15597560.10994534690436.8900546530964
16593564.64650983918228.3534901608177
17590563.51236871611326.4876312838874
18580560.10994534690419.8900546530964
19574561.24408646997312.7559135300267
20573558.97580422383414.0241957761660
21573563.5123687161139.48763128388735
22620563.51236871611356.4876312838874
23626563.51236871611362.4876312838874
24620563.51236871611356.4876312838874
25588568.04893320839119.9510667916087
26566566.914792085322-0.914792085321672
27557556.7075219776950.292478022305391
28561564.646509839182-3.64650983918232
29549566.914792085322-17.9147920853217
30532564.646509839182-32.6465098391823
31526568.048933208391-42.0489332083913
32511568.048933208391-57.0489332083913
33499566.914792085322-67.9147920853217
34555564.646509839182-9.64650983918232
35565563.5123687161131.48763128388735
36542563.512368716113-21.5123687161126
37527564.646509839182-37.6465098391823
38510556.707521977695-46.7075219776946
39514561.244086469973-47.2440864699733
40517558.975804223834-41.975804223834
41508562.378227593043-54.378227593043
42493562.378227593043-69.378227593043
43490557.841663100764-67.8416631007643
44469555.573380854625-86.573380854625
45478553.305098608486-75.3050986084856
46528551.036816362346-23.0368163623462
47534553.305098608486-19.3050986084856
48518555.573380854625-37.5733808546249
49506546.500251870068-40.5002518700675
50502540.829546254719-38.8295462547192
51516537.42712288551-21.4271228855102
52528543.097828500859-15.0978285008585
53533538.56126400858-5.56126400857983
54536538.56126400858-2.56126400857983
55537540.829546254719-3.82954625471918
56524544.231969623928-20.2319696239282
57536545.366110746998-9.36611074699787
58587546.50025187006840.4997481299325
59597553.30509860848643.6949013915144
60581553.30509860848627.6949013915144







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0154693577752530.0309387155505060.984530642224747
60.002999589916737530.005999179833475050.997000410083262
70.004043200649900400.008086401299800790.9959567993501
80.005338625995242030.01067725199048410.994661374004758
90.001950700807076410.003901401614152830.998049299192924
100.00954876691703560.01909753383407120.990451233082964
110.02094970040997590.04189940081995170.979050299590024
120.02241836227605780.04483672455211560.977581637723942
130.01706783208640250.0341356641728050.982932167913597
140.01022993229315780.02045986458631560.989770067706842
150.006095018767959780.01219003753591960.99390498123204
160.003564077287706650.007128154575413310.996435922712293
170.00193013160622240.00386026321244480.998069868393778
180.001192400730225510.002384801460451030.998807599269774
190.0007830684153014090.001566136830602820.999216931584699
200.0006125494524760030.001225098904952010.999387450547524
210.0003373990968803850.000674798193760770.99966260090312
220.001378181827866730.002756363655733470.998621818172133
230.007165342092871380.01433068418574280.992834657907129
240.02272414793378930.04544829586757870.97727585206621
250.02442168930573290.04884337861146580.975578310694267
260.02702840681069510.05405681362139020.972971593189305
270.04604249282812650.09208498565625310.953957507171873
280.05396027480212270.1079205496042450.946039725197877
290.06554079134766730.1310815826953350.934459208652333
300.1066603337622510.2133206675245020.893339666237749
310.1329506725868430.2659013451736870.867049327413157
320.1869663631769580.3739327263539160.813033636823042
330.2936969992566910.5873939985133810.70630300074331
340.2718260156983970.5436520313967940.728173984301603
350.2899113663957090.5798227327914180.710088633604291
360.2843122862958470.5686245725916940.715687713704153
370.2787209053398120.5574418106796240.721279094660188
380.4175341817005280.8350683634010560.582465818299472
390.4396489794324370.8792979588648730.560351020567563
400.4581658630232420.9163317260464850.541834136976758
410.4563817047031240.9127634094062480.543618295296876
420.5029350958055290.9941298083889430.497064904194471
430.6092654695023920.7814690609952160.390734530497608
440.8560420302049970.2879159395900060.143957969795003
450.9667254077337950.06654918453241020.0332745922662051
460.9560033022267740.08799339554645250.0439966977732262
470.9413161145053840.1173677709892320.0586838854946159
480.9815162870597660.0369674258804680.018483712940234
490.9947987426028880.01040251479422330.00520125739711163
500.9959900576615060.008019884676987140.00400994233849357
510.9894608503064510.02107829938709750.0105391496935487
520.9806737956027820.03865240879443570.0193262043972178
530.9533770673960820.09324586520783570.0466229326039179
540.9084260245979580.1831479508040830.0915739754020417
550.8157794425487820.3684411149024360.184220557451218

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.015469357775253 & 0.030938715550506 & 0.984530642224747 \tabularnewline
6 & 0.00299958991673753 & 0.00599917983347505 & 0.997000410083262 \tabularnewline
7 & 0.00404320064990040 & 0.00808640129980079 & 0.9959567993501 \tabularnewline
8 & 0.00533862599524203 & 0.0106772519904841 & 0.994661374004758 \tabularnewline
9 & 0.00195070080707641 & 0.00390140161415283 & 0.998049299192924 \tabularnewline
10 & 0.0095487669170356 & 0.0190975338340712 & 0.990451233082964 \tabularnewline
11 & 0.0209497004099759 & 0.0418994008199517 & 0.979050299590024 \tabularnewline
12 & 0.0224183622760578 & 0.0448367245521156 & 0.977581637723942 \tabularnewline
13 & 0.0170678320864025 & 0.034135664172805 & 0.982932167913597 \tabularnewline
14 & 0.0102299322931578 & 0.0204598645863156 & 0.989770067706842 \tabularnewline
15 & 0.00609501876795978 & 0.0121900375359196 & 0.99390498123204 \tabularnewline
16 & 0.00356407728770665 & 0.00712815457541331 & 0.996435922712293 \tabularnewline
17 & 0.0019301316062224 & 0.0038602632124448 & 0.998069868393778 \tabularnewline
18 & 0.00119240073022551 & 0.00238480146045103 & 0.998807599269774 \tabularnewline
19 & 0.000783068415301409 & 0.00156613683060282 & 0.999216931584699 \tabularnewline
20 & 0.000612549452476003 & 0.00122509890495201 & 0.999387450547524 \tabularnewline
21 & 0.000337399096880385 & 0.00067479819376077 & 0.99966260090312 \tabularnewline
22 & 0.00137818182786673 & 0.00275636365573347 & 0.998621818172133 \tabularnewline
23 & 0.00716534209287138 & 0.0143306841857428 & 0.992834657907129 \tabularnewline
24 & 0.0227241479337893 & 0.0454482958675787 & 0.97727585206621 \tabularnewline
25 & 0.0244216893057329 & 0.0488433786114658 & 0.975578310694267 \tabularnewline
26 & 0.0270284068106951 & 0.0540568136213902 & 0.972971593189305 \tabularnewline
27 & 0.0460424928281265 & 0.0920849856562531 & 0.953957507171873 \tabularnewline
28 & 0.0539602748021227 & 0.107920549604245 & 0.946039725197877 \tabularnewline
29 & 0.0655407913476673 & 0.131081582695335 & 0.934459208652333 \tabularnewline
30 & 0.106660333762251 & 0.213320667524502 & 0.893339666237749 \tabularnewline
31 & 0.132950672586843 & 0.265901345173687 & 0.867049327413157 \tabularnewline
32 & 0.186966363176958 & 0.373932726353916 & 0.813033636823042 \tabularnewline
33 & 0.293696999256691 & 0.587393998513381 & 0.70630300074331 \tabularnewline
34 & 0.271826015698397 & 0.543652031396794 & 0.728173984301603 \tabularnewline
35 & 0.289911366395709 & 0.579822732791418 & 0.710088633604291 \tabularnewline
36 & 0.284312286295847 & 0.568624572591694 & 0.715687713704153 \tabularnewline
37 & 0.278720905339812 & 0.557441810679624 & 0.721279094660188 \tabularnewline
38 & 0.417534181700528 & 0.835068363401056 & 0.582465818299472 \tabularnewline
39 & 0.439648979432437 & 0.879297958864873 & 0.560351020567563 \tabularnewline
40 & 0.458165863023242 & 0.916331726046485 & 0.541834136976758 \tabularnewline
41 & 0.456381704703124 & 0.912763409406248 & 0.543618295296876 \tabularnewline
42 & 0.502935095805529 & 0.994129808388943 & 0.497064904194471 \tabularnewline
43 & 0.609265469502392 & 0.781469060995216 & 0.390734530497608 \tabularnewline
44 & 0.856042030204997 & 0.287915939590006 & 0.143957969795003 \tabularnewline
45 & 0.966725407733795 & 0.0665491845324102 & 0.0332745922662051 \tabularnewline
46 & 0.956003302226774 & 0.0879933955464525 & 0.0439966977732262 \tabularnewline
47 & 0.941316114505384 & 0.117367770989232 & 0.0586838854946159 \tabularnewline
48 & 0.981516287059766 & 0.036967425880468 & 0.018483712940234 \tabularnewline
49 & 0.994798742602888 & 0.0104025147942233 & 0.00520125739711163 \tabularnewline
50 & 0.995990057661506 & 0.00801988467698714 & 0.00400994233849357 \tabularnewline
51 & 0.989460850306451 & 0.0210782993870975 & 0.0105391496935487 \tabularnewline
52 & 0.980673795602782 & 0.0386524087944357 & 0.0193262043972178 \tabularnewline
53 & 0.953377067396082 & 0.0932458652078357 & 0.0466229326039179 \tabularnewline
54 & 0.908426024597958 & 0.183147950804083 & 0.0915739754020417 \tabularnewline
55 & 0.815779442548782 & 0.368441114902436 & 0.184220557451218 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&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.015469357775253[/C][C]0.030938715550506[/C][C]0.984530642224747[/C][/ROW]
[ROW][C]6[/C][C]0.00299958991673753[/C][C]0.00599917983347505[/C][C]0.997000410083262[/C][/ROW]
[ROW][C]7[/C][C]0.00404320064990040[/C][C]0.00808640129980079[/C][C]0.9959567993501[/C][/ROW]
[ROW][C]8[/C][C]0.00533862599524203[/C][C]0.0106772519904841[/C][C]0.994661374004758[/C][/ROW]
[ROW][C]9[/C][C]0.00195070080707641[/C][C]0.00390140161415283[/C][C]0.998049299192924[/C][/ROW]
[ROW][C]10[/C][C]0.0095487669170356[/C][C]0.0190975338340712[/C][C]0.990451233082964[/C][/ROW]
[ROW][C]11[/C][C]0.0209497004099759[/C][C]0.0418994008199517[/C][C]0.979050299590024[/C][/ROW]
[ROW][C]12[/C][C]0.0224183622760578[/C][C]0.0448367245521156[/C][C]0.977581637723942[/C][/ROW]
[ROW][C]13[/C][C]0.0170678320864025[/C][C]0.034135664172805[/C][C]0.982932167913597[/C][/ROW]
[ROW][C]14[/C][C]0.0102299322931578[/C][C]0.0204598645863156[/C][C]0.989770067706842[/C][/ROW]
[ROW][C]15[/C][C]0.00609501876795978[/C][C]0.0121900375359196[/C][C]0.99390498123204[/C][/ROW]
[ROW][C]16[/C][C]0.00356407728770665[/C][C]0.00712815457541331[/C][C]0.996435922712293[/C][/ROW]
[ROW][C]17[/C][C]0.0019301316062224[/C][C]0.0038602632124448[/C][C]0.998069868393778[/C][/ROW]
[ROW][C]18[/C][C]0.00119240073022551[/C][C]0.00238480146045103[/C][C]0.998807599269774[/C][/ROW]
[ROW][C]19[/C][C]0.000783068415301409[/C][C]0.00156613683060282[/C][C]0.999216931584699[/C][/ROW]
[ROW][C]20[/C][C]0.000612549452476003[/C][C]0.00122509890495201[/C][C]0.999387450547524[/C][/ROW]
[ROW][C]21[/C][C]0.000337399096880385[/C][C]0.00067479819376077[/C][C]0.99966260090312[/C][/ROW]
[ROW][C]22[/C][C]0.00137818182786673[/C][C]0.00275636365573347[/C][C]0.998621818172133[/C][/ROW]
[ROW][C]23[/C][C]0.00716534209287138[/C][C]0.0143306841857428[/C][C]0.992834657907129[/C][/ROW]
[ROW][C]24[/C][C]0.0227241479337893[/C][C]0.0454482958675787[/C][C]0.97727585206621[/C][/ROW]
[ROW][C]25[/C][C]0.0244216893057329[/C][C]0.0488433786114658[/C][C]0.975578310694267[/C][/ROW]
[ROW][C]26[/C][C]0.0270284068106951[/C][C]0.0540568136213902[/C][C]0.972971593189305[/C][/ROW]
[ROW][C]27[/C][C]0.0460424928281265[/C][C]0.0920849856562531[/C][C]0.953957507171873[/C][/ROW]
[ROW][C]28[/C][C]0.0539602748021227[/C][C]0.107920549604245[/C][C]0.946039725197877[/C][/ROW]
[ROW][C]29[/C][C]0.0655407913476673[/C][C]0.131081582695335[/C][C]0.934459208652333[/C][/ROW]
[ROW][C]30[/C][C]0.106660333762251[/C][C]0.213320667524502[/C][C]0.893339666237749[/C][/ROW]
[ROW][C]31[/C][C]0.132950672586843[/C][C]0.265901345173687[/C][C]0.867049327413157[/C][/ROW]
[ROW][C]32[/C][C]0.186966363176958[/C][C]0.373932726353916[/C][C]0.813033636823042[/C][/ROW]
[ROW][C]33[/C][C]0.293696999256691[/C][C]0.587393998513381[/C][C]0.70630300074331[/C][/ROW]
[ROW][C]34[/C][C]0.271826015698397[/C][C]0.543652031396794[/C][C]0.728173984301603[/C][/ROW]
[ROW][C]35[/C][C]0.289911366395709[/C][C]0.579822732791418[/C][C]0.710088633604291[/C][/ROW]
[ROW][C]36[/C][C]0.284312286295847[/C][C]0.568624572591694[/C][C]0.715687713704153[/C][/ROW]
[ROW][C]37[/C][C]0.278720905339812[/C][C]0.557441810679624[/C][C]0.721279094660188[/C][/ROW]
[ROW][C]38[/C][C]0.417534181700528[/C][C]0.835068363401056[/C][C]0.582465818299472[/C][/ROW]
[ROW][C]39[/C][C]0.439648979432437[/C][C]0.879297958864873[/C][C]0.560351020567563[/C][/ROW]
[ROW][C]40[/C][C]0.458165863023242[/C][C]0.916331726046485[/C][C]0.541834136976758[/C][/ROW]
[ROW][C]41[/C][C]0.456381704703124[/C][C]0.912763409406248[/C][C]0.543618295296876[/C][/ROW]
[ROW][C]42[/C][C]0.502935095805529[/C][C]0.994129808388943[/C][C]0.497064904194471[/C][/ROW]
[ROW][C]43[/C][C]0.609265469502392[/C][C]0.781469060995216[/C][C]0.390734530497608[/C][/ROW]
[ROW][C]44[/C][C]0.856042030204997[/C][C]0.287915939590006[/C][C]0.143957969795003[/C][/ROW]
[ROW][C]45[/C][C]0.966725407733795[/C][C]0.0665491845324102[/C][C]0.0332745922662051[/C][/ROW]
[ROW][C]46[/C][C]0.956003302226774[/C][C]0.0879933955464525[/C][C]0.0439966977732262[/C][/ROW]
[ROW][C]47[/C][C]0.941316114505384[/C][C]0.117367770989232[/C][C]0.0586838854946159[/C][/ROW]
[ROW][C]48[/C][C]0.981516287059766[/C][C]0.036967425880468[/C][C]0.018483712940234[/C][/ROW]
[ROW][C]49[/C][C]0.994798742602888[/C][C]0.0104025147942233[/C][C]0.00520125739711163[/C][/ROW]
[ROW][C]50[/C][C]0.995990057661506[/C][C]0.00801988467698714[/C][C]0.00400994233849357[/C][/ROW]
[ROW][C]51[/C][C]0.989460850306451[/C][C]0.0210782993870975[/C][C]0.0105391496935487[/C][/ROW]
[ROW][C]52[/C][C]0.980673795602782[/C][C]0.0386524087944357[/C][C]0.0193262043972178[/C][/ROW]
[ROW][C]53[/C][C]0.953377067396082[/C][C]0.0932458652078357[/C][C]0.0466229326039179[/C][/ROW]
[ROW][C]54[/C][C]0.908426024597958[/C][C]0.183147950804083[/C][C]0.0915739754020417[/C][/ROW]
[ROW][C]55[/C][C]0.815779442548782[/C][C]0.368441114902436[/C][C]0.184220557451218[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68974&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.0154693577752530.0309387155505060.984530642224747
60.002999589916737530.005999179833475050.997000410083262
70.004043200649900400.008086401299800790.9959567993501
80.005338625995242030.01067725199048410.994661374004758
90.001950700807076410.003901401614152830.998049299192924
100.00954876691703560.01909753383407120.990451233082964
110.02094970040997590.04189940081995170.979050299590024
120.02241836227605780.04483672455211560.977581637723942
130.01706783208640250.0341356641728050.982932167913597
140.01022993229315780.02045986458631560.989770067706842
150.006095018767959780.01219003753591960.99390498123204
160.003564077287706650.007128154575413310.996435922712293
170.00193013160622240.00386026321244480.998069868393778
180.001192400730225510.002384801460451030.998807599269774
190.0007830684153014090.001566136830602820.999216931584699
200.0006125494524760030.001225098904952010.999387450547524
210.0003373990968803850.000674798193760770.99966260090312
220.001378181827866730.002756363655733470.998621818172133
230.007165342092871380.01433068418574280.992834657907129
240.02272414793378930.04544829586757870.97727585206621
250.02442168930573290.04884337861146580.975578310694267
260.02702840681069510.05405681362139020.972971593189305
270.04604249282812650.09208498565625310.953957507171873
280.05396027480212270.1079205496042450.946039725197877
290.06554079134766730.1310815826953350.934459208652333
300.1066603337622510.2133206675245020.893339666237749
310.1329506725868430.2659013451736870.867049327413157
320.1869663631769580.3739327263539160.813033636823042
330.2936969992566910.5873939985133810.70630300074331
340.2718260156983970.5436520313967940.728173984301603
350.2899113663957090.5798227327914180.710088633604291
360.2843122862958470.5686245725916940.715687713704153
370.2787209053398120.5574418106796240.721279094660188
380.4175341817005280.8350683634010560.582465818299472
390.4396489794324370.8792979588648730.560351020567563
400.4581658630232420.9163317260464850.541834136976758
410.4563817047031240.9127634094062480.543618295296876
420.5029350958055290.9941298083889430.497064904194471
430.6092654695023920.7814690609952160.390734530497608
440.8560420302049970.2879159395900060.143957969795003
450.9667254077337950.06654918453241020.0332745922662051
460.9560033022267740.08799339554645250.0439966977732262
470.9413161145053840.1173677709892320.0586838854946159
480.9815162870597660.0369674258804680.018483712940234
490.9947987426028880.01040251479422330.00520125739711163
500.9959900576615060.008019884676987140.00400994233849357
510.9894608503064510.02107829938709750.0105391496935487
520.9806737956027820.03865240879443570.0193262043972178
530.9533770673960820.09324586520783570.0466229326039179
540.9084260245979580.1831479508040830.0915739754020417
550.8157794425487820.3684411149024360.184220557451218







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level110.215686274509804NOK
5% type I error level260.509803921568627NOK
10% type I error level310.607843137254902NOK

\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 & 11 & 0.215686274509804 & NOK \tabularnewline
5% type I error level & 26 & 0.509803921568627 & NOK \tabularnewline
10% type I error level & 31 & 0.607843137254902 & NOK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=68974&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]11[/C][C]0.215686274509804[/C][C]NOK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]26[/C][C]0.509803921568627[/C][C]NOK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]31[/C][C]0.607843137254902[/C][C]NOK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=68974&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=68974&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 level110.215686274509804NOK
5% type I error level260.509803921568627NOK
10% type I error level310.607843137254902NOK



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