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, 19 Nov 2009 13:09:01 -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/19/t1258661563dr5fzr6368uocdr.htm/, Retrieved Thu, 25 Apr 2024 15:35:09 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57930, Retrieved Thu, 25 Apr 2024 15:35:09 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact122
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:06:21] [b98453cac15ba1066b407e146608df68]
-    D      [Multiple Regression] [multi regression "t"] [2009-11-19 20:09:01] [244731fa3e7e6c85774b8c0902c58f85] [Current]
Feedback Forum

Post a new message
Dataseries X:
8,9	6,3
8,2	6,2
7,6	6,1
7,7	6,3
8,1	6,5
8,3	6,6
8,3	6,5
7,9	6,2
7,8	6,2
8	5,9
8,5	6,1
8,6	6,1
8,5	6,1
8	6,1
7,8	6,1
8	6,4
8,2	6,7
8,3	6,9
8,2	7
8,1	7
8	6,8
7,8	6,4
7,8	5,9
7,7	5,5
7,6	5,5
7,6	5,6
7,6	5,8
7,8	5,9
8	6,1
8	6,1
7,9	6
7,7	6
7,4	5,9
6,9	5,5
6,7	5,6
6,5	5,4
6,4	5,2
6,7	5,2
6,8	5,2
6,9	5,5
6,9	5,8
6,7	5,8
6,4	5,5
6,2	5,3
5,9	5,1
6,1	5,2
6,7	5,8
6,8	5,8
6,6	5,5
6,4	5
6,4	4,9
6,7	5,3
7,1	6,1
7,1	6,5
6,9	6,8
6,4	6,6
6	6,4
6	6,4




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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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
X[t] = + 5.84831039520222 + 0.448276619582171Y[t] + 0.0237866131382666M1[t] -0.117936154009505M2[t] -0.224486583115485M3[t] -0.12758893331283M4[t] -0.015518945468392M5[t] -0.0248281013158757M6[t] -0.122412998030213M7[t] -0.306204700394689M8[t] -0.449996402759166M9[t] -0.386891507948712M10[t] -0.0756910638313447M11[t] -0.0334495708940197t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
X[t] =  +  5.84831039520222 +  0.448276619582171Y[t] +  0.0237866131382666M1[t] -0.117936154009505M2[t] -0.224486583115485M3[t] -0.12758893331283M4[t] -0.015518945468392M5[t] -0.0248281013158757M6[t] -0.122412998030213M7[t] -0.306204700394689M8[t] -0.449996402759166M9[t] -0.386891507948712M10[t] -0.0756910638313447M11[t] -0.0334495708940197t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57930&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]X[t] =  +  5.84831039520222 +  0.448276619582171Y[t] +  0.0237866131382666M1[t] -0.117936154009505M2[t] -0.224486583115485M3[t] -0.12758893331283M4[t] -0.015518945468392M5[t] -0.0248281013158757M6[t] -0.122412998030213M7[t] -0.306204700394689M8[t] -0.449996402759166M9[t] -0.386891507948712M10[t] -0.0756910638313447M11[t] -0.0334495708940197t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57930&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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
X[t] = + 5.84831039520222 + 0.448276619582171Y[t] + 0.0237866131382666M1[t] -0.117936154009505M2[t] -0.224486583115485M3[t] -0.12758893331283M4[t] -0.015518945468392M5[t] -0.0248281013158757M6[t] -0.122412998030213M7[t] -0.306204700394689M8[t] -0.449996402759166M9[t] -0.386891507948712M10[t] -0.0756910638313447M11[t] -0.0334495708940197t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)5.848310395202220.7742917.553100
Y0.4482766195821710.1220453.6730.0006460.000323
M10.02378661313826660.2360360.10080.9201870.460093
M2-0.1179361540095050.236405-0.49890.6203530.310177
M3-0.2244865831154850.236168-0.95050.347030.173515
M4-0.127588933312830.236315-0.53990.5919810.29599
M5-0.0155189454683920.244118-0.06360.9495990.4748
M6-0.02482810131587570.249726-0.09940.9212550.460628
M7-0.1224129980302130.249527-0.49060.6261620.313081
M8-0.3062047003946890.244954-1.250.217890.108945
M9-0.4499964027591660.241298-1.86490.0688730.034437
M10-0.3868915079487120.237591-1.62840.1105820.055291
M11-0.07569106383134470.248838-0.30420.7624260.381213
t-0.03344957089401970.003317-10.085400

