Free Statistics

of Irreproducible Research!

Author's title

Author*Unverified author*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationFri, 20 Nov 2009 02:03:08 -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/20/t12587080498rbpcz4plcyd5wd.htm/, Retrieved Fri, 26 Apr 2024 13:34:14 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=57990, Retrieved Fri, 26 Apr 2024 13:34:14 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact146
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] [WS7] [2009-11-20 09:03:08] [9a1fef436e1d399a5ecd6808bfbd8489] [Current]
Feedback Forum

Post a new message
Dataseries X:
3922	22782
3759	16169
4138	13807
4634	29743
3995	25591
4308	29096
4143	26482
4429	22404
5219	27044
4929	17970
5755	18730
5592	19684
4163	19785
4962	18479
5208	10698
4755	31956
4491	29506
5732	34506
5731	27165
5040	26736
6102	23691
4904	18157
5369	17328
5578	18205
4619	20995
4731	17382
5011	9367
5299	31124
4146	26551
4625	30651
4736	25859
4219	25100
5116	25778
4205	20418
4121	18688
5103	20424
4300	24776
4578	19814
3809	12738
5526	31566
4247	30111
3830	30019
4394	31934
4826	25826
4409	26835
4569	20205
4106	17789
4794	20520
3914	22518
3793	15572
4405	11509
4022	25447
4100	24090
4788	27786
3163	26195
3585	20516
3903	22759
4178	19028
3863	16971
4187	20036




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
bouwaanvragen[t] = + 4316.33430518384 + 0.0110801554434606inschrijvingen_autos[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
bouwaanvragen[t] =  +  4316.33430518384 +  0.0110801554434606inschrijvingen_autos[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]bouwaanvragen[t] =  +  4316.33430518384 +  0.0110801554434606inschrijvingen_autos[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57990&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
bouwaanvragen[t] = + 4316.33430518384 + 0.0110801554434606inschrijvingen_autos[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)4316.33430518384329.91679313.083100
inschrijvingen_autos0.01108015544346060.0140820.78680.4345870.217294

\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) & 4316.33430518384 & 329.916793 & 13.0831 & 0 & 0 \tabularnewline
inschrijvingen_autos & 0.0110801554434606 & 0.014082 & 0.7868 & 0.434587 & 0.217294 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&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]4316.33430518384[/C][C]329.916793[/C][C]13.0831[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]inschrijvingen_autos[/C][C]0.0110801554434606[/C][C]0.014082[/C][C]0.7868[/C][C]0.434587[/C][C]0.217294[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=2

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







Multiple Linear Regression - Regression Statistics
Multiple R0.102768301789830
R-squared0.0105613238527655
Adjusted R-squared-0.00649796366701438
F-TEST (value)0.619095248879525
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.434587018191825
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation627.789965491755
Sum Squared Residuals22858973.9647841

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.102768301789830 \tabularnewline
R-squared & 0.0105613238527655 \tabularnewline
Adjusted R-squared & -0.00649796366701438 \tabularnewline
F-TEST (value) & 0.619095248879525 \tabularnewline
F-TEST (DF numerator) & 1 \tabularnewline
F-TEST (DF denominator) & 58 \tabularnewline
p-value & 0.434587018191825 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 627.789965491755 \tabularnewline
Sum Squared Residuals & 22858973.9647841 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.102768301789830[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0105613238527655[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]-0.00649796366701438[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]0.619095248879525[/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.434587018191825[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]627.789965491755[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]22858973.9647841[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57990&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.102768301789830
R-squared0.0105613238527655
Adjusted R-squared-0.00649796366701438
F-TEST (value)0.619095248879525
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0.434587018191825
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation627.789965491755
Sum Squared Residuals22858973.9647841







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
139224568.76240649678-646.762406496776
237594495.48933854916-736.489338549158
341384469.31801139171-331.318011391705
446344645.89136853869-11.8913685386938
539954599.88656313745-604.886563137445
643084638.72250796678-330.722507966775
741434609.75898163757-466.758981637569
844294564.57410773914-135.574107739136
952194615.98602899679603.013971003207
1049294515.44469850283413.555301497168
1157554523.865616639861231.13438336014
1255924534.436084932921057.56391506708
1341634535.55518063271-372.555180632713
1449624521.08449762355440.915502376447
1552084434.86980811799773.130191882014
1647554670.4117525350784.5882474649278
1744914643.26537169859-152.265371698594
1857324698.66614891591033.33385108410
1957314617.326727805451113.67327219455
2050404612.57334112021427.426658879792
2161024578.834267794871523.16573220513
2249044517.51668757076386.483312429241
2353694508.33123870813860.66876129187
2455784518.048535032051059.95146496795
2546194548.962168719370.0378312807
2647314508.92956710208222.070432897923
2750114420.12212122274590.87787877726
2852994661.19306320611637.806936793887
2941464610.52351236317-464.523512363167
3046254655.95214968136-30.9521496813561
3147364602.85604479629133.143955203707
3242194594.44620681471-375.446206814706
3351164601.95855220537514.041447794628
3442054542.56891902842-337.568919028423
3541214523.40025011124-402.400250111236
3651034542.63539996108560.364600038916
3743004590.85623645102-290.856236451025
3845784535.8765051405742.1234948594270
3938094457.47332522265-648.473325222645
4055264666.09049191212859.909508087877
4142474649.96886574189-402.968865741887
4238304648.94949144109-818.949491441089
4343944670.16798911532-276.167989115316
4448264602.49039966666223.509600333342
4544094613.67027650911-204.670276509110
4645694540.2088459189728.7911540810339
4741064513.43919036757-407.439190367565
4847944543.69909488366250.300905116344
4939144565.83724545969-651.83724545969
5037934488.87448574941-695.874485749413
5144054443.85581418263-38.8558141826323
5240224598.29102075359-576.291020753587
5341004583.25524981681-483.255249816811
5447884624.20750433584163.792495664159
5531634606.57897702530-1443.57897702530
5635854543.65477426188-958.654774261882
5739034568.50756292156-665.507562921565
5841784527.16750296201-349.167502962013
5938634504.37562321481-641.375623214814
6041874538.33629964902-351.336299649021

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 3922 & 4568.76240649678 & -646.762406496776 \tabularnewline
2 & 3759 & 4495.48933854916 & -736.489338549158 \tabularnewline
3 & 4138 & 4469.31801139171 & -331.318011391705 \tabularnewline
4 & 4634 & 4645.89136853869 & -11.8913685386938 \tabularnewline
5 & 3995 & 4599.88656313745 & -604.886563137445 \tabularnewline
6 & 4308 & 4638.72250796678 & -330.722507966775 \tabularnewline
7 & 4143 & 4609.75898163757 & -466.758981637569 \tabularnewline
8 & 4429 & 4564.57410773914 & -135.574107739136 \tabularnewline
9 & 5219 & 4615.98602899679 & 603.013971003207 \tabularnewline
10 & 4929 & 4515.44469850283 & 413.555301497168 \tabularnewline
11 & 5755 & 4523.86561663986 & 1231.13438336014 \tabularnewline
12 & 5592 & 4534.43608493292 & 1057.56391506708 \tabularnewline
13 & 4163 & 4535.55518063271 & -372.555180632713 \tabularnewline
14 & 4962 & 4521.08449762355 & 440.915502376447 \tabularnewline
15 & 5208 & 4434.86980811799 & 773.130191882014 \tabularnewline
16 & 4755 & 4670.41175253507 & 84.5882474649278 \tabularnewline
17 & 4491 & 4643.26537169859 & -152.265371698594 \tabularnewline
18 & 5732 & 4698.6661489159 & 1033.33385108410 \tabularnewline
19 & 5731 & 4617.32672780545 & 1113.67327219455 \tabularnewline
20 & 5040 & 4612.57334112021 & 427.426658879792 \tabularnewline
21 & 6102 & 4578.83426779487 & 1523.16573220513 \tabularnewline
22 & 4904 & 4517.51668757076 & 386.483312429241 \tabularnewline
23 & 5369 & 4508.33123870813 & 860.66876129187 \tabularnewline
24 & 5578 & 4518.04853503205 & 1059.95146496795 \tabularnewline
25 & 4619 & 4548.9621687193 & 70.0378312807 \tabularnewline
26 & 4731 & 4508.92956710208 & 222.070432897923 \tabularnewline
27 & 5011 & 4420.12212122274 & 590.87787877726 \tabularnewline
28 & 5299 & 4661.19306320611 & 637.806936793887 \tabularnewline
29 & 4146 & 4610.52351236317 & -464.523512363167 \tabularnewline
30 & 4625 & 4655.95214968136 & -30.9521496813561 \tabularnewline
31 & 4736 & 4602.85604479629 & 133.143955203707 \tabularnewline
32 & 4219 & 4594.44620681471 & -375.446206814706 \tabularnewline
33 & 5116 & 4601.95855220537 & 514.041447794628 \tabularnewline
34 & 4205 & 4542.56891902842 & -337.568919028423 \tabularnewline
35 & 4121 & 4523.40025011124 & -402.400250111236 \tabularnewline
36 & 5103 & 4542.63539996108 & 560.364600038916 \tabularnewline
37 & 4300 & 4590.85623645102 & -290.856236451025 \tabularnewline
38 & 4578 & 4535.87650514057 & 42.1234948594270 \tabularnewline
39 & 3809 & 4457.47332522265 & -648.473325222645 \tabularnewline
40 & 5526 & 4666.09049191212 & 859.909508087877 \tabularnewline
41 & 4247 & 4649.96886574189 & -402.968865741887 \tabularnewline
42 & 3830 & 4648.94949144109 & -818.949491441089 \tabularnewline
43 & 4394 & 4670.16798911532 & -276.167989115316 \tabularnewline
44 & 4826 & 4602.49039966666 & 223.509600333342 \tabularnewline
45 & 4409 & 4613.67027650911 & -204.670276509110 \tabularnewline
46 & 4569 & 4540.20884591897 & 28.7911540810339 \tabularnewline
47 & 4106 & 4513.43919036757 & -407.439190367565 \tabularnewline
48 & 4794 & 4543.69909488366 & 250.300905116344 \tabularnewline
49 & 3914 & 4565.83724545969 & -651.83724545969 \tabularnewline
50 & 3793 & 4488.87448574941 & -695.874485749413 \tabularnewline
51 & 4405 & 4443.85581418263 & -38.8558141826323 \tabularnewline
52 & 4022 & 4598.29102075359 & -576.291020753587 \tabularnewline
53 & 4100 & 4583.25524981681 & -483.255249816811 \tabularnewline
54 & 4788 & 4624.20750433584 & 163.792495664159 \tabularnewline
55 & 3163 & 4606.57897702530 & -1443.57897702530 \tabularnewline
56 & 3585 & 4543.65477426188 & -958.654774261882 \tabularnewline
57 & 3903 & 4568.50756292156 & -665.507562921565 \tabularnewline
58 & 4178 & 4527.16750296201 & -349.167502962013 \tabularnewline
59 & 3863 & 4504.37562321481 & -641.375623214814 \tabularnewline
60 & 4187 & 4538.33629964902 & -351.336299649021 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&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]3922[/C][C]4568.76240649678[/C][C]-646.762406496776[/C][/ROW]
[ROW][C]2[/C][C]3759[/C][C]4495.48933854916[/C][C]-736.489338549158[/C][/ROW]
[ROW][C]3[/C][C]4138[/C][C]4469.31801139171[/C][C]-331.318011391705[/C][/ROW]
[ROW][C]4[/C][C]4634[/C][C]4645.89136853869[/C][C]-11.8913685386938[/C][/ROW]
[ROW][C]5[/C][C]3995[/C][C]4599.88656313745[/C][C]-604.886563137445[/C][/ROW]
[ROW][C]6[/C][C]4308[/C][C]4638.72250796678[/C][C]-330.722507966775[/C][/ROW]
[ROW][C]7[/C][C]4143[/C][C]4609.75898163757[/C][C]-466.758981637569[/C][/ROW]
[ROW][C]8[/C][C]4429[/C][C]4564.57410773914[/C][C]-135.574107739136[/C][/ROW]
[ROW][C]9[/C][C]5219[/C][C]4615.98602899679[/C][C]603.013971003207[/C][/ROW]
[ROW][C]10[/C][C]4929[/C][C]4515.44469850283[/C][C]413.555301497168[/C][/ROW]
[ROW][C]11[/C][C]5755[/C][C]4523.86561663986[/C][C]1231.13438336014[/C][/ROW]
[ROW][C]12[/C][C]5592[/C][C]4534.43608493292[/C][C]1057.56391506708[/C][/ROW]
[ROW][C]13[/C][C]4163[/C][C]4535.55518063271[/C][C]-372.555180632713[/C][/ROW]
[ROW][C]14[/C][C]4962[/C][C]4521.08449762355[/C][C]440.915502376447[/C][/ROW]
[ROW][C]15[/C][C]5208[/C][C]4434.86980811799[/C][C]773.130191882014[/C][/ROW]
[ROW][C]16[/C][C]4755[/C][C]4670.41175253507[/C][C]84.5882474649278[/C][/ROW]
[ROW][C]17[/C][C]4491[/C][C]4643.26537169859[/C][C]-152.265371698594[/C][/ROW]
[ROW][C]18[/C][C]5732[/C][C]4698.6661489159[/C][C]1033.33385108410[/C][/ROW]
[ROW][C]19[/C][C]5731[/C][C]4617.32672780545[/C][C]1113.67327219455[/C][/ROW]
[ROW][C]20[/C][C]5040[/C][C]4612.57334112021[/C][C]427.426658879792[/C][/ROW]
[ROW][C]21[/C][C]6102[/C][C]4578.83426779487[/C][C]1523.16573220513[/C][/ROW]
[ROW][C]22[/C][C]4904[/C][C]4517.51668757076[/C][C]386.483312429241[/C][/ROW]
[ROW][C]23[/C][C]5369[/C][C]4508.33123870813[/C][C]860.66876129187[/C][/ROW]
[ROW][C]24[/C][C]5578[/C][C]4518.04853503205[/C][C]1059.95146496795[/C][/ROW]
[ROW][C]25[/C][C]4619[/C][C]4548.9621687193[/C][C]70.0378312807[/C][/ROW]
[ROW][C]26[/C][C]4731[/C][C]4508.92956710208[/C][C]222.070432897923[/C][/ROW]
[ROW][C]27[/C][C]5011[/C][C]4420.12212122274[/C][C]590.87787877726[/C][/ROW]
[ROW][C]28[/C][C]5299[/C][C]4661.19306320611[/C][C]637.806936793887[/C][/ROW]
[ROW][C]29[/C][C]4146[/C][C]4610.52351236317[/C][C]-464.523512363167[/C][/ROW]
[ROW][C]30[/C][C]4625[/C][C]4655.95214968136[/C][C]-30.9521496813561[/C][/ROW]
[ROW][C]31[/C][C]4736[/C][C]4602.85604479629[/C][C]133.143955203707[/C][/ROW]
[ROW][C]32[/C][C]4219[/C][C]4594.44620681471[/C][C]-375.446206814706[/C][/ROW]
[ROW][C]33[/C][C]5116[/C][C]4601.95855220537[/C][C]514.041447794628[/C][/ROW]
[ROW][C]34[/C][C]4205[/C][C]4542.56891902842[/C][C]-337.568919028423[/C][/ROW]
[ROW][C]35[/C][C]4121[/C][C]4523.40025011124[/C][C]-402.400250111236[/C][/ROW]
[ROW][C]36[/C][C]5103[/C][C]4542.63539996108[/C][C]560.364600038916[/C][/ROW]
[ROW][C]37[/C][C]4300[/C][C]4590.85623645102[/C][C]-290.856236451025[/C][/ROW]
[ROW][C]38[/C][C]4578[/C][C]4535.87650514057[/C][C]42.1234948594270[/C][/ROW]
[ROW][C]39[/C][C]3809[/C][C]4457.47332522265[/C][C]-648.473325222645[/C][/ROW]
[ROW][C]40[/C][C]5526[/C][C]4666.09049191212[/C][C]859.909508087877[/C][/ROW]
[ROW][C]41[/C][C]4247[/C][C]4649.96886574189[/C][C]-402.968865741887[/C][/ROW]
[ROW][C]42[/C][C]3830[/C][C]4648.94949144109[/C][C]-818.949491441089[/C][/ROW]
[ROW][C]43[/C][C]4394[/C][C]4670.16798911532[/C][C]-276.167989115316[/C][/ROW]
[ROW][C]44[/C][C]4826[/C][C]4602.49039966666[/C][C]223.509600333342[/C][/ROW]
[ROW][C]45[/C][C]4409[/C][C]4613.67027650911[/C][C]-204.670276509110[/C][/ROW]
[ROW][C]46[/C][C]4569[/C][C]4540.20884591897[/C][C]28.7911540810339[/C][/ROW]
[ROW][C]47[/C][C]4106[/C][C]4513.43919036757[/C][C]-407.439190367565[/C][/ROW]
[ROW][C]48[/C][C]4794[/C][C]4543.69909488366[/C][C]250.300905116344[/C][/ROW]
[ROW][C]49[/C][C]3914[/C][C]4565.83724545969[/C][C]-651.83724545969[/C][/ROW]
[ROW][C]50[/C][C]3793[/C][C]4488.87448574941[/C][C]-695.874485749413[/C][/ROW]
[ROW][C]51[/C][C]4405[/C][C]4443.85581418263[/C][C]-38.8558141826323[/C][/ROW]
[ROW][C]52[/C][C]4022[/C][C]4598.29102075359[/C][C]-576.291020753587[/C][/ROW]
[ROW][C]53[/C][C]4100[/C][C]4583.25524981681[/C][C]-483.255249816811[/C][/ROW]
[ROW][C]54[/C][C]4788[/C][C]4624.20750433584[/C][C]163.792495664159[/C][/ROW]
[ROW][C]55[/C][C]3163[/C][C]4606.57897702530[/C][C]-1443.57897702530[/C][/ROW]
[ROW][C]56[/C][C]3585[/C][C]4543.65477426188[/C][C]-958.654774261882[/C][/ROW]
[ROW][C]57[/C][C]3903[/C][C]4568.50756292156[/C][C]-665.507562921565[/C][/ROW]
[ROW][C]58[/C][C]4178[/C][C]4527.16750296201[/C][C]-349.167502962013[/C][/ROW]
[ROW][C]59[/C][C]3863[/C][C]4504.37562321481[/C][C]-641.375623214814[/C][/ROW]
[ROW][C]60[/C][C]4187[/C][C]4538.33629964902[/C][C]-351.336299649021[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57990&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
139224568.76240649678-646.762406496776
237594495.48933854916-736.489338549158
341384469.31801139171-331.318011391705
446344645.89136853869-11.8913685386938
539954599.88656313745-604.886563137445
643084638.72250796678-330.722507966775
741434609.75898163757-466.758981637569
844294564.57410773914-135.574107739136
952194615.98602899679603.013971003207
1049294515.44469850283413.555301497168
1157554523.865616639861231.13438336014
1255924534.436084932921057.56391506708
1341634535.55518063271-372.555180632713
1449624521.08449762355440.915502376447
1552084434.86980811799773.130191882014
1647554670.4117525350784.5882474649278
1744914643.26537169859-152.265371698594
1857324698.66614891591033.33385108410
1957314617.326727805451113.67327219455
2050404612.57334112021427.426658879792
2161024578.834267794871523.16573220513
2249044517.51668757076386.483312429241
2353694508.33123870813860.66876129187
2455784518.048535032051059.95146496795
2546194548.962168719370.0378312807
2647314508.92956710208222.070432897923
2750114420.12212122274590.87787877726
2852994661.19306320611637.806936793887
2941464610.52351236317-464.523512363167
3046254655.95214968136-30.9521496813561
3147364602.85604479629133.143955203707
3242194594.44620681471-375.446206814706
3351164601.95855220537514.041447794628
3442054542.56891902842-337.568919028423
3541214523.40025011124-402.400250111236
3651034542.63539996108560.364600038916
3743004590.85623645102-290.856236451025
3845784535.8765051405742.1234948594270
3938094457.47332522265-648.473325222645
4055264666.09049191212859.909508087877
4142474649.96886574189-402.968865741887
4238304648.94949144109-818.949491441089
4343944670.16798911532-276.167989115316
4448264602.49039966666223.509600333342
4544094613.67027650911-204.670276509110
4645694540.2088459189728.7911540810339
4741064513.43919036757-407.439190367565
4847944543.69909488366250.300905116344
4939144565.83724545969-651.83724545969
5037934488.87448574941-695.874485749413
5144054443.85581418263-38.8558141826323
5240224598.29102075359-576.291020753587
5341004583.25524981681-483.255249816811
5447884624.20750433584163.792495664159
5531634606.57897702530-1443.57897702530
5635854543.65477426188-958.654774261882
5739034568.50756292156-665.507562921565
5841784527.16750296201-349.167502962013
5938634504.37562321481-641.375623214814
6041874538.33629964902-351.336299649021







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.1293492090305930.2586984180611870.870650790969407
60.04972262878933940.09944525757867890.95027737121066
70.0185801792011320.0371603584022640.981419820798868
80.01266182641938840.02532365283877670.987338173580612
90.09589253500805060.1917850700161010.90410746499195
100.1629120834382840.3258241668765690.837087916561716
110.5639052789120740.8721894421758510.436094721087926
120.7126297614821450.574740477035710.287370238517855
130.656311727041280.6873765459174390.343688272958719
140.6002567220494850.799486555901030.399743277950515
150.5820352384171110.8359295231657780.417964761582889
160.5097655462949410.9804689074101180.490234453705059
170.4241540440273710.8483080880547420.575845955972629
180.5888292318771880.8223415362456240.411170768122812
190.7149620190495230.5700759619009530.285037980950477
200.666821445706970.666357108586060.33317855429303
210.8983221959805360.2033556080389290.101677804019464
220.8723199449763050.2553601100473910.127680055023695
230.899931793518860.2001364129622810.100068206481141
240.9524154616364980.09516907672700340.0475845383635017
250.9350104386937620.1299791226124760.0649895613062381
260.9183729622493140.1632540755013710.0816270377506857
270.9414404771327640.1171190457344720.058559522867236
280.9474100739325670.1051798521348660.0525899260674331
290.9427116952277690.1145766095444630.0572883047722314
300.9196239296274460.1607521407451080.0803760703725542
310.8970048852002740.2059902295994520.102995114799726
320.8768977937025580.2462044125948840.123102206297442
330.8902515623118020.2194968753763960.109748437688198
340.8666256796184260.2667486407631480.133374320381574
350.842433427101190.3151331457976210.157566572898810
360.8857747064121050.228450587175790.114225293587895
370.8530878276890570.2938243446218860.146912172310943
380.8285399159891340.3429201680217320.171460084010866
390.8146790647231020.3706418705537960.185320935276898
400.942096760041020.1158064799179600.0579032399589798
410.9211535264737880.1576929470524250.0788464735262123
420.923553276421660.1528934471566810.0764467235783404
430.8911167671719380.2177664656561240.108883232828062
440.9059496957443990.1881006085112020.094050304255601
450.8798424272985860.2403151454028290.120157572701414
460.8676416476532060.2647167046935880.132358352346794
470.8165504898763670.3668990202472650.183449510123633
480.873891862547340.2522162749053190.126108137452660
490.8250291974102520.3499416051794970.174970802589748
500.7806817570294950.4386364859410100.219318242970505
510.7354242997171140.5291514005657720.264575700282886
520.6340384312688740.7319231374622520.365961568731126
530.513178561335440.973642877329120.48682143866456
540.8956040501743160.2087918996513680.104395949825684
550.8881872155684030.2236255688631930.111812784431597

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
5 & 0.129349209030593 & 0.258698418061187 & 0.870650790969407 \tabularnewline
6 & 0.0497226287893394 & 0.0994452575786789 & 0.95027737121066 \tabularnewline
7 & 0.018580179201132 & 0.037160358402264 & 0.981419820798868 \tabularnewline
8 & 0.0126618264193884 & 0.0253236528387767 & 0.987338173580612 \tabularnewline
9 & 0.0958925350080506 & 0.191785070016101 & 0.90410746499195 \tabularnewline
10 & 0.162912083438284 & 0.325824166876569 & 0.837087916561716 \tabularnewline
11 & 0.563905278912074 & 0.872189442175851 & 0.436094721087926 \tabularnewline
12 & 0.712629761482145 & 0.57474047703571 & 0.287370238517855 \tabularnewline
13 & 0.65631172704128 & 0.687376545917439 & 0.343688272958719 \tabularnewline
14 & 0.600256722049485 & 0.79948655590103 & 0.399743277950515 \tabularnewline
15 & 0.582035238417111 & 0.835929523165778 & 0.417964761582889 \tabularnewline
16 & 0.509765546294941 & 0.980468907410118 & 0.490234453705059 \tabularnewline
17 & 0.424154044027371 & 0.848308088054742 & 0.575845955972629 \tabularnewline
18 & 0.588829231877188 & 0.822341536245624 & 0.411170768122812 \tabularnewline
19 & 0.714962019049523 & 0.570075961900953 & 0.285037980950477 \tabularnewline
20 & 0.66682144570697 & 0.66635710858606 & 0.33317855429303 \tabularnewline
21 & 0.898322195980536 & 0.203355608038929 & 0.101677804019464 \tabularnewline
22 & 0.872319944976305 & 0.255360110047391 & 0.127680055023695 \tabularnewline
23 & 0.89993179351886 & 0.200136412962281 & 0.100068206481141 \tabularnewline
24 & 0.952415461636498 & 0.0951690767270034 & 0.0475845383635017 \tabularnewline
25 & 0.935010438693762 & 0.129979122612476 & 0.0649895613062381 \tabularnewline
26 & 0.918372962249314 & 0.163254075501371 & 0.0816270377506857 \tabularnewline
27 & 0.941440477132764 & 0.117119045734472 & 0.058559522867236 \tabularnewline
28 & 0.947410073932567 & 0.105179852134866 & 0.0525899260674331 \tabularnewline
29 & 0.942711695227769 & 0.114576609544463 & 0.0572883047722314 \tabularnewline
30 & 0.919623929627446 & 0.160752140745108 & 0.0803760703725542 \tabularnewline
31 & 0.897004885200274 & 0.205990229599452 & 0.102995114799726 \tabularnewline
32 & 0.876897793702558 & 0.246204412594884 & 0.123102206297442 \tabularnewline
33 & 0.890251562311802 & 0.219496875376396 & 0.109748437688198 \tabularnewline
34 & 0.866625679618426 & 0.266748640763148 & 0.133374320381574 \tabularnewline
35 & 0.84243342710119 & 0.315133145797621 & 0.157566572898810 \tabularnewline
36 & 0.885774706412105 & 0.22845058717579 & 0.114225293587895 \tabularnewline
37 & 0.853087827689057 & 0.293824344621886 & 0.146912172310943 \tabularnewline
38 & 0.828539915989134 & 0.342920168021732 & 0.171460084010866 \tabularnewline
39 & 0.814679064723102 & 0.370641870553796 & 0.185320935276898 \tabularnewline
40 & 0.94209676004102 & 0.115806479917960 & 0.0579032399589798 \tabularnewline
41 & 0.921153526473788 & 0.157692947052425 & 0.0788464735262123 \tabularnewline
42 & 0.92355327642166 & 0.152893447156681 & 0.0764467235783404 \tabularnewline
43 & 0.891116767171938 & 0.217766465656124 & 0.108883232828062 \tabularnewline
44 & 0.905949695744399 & 0.188100608511202 & 0.094050304255601 \tabularnewline
45 & 0.879842427298586 & 0.240315145402829 & 0.120157572701414 \tabularnewline
46 & 0.867641647653206 & 0.264716704693588 & 0.132358352346794 \tabularnewline
47 & 0.816550489876367 & 0.366899020247265 & 0.183449510123633 \tabularnewline
48 & 0.87389186254734 & 0.252216274905319 & 0.126108137452660 \tabularnewline
49 & 0.825029197410252 & 0.349941605179497 & 0.174970802589748 \tabularnewline
50 & 0.780681757029495 & 0.438636485941010 & 0.219318242970505 \tabularnewline
51 & 0.735424299717114 & 0.529151400565772 & 0.264575700282886 \tabularnewline
52 & 0.634038431268874 & 0.731923137462252 & 0.365961568731126 \tabularnewline
53 & 0.51317856133544 & 0.97364287732912 & 0.48682143866456 \tabularnewline
54 & 0.895604050174316 & 0.208791899651368 & 0.104395949825684 \tabularnewline
55 & 0.888187215568403 & 0.223625568863193 & 0.111812784431597 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&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.129349209030593[/C][C]0.258698418061187[/C][C]0.870650790969407[/C][/ROW]
[ROW][C]6[/C][C]0.0497226287893394[/C][C]0.0994452575786789[/C][C]0.95027737121066[/C][/ROW]
[ROW][C]7[/C][C]0.018580179201132[/C][C]0.037160358402264[/C][C]0.981419820798868[/C][/ROW]
[ROW][C]8[/C][C]0.0126618264193884[/C][C]0.0253236528387767[/C][C]0.987338173580612[/C][/ROW]
[ROW][C]9[/C][C]0.0958925350080506[/C][C]0.191785070016101[/C][C]0.90410746499195[/C][/ROW]
[ROW][C]10[/C][C]0.162912083438284[/C][C]0.325824166876569[/C][C]0.837087916561716[/C][/ROW]
[ROW][C]11[/C][C]0.563905278912074[/C][C]0.872189442175851[/C][C]0.436094721087926[/C][/ROW]
[ROW][C]12[/C][C]0.712629761482145[/C][C]0.57474047703571[/C][C]0.287370238517855[/C][/ROW]
[ROW][C]13[/C][C]0.65631172704128[/C][C]0.687376545917439[/C][C]0.343688272958719[/C][/ROW]
[ROW][C]14[/C][C]0.600256722049485[/C][C]0.79948655590103[/C][C]0.399743277950515[/C][/ROW]
[ROW][C]15[/C][C]0.582035238417111[/C][C]0.835929523165778[/C][C]0.417964761582889[/C][/ROW]
[ROW][C]16[/C][C]0.509765546294941[/C][C]0.980468907410118[/C][C]0.490234453705059[/C][/ROW]
[ROW][C]17[/C][C]0.424154044027371[/C][C]0.848308088054742[/C][C]0.575845955972629[/C][/ROW]
[ROW][C]18[/C][C]0.588829231877188[/C][C]0.822341536245624[/C][C]0.411170768122812[/C][/ROW]
[ROW][C]19[/C][C]0.714962019049523[/C][C]0.570075961900953[/C][C]0.285037980950477[/C][/ROW]
[ROW][C]20[/C][C]0.66682144570697[/C][C]0.66635710858606[/C][C]0.33317855429303[/C][/ROW]
[ROW][C]21[/C][C]0.898322195980536[/C][C]0.203355608038929[/C][C]0.101677804019464[/C][/ROW]
[ROW][C]22[/C][C]0.872319944976305[/C][C]0.255360110047391[/C][C]0.127680055023695[/C][/ROW]
[ROW][C]23[/C][C]0.89993179351886[/C][C]0.200136412962281[/C][C]0.100068206481141[/C][/ROW]
[ROW][C]24[/C][C]0.952415461636498[/C][C]0.0951690767270034[/C][C]0.0475845383635017[/C][/ROW]
[ROW][C]25[/C][C]0.935010438693762[/C][C]0.129979122612476[/C][C]0.0649895613062381[/C][/ROW]
[ROW][C]26[/C][C]0.918372962249314[/C][C]0.163254075501371[/C][C]0.0816270377506857[/C][/ROW]
[ROW][C]27[/C][C]0.941440477132764[/C][C]0.117119045734472[/C][C]0.058559522867236[/C][/ROW]
[ROW][C]28[/C][C]0.947410073932567[/C][C]0.105179852134866[/C][C]0.0525899260674331[/C][/ROW]
[ROW][C]29[/C][C]0.942711695227769[/C][C]0.114576609544463[/C][C]0.0572883047722314[/C][/ROW]
[ROW][C]30[/C][C]0.919623929627446[/C][C]0.160752140745108[/C][C]0.0803760703725542[/C][/ROW]
[ROW][C]31[/C][C]0.897004885200274[/C][C]0.205990229599452[/C][C]0.102995114799726[/C][/ROW]
[ROW][C]32[/C][C]0.876897793702558[/C][C]0.246204412594884[/C][C]0.123102206297442[/C][/ROW]
[ROW][C]33[/C][C]0.890251562311802[/C][C]0.219496875376396[/C][C]0.109748437688198[/C][/ROW]
[ROW][C]34[/C][C]0.866625679618426[/C][C]0.266748640763148[/C][C]0.133374320381574[/C][/ROW]
[ROW][C]35[/C][C]0.84243342710119[/C][C]0.315133145797621[/C][C]0.157566572898810[/C][/ROW]
[ROW][C]36[/C][C]0.885774706412105[/C][C]0.22845058717579[/C][C]0.114225293587895[/C][/ROW]
[ROW][C]37[/C][C]0.853087827689057[/C][C]0.293824344621886[/C][C]0.146912172310943[/C][/ROW]
[ROW][C]38[/C][C]0.828539915989134[/C][C]0.342920168021732[/C][C]0.171460084010866[/C][/ROW]
[ROW][C]39[/C][C]0.814679064723102[/C][C]0.370641870553796[/C][C]0.185320935276898[/C][/ROW]
[ROW][C]40[/C][C]0.94209676004102[/C][C]0.115806479917960[/C][C]0.0579032399589798[/C][/ROW]
[ROW][C]41[/C][C]0.921153526473788[/C][C]0.157692947052425[/C][C]0.0788464735262123[/C][/ROW]
[ROW][C]42[/C][C]0.92355327642166[/C][C]0.152893447156681[/C][C]0.0764467235783404[/C][/ROW]
[ROW][C]43[/C][C]0.891116767171938[/C][C]0.217766465656124[/C][C]0.108883232828062[/C][/ROW]
[ROW][C]44[/C][C]0.905949695744399[/C][C]0.188100608511202[/C][C]0.094050304255601[/C][/ROW]
[ROW][C]45[/C][C]0.879842427298586[/C][C]0.240315145402829[/C][C]0.120157572701414[/C][/ROW]
[ROW][C]46[/C][C]0.867641647653206[/C][C]0.264716704693588[/C][C]0.132358352346794[/C][/ROW]
[ROW][C]47[/C][C]0.816550489876367[/C][C]0.366899020247265[/C][C]0.183449510123633[/C][/ROW]
[ROW][C]48[/C][C]0.87389186254734[/C][C]0.252216274905319[/C][C]0.126108137452660[/C][/ROW]
[ROW][C]49[/C][C]0.825029197410252[/C][C]0.349941605179497[/C][C]0.174970802589748[/C][/ROW]
[ROW][C]50[/C][C]0.780681757029495[/C][C]0.438636485941010[/C][C]0.219318242970505[/C][/ROW]
[ROW][C]51[/C][C]0.735424299717114[/C][C]0.529151400565772[/C][C]0.264575700282886[/C][/ROW]
[ROW][C]52[/C][C]0.634038431268874[/C][C]0.731923137462252[/C][C]0.365961568731126[/C][/ROW]
[ROW][C]53[/C][C]0.51317856133544[/C][C]0.97364287732912[/C][C]0.48682143866456[/C][/ROW]
[ROW][C]54[/C][C]0.895604050174316[/C][C]0.208791899651368[/C][C]0.104395949825684[/C][/ROW]
[ROW][C]55[/C][C]0.888187215568403[/C][C]0.223625568863193[/C][C]0.111812784431597[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57990&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.1293492090305930.2586984180611870.870650790969407
60.04972262878933940.09944525757867890.95027737121066
70.0185801792011320.0371603584022640.981419820798868
80.01266182641938840.02532365283877670.987338173580612
90.09589253500805060.1917850700161010.90410746499195
100.1629120834382840.3258241668765690.837087916561716
110.5639052789120740.8721894421758510.436094721087926
120.7126297614821450.574740477035710.287370238517855
130.656311727041280.6873765459174390.343688272958719
140.6002567220494850.799486555901030.399743277950515
150.5820352384171110.8359295231657780.417964761582889
160.5097655462949410.9804689074101180.490234453705059
170.4241540440273710.8483080880547420.575845955972629
180.5888292318771880.8223415362456240.411170768122812
190.7149620190495230.5700759619009530.285037980950477
200.666821445706970.666357108586060.33317855429303
210.8983221959805360.2033556080389290.101677804019464
220.8723199449763050.2553601100473910.127680055023695
230.899931793518860.2001364129622810.100068206481141
240.9524154616364980.09516907672700340.0475845383635017
250.9350104386937620.1299791226124760.0649895613062381
260.9183729622493140.1632540755013710.0816270377506857
270.9414404771327640.1171190457344720.058559522867236
280.9474100739325670.1051798521348660.0525899260674331
290.9427116952277690.1145766095444630.0572883047722314
300.9196239296274460.1607521407451080.0803760703725542
310.8970048852002740.2059902295994520.102995114799726
320.8768977937025580.2462044125948840.123102206297442
330.8902515623118020.2194968753763960.109748437688198
340.8666256796184260.2667486407631480.133374320381574
350.842433427101190.3151331457976210.157566572898810
360.8857747064121050.228450587175790.114225293587895
370.8530878276890570.2938243446218860.146912172310943
380.8285399159891340.3429201680217320.171460084010866
390.8146790647231020.3706418705537960.185320935276898
400.942096760041020.1158064799179600.0579032399589798
410.9211535264737880.1576929470524250.0788464735262123
420.923553276421660.1528934471566810.0764467235783404
430.8911167671719380.2177664656561240.108883232828062
440.9059496957443990.1881006085112020.094050304255601
450.8798424272985860.2403151454028290.120157572701414
460.8676416476532060.2647167046935880.132358352346794
470.8165504898763670.3668990202472650.183449510123633
480.873891862547340.2522162749053190.126108137452660
490.8250291974102520.3499416051794970.174970802589748
500.7806817570294950.4386364859410100.219318242970505
510.7354242997171140.5291514005657720.264575700282886
520.6340384312688740.7319231374622520.365961568731126
530.513178561335440.973642877329120.48682143866456
540.8956040501743160.2087918996513680.104395949825684
550.8881872155684030.2236255688631930.111812784431597







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level20.0392156862745098OK
10% type I error level40.0784313725490196OK

\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.0392156862745098 & OK \tabularnewline
10% type I error level & 4 & 0.0784313725490196 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=57990&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.0392156862745098[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]4[/C][C]0.0784313725490196[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=57990&T=6

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=57990&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.0392156862745098OK
10% type I error level40.0784313725490196OK



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