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 07:58:47 -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/t1258556378418rdhsm190kydm.htm/, Retrieved Sun, 05 May 2024 08:45:24 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57466, Retrieved Sun, 05 May 2024 08:45:24 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact187
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]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:14:11] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [SHW - WS7] [2009-11-18 14:58:47] [b7e46d23597387652ca7420fdeb9acca] [Current]
Feedback Forum

Post a new message
Dataseries X:
8	2.26	7.8	7.8	8.3	8.5	8.6
8.6	2.41	8	7.8	7.8	8.3	8.5
8.9	2.26	8.6	8	7.8	7.8	8.3
8.9	2.03	8.9	8.6	8	7.8	7.8
8.6	2.86	8.9	8.9	8.6	8	7.8
8.3	2.55	8.6	8.9	8.9	8.6	8
8.3	2.27	8.3	8.6	8.9	8.9	8.6
8.3	2.26	8.3	8.3	8.6	8.9	8.9
8.4	2.57	8.3	8.3	8.3	8.6	8.9
8.5	3.07	8.4	8.3	8.3	8.3	8.6
8.4	2.76	8.5	8.4	8.3	8.3	8.3
8.6	2.51	8.4	8.5	8.4	8.3	8.3
8.5	2.87	8.6	8.4	8.5	8.4	8.3
8.5	3.14	8.5	8.6	8.4	8.5	8.4
8.5	3.11	8.5	8.5	8.6	8.4	8.5
8.5	3.16	8.5	8.5	8.5	8.6	8.4
8.5	2.47	8.5	8.5	8.5	8.5	8.6
8.5	2.57	8.5	8.5	8.5	8.5	8.5
8.5	2.89	8.5	8.5	8.5	8.5	8.5
8.5	2.63	8.5	8.5	8.5	8.5	8.5
8.5	2.38	8.5	8.5	8.5	8.5	8.5
8.5	1.69	8.5	8.5	8.5	8.5	8.5
8.5	1.96	8.5	8.5	8.5	8.5	8.5
8.6	2.19	8.5	8.5	8.5	8.5	8.5
8.4	1.87	8.6	8.5	8.5	8.5	8.5
8.1	1.6	8.4	8.6	8.5	8.5	8.5
8	1.63	8.1	8.4	8.6	8.5	8.5
8	1.22	8	8.1	8.4	8.6	8.5
8	1.21	8	8	8.1	8.4	8.6
8	1.49	8	8	8	8.1	8.4
7.9	1.64	8	8	8	8	8.1
7.8	1.66	7.9	8	8	8	8
7.8	1.77	7.8	7.9	8	8	8
7.9	1.82	7.8	7.8	7.9	8	8
8.1	1.78	7.9	7.8	7.8	7.9	8
8	1.28	8.1	7.9	7.8	7.8	7.9
7.6	1.29	8	8.1	7.9	7.8	7.8
7.3	1.37	7.6	8	8.1	7.9	7.8
7	1.12	7.3	7.6	8	8.1	7.9
6.8	1.51	7	7.3	7.6	8	8.1
7	2.24	6.8	7	7.3	7.6	8
7.1	2.94	7	6.8	7	7.3	7.6
7.2	3.09	7.1	7	6.8	7	7.3
7.1	3.46	7.2	7.1	7	6.8	7
6.9	3.64	7.1	7.2	7.1	7	6.8
6.7	4.39	6.9	7.1	7.2	7.1	7
6.7	4.15	6.7	6.9	7.1	7.2	7.1
6.6	5.21	6.7	6.7	6.9	7.1	7.2
6.9	5.8	6.6	6.7	6.7	6.9	7.1
7.3	5.91	6.9	6.6	6.7	6.7	6.9
7.5	5.39	7.3	6.9	6.6	6.7	6.7
7.3	5.46	7.5	7.3	6.9	6.6	6.7
7.1	4.72	7.3	7.5	7.3	6.9	6.6
6.9	3.14	7.1	7.3	7.5	7.3	6.9
7.1	2.63	6.9	7.1	7.3	7.5	7.3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 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 & 5 seconds \tabularnewline
R Server & 'Gwilym Jenkins' @ 72.249.127.135 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&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]5 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=57466&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135







Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.503509380194537 + 0.0414818132820681X[t] + 1.33626413393048Y1[t] -0.492087963870134Y2[t] -0.305971990782305Y3[t] + 0.315642153418853Y4[t] + 0.0855267462042557Y5[t] -0.0999994484620697M1[t] + 0.0366515842356858M2[t] -0.0228980548083576M3[t] -0.0962768815913776M4[t] -0.000526169999079095M5[t] -0.0440976932868833M6[t] + 0.0416662738636087M7[t] -0.0730109866690508M8[t] -0.0333481723841644M9[t] -0.00834119278490148M10[t] + 0.00126336559598207M11[t] -0.00461047464397417t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Y[t] =  +  0.503509380194537 +  0.0414818132820681X[t] +  1.33626413393048Y1[t] -0.492087963870134Y2[t] -0.305971990782305Y3[t] +  0.315642153418853Y4[t] +  0.0855267462042557Y5[t] -0.0999994484620697M1[t] +  0.0366515842356858M2[t] -0.0228980548083576M3[t] -0.0962768815913776M4[t] -0.000526169999079095M5[t] -0.0440976932868833M6[t] +  0.0416662738636087M7[t] -0.0730109866690508M8[t] -0.0333481723841644M9[t] -0.00834119278490148M10[t] +  0.00126336559598207M11[t] -0.00461047464397417t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Y[t] =  +  0.503509380194537 +  0.0414818132820681X[t] +  1.33626413393048Y1[t] -0.492087963870134Y2[t] -0.305971990782305Y3[t] +  0.315642153418853Y4[t] +  0.0855267462042557Y5[t] -0.0999994484620697M1[t] +  0.0366515842356858M2[t] -0.0228980548083576M3[t] -0.0962768815913776M4[t] -0.000526169999079095M5[t] -0.0440976932868833M6[t] +  0.0416662738636087M7[t] -0.0730109866690508M8[t] -0.0333481723841644M9[t] -0.00834119278490148M10[t] +  0.00126336559598207M11[t] -0.00461047464397417t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57466&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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] = + 0.503509380194537 + 0.0414818132820681X[t] + 1.33626413393048Y1[t] -0.492087963870134Y2[t] -0.305971990782305Y3[t] + 0.315642153418853Y4[t] + 0.0855267462042557Y5[t] -0.0999994484620697M1[t] + 0.0366515842356858M2[t] -0.0228980548083576M3[t] -0.0962768815913776M4[t] -0.000526169999079095M5[t] -0.0440976932868833M6[t] + 0.0416662738636087M7[t] -0.0730109866690508M8[t] -0.0333481723841644M9[t] -0.00834119278490148M10[t] + 0.00126336559598207M11[t] -0.00461047464397417t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.5035093801945370.7579020.66430.5107020.255351
X0.04148181328206810.023341.77730.0839730.041986
Y11.336264133930480.167497.978200
Y2-0.4920879638701340.269045-1.8290.075690.037845
Y3-0.3059719907823050.263844-1.15970.2538170.126909
Y40.3156421534188530.249961.26280.214790.107395
Y50.08552674620425570.1486740.57530.5686920.284346
M1-0.09999944846206970.092342-1.08290.2860410.143021
M20.03665158423568580.093620.39150.697740.34887
M3-0.02289805480835760.093056-0.24610.8070280.403514
M4-0.09627688159137760.093396-1.03080.3094910.154746
M5-0.0005261699990790950.093827-0.00560.9955570.497778
M6-0.04409769328688330.093047-0.47390.6384130.319207
M70.04166627386360870.0927340.44930.6559020.327951
M8-0.07301098666905080.096713-0.75490.4552070.227604
M9-0.03334817238416440.097323-0.34270.7338520.366926
M10-0.008341192784901480.096862-0.08610.9318530.465926
M110.001263365595982070.0966480.01310.9896430.494821
t-0.004610474643974170.002676-1.72320.0934340.046717