\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) & 5.84831039520222 & 0.774291 & 7.5531 & 0 & 0 \tabularnewline
Y & 0.448276619582171 & 0.122045 & 3.673 & 0.000646 & 0.000323 \tabularnewline
M1 & 0.0237866131382666 & 0.236036 & 0.1008 & 0.920187 & 0.460093 \tabularnewline
M2 & -0.117936154009505 & 0.236405 & -0.4989 & 0.620353 & 0.310177 \tabularnewline
M3 & -0.224486583115485 & 0.236168 & -0.9505 & 0.34703 & 0.173515 \tabularnewline
M4 & -0.12758893331283 & 0.236315 & -0.5399 & 0.591981 & 0.29599 \tabularnewline
M5 & -0.015518945468392 & 0.244118 & -0.0636 & 0.949599 & 0.4748 \tabularnewline
M6 & -0.0248281013158757 & 0.249726 & -0.0994 & 0.921255 & 0.460628 \tabularnewline
M7 & -0.122412998030213 & 0.249527 & -0.4906 & 0.626162 & 0.313081 \tabularnewline
M8 & -0.306204700394689 & 0.244954 & -1.25 & 0.21789 & 0.108945 \tabularnewline
M9 & -0.449996402759166 & 0.241298 & -1.8649 & 0.068873 & 0.034437 \tabularnewline
M10 & -0.386891507948712 & 0.237591 & -1.6284 & 0.110582 & 0.055291 \tabularnewline
M11 & -0.0756910638313447 & 0.248838 & -0.3042 & 0.762426 & 0.381213 \tabularnewline
t & -0.0334495708940197 & 0.003317 & -10.0854 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57930&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]5.84831039520222[/C][C]0.774291[/C][C]7.5531[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]Y[/C][C]0.448276619582171[/C][C]0.122045[/C][C]3.673[/C][C]0.000646[/C][C]0.000323[/C][/ROW]
[ROW][C]M1[/C][C]0.0237866131382666[/C][C]0.236036[/C][C]0.1008[/C][C]0.920187[/C][C]0.460093[/C][/ROW]
[ROW][C]M2[/C][C]-0.117936154009505[/C][C]0.236405[/C][C]-0.4989[/C][C]0.620353[/C][C]0.310177[/C][/ROW]
[ROW][C]M3[/C][C]-0.224486583115485[/C][C]0.236168[/C][C]-0.9505[/C][C]0.34703[/C][C]0.173515[/C][/ROW]
[ROW][C]M4[/C][C]-0.12758893331283[/C][C]0.236315[/C][C]-0.5399[/C][C]0.591981[/C][C]0.29599[/C][/ROW]
[ROW][C]M5[/C][C]-0.015518945468392[/C][C]0.244118[/C][C]-0.0636[/C][C]0.949599[/C][C]0.4748[/C][/ROW]
[ROW][C]M6[/C][C]-0.0248281013158757[/C][C]0.249726[/C][C]-0.0994[/C][C]0.921255[/C][C]0.460628[/C][/ROW]
[ROW][C]M7[/C][C]-0.122412998030213[/C][C]0.249527[/C][C]-0.4906[/C][C]0.626162[/C][C]0.313081[/C][/ROW]
[ROW][C]M8[/C][C]-0.306204700394689[/C][C]0.244954[/C][C]-1.25[/C][C]0.21789[/C][C]0.108945[/C][/ROW]
[ROW][C]M9[/C][C]-0.449996402759166[/C][C]0.241298[/C][C]-1.8649[/C][C]0.068873[/C][C]0.034437[/C][/ROW]
[ROW][C]M10[/C][C]-0.386891507948712[/C][C]0.237591[/C][C]-1.6284[/C][C]0.110582[/C][C]0.055291[/C][/ROW]
[ROW][C]M11[/C][C]-0.0756910638313447[/C][C]0.248838[/C][C]-0.3042[/C][C]0.762426[/C][C]0.381213[/C][/ROW]
[ROW][C]t[/C][C]-0.0334495708940197[/C][C]0.003317[/C][C]-10.0854[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57930&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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)5.848310395202220.7742917.553100
Y0.4482766195821710.1220453.6730.0006460.000323
M10.02378661313826660.2360360.10080.9201870.460093
M2-0.1179361540095050.236405-0.49890.6203530.310177
M3-0.2244865831154850.236168-0.95050.347030.173515
M4-0.127588933312830.236315-0.53990.5919810.29599
M5-0.0155189454683920.244118-0.06360.9495990.4748
M6-0.02482810131587570.249726-0.09940.9212550.460628
M7-0.1224129980302130.249527-0.49060.6261620.313081
M8-0.3062047003946890.244954-1.250.217890.108945
M9-0.4499964027591660.241298-1.86490.0688730.034437
M10-0.3868915079487120.237591-1.62840.1105820.055291
M11-0.07569106383134470.248838-0.30420.7624260.381213
t-0.03344957089401970.003317-10.085400







Multiple Linear Regression - Regression Statistics
Multiple R0.920223356592374
R-squared0.846811026018135
Adjusted R-squared0.801550647341675
F-TEST (value)18.7097644955976
F-TEST (DF numerator)13
F-TEST (DF denominator)44
p-value8.81517081552374e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.351111530753584
Sum Squared Residuals5.42428950923751

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.920223356592374 \tabularnewline
R-squared & 0.846811026018135 \tabularnewline
Adjusted R-squared & 0.801550647341675 \tabularnewline
F-TEST (value) & 18.7097644955976 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 44 \tabularnewline
p-value & 8.81517081552374e-14 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.351111530753584 \tabularnewline
Sum Squared Residuals & 5.42428950923751 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57930&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.920223356592374[/C][/ROW]
[ROW][C]R-squared[/C][C]0.846811026018135[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.801550647341675[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]18.7097644955976[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]44[/C][/ROW]
[ROW][C]p-value[/C][C]8.81517081552374e-14[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.351111530753584[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]5.42428950923751[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57930&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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.920223356592374
R-squared0.846811026018135
Adjusted R-squared0.801550647341675
F-TEST (value)18.7097644955976
F-TEST (DF numerator)13
F-TEST (DF denominator)44
p-value8.81517081552374e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.351111530753584
Sum Squared Residuals5.42428950923751







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
18.98.66279014081410.237209859185902
28.28.44279014081413-0.242790140814131
37.68.25796247885591-0.657962478855914
47.78.41106588168098-0.711065881680984
58.18.57934162254784-0.479341622547837
68.38.58141055776455-0.281410557764549
78.38.40554842819798-0.105548428197976
87.98.05382416906483-0.153824169064829
97.87.87658289580633-0.076582895806333
1087.771755233848120.228244766151884
118.58.13916143098790.360838569012104
128.68.181402923925220.418597076074778
138.58.171739966169470.328260033830531
1487.996567628127680.00343237187232173
157.87.85656762812768-0.056567628127678
1688.05449869291096-0.054498692910965
178.28.26760209573603-0.0676020957360353
188.38.31449869291097-0.0144986929109648
198.28.22829188726083-0.0282918872608263
208.18.011050614002330.0889493859976702
2187.74415401682740.255845983172601
227.87.594498692910960.205501307089035
237.87.648111256343230.151888743656773
247.77.511042101447680.188957898552316
257.67.501379143691930.0986208563080689
267.67.371034467608360.228965532391643
277.67.32068979152480.279310208475209
287.87.428965532391640.371034467608356
2987.59724127325850.402758726741504
3087.554482546516990.445517453483008
317.97.378620416950420.521379583049582
327.77.161379143691920.538620856308078
337.46.939310208475210.460689791524791
346.96.789654884558780.110345115441225
356.77.11223341974034-0.412233419740339
366.57.06481958876123-0.564819588761231
376.46.96550130708904-0.565501307089043
386.76.79032896904725-0.090328969047252
396.86.650328969047250.149671030952747
406.96.848260033830540.0517399661694614
416.97.06136343665561-0.161363436655608
426.77.0186047099141-0.318604709914105
436.46.7530872564311-0.353087256431097
446.26.44619065925617-0.246190659256167
455.96.17929406208124-0.279294062081236
466.16.25377704795589-0.153777047955888
476.76.80049389292854-0.100493892928537
486.86.84273538586586-0.042735385865863
496.66.69858944223546-0.098589442235459
506.46.299278794402580.100721205597419
516.46.114451132444360.285548867555635
526.76.357209859185870.342790140814131
537.16.794451571802020.305548428197976
547.16.931003492893390.168996507106611
556.96.93445201115968-0.034452011159683
566.46.62755541398475-0.227555413984753
5766.36065881680982-0.360658816809822
5866.39031414072626-0.390314140726257

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 8.9 & 8.6627901408141 & 0.237209859185902 \tabularnewline
2 & 8.2 & 8.44279014081413 & -0.242790140814131 \tabularnewline
3 & 7.6 & 8.25796247885591 & -0.657962478855914 \tabularnewline
4 & 7.7 & 8.41106588168098 & -0.711065881680984 \tabularnewline
5 & 8.1 & 8.57934162254784 & -0.479341622547837 \tabularnewline
6 & 8.3 & 8.58141055776455 & -0.281410557764549 \tabularnewline
7 & 8.3 & 8.40554842819798 & -0.105548428197976 \tabularnewline
8 & 7.9 & 8.05382416906483 & -0.153824169064829 \tabularnewline
9 & 7.8 & 7.87658289580633 & -0.076582895806333 \tabularnewline
10 & 8 & 7.77175523384812 & 0.228244766151884 \tabularnewline
11 & 8.5 & 8.1391614309879 & 0.360838569012104 \tabularnewline
12 & 8.6 & 8.18140292392522 & 0.418597076074778 \tabularnewline
13 & 8.5 & 8.17173996616947 & 0.328260033830531 \tabularnewline
14 & 8 & 7.99656762812768 & 0.00343237187232173 \tabularnewline
15 & 7.8 & 7.85656762812768 & -0.056567628127678 \tabularnewline
16 & 8 & 8.05449869291096 & -0.054498692910965 \tabularnewline
17 & 8.2 & 8.26760209573603 & -0.0676020957360353 \tabularnewline
18 & 8.3 & 8.31449869291097 & -0.0144986929109648 \tabularnewline
19 & 8.2 & 8.22829188726083 & -0.0282918872608263 \tabularnewline
20 & 8.1 & 8.01105061400233 & 0.0889493859976702 \tabularnewline
21 & 8 & 7.7441540168274 & 0.255845983172601 \tabularnewline
22 & 7.8 & 7.59449869291096 & 0.205501307089035 \tabularnewline
23 & 7.8 & 7.64811125634323 & 0.151888743656773 \tabularnewline
24 & 7.7 & 7.51104210144768 & 0.188957898552316 \tabularnewline
25 & 7.6 & 7.50137914369193 & 0.0986208563080689 \tabularnewline
26 & 7.6 & 7.37103446760836 & 0.228965532391643 \tabularnewline
27 & 7.6 & 7.3206897915248 & 0.279310208475209 \tabularnewline
28 & 7.8 & 7.42896553239164 & 0.371034467608356 \tabularnewline
29 & 8 & 7.5972412732585 & 0.402758726741504 \tabularnewline
30 & 8 & 7.55448254651699 & 0.445517453483008 \tabularnewline
31 & 7.9 & 7.37862041695042 & 0.521379583049582 \tabularnewline
32 & 7.7 & 7.16137914369192 & 0.538620856308078 \tabularnewline
33 & 7.4 & 6.93931020847521 & 0.460689791524791 \tabularnewline
34 & 6.9 & 6.78965488455878 & 0.110345115441225 \tabularnewline
35 & 6.7 & 7.11223341974034 & -0.412233419740339 \tabularnewline
36 & 6.5 & 7.06481958876123 & -0.564819588761231 \tabularnewline
37 & 6.4 & 6.96550130708904 & -0.565501307089043 \tabularnewline
38 & 6.7 & 6.79032896904725 & -0.090328969047252 \tabularnewline
39 & 6.8 & 6.65032896904725 & 0.149671030952747 \tabularnewline
40 & 6.9 & 6.84826003383054 & 0.0517399661694614 \tabularnewline
41 & 6.9 & 7.06136343665561 & -0.161363436655608 \tabularnewline
42 & 6.7 & 7.0186047099141 & -0.318604709914105 \tabularnewline
43 & 6.4 & 6.7530872564311 & -0.353087256431097 \tabularnewline
44 & 6.2 & 6.44619065925617 & -0.246190659256167 \tabularnewline
45 & 5.9 & 6.17929406208124 & -0.279294062081236 \tabularnewline
46 & 6.1 & 6.25377704795589 & -0.153777047955888 \tabularnewline
47 & 6.7 & 6.80049389292854 & -0.100493892928537 \tabularnewline
48 & 6.8 & 6.84273538586586 & -0.042735385865863 \tabularnewline
49 & 6.6 & 6.69858944223546 & -0.098589442235459 \tabularnewline
50 & 6.4 & 6.29927879440258 & 0.100721205597419 \tabularnewline
51 & 6.4 & 6.11445113244436 & 0.285548867555635 \tabularnewline
52 & 6.7 & 6.35720985918587 & 0.342790140814131 \tabularnewline
53 & 7.1 & 6.79445157180202 & 0.305548428197976 \tabularnewline
54 & 7.1 & 6.93100349289339 & 0.168996507106611 \tabularnewline
55 & 6.9 & 6.93445201115968 & -0.034452011159683 \tabularnewline
56 & 6.4 & 6.62755541398475 & -0.227555413984753 \tabularnewline
57 & 6 & 6.36065881680982 & -0.360658816809822 \tabularnewline
58 & 6 & 6.39031414072626 & -0.390314140726257 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57930&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.9[/C][C]8.6627901408141[/C][C]0.237209859185902[/C][/ROW]
[ROW][C]2[/C][C]8.2[/C][C]8.44279014081413[/C][C]-0.242790140814131[/C][/ROW]
[ROW][C]3[/C][C]7.6[/C][C]8.25796247885591[/C][C]-0.657962478855914[/C][/ROW]
[ROW][C]4[/C][C]7.7[/C][C]8.41106588168098[/C][C]-0.711065881680984[/C][/ROW]
[ROW][C]5[/C][C]8.1[/C][C]8.57934162254784[/C][C]-0.479341622547837[/C][/ROW]
[ROW][C]6[/C][C]8.3[/C][C]8.58141055776455[/C][C]-0.281410557764549[/C][/ROW]
[ROW][C]7[/C][C]8.3[/C][C]8.40554842819798[/C][C]-0.105548428197976[/C][/ROW]
[ROW][C]8[/C][C]7.9[/C][C]8.05382416906483[/C][C]-0.153824169064829[/C][/ROW]
[ROW][C]9[/C][C]7.8[/C][C]7.87658289580633[/C][C]-0.076582895806333[/C][/ROW]
[ROW][C]10[/C][C]8[/C][C]7.77175523384812[/C][C]0.228244766151884[/C][/ROW]
[ROW][C]11[/C][C]8.5[/C][C]8.1391614309879[/C][C]0.360838569012104[/C][/ROW]
[ROW][C]12[/C][C]8.6[/C][C]8.18140292392522[/C][C]0.418597076074778[/C][/ROW]
[ROW][C]13[/C][C]8.5[/C][C]8.17173996616947[/C][C]0.328260033830531[/C][/ROW]
[ROW][C]14[/C][C]8[/C][C]7.99656762812768[/C][C]0.00343237187232173[/C][/ROW]
[ROW][C]15[/C][C]7.8[/C][C]7.85656762812768[/C][C]-0.056567628127678[/C][/ROW]
[ROW][C]16[/C][C]8[/C][C]8.05449869291096[/C][C]-0.054498692910965[/C][/ROW]
[ROW][C]17[/C][C]8.2[/C][C]8.26760209573603[/C][C]-0.0676020957360353[/C][/ROW]
[ROW][C]18[/C][C]8.3[/C][C]8.31449869291097[/C][C]-0.0144986929109648[/C][/ROW]
[ROW][C]19[/C][C]8.2[/C][C]8.22829188726083[/C][C]-0.0282918872608263[/C][/ROW]
[ROW][C]20[/C][C]8.1[/C][C]8.01105061400233[/C][C]0.0889493859976702[/C][/ROW]
[ROW][C]21[/C][C]8[/C][C]7.7441540168274[/C][C]0.255845983172601[/C][/ROW]
[ROW][C]22[/C][C]7.8[/C][C]7.59449869291096[/C][C]0.205501307089035[/C][/ROW]
[ROW][C]23[/C][C]7.8[/C][C]7.64811125634323[/C][C]0.151888743656773[/C][/ROW]
[ROW][C]24[/C][C]7.7[/C][C]7.51104210144768[/C][C]0.188957898552316[/C][/ROW]
[ROW][C]25[/C][C]7.6[/C][C]7.50137914369193[/C][C]0.0986208563080689[/C][/ROW]
[ROW][C]26[/C][C]7.6[/C][C]7.37103446760836[/C][C]0.228965532391643[/C][/ROW]
[ROW][C]27[/C][C]7.6[/C][C]7.3206897915248[/C][C]0.279310208475209[/C][/ROW]
[ROW][C]28[/C][C]7.8[/C][C]7.42896553239164[/C][C]0.371034467608356[/C][/ROW]
[ROW][C]29[/C][C]8[/C][C]7.5972412732585[/C][C]0.402758726741504[/C][/ROW]
[ROW][C]30[/C][C]8[/C][C]7.55448254651699[/C][C]0.445517453483008[/C][/ROW]
[ROW][C]31[/C][C]7.9[/C][C]7.37862041695042[/C][C]0.521379583049582[/C][/ROW]
[ROW][C]32[/C][C]7.7[/C][C]7.16137914369192[/C][C]0.538620856308078[/C][/ROW]
[ROW][C]33[/C][C]7.4[/C][C]6.93931020847521[/C][C]0.460689791524791[/C][/ROW]
[ROW][C]34[/C][C]6.9[/C][C]6.78965488455878[/C][C]0.110345115441225[/C][/ROW]
[ROW][C]35[/C][C]6.7[/C][C]7.11223341974034[/C][C]-0.412233419740339[/C][/ROW]
[ROW][C]36[/C][C]6.5[/C][C]7.06481958876123[/C][C]-0.564819588761231[/C][/ROW]
[ROW][C]37[/C][C]6.4[/C][C]6.96550130708904[/C][C]-0.565501307089043[/C][/ROW]
[ROW][C]38[/C][C]6.7[/C][C]6.79032896904725[/C][C]-0.090328969047252[/C][/ROW]
[ROW][C]39[/C][C]6.8[/C][C]6.65032896904725[/C][C]0.149671030952747[/C][/ROW]
[ROW][C]40[/C][C]6.9[/C][C]6.84826003383054[/C][C]0.0517399661694614[/C][/ROW]
[ROW][C]41[/C][C]6.9[/C][C]7.06136343665561[/C][C]-0.161363436655608[/C][/ROW]
[ROW][C]42[/C][C]6.7[/C][C]7.0186047099141[/C][C]-0.318604709914105[/C][/ROW]
[ROW][C]43[/C][C]6.4[/C][C]6.7530872564311[/C][C]-0.353087256431097[/C][/ROW]
[ROW][C]44[/C][C]6.2[/C][C]6.44619065925617[/C][C]-0.246190659256167[/C][/ROW]
[ROW][C]45[/C][C]5.9[/C][C]6.17929406208124[/C][C]-0.279294062081236[/C][/ROW]
[ROW][C]46[/C][C]6.1[/C][C]6.25377704795589[/C][C]-0.153777047955888[/C][/ROW]
[ROW][C]47[/C][C]6.7[/C][C]6.80049389292854[/C][C]-0.100493892928537[/C][/ROW]
[ROW][C]48[/C][C]6.8[/C][C]6.84273538586586[/C][C]-0.042735385865863[/C][/ROW]
[ROW][C]49[/C][C]6.6[/C][C]6.69858944223546[/C][C]-0.098589442235459[/C][/ROW]
[ROW][C]50[/C][C]6.4[/C][C]6.29927879440258[/C][C]0.100721205597419[/C][/ROW]
[ROW][C]51[/C][C]6.4[/C][C]6.11445113244436[/C][C]0.285548867555635[/C][/ROW]
[ROW][C]52[/C][C]6.7[/C][C]6.35720985918587[/C][C]0.342790140814131[/C][/ROW]
[ROW][C]53[/C][C]7.1[/C][C]6.79445157180202[/C][C]0.305548428197976[/C][/ROW]
[ROW][C]54[/C][C]7.1[/C][C]6.93100349289339[/C][C]0.168996507106611[/C][/ROW]
[ROW][C]55[/C][C]6.9[/C][C]6.93445201115968[/C][C]-0.034452011159683[/C][/ROW]
[ROW][C]56[/C][C]6.4[/C][C]6.62755541398475[/C][C]-0.227555413984753[/C][/ROW]
[ROW][C]57[/C][C]6[/C][C]6.36065881680982[/C][C]-0.360658816809822[/C][/ROW]
[ROW][C]58[/C][C]6[/C][C]6.39031414072626[/C][C]-0.390314140726257[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57930&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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
18.98.66279014081410.237209859185902
28.28.44279014081413-0.242790140814131
37.68.25796247885591-0.657962478855914
47.78.41106588168098-0.711065881680984
58.18.57934162254784-0.479341622547837
68.38.58141055776455-0.281410557764549
78.38.40554842819798-0.105548428197976
87.98.05382416906483-0.153824169064829
97.87.87658289580633-0.076582895806333
1087.771755233848120.228244766151884
118.58.13916143098790.360838569012104
128.68.181402923925220.418597076074778
138.58.171739966169470.328260033830531
1487.996567628127680.00343237187232173
157.87.85656762812768-0.056567628127678
1688.05449869291096-0.054498692910965
178.28.26760209573603-0.0676020957360353
188.38.31449869291097-0.0144986929109648
198.28.22829188726083-0.0282918872608263
208.18.011050614002330.0889493859976702
2187.74415401682740.255845983172601
227.87.594498692910960.205501307089035
237.87.648111256343230.151888743656773
247.77.511042101447680.188957898552316
257.67.501379143691930.0986208563080689
267.67.371034467608360.228965532391643
277.67.32068979152480.279310208475209
287.87.428965532391640.371034467608356
2987.59724127325850.402758726741504
3087.554482546516990.445517453483008
317.97.378620416950420.521379583049582
327.77.161379143691920.538620856308078
337.46.939310208475210.460689791524791
346.96.789654884558780.110345115441225
356.77.11223341974034-0.412233419740339
366.57.06481958876123-0.564819588761231
376.46.96550130708904-0.565501307089043
386.76.79032896904725-0.090328969047252
396.86.650328969047250.149671030952747
406.96.848260033830540.0517399661694614
416.97.06136343665561-0.161363436655608
426.77.0186047099141-0.318604709914105
436.46.7530872564311-0.353087256431097
446.26.44619065925617-0.246190659256167
455.96.17929406208124-0.279294062081236
466.16.25377704795589-0.153777047955888
476.76.80049389292854-0.100493892928537
486.86.84273538586586-0.042735385865863
496.66.69858944223546-0.098589442235459
506.46.299278794402580.100721205597419
516.46.114451132444360.285548867555635
526.76.357209859185870.342790140814131
537.16.794451571802020.305548428197976
547.16.931003492893390.168996507106611
556.96.93445201115968-0.034452011159683
566.46.62755541398475-0.227555413984753
5766.36065881680982-0.360658816809822
5866.39031414072626-0.390314140726257







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1264311605134780.2528623210269570.873568839486522
180.1411744297399710.2823488594799430.858825570260029
190.1518074447687310.3036148895374630.848192555231269
200.08610391369916130.1722078273983230.913896086300839
210.04338148344968580.08676296689937150.956618516550314
220.04059239248159520.08118478496319030.959407607518405
230.08778236628416920.1755647325683380.912217633715831
240.08698802308150240.1739760461630050.913011976918498
250.06410467571078430.1282093514215690.935895324289216
260.05441858196179610.1088371639235920.945581418038204
270.07816874227224860.1563374845444970.921831257727751
280.1110097410862100.2220194821724210.88899025891379
290.09658433492732130.1931686698546430.903415665072679
300.07495003396994770.1499000679398950.925049966030052
310.07828509781895080.1565701956379020.921714902181049
320.1138235805323260.2276471610646510.886176419467674
330.3830072254103850.766014450820770.616992774589615
340.8786925207620690.2426149584758620.121307479237931
350.947667690295340.1046646194093190.0523323097046596
360.97980663565930.04038672868139830.0201933643406991
370.9842682001371320.03146359972573520.0157317998628676
380.9653046210746480.06939075785070360.0346953789253518
390.9485070277997150.1029859444005690.0514929722002845
400.9311037651230040.1377924697539920.0688962348769959
410.8515847589377220.2968304821245550.148415241062278

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.126431160513478 & 0.252862321026957 & 0.873568839486522 \tabularnewline
18 & 0.141174429739971 & 0.282348859479943 & 0.858825570260029 \tabularnewline
19 & 0.151807444768731 & 0.303614889537463 & 0.848192555231269 \tabularnewline
20 & 0.0861039136991613 & 0.172207827398323 & 0.913896086300839 \tabularnewline
21 & 0.0433814834496858 & 0.0867629668993715 & 0.956618516550314 \tabularnewline
22 & 0.0405923924815952 & 0.0811847849631903 & 0.959407607518405 \tabularnewline
23 & 0.0877823662841692 & 0.175564732568338 & 0.912217633715831 \tabularnewline
24 & 0.0869880230815024 & 0.173976046163005 & 0.913011976918498 \tabularnewline
25 & 0.0641046757107843 & 0.128209351421569 & 0.935895324289216 \tabularnewline
26 & 0.0544185819617961 & 0.108837163923592 & 0.945581418038204 \tabularnewline
27 & 0.0781687422722486 & 0.156337484544497 & 0.921831257727751 \tabularnewline
28 & 0.111009741086210 & 0.222019482172421 & 0.88899025891379 \tabularnewline
29 & 0.0965843349273213 & 0.193168669854643 & 0.903415665072679 \tabularnewline
30 & 0.0749500339699477 & 0.149900067939895 & 0.925049966030052 \tabularnewline
31 & 0.0782850978189508 & 0.156570195637902 & 0.921714902181049 \tabularnewline
32 & 0.113823580532326 & 0.227647161064651 & 0.886176419467674 \tabularnewline
33 & 0.383007225410385 & 0.76601445082077 & 0.616992774589615 \tabularnewline
34 & 0.878692520762069 & 0.242614958475862 & 0.121307479237931 \tabularnewline
35 & 0.94766769029534 & 0.104664619409319 & 0.0523323097046596 \tabularnewline
36 & 0.9798066356593 & 0.0403867286813983 & 0.0201933643406991 \tabularnewline
37 & 0.984268200137132 & 0.0314635997257352 & 0.0157317998628676 \tabularnewline
38 & 0.965304621074648 & 0.0693907578507036 & 0.0346953789253518 \tabularnewline
39 & 0.948507027799715 & 0.102985944400569 & 0.0514929722002845 \tabularnewline
40 & 0.931103765123004 & 0.137792469753992 & 0.0688962348769959 \tabularnewline
41 & 0.851584758937722 & 0.296830482124555 & 0.148415241062278 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57930&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.126431160513478[/C][C]0.252862321026957[/C][C]0.873568839486522[/C][/ROW]
[ROW][C]18[/C][C]0.141174429739971[/C][C]0.282348859479943[/C][C]0.858825570260029[/C][/ROW]
[ROW][C]19[/C][C]0.151807444768731[/C][C]0.303614889537463[/C][C]0.848192555231269[/C][/ROW]
[ROW][C]20[/C][C]0.0861039136991613[/C][C]0.172207827398323[/C][C]0.913896086300839[/C][/ROW]
[ROW][C]21[/C][C]0.0433814834496858[/C][C]0.0867629668993715[/C][C]0.956618516550314[/C][/ROW]
[ROW][C]22[/C][C]0.0405923924815952[/C][C]0.0811847849631903[/C][C]0.959407607518405[/C][/ROW]
[ROW][C]23[/C][C]0.0877823662841692[/C][C]0.175564732568338[/C][C]0.912217633715831[/C][/ROW]
[ROW][C]24[/C][C]0.0869880230815024[/C][C]0.173976046163005[/C][C]0.913011976918498[/C][/ROW]
[ROW][C]25[/C][C]0.0641046757107843[/C][C]0.128209351421569[/C][C]0.935895324289216[/C][/ROW]
[ROW][C]26[/C][C]0.0544185819617961[/C][C]0.108837163923592[/C][C]0.945581418038204[/C][/ROW]
[ROW][C]27[/C][C]0.0781687422722486[/C][C]0.156337484544497[/C][C]0.921831257727751[/C][/ROW]
[ROW][C]28[/C][C]0.111009741086210[/C][C]0.222019482172421[/C][C]0.88899025891379[/C][/ROW]
[ROW][C]29[/C][C]0.0965843349273213[/C][C]0.193168669854643[/C][C]0.903415665072679[/C][/ROW]
[ROW][C]30[/C][C]0.0749500339699477[/C][C]0.149900067939895[/C][C]0.925049966030052[/C][/ROW]
[ROW][C]31[/C][C]0.0782850978189508[/C][C]0.156570195637902[/C][C]0.921714902181049[/C][/ROW]
[ROW][C]32[/C][C]0.113823580532326[/C][C]0.227647161064651[/C][C]0.886176419467674[/C][/ROW]
[ROW][C]33[/C][C]0.383007225410385[/C][C]0.76601445082077[/C][C]0.616992774589615[/C][/ROW]
[ROW][C]34[/C][C]0.878692520762069[/C][C]0.242614958475862[/C][C]0.121307479237931[/C][/ROW]
[ROW][C]35[/C][C]0.94766769029534[/C][C]0.104664619409319[/C][C]0.0523323097046596[/C][/ROW]
[ROW][C]36[/C][C]0.9798066356593[/C][C]0.0403867286813983[/C][C]0.0201933643406991[/C][/ROW]
[ROW][C]37[/C][C]0.984268200137132[/C][C]0.0314635997257352[/C][C]0.0157317998628676[/C][/ROW]
[ROW][C]38[/C][C]0.965304621074648[/C][C]0.0693907578507036[/C][C]0.0346953789253518[/C][/ROW]
[ROW][C]39[/C][C]0.948507027799715[/C][C]0.102985944400569[/C][C]0.0514929722002845[/C][/ROW]
[ROW][C]40[/C][C]0.931103765123004[/C][C]0.137792469753992[/C][C]0.0688962348769959[/C][/ROW]
[ROW][C]41[/C][C]0.851584758937722[/C][C]0.296830482124555[/C][C]0.148415241062278[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57930&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1264311605134780.2528623210269570.873568839486522
180.1411744297399710.2823488594799430.858825570260029
190.1518074447687310.3036148895374630.848192555231269
200.08610391369916130.1722078273983230.913896086300839
210.04338148344968580.08676296689937150.956618516550314
220.04059239248159520.08118478496319030.959407607518405
230.08778236628416920.1755647325683380.912217633715831
240.08698802308150240.1739760461630050.913011976918498
250.06410467571078430.1282093514215690.935895324289216
260.05441858196179610.1088371639235920.945581418038204
270.07816874227224860.1563374845444970.921831257727751
280.1110097410862100.2220194821724210.88899025891379
290.09658433492732130.1931686698546430.903415665072679
300.07495003396994770.1499000679398950.925049966030052
310.07828509781895080.1565701956379020.921714902181049
320.1138235805323260.2276471610646510.886176419467674
330.3830072254103850.766014450820770.616992774589615
340.8786925207620690.2426149584758620.121307479237931
350.947667690295340.1046646194093190.0523323097046596
360.97980663565930.04038672868139830.0201933643406991
370.9842682001371320.03146359972573520.0157317998628676
380.9653046210746480.06939075785070360.0346953789253518
390.9485070277997150.1029859444005690.0514929722002845
400.9311037651230040.1377924697539920.0688962348769959
410.8515847589377220.2968304821245550.148415241062278







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

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57930&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 level20.08NOK
10% type I error level50.2NOK



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