\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) & 0.503509380194537 & 0.757902 & 0.6643 & 0.510702 & 0.255351 \tabularnewline
X & 0.0414818132820681 & 0.02334 & 1.7773 & 0.083973 & 0.041986 \tabularnewline
Y1 & 1.33626413393048 & 0.16749 & 7.9782 & 0 & 0 \tabularnewline
Y2 & -0.492087963870134 & 0.269045 & -1.829 & 0.07569 & 0.037845 \tabularnewline
Y3 & -0.305971990782305 & 0.263844 & -1.1597 & 0.253817 & 0.126909 \tabularnewline
Y4 & 0.315642153418853 & 0.24996 & 1.2628 & 0.21479 & 0.107395 \tabularnewline
Y5 & 0.0855267462042557 & 0.148674 & 0.5753 & 0.568692 & 0.284346 \tabularnewline
M1 & -0.0999994484620697 & 0.092342 & -1.0829 & 0.286041 & 0.143021 \tabularnewline
M2 & 0.0366515842356858 & 0.09362 & 0.3915 & 0.69774 & 0.34887 \tabularnewline
M3 & -0.0228980548083576 & 0.093056 & -0.2461 & 0.807028 & 0.403514 \tabularnewline
M4 & -0.0962768815913776 & 0.093396 & -1.0308 & 0.309491 & 0.154746 \tabularnewline
M5 & -0.000526169999079095 & 0.093827 & -0.0056 & 0.995557 & 0.497778 \tabularnewline
M6 & -0.0440976932868833 & 0.093047 & -0.4739 & 0.638413 & 0.319207 \tabularnewline
M7 & 0.0416662738636087 & 0.092734 & 0.4493 & 0.655902 & 0.327951 \tabularnewline
M8 & -0.0730109866690508 & 0.096713 & -0.7549 & 0.455207 & 0.227604 \tabularnewline
M9 & -0.0333481723841644 & 0.097323 & -0.3427 & 0.733852 & 0.366926 \tabularnewline
M10 & -0.00834119278490148 & 0.096862 & -0.0861 & 0.931853 & 0.465926 \tabularnewline
M11 & 0.00126336559598207 & 0.096648 & 0.0131 & 0.989643 & 0.494821 \tabularnewline
t & -0.00461047464397417 & 0.002676 & -1.7232 & 0.093434 & 0.046717 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&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]0.503509380194537[/C][C]0.757902[/C][C]0.6643[/C][C]0.510702[/C][C]0.255351[/C][/ROW]
[ROW][C]X[/C][C]0.0414818132820681[/C][C]0.02334[/C][C]1.7773[/C][C]0.083973[/C][C]0.041986[/C][/ROW]
[ROW][C]Y1[/C][C]1.33626413393048[/C][C]0.16749[/C][C]7.9782[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y2[/C][C]-0.492087963870134[/C][C]0.269045[/C][C]-1.829[/C][C]0.07569[/C][C]0.037845[/C][/ROW]
[ROW][C]Y3[/C][C]-0.305971990782305[/C][C]0.263844[/C][C]-1.1597[/C][C]0.253817[/C][C]0.126909[/C][/ROW]
[ROW][C]Y4[/C][C]0.315642153418853[/C][C]0.24996[/C][C]1.2628[/C][C]0.21479[/C][C]0.107395[/C][/ROW]
[ROW][C]Y5[/C][C]0.0855267462042557[/C][C]0.148674[/C][C]0.5753[/C][C]0.568692[/C][C]0.284346[/C][/ROW]
[ROW][C]M1[/C][C]-0.0999994484620697[/C][C]0.092342[/C][C]-1.0829[/C][C]0.286041[/C][C]0.143021[/C][/ROW]
[ROW][C]M2[/C][C]0.0366515842356858[/C][C]0.09362[/C][C]0.3915[/C][C]0.69774[/C][C]0.34887[/C][/ROW]
[ROW][C]M3[/C][C]-0.0228980548083576[/C][C]0.093056[/C][C]-0.2461[/C][C]0.807028[/C][C]0.403514[/C][/ROW]
[ROW][C]M4[/C][C]-0.0962768815913776[/C][C]0.093396[/C][C]-1.0308[/C][C]0.309491[/C][C]0.154746[/C][/ROW]
[ROW][C]M5[/C][C]-0.000526169999079095[/C][C]0.093827[/C][C]-0.0056[/C][C]0.995557[/C][C]0.497778[/C][/ROW]
[ROW][C]M6[/C][C]-0.0440976932868833[/C][C]0.093047[/C][C]-0.4739[/C][C]0.638413[/C][C]0.319207[/C][/ROW]
[ROW][C]M7[/C][C]0.0416662738636087[/C][C]0.092734[/C][C]0.4493[/C][C]0.655902[/C][C]0.327951[/C][/ROW]
[ROW][C]M8[/C][C]-0.0730109866690508[/C][C]0.096713[/C][C]-0.7549[/C][C]0.455207[/C][C]0.227604[/C][/ROW]
[ROW][C]M9[/C][C]-0.0333481723841644[/C][C]0.097323[/C][C]-0.3427[/C][C]0.733852[/C][C]0.366926[/C][/ROW]
[ROW][C]M10[/C][C]-0.00834119278490148[/C][C]0.096862[/C][C]-0.0861[/C][C]0.931853[/C][C]0.465926[/C][/ROW]
[ROW][C]M11[/C][C]0.00126336559598207[/C][C]0.096648[/C][C]0.0131[/C][C]0.989643[/C][C]0.494821[/C][/ROW]
[ROW][C]t[/C][C]-0.00461047464397417[/C][C]0.002676[/C][C]-1.7232[/C][C]0.093434[/C][C]0.046717[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57466&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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)0.5035093801945370.7579020.66430.5107020.255351
X0.04148181328206810.023341.77730.0839730.041986
Y11.336264133930480.167497.978200
Y2-0.4920879638701340.269045-1.8290.075690.037845
Y3-0.3059719907823050.263844-1.15970.2538170.126909
Y40.3156421534188530.249961.26280.214790.107395
Y50.08552674620425570.1486740.57530.5686920.284346
M1-0.09999944846206970.092342-1.08290.2860410.143021
M20.03665158423568580.093620.39150.697740.34887
M3-0.02289805480835760.093056-0.24610.8070280.403514
M4-0.09627688159137760.093396-1.03080.3094910.154746
M5-0.0005261699990790950.093827-0.00560.9955570.497778
M6-0.04409769328688330.093047-0.47390.6384130.319207
M70.04166627386360870.0927340.44930.6559020.327951
M8-0.07301098666905080.096713-0.75490.4552070.227604
M9-0.03334817238416440.097323-0.34270.7338520.366926
M10-0.008341192784901480.096862-0.08610.9318530.465926
M110.001263365595982070.0966480.01310.9896430.494821
t-0.004610474643974170.002676-1.72320.0934340.046717







Multiple Linear Regression - Regression Statistics
Multiple R0.986273403292289
R-squared0.972735226041754
Adjusted R-squared0.959102839062631
F-TEST (value)71.3547251505868
F-TEST (DF numerator)18
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.136065730897524
Sum Squared Residuals0.666499792488392

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.986273403292289 \tabularnewline
R-squared & 0.972735226041754 \tabularnewline
Adjusted R-squared & 0.959102839062631 \tabularnewline
F-TEST (value) & 71.3547251505868 \tabularnewline
F-TEST (DF numerator) & 18 \tabularnewline
F-TEST (DF denominator) & 36 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.136065730897524 \tabularnewline
Sum Squared Residuals & 0.666499792488392 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.986273403292289[/C][/ROW]
[ROW][C]R-squared[/C][C]0.972735226041754[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.959102839062631[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]71.3547251505868[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]18[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]36[/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]0.136065730897524[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]0.666499792488392[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57466&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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.986273403292289
R-squared0.972735226041754
Adjusted R-squared0.959102839062631
F-TEST (value)71.3547251505868
F-TEST (DF numerator)18
F-TEST (DF denominator)36
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.136065730897524
Sum Squared Residuals0.666499792488392







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
187.956143279500360.0438567204996425
28.68.44296382641950.157036173580505
38.98.90099590237315-0.000995902373146965
48.98.815134474489750.0848655255102492
58.68.67262346351554-0.0726234635155403
68.38.32540190734465-0.0254019073446474
78.38.28769633486230.0123036651377047
88.38.43306979180985-0.133069791809849
98.48.47808044477724-0.0780804447772375
108.58.53249359987968-0.032493599879675
118.48.5833879146439-0.183387914643900
128.68.353711212225140.246288787774863
138.58.5814633813374-0.0814633813373996
148.58.5633741118508-0.0633741118508071
158.58.462972401273420.0370275987265798
168.58.47223014565210.027769854347895
178.58.52028906533477-0.0202890653347681
188.58.467702574110770.0322974258892291
198.58.56213024686755-0.0621302468675505
208.58.432057240237580.067942759762421
218.58.456739126557970.0432608734420258
228.58.448513180348640.0514868196513640
238.58.46470735367170.0352926463282963
248.68.468374330486620.131625669513376
258.48.48411664052336-0.084116640523364
268.18.28849548581788-0.188495485817880
2787.892520980044980.107479019955023
2887.904282724438670.0957172755613254
2988.08143278081254-0.0814327808125382
3087.963664894411460.0363351055885383
317.97.99381841970713-0.0938184197071276
327.87.733181232782660.0668187672173368
337.87.688378954878570.111621045121432
347.97.79065554596320.109344454036796
358.17.926649754298220.173350245701775
3688.077962147854-0.0779621478540032
377.67.70257316301505-0.102573163015051
387.37.32300522613164-0.0230052261316447
3977.14670890887445-0.146708908874448
406.86.93957459382125-0.139574593821246
4176.898352178087150.101647821912850
427.17.20776612174027-0.107766121740274
437.27.27119443512765-0.0711944351276502
447.17.10169173516991-0.00169173516990879
456.96.97680147378622-0.0768014737862203
466.76.82833767380849-0.128337673808485
476.76.72525497738617-0.0252549773861713
486.66.89995230943424-0.299952309434236
496.96.675703535623830.224296464376172
507.37.182161349780170.117838650219827
517.57.496801807434010.00319819256599207
527.37.36877806159822-0.0687780615982234
537.17.027302512250.0726974877499958
546.96.835464502392850.0645354976071543
557.16.885160563435380.214839436564624

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8 & 7.95614327950036 & 0.0438567204996425 \tabularnewline
2 & 8.6 & 8.4429638264195 & 0.157036173580505 \tabularnewline
3 & 8.9 & 8.90099590237315 & -0.000995902373146965 \tabularnewline
4 & 8.9 & 8.81513447448975 & 0.0848655255102492 \tabularnewline
5 & 8.6 & 8.67262346351554 & -0.0726234635155403 \tabularnewline
6 & 8.3 & 8.32540190734465 & -0.0254019073446474 \tabularnewline
7 & 8.3 & 8.2876963348623 & 0.0123036651377047 \tabularnewline
8 & 8.3 & 8.43306979180985 & -0.133069791809849 \tabularnewline
9 & 8.4 & 8.47808044477724 & -0.0780804447772375 \tabularnewline
10 & 8.5 & 8.53249359987968 & -0.032493599879675 \tabularnewline
11 & 8.4 & 8.5833879146439 & -0.183387914643900 \tabularnewline
12 & 8.6 & 8.35371121222514 & 0.246288787774863 \tabularnewline
13 & 8.5 & 8.5814633813374 & -0.0814633813373996 \tabularnewline
14 & 8.5 & 8.5633741118508 & -0.0633741118508071 \tabularnewline
15 & 8.5 & 8.46297240127342 & 0.0370275987265798 \tabularnewline
16 & 8.5 & 8.4722301456521 & 0.027769854347895 \tabularnewline
17 & 8.5 & 8.52028906533477 & -0.0202890653347681 \tabularnewline
18 & 8.5 & 8.46770257411077 & 0.0322974258892291 \tabularnewline
19 & 8.5 & 8.56213024686755 & -0.0621302468675505 \tabularnewline
20 & 8.5 & 8.43205724023758 & 0.067942759762421 \tabularnewline
21 & 8.5 & 8.45673912655797 & 0.0432608734420258 \tabularnewline
22 & 8.5 & 8.44851318034864 & 0.0514868196513640 \tabularnewline
23 & 8.5 & 8.4647073536717 & 0.0352926463282963 \tabularnewline
24 & 8.6 & 8.46837433048662 & 0.131625669513376 \tabularnewline
25 & 8.4 & 8.48411664052336 & -0.084116640523364 \tabularnewline
26 & 8.1 & 8.28849548581788 & -0.188495485817880 \tabularnewline
27 & 8 & 7.89252098004498 & 0.107479019955023 \tabularnewline
28 & 8 & 7.90428272443867 & 0.0957172755613254 \tabularnewline
29 & 8 & 8.08143278081254 & -0.0814327808125382 \tabularnewline
30 & 8 & 7.96366489441146 & 0.0363351055885383 \tabularnewline
31 & 7.9 & 7.99381841970713 & -0.0938184197071276 \tabularnewline
32 & 7.8 & 7.73318123278266 & 0.0668187672173368 \tabularnewline
33 & 7.8 & 7.68837895487857 & 0.111621045121432 \tabularnewline
34 & 7.9 & 7.7906555459632 & 0.109344454036796 \tabularnewline
35 & 8.1 & 7.92664975429822 & 0.173350245701775 \tabularnewline
36 & 8 & 8.077962147854 & -0.0779621478540032 \tabularnewline
37 & 7.6 & 7.70257316301505 & -0.102573163015051 \tabularnewline
38 & 7.3 & 7.32300522613164 & -0.0230052261316447 \tabularnewline
39 & 7 & 7.14670890887445 & -0.146708908874448 \tabularnewline
40 & 6.8 & 6.93957459382125 & -0.139574593821246 \tabularnewline
41 & 7 & 6.89835217808715 & 0.101647821912850 \tabularnewline
42 & 7.1 & 7.20776612174027 & -0.107766121740274 \tabularnewline
43 & 7.2 & 7.27119443512765 & -0.0711944351276502 \tabularnewline
44 & 7.1 & 7.10169173516991 & -0.00169173516990879 \tabularnewline
45 & 6.9 & 6.97680147378622 & -0.0768014737862203 \tabularnewline
46 & 6.7 & 6.82833767380849 & -0.128337673808485 \tabularnewline
47 & 6.7 & 6.72525497738617 & -0.0252549773861713 \tabularnewline
48 & 6.6 & 6.89995230943424 & -0.299952309434236 \tabularnewline
49 & 6.9 & 6.67570353562383 & 0.224296464376172 \tabularnewline
50 & 7.3 & 7.18216134978017 & 0.117838650219827 \tabularnewline
51 & 7.5 & 7.49680180743401 & 0.00319819256599207 \tabularnewline
52 & 7.3 & 7.36877806159822 & -0.0687780615982234 \tabularnewline
53 & 7.1 & 7.02730251225 & 0.0726974877499958 \tabularnewline
54 & 6.9 & 6.83546450239285 & 0.0645354976071543 \tabularnewline
55 & 7.1 & 6.88516056343538 & 0.214839436564624 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&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]8[/C][C]7.95614327950036[/C][C]0.0438567204996425[/C][/ROW]
[ROW][C]2[/C][C]8.6[/C][C]8.4429638264195[/C][C]0.157036173580505[/C][/ROW]
[ROW][C]3[/C][C]8.9[/C][C]8.90099590237315[/C][C]-0.000995902373146965[/C][/ROW]
[ROW][C]4[/C][C]8.9[/C][C]8.81513447448975[/C][C]0.0848655255102492[/C][/ROW]
[ROW][C]5[/C][C]8.6[/C][C]8.67262346351554[/C][C]-0.0726234635155403[/C][/ROW]
[ROW][C]6[/C][C]8.3[/C][C]8.32540190734465[/C][C]-0.0254019073446474[/C][/ROW]
[ROW][C]7[/C][C]8.3[/C][C]8.2876963348623[/C][C]0.0123036651377047[/C][/ROW]
[ROW][C]8[/C][C]8.3[/C][C]8.43306979180985[/C][C]-0.133069791809849[/C][/ROW]
[ROW][C]9[/C][C]8.4[/C][C]8.47808044477724[/C][C]-0.0780804447772375[/C][/ROW]
[ROW][C]10[/C][C]8.5[/C][C]8.53249359987968[/C][C]-0.032493599879675[/C][/ROW]
[ROW][C]11[/C][C]8.4[/C][C]8.5833879146439[/C][C]-0.183387914643900[/C][/ROW]
[ROW][C]12[/C][C]8.6[/C][C]8.35371121222514[/C][C]0.246288787774863[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.5814633813374[/C][C]-0.0814633813373996[/C][/ROW]
[ROW][C]14[/C][C]8.5[/C][C]8.5633741118508[/C][C]-0.0633741118508071[/C][/ROW]
[ROW][C]15[/C][C]8.5[/C][C]8.46297240127342[/C][C]0.0370275987265798[/C][/ROW]
[ROW][C]16[/C][C]8.5[/C][C]8.4722301456521[/C][C]0.027769854347895[/C][/ROW]
[ROW][C]17[/C][C]8.5[/C][C]8.52028906533477[/C][C]-0.0202890653347681[/C][/ROW]
[ROW][C]18[/C][C]8.5[/C][C]8.46770257411077[/C][C]0.0322974258892291[/C][/ROW]
[ROW][C]19[/C][C]8.5[/C][C]8.56213024686755[/C][C]-0.0621302468675505[/C][/ROW]
[ROW][C]20[/C][C]8.5[/C][C]8.43205724023758[/C][C]0.067942759762421[/C][/ROW]
[ROW][C]21[/C][C]8.5[/C][C]8.45673912655797[/C][C]0.0432608734420258[/C][/ROW]
[ROW][C]22[/C][C]8.5[/C][C]8.44851318034864[/C][C]0.0514868196513640[/C][/ROW]
[ROW][C]23[/C][C]8.5[/C][C]8.4647073536717[/C][C]0.0352926463282963[/C][/ROW]
[ROW][C]24[/C][C]8.6[/C][C]8.46837433048662[/C][C]0.131625669513376[/C][/ROW]
[ROW][C]25[/C][C]8.4[/C][C]8.48411664052336[/C][C]-0.084116640523364[/C][/ROW]
[ROW][C]26[/C][C]8.1[/C][C]8.28849548581788[/C][C]-0.188495485817880[/C][/ROW]
[ROW][C]27[/C][C]8[/C][C]7.89252098004498[/C][C]0.107479019955023[/C][/ROW]
[ROW][C]28[/C][C]8[/C][C]7.90428272443867[/C][C]0.0957172755613254[/C][/ROW]
[ROW][C]29[/C][C]8[/C][C]8.08143278081254[/C][C]-0.0814327808125382[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.96366489441146[/C][C]0.0363351055885383[/C][/ROW]
[ROW][C]31[/C][C]7.9[/C][C]7.99381841970713[/C][C]-0.0938184197071276[/C][/ROW]
[ROW][C]32[/C][C]7.8[/C][C]7.73318123278266[/C][C]0.0668187672173368[/C][/ROW]
[ROW][C]33[/C][C]7.8[/C][C]7.68837895487857[/C][C]0.111621045121432[/C][/ROW]
[ROW][C]34[/C][C]7.9[/C][C]7.7906555459632[/C][C]0.109344454036796[/C][/ROW]
[ROW][C]35[/C][C]8.1[/C][C]7.92664975429822[/C][C]0.173350245701775[/C][/ROW]
[ROW][C]36[/C][C]8[/C][C]8.077962147854[/C][C]-0.0779621478540032[/C][/ROW]
[ROW][C]37[/C][C]7.6[/C][C]7.70257316301505[/C][C]-0.102573163015051[/C][/ROW]
[ROW][C]38[/C][C]7.3[/C][C]7.32300522613164[/C][C]-0.0230052261316447[/C][/ROW]
[ROW][C]39[/C][C]7[/C][C]7.14670890887445[/C][C]-0.146708908874448[/C][/ROW]
[ROW][C]40[/C][C]6.8[/C][C]6.93957459382125[/C][C]-0.139574593821246[/C][/ROW]
[ROW][C]41[/C][C]7[/C][C]6.89835217808715[/C][C]0.101647821912850[/C][/ROW]
[ROW][C]42[/C][C]7.1[/C][C]7.20776612174027[/C][C]-0.107766121740274[/C][/ROW]
[ROW][C]43[/C][C]7.2[/C][C]7.27119443512765[/C][C]-0.0711944351276502[/C][/ROW]
[ROW][C]44[/C][C]7.1[/C][C]7.10169173516991[/C][C]-0.00169173516990879[/C][/ROW]
[ROW][C]45[/C][C]6.9[/C][C]6.97680147378622[/C][C]-0.0768014737862203[/C][/ROW]
[ROW][C]46[/C][C]6.7[/C][C]6.82833767380849[/C][C]-0.128337673808485[/C][/ROW]
[ROW][C]47[/C][C]6.7[/C][C]6.72525497738617[/C][C]-0.0252549773861713[/C][/ROW]
[ROW][C]48[/C][C]6.6[/C][C]6.89995230943424[/C][C]-0.299952309434236[/C][/ROW]
[ROW][C]49[/C][C]6.9[/C][C]6.67570353562383[/C][C]0.224296464376172[/C][/ROW]
[ROW][C]50[/C][C]7.3[/C][C]7.18216134978017[/C][C]0.117838650219827[/C][/ROW]
[ROW][C]51[/C][C]7.5[/C][C]7.49680180743401[/C][C]0.00319819256599207[/C][/ROW]
[ROW][C]52[/C][C]7.3[/C][C]7.36877806159822[/C][C]-0.0687780615982234[/C][/ROW]
[ROW][C]53[/C][C]7.1[/C][C]7.02730251225[/C][C]0.0726974877499958[/C][/ROW]
[ROW][C]54[/C][C]6.9[/C][C]6.83546450239285[/C][C]0.0645354976071543[/C][/ROW]
[ROW][C]55[/C][C]7.1[/C][C]6.88516056343538[/C][C]0.214839436564624[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57466&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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
187.956143279500360.0438567204996425
28.68.44296382641950.157036173580505
38.98.90099590237315-0.000995902373146965
48.98.815134474489750.0848655255102492
58.68.67262346351554-0.0726234635155403
68.38.32540190734465-0.0254019073446474
78.38.28769633486230.0123036651377047
88.38.43306979180985-0.133069791809849
98.48.47808044477724-0.0780804447772375
108.58.53249359987968-0.032493599879675
118.48.5833879146439-0.183387914643900
128.68.353711212225140.246288787774863
138.58.5814633813374-0.0814633813373996
148.58.5633741118508-0.0633741118508071
158.58.462972401273420.0370275987265798
168.58.47223014565210.027769854347895
178.58.52028906533477-0.0202890653347681
188.58.467702574110770.0322974258892291
198.58.56213024686755-0.0621302468675505
208.58.432057240237580.067942759762421
218.58.456739126557970.0432608734420258
228.58.448513180348640.0514868196513640
238.58.46470735367170.0352926463282963
248.68.468374330486620.131625669513376
258.48.48411664052336-0.084116640523364
268.18.28849548581788-0.188495485817880
2787.892520980044980.107479019955023
2887.904282724438670.0957172755613254
2988.08143278081254-0.0814327808125382
3087.963664894411460.0363351055885383
317.97.99381841970713-0.0938184197071276
327.87.733181232782660.0668187672173368
337.87.688378954878570.111621045121432
347.97.79065554596320.109344454036796
358.17.926649754298220.173350245701775
3688.077962147854-0.0779621478540032
377.67.70257316301505-0.102573163015051
387.37.32300522613164-0.0230052261316447
3977.14670890887445-0.146708908874448
406.86.93957459382125-0.139574593821246
4176.898352178087150.101647821912850
427.17.20776612174027-0.107766121740274
437.27.27119443512765-0.0711944351276502
447.17.10169173516991-0.00169173516990879
456.96.97680147378622-0.0768014737862203
466.76.82833767380849-0.128337673808485
476.76.72525497738617-0.0252549773861713
486.66.89995230943424-0.299952309434236
496.96.675703535623830.224296464376172
507.37.182161349780170.117838650219827
517.57.496801807434010.00319819256599207
527.37.36877806159822-0.0687780615982234
537.17.027302512250.0726974877499958
546.96.835464502392850.0645354976071543
557.16.885160563435380.214839436564624







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.1366835159580100.2733670319160190.86331648404199
230.0730666074964750.146133214992950.926933392503525
240.0938726518301490.1877453036602980.906127348169851
250.06406045548882040.1281209109776410.93593954451118
260.2701641543887440.5403283087774880.729835845611256
270.2202512591458180.4405025182916370.779748740854182
280.3628317421855250.7256634843710490.637168257814476
290.5300405320090860.939918935981830.469959467990914
300.389154176859450.77830835371890.61084582314055
310.3112532423739270.6225064847478540.688746757626073
320.1965564701876950.393112940375390.803443529812305
330.106883086050220.213766172100440.89311691394978

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
22 & 0.136683515958010 & 0.273367031916019 & 0.86331648404199 \tabularnewline
23 & 0.073066607496475 & 0.14613321499295 & 0.926933392503525 \tabularnewline
24 & 0.093872651830149 & 0.187745303660298 & 0.906127348169851 \tabularnewline
25 & 0.0640604554888204 & 0.128120910977641 & 0.93593954451118 \tabularnewline
26 & 0.270164154388744 & 0.540328308777488 & 0.729835845611256 \tabularnewline
27 & 0.220251259145818 & 0.440502518291637 & 0.779748740854182 \tabularnewline
28 & 0.362831742185525 & 0.725663484371049 & 0.637168257814476 \tabularnewline
29 & 0.530040532009086 & 0.93991893598183 & 0.469959467990914 \tabularnewline
30 & 0.38915417685945 & 0.7783083537189 & 0.61084582314055 \tabularnewline
31 & 0.311253242373927 & 0.622506484747854 & 0.688746757626073 \tabularnewline
32 & 0.196556470187695 & 0.39311294037539 & 0.803443529812305 \tabularnewline
33 & 0.10688308605022 & 0.21376617210044 & 0.89311691394978 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57466&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]22[/C][C]0.136683515958010[/C][C]0.273367031916019[/C][C]0.86331648404199[/C][/ROW]
[ROW][C]23[/C][C]0.073066607496475[/C][C]0.14613321499295[/C][C]0.926933392503525[/C][/ROW]
[ROW][C]24[/C][C]0.093872651830149[/C][C]0.187745303660298[/C][C]0.906127348169851[/C][/ROW]
[ROW][C]25[/C][C]0.0640604554888204[/C][C]0.128120910977641[/C][C]0.93593954451118[/C][/ROW]
[ROW][C]26[/C][C]0.270164154388744[/C][C]0.540328308777488[/C][C]0.729835845611256[/C][/ROW]
[ROW][C]27[/C][C]0.220251259145818[/C][C]0.440502518291637[/C][C]0.779748740854182[/C][/ROW]
[ROW][C]28[/C][C]0.362831742185525[/C][C]0.725663484371049[/C][C]0.637168257814476[/C][/ROW]
[ROW][C]29[/C][C]0.530040532009086[/C][C]0.93991893598183[/C][C]0.469959467990914[/C][/ROW]
[ROW][C]30[/C][C]0.38915417685945[/C][C]0.7783083537189[/C][C]0.61084582314055[/C][/ROW]
[ROW][C]31[/C][C]0.311253242373927[/C][C]0.622506484747854[/C][C]0.688746757626073[/C][/ROW]
[ROW][C]32[/C][C]0.196556470187695[/C][C]0.39311294037539[/C][C]0.803443529812305[/C][/ROW]
[ROW][C]33[/C][C]0.10688308605022[/C][C]0.21376617210044[/C][C]0.89311691394978[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57466&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57466&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
220.1366835159580100.2733670319160190.86331648404199
230.0730666074964750.146133214992950.926933392503525
240.0938726518301490.1877453036602980.906127348169851
250.06406045548882040.1281209109776410.93593954451118
260.2701641543887440.5403283087774880.729835845611256
270.2202512591458180.4405025182916370.779748740854182
280.3628317421855250.7256634843710490.637168257814476
290.5300405320090860.939918935981830.469959467990914
300.389154176859450.77830835371890.61084582314055
310.3112532423739270.6225064847478540.688746757626073
320.1965564701876950.393112940375390.803443529812305
330.106883086050220.213766172100440.89311691394978







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 level00OK

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

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



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