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, 13 Nov 2014 18:55:43 +0000
Cite this page as followsStatistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?v=date/2014/Nov/13/t14159049535ud9dhyzu9dnnxn.htm/, Retrieved Sun, 19 May 2024 09:22:13 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=254559, Retrieved Sun, 19 May 2024 09:22:13 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact73
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Competence to learn] [2010-11-17 07:43:53] [b98453cac15ba1066b407e146608df68]
- RMPD    [Multiple Regression] [] [2014-11-13 18:55:43] [4bf1efda48b6e8e35beb7b429a900cbb] [Current]
Feedback Forum

Post a new message
Dataseries X:
0	1	35	28	3
1	0	20	3	3
1	0	24	82	2
1	1	62	42	1
1	1	34	71	3
0	0	21	84	2
0	0	40	82	1
1	0	64	64	1
1	1	69	50	1
1	1	45	79	3
0	0	40	88	3
1	1	74	6	1
1	1	64	66	2
0	1	43	46	2
0	1	59	2	3
0	1	72	79	3
0	1	24	81	1
0	1	50	65	3
1	0	76	4	2
1	1	51	47	2
1	1	58	71	3
1	1	68	86	2
0	1	60	22	2
1	0	76	87	1
0	1	47	28	2
0	1	27	93	2
0	0	18	28	3
0	0	21	95	3
1	0	27	68	1
0	1	75	32	1
0	1	44	86	2
1	0	19	31	3
1	1	67	90	2
0	1	40	57	3
1	1	68	26	1
1	0	29	9	3
1	1	69	21	3
0	0	75	36	2
1	0	30	5	1
0	0	57	91	1
0	1	68	88	3
1	0	50	53	1
0	0	80	21	1
1	1	78	6	3
1	0	73	90	1
0	0	38	73	1
1	0	63	80	2
1	0	35	60	1
0	0	55	53	2
1	0	52	41	1
0	1	31	9	2
0	1	62	85	2
1	1	58	88	1
0	1	66	66	3
1	1	31	87	2
1	0	27	25	1
1	1	51	76	2
0	1	80	47	3
1	0	57	0	3
0	0	67	24	3




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net

\begin{tabular}{lllllllll}
\hline
Summary of computational transaction \tabularnewline
Raw Input & view raw input (R code)  \tabularnewline
Raw Output & view raw output of R engine  \tabularnewline
Computing time & 5 seconds \tabularnewline
R Server & 'Gertrude Mary Cox' @ cox.wessa.net \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&T=0

[TABLE]
[ROW][C]Summary of computational transaction[/C][/ROW]
[ROW][C]Raw Input[/C][C]view raw input (R code) [/C][/ROW]
[ROW][C]Raw Output[/C][C]view raw output of R engine [/C][/ROW]
[ROW][C]Computing time[/C][C]5 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'Gertrude Mary Cox' @ cox.wessa.net[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=0

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

As an alternative you can also use a QR Code:  

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

Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time5 seconds
R Server'Gertrude Mary Cox' @ cox.wessa.net







Multiple Linear Regression - Estimated Regression Equation
Abonnement[t] = + 0.885572334745415 -0.0612604461767391Wagen[t] + 0.00114084281494316Leeftijd[t] -0.00203748936252892`Afstand_woon-werk`[t] -0.132910820807424Inkomen[t] + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Abonnement[t] =  +  0.885572334745415 -0.0612604461767391Wagen[t] +  0.00114084281494316Leeftijd[t] -0.00203748936252892`Afstand_woon-werk`[t] -0.132910820807424Inkomen[t]  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Abonnement[t] =  +  0.885572334745415 -0.0612604461767391Wagen[t] +  0.00114084281494316Leeftijd[t] -0.00203748936252892`Afstand_woon-werk`[t] -0.132910820807424Inkomen[t]  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=254559&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
Abonnement[t] = + 0.885572334745415 -0.0612604461767391Wagen[t] + 0.00114084281494316Leeftijd[t] -0.00203748936252892`Afstand_woon-werk`[t] -0.132910820807424Inkomen[t] + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.8855723347454150.3067822.88670.0055540.002777
Wagen-0.06126044617673910.14116-0.4340.6660020.333001
Leeftijd0.001140842814943160.0036970.30850.7588340.379417
`Afstand_woon-werk`-0.002037489362528920.0022-0.9260.3584710.179235
Inkomen-0.1329108208074240.082908-1.60310.114640.05732

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Ordinary Least Squares \tabularnewline
Variable & Parameter & S.D. & T-STATH0: parameter = 0 & 2-tail p-value & 1-tail p-value \tabularnewline
(Intercept) & 0.885572334745415 & 0.306782 & 2.8867 & 0.005554 & 0.002777 \tabularnewline
Wagen & -0.0612604461767391 & 0.14116 & -0.434 & 0.666002 & 0.333001 \tabularnewline
Leeftijd & 0.00114084281494316 & 0.003697 & 0.3085 & 0.758834 & 0.379417 \tabularnewline
`Afstand_woon-werk` & -0.00203748936252892 & 0.0022 & -0.926 & 0.358471 & 0.179235 \tabularnewline
Inkomen & -0.132910820807424 & 0.082908 & -1.6031 & 0.11464 & 0.05732 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&T=2

[TABLE]
[ROW][C]Multiple Linear Regression - Ordinary Least Squares[/C][/ROW]
[ROW][C]Variable[/C][C]Parameter[/C][C]S.D.[/C][C]T-STATH0: parameter = 0[/C][C]2-tail p-value[/C][C]1-tail p-value[/C][/ROW]
[ROW][C](Intercept)[/C][C]0.885572334745415[/C][C]0.306782[/C][C]2.8867[/C][C]0.005554[/C][C]0.002777[/C][/ROW]
[ROW][C]Wagen[/C][C]-0.0612604461767391[/C][C]0.14116[/C][C]-0.434[/C][C]0.666002[/C][C]0.333001[/C][/ROW]
[ROW][C]Leeftijd[/C][C]0.00114084281494316[/C][C]0.003697[/C][C]0.3085[/C][C]0.758834[/C][C]0.379417[/C][/ROW]
[ROW][C]`Afstand_woon-werk`[/C][C]-0.00203748936252892[/C][C]0.0022[/C][C]-0.926[/C][C]0.358471[/C][C]0.179235[/C][/ROW]
[ROW][C]Inkomen[/C][C]-0.132910820807424[/C][C]0.082908[/C][C]-1.6031[/C][C]0.11464[/C][C]0.05732[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=2

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

As an alternative you can also use a QR Code:  

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

Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)0.8855723347454150.3067822.88670.0055540.002777
Wagen-0.06126044617673910.14116-0.4340.6660020.333001
Leeftijd0.001140842814943160.0036970.30850.7588340.379417
`Afstand_woon-werk`-0.002037489362528920.0022-0.9260.3584710.179235
Inkomen-0.1329108208074240.082908-1.60310.114640.05732







Multiple Linear Regression - Regression Statistics
Multiple R0.267090136488276
R-squared0.0713371410093261
Adjusted R-squared0.0037980239918225
F-TEST (value)1.05623443360739
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0.386944466865733
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.502141451052735
Sum Squared Residuals13.8680320275941

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.267090136488276 \tabularnewline
R-squared & 0.0713371410093261 \tabularnewline
Adjusted R-squared & 0.0037980239918225 \tabularnewline
F-TEST (value) & 1.05623443360739 \tabularnewline
F-TEST (DF numerator) & 4 \tabularnewline
F-TEST (DF denominator) & 55 \tabularnewline
p-value & 0.386944466865733 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 0.502141451052735 \tabularnewline
Sum Squared Residuals & 13.8680320275941 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.267090136488276[/C][/ROW]
[ROW][C]R-squared[/C][C]0.0713371410093261[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.0037980239918225[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.05623443360739[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]4[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]55[/C][/ROW]
[ROW][C]p-value[/C][C]0.386944466865733[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]0.502141451052735[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]13.8680320275941[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=254559&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.267090136488276
R-squared0.0713371410093261
Adjusted R-squared0.0037980239918225
F-TEST (value)1.05623443360739
F-TEST (DF numerator)4
F-TEST (DF denominator)55
p-value0.386944466865733
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.502141451052735
Sum Squared Residuals13.8680320275941







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
100.408459222518607-0.408459222518607
210.5035442605344210.496455739465579
310.4800567929618330.519943207038167
410.6765587690615140.323441230938486
510.3197063371149190.680293662885081
600.472559285791945-0.472559285791945
700.631221098808347-0.631221098808347
810.6952761348925030.304723865107497
910.6682447538658850.331755246134115
1010.3159556931790630.684044306820937
1100.353174521018326-0.353174521018326
1210.7635984998918730.236401500108127
1310.4970298891832830.502970110816717
1400.513821977320055-0.513821977320055
1500.488814173502994-0.488814173502994
1600.346758449182528-0.346758449182528
1700.553744656955046-0.553744656955046
1800.350184758329184-0.350184758329184
1910.6983047896161330.301695210383867
2010.5209112304770710.479088769522929
2110.3470865646735560.652913435326444
2210.4608434731924770.539156526807523
2300.582116049874782-0.582116049874782
2410.6621039933336560.337896006666344
2500.555060157105348-0.555060157105348
2600.399806492242105-0.399806492242105
2700.450325340841312-0.450325340841312
2800.317236081996704-0.317236081996704
2910.6449149932894910.355085006710509
3000.711764619281064-0.711764619281064
3100.433463245633841-0.433463245633841
3210.4453537155686680.554646284431332
3310.4515526729274180.548447327072582
3400.355076245079983-0.355076245079983
3510.7160036557516360.283996344248364
3610.5015869096937360.498413090306264
3710.4615103037643760.538489696235624
3800.631964287200264-0.631964287200264
3910.7766993515736420.223300648426358
4000.632278022399621-0.632278022399621
4100.323857673659996-0.323857673659996
4210.7017167184711170.298283281528883
4300.801141662520338-0.801141662520338
4410.5023402295367980.497659770463202
4510.652568996801240.34743100319876
4600.647276817441221-0.647276817441221
4710.5286246414696740.471375358530326
4810.6703416507092670.329658349290733
4900.574510111738409-0.574510111738409
5010.7284482764513510.271551723548649
5100.575518969954307-0.575518969954307
5200.456035905665347-0.456035905665347
5310.5782708871254110.421729112874589
5400.366400754005745-0.366400754005745
5510.4165947996770510.583405200322949
5610.7325270358782340.267472964121766
5710.4618240389637330.538175961036267
5800.421084851302999-0.421084851302999
5910.5518679127749050.448132087225095
6000.514376596223642-0.514376596223642

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 0 & 0.408459222518607 & -0.408459222518607 \tabularnewline
2 & 1 & 0.503544260534421 & 0.496455739465579 \tabularnewline
3 & 1 & 0.480056792961833 & 0.519943207038167 \tabularnewline
4 & 1 & 0.676558769061514 & 0.323441230938486 \tabularnewline
5 & 1 & 0.319706337114919 & 0.680293662885081 \tabularnewline
6 & 0 & 0.472559285791945 & -0.472559285791945 \tabularnewline
7 & 0 & 0.631221098808347 & -0.631221098808347 \tabularnewline
8 & 1 & 0.695276134892503 & 0.304723865107497 \tabularnewline
9 & 1 & 0.668244753865885 & 0.331755246134115 \tabularnewline
10 & 1 & 0.315955693179063 & 0.684044306820937 \tabularnewline
11 & 0 & 0.353174521018326 & -0.353174521018326 \tabularnewline
12 & 1 & 0.763598499891873 & 0.236401500108127 \tabularnewline
13 & 1 & 0.497029889183283 & 0.502970110816717 \tabularnewline
14 & 0 & 0.513821977320055 & -0.513821977320055 \tabularnewline
15 & 0 & 0.488814173502994 & -0.488814173502994 \tabularnewline
16 & 0 & 0.346758449182528 & -0.346758449182528 \tabularnewline
17 & 0 & 0.553744656955046 & -0.553744656955046 \tabularnewline
18 & 0 & 0.350184758329184 & -0.350184758329184 \tabularnewline
19 & 1 & 0.698304789616133 & 0.301695210383867 \tabularnewline
20 & 1 & 0.520911230477071 & 0.479088769522929 \tabularnewline
21 & 1 & 0.347086564673556 & 0.652913435326444 \tabularnewline
22 & 1 & 0.460843473192477 & 0.539156526807523 \tabularnewline
23 & 0 & 0.582116049874782 & -0.582116049874782 \tabularnewline
24 & 1 & 0.662103993333656 & 0.337896006666344 \tabularnewline
25 & 0 & 0.555060157105348 & -0.555060157105348 \tabularnewline
26 & 0 & 0.399806492242105 & -0.399806492242105 \tabularnewline
27 & 0 & 0.450325340841312 & -0.450325340841312 \tabularnewline
28 & 0 & 0.317236081996704 & -0.317236081996704 \tabularnewline
29 & 1 & 0.644914993289491 & 0.355085006710509 \tabularnewline
30 & 0 & 0.711764619281064 & -0.711764619281064 \tabularnewline
31 & 0 & 0.433463245633841 & -0.433463245633841 \tabularnewline
32 & 1 & 0.445353715568668 & 0.554646284431332 \tabularnewline
33 & 1 & 0.451552672927418 & 0.548447327072582 \tabularnewline
34 & 0 & 0.355076245079983 & -0.355076245079983 \tabularnewline
35 & 1 & 0.716003655751636 & 0.283996344248364 \tabularnewline
36 & 1 & 0.501586909693736 & 0.498413090306264 \tabularnewline
37 & 1 & 0.461510303764376 & 0.538489696235624 \tabularnewline
38 & 0 & 0.631964287200264 & -0.631964287200264 \tabularnewline
39 & 1 & 0.776699351573642 & 0.223300648426358 \tabularnewline
40 & 0 & 0.632278022399621 & -0.632278022399621 \tabularnewline
41 & 0 & 0.323857673659996 & -0.323857673659996 \tabularnewline
42 & 1 & 0.701716718471117 & 0.298283281528883 \tabularnewline
43 & 0 & 0.801141662520338 & -0.801141662520338 \tabularnewline
44 & 1 & 0.502340229536798 & 0.497659770463202 \tabularnewline
45 & 1 & 0.65256899680124 & 0.34743100319876 \tabularnewline
46 & 0 & 0.647276817441221 & -0.647276817441221 \tabularnewline
47 & 1 & 0.528624641469674 & 0.471375358530326 \tabularnewline
48 & 1 & 0.670341650709267 & 0.329658349290733 \tabularnewline
49 & 0 & 0.574510111738409 & -0.574510111738409 \tabularnewline
50 & 1 & 0.728448276451351 & 0.271551723548649 \tabularnewline
51 & 0 & 0.575518969954307 & -0.575518969954307 \tabularnewline
52 & 0 & 0.456035905665347 & -0.456035905665347 \tabularnewline
53 & 1 & 0.578270887125411 & 0.421729112874589 \tabularnewline
54 & 0 & 0.366400754005745 & -0.366400754005745 \tabularnewline
55 & 1 & 0.416594799677051 & 0.583405200322949 \tabularnewline
56 & 1 & 0.732527035878234 & 0.267472964121766 \tabularnewline
57 & 1 & 0.461824038963733 & 0.538175961036267 \tabularnewline
58 & 0 & 0.421084851302999 & -0.421084851302999 \tabularnewline
59 & 1 & 0.551867912774905 & 0.448132087225095 \tabularnewline
60 & 0 & 0.514376596223642 & -0.514376596223642 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&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]0[/C][C]0.408459222518607[/C][C]-0.408459222518607[/C][/ROW]
[ROW][C]2[/C][C]1[/C][C]0.503544260534421[/C][C]0.496455739465579[/C][/ROW]
[ROW][C]3[/C][C]1[/C][C]0.480056792961833[/C][C]0.519943207038167[/C][/ROW]
[ROW][C]4[/C][C]1[/C][C]0.676558769061514[/C][C]0.323441230938486[/C][/ROW]
[ROW][C]5[/C][C]1[/C][C]0.319706337114919[/C][C]0.680293662885081[/C][/ROW]
[ROW][C]6[/C][C]0[/C][C]0.472559285791945[/C][C]-0.472559285791945[/C][/ROW]
[ROW][C]7[/C][C]0[/C][C]0.631221098808347[/C][C]-0.631221098808347[/C][/ROW]
[ROW][C]8[/C][C]1[/C][C]0.695276134892503[/C][C]0.304723865107497[/C][/ROW]
[ROW][C]9[/C][C]1[/C][C]0.668244753865885[/C][C]0.331755246134115[/C][/ROW]
[ROW][C]10[/C][C]1[/C][C]0.315955693179063[/C][C]0.684044306820937[/C][/ROW]
[ROW][C]11[/C][C]0[/C][C]0.353174521018326[/C][C]-0.353174521018326[/C][/ROW]
[ROW][C]12[/C][C]1[/C][C]0.763598499891873[/C][C]0.236401500108127[/C][/ROW]
[ROW][C]13[/C][C]1[/C][C]0.497029889183283[/C][C]0.502970110816717[/C][/ROW]
[ROW][C]14[/C][C]0[/C][C]0.513821977320055[/C][C]-0.513821977320055[/C][/ROW]
[ROW][C]15[/C][C]0[/C][C]0.488814173502994[/C][C]-0.488814173502994[/C][/ROW]
[ROW][C]16[/C][C]0[/C][C]0.346758449182528[/C][C]-0.346758449182528[/C][/ROW]
[ROW][C]17[/C][C]0[/C][C]0.553744656955046[/C][C]-0.553744656955046[/C][/ROW]
[ROW][C]18[/C][C]0[/C][C]0.350184758329184[/C][C]-0.350184758329184[/C][/ROW]
[ROW][C]19[/C][C]1[/C][C]0.698304789616133[/C][C]0.301695210383867[/C][/ROW]
[ROW][C]20[/C][C]1[/C][C]0.520911230477071[/C][C]0.479088769522929[/C][/ROW]
[ROW][C]21[/C][C]1[/C][C]0.347086564673556[/C][C]0.652913435326444[/C][/ROW]
[ROW][C]22[/C][C]1[/C][C]0.460843473192477[/C][C]0.539156526807523[/C][/ROW]
[ROW][C]23[/C][C]0[/C][C]0.582116049874782[/C][C]-0.582116049874782[/C][/ROW]
[ROW][C]24[/C][C]1[/C][C]0.662103993333656[/C][C]0.337896006666344[/C][/ROW]
[ROW][C]25[/C][C]0[/C][C]0.555060157105348[/C][C]-0.555060157105348[/C][/ROW]
[ROW][C]26[/C][C]0[/C][C]0.399806492242105[/C][C]-0.399806492242105[/C][/ROW]
[ROW][C]27[/C][C]0[/C][C]0.450325340841312[/C][C]-0.450325340841312[/C][/ROW]
[ROW][C]28[/C][C]0[/C][C]0.317236081996704[/C][C]-0.317236081996704[/C][/ROW]
[ROW][C]29[/C][C]1[/C][C]0.644914993289491[/C][C]0.355085006710509[/C][/ROW]
[ROW][C]30[/C][C]0[/C][C]0.711764619281064[/C][C]-0.711764619281064[/C][/ROW]
[ROW][C]31[/C][C]0[/C][C]0.433463245633841[/C][C]-0.433463245633841[/C][/ROW]
[ROW][C]32[/C][C]1[/C][C]0.445353715568668[/C][C]0.554646284431332[/C][/ROW]
[ROW][C]33[/C][C]1[/C][C]0.451552672927418[/C][C]0.548447327072582[/C][/ROW]
[ROW][C]34[/C][C]0[/C][C]0.355076245079983[/C][C]-0.355076245079983[/C][/ROW]
[ROW][C]35[/C][C]1[/C][C]0.716003655751636[/C][C]0.283996344248364[/C][/ROW]
[ROW][C]36[/C][C]1[/C][C]0.501586909693736[/C][C]0.498413090306264[/C][/ROW]
[ROW][C]37[/C][C]1[/C][C]0.461510303764376[/C][C]0.538489696235624[/C][/ROW]
[ROW][C]38[/C][C]0[/C][C]0.631964287200264[/C][C]-0.631964287200264[/C][/ROW]
[ROW][C]39[/C][C]1[/C][C]0.776699351573642[/C][C]0.223300648426358[/C][/ROW]
[ROW][C]40[/C][C]0[/C][C]0.632278022399621[/C][C]-0.632278022399621[/C][/ROW]
[ROW][C]41[/C][C]0[/C][C]0.323857673659996[/C][C]-0.323857673659996[/C][/ROW]
[ROW][C]42[/C][C]1[/C][C]0.701716718471117[/C][C]0.298283281528883[/C][/ROW]
[ROW][C]43[/C][C]0[/C][C]0.801141662520338[/C][C]-0.801141662520338[/C][/ROW]
[ROW][C]44[/C][C]1[/C][C]0.502340229536798[/C][C]0.497659770463202[/C][/ROW]
[ROW][C]45[/C][C]1[/C][C]0.65256899680124[/C][C]0.34743100319876[/C][/ROW]
[ROW][C]46[/C][C]0[/C][C]0.647276817441221[/C][C]-0.647276817441221[/C][/ROW]
[ROW][C]47[/C][C]1[/C][C]0.528624641469674[/C][C]0.471375358530326[/C][/ROW]
[ROW][C]48[/C][C]1[/C][C]0.670341650709267[/C][C]0.329658349290733[/C][/ROW]
[ROW][C]49[/C][C]0[/C][C]0.574510111738409[/C][C]-0.574510111738409[/C][/ROW]
[ROW][C]50[/C][C]1[/C][C]0.728448276451351[/C][C]0.271551723548649[/C][/ROW]
[ROW][C]51[/C][C]0[/C][C]0.575518969954307[/C][C]-0.575518969954307[/C][/ROW]
[ROW][C]52[/C][C]0[/C][C]0.456035905665347[/C][C]-0.456035905665347[/C][/ROW]
[ROW][C]53[/C][C]1[/C][C]0.578270887125411[/C][C]0.421729112874589[/C][/ROW]
[ROW][C]54[/C][C]0[/C][C]0.366400754005745[/C][C]-0.366400754005745[/C][/ROW]
[ROW][C]55[/C][C]1[/C][C]0.416594799677051[/C][C]0.583405200322949[/C][/ROW]
[ROW][C]56[/C][C]1[/C][C]0.732527035878234[/C][C]0.267472964121766[/C][/ROW]
[ROW][C]57[/C][C]1[/C][C]0.461824038963733[/C][C]0.538175961036267[/C][/ROW]
[ROW][C]58[/C][C]0[/C][C]0.421084851302999[/C][C]-0.421084851302999[/C][/ROW]
[ROW][C]59[/C][C]1[/C][C]0.551867912774905[/C][C]0.448132087225095[/C][/ROW]
[ROW][C]60[/C][C]0[/C][C]0.514376596223642[/C][C]-0.514376596223642[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=254559&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
100.408459222518607-0.408459222518607
210.5035442605344210.496455739465579
310.4800567929618330.519943207038167
410.6765587690615140.323441230938486
510.3197063371149190.680293662885081
600.472559285791945-0.472559285791945
700.631221098808347-0.631221098808347
810.6952761348925030.304723865107497
910.6682447538658850.331755246134115
1010.3159556931790630.684044306820937
1100.353174521018326-0.353174521018326
1210.7635984998918730.236401500108127
1310.4970298891832830.502970110816717
1400.513821977320055-0.513821977320055
1500.488814173502994-0.488814173502994
1600.346758449182528-0.346758449182528
1700.553744656955046-0.553744656955046
1800.350184758329184-0.350184758329184
1910.6983047896161330.301695210383867
2010.5209112304770710.479088769522929
2110.3470865646735560.652913435326444
2210.4608434731924770.539156526807523
2300.582116049874782-0.582116049874782
2410.6621039933336560.337896006666344
2500.555060157105348-0.555060157105348
2600.399806492242105-0.399806492242105
2700.450325340841312-0.450325340841312
2800.317236081996704-0.317236081996704
2910.6449149932894910.355085006710509
3000.711764619281064-0.711764619281064
3100.433463245633841-0.433463245633841
3210.4453537155686680.554646284431332
3310.4515526729274180.548447327072582
3400.355076245079983-0.355076245079983
3510.7160036557516360.283996344248364
3610.5015869096937360.498413090306264
3710.4615103037643760.538489696235624
3800.631964287200264-0.631964287200264
3910.7766993515736420.223300648426358
4000.632278022399621-0.632278022399621
4100.323857673659996-0.323857673659996
4210.7017167184711170.298283281528883
4300.801141662520338-0.801141662520338
4410.5023402295367980.497659770463202
4510.652568996801240.34743100319876
4600.647276817441221-0.647276817441221
4710.5286246414696740.471375358530326
4810.6703416507092670.329658349290733
4900.574510111738409-0.574510111738409
5010.7284482764513510.271551723548649
5100.575518969954307-0.575518969954307
5200.456035905665347-0.456035905665347
5310.5782708871254110.421729112874589
5400.366400754005745-0.366400754005745
5510.4165947996770510.583405200322949
5610.7325270358782340.267472964121766
5710.4618240389637330.538175961036267
5800.421084851302999-0.421084851302999
5910.5518679127749050.448132087225095
6000.514376596223642-0.514376596223642







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.8664822397923630.2670355204152740.133517760207637
90.7742035669667750.451592866066450.225796433033225
100.6798795018666760.6402409962666480.320120498133324
110.7462497825257270.5075004349485460.253750217474273
120.6536817464822140.6926365070355710.346318253517786
130.571307555139350.8573848897212990.42869244486065
140.6279941108487190.7440117783025630.372005889151281
150.7052625069372240.5894749861255520.294737493062776
160.6795410439307310.6409179121385380.320458956069269
170.6887773662313320.6224452675373360.311222633768668
180.6431198573377670.7137602853244660.356880142662233
190.5689723973310910.8620552053378180.431027602668909
200.5492265736749490.9015468526501010.450773426325051
210.5736381956480730.8527236087038540.426361804351927
220.5556056157417420.8887887685165160.444394384258258
230.5884572198730340.8230855602539320.411542780126966
240.5295253961115970.9409492077768060.470474603888403
250.5328819378943640.9342361242112710.467118062105636
260.4929343111077190.9858686222154380.507065688892281
270.472390010338590.9447800206771810.527609989661409
280.4386066479003970.8772132958007940.561393352099603
290.4093928679258710.8187857358517410.590607132074129
300.4843765635641470.9687531271282940.515623436435853
310.4756933705595030.9513867411190060.524306629440497
320.4783327507869280.9566655015738560.521667249213072
330.4795929162271510.9591858324543030.520407083772849
340.458249337000190.9164986740003810.54175066299981
350.4060558554111980.8121117108223950.593944144588802
360.3728369116170410.7456738232340830.627163088382959
370.3762852499410880.7525704998821760.623714750058912
380.4219788910391130.8439577820782260.578021108960887
390.3530388020024540.7060776040049080.646961197997546
400.3951111975613660.7902223951227310.604888802438634
410.3490445663939870.6980891327879730.650955433606013
420.2923698684091170.5847397368182330.707630131590884
430.3860756056070340.7721512112140680.613924394392966
440.4232736359792330.8465472719584660.576726364020767
450.3516327503810790.7032655007621590.648367249618921
460.5734771047307350.853045790538530.426522895269265
470.5034702589138060.9930594821723890.496529741086194
480.4015669317166890.8031338634333780.598433068283311
490.5515140460966680.8969719078066640.448485953903332
500.4215026123618840.8430052247237680.578497387638116
510.5547926169876390.8904147660247210.445207383012361
520.4845652152693920.9691304305387840.515434784730608

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
8 & 0.866482239792363 & 0.267035520415274 & 0.133517760207637 \tabularnewline
9 & 0.774203566966775 & 0.45159286606645 & 0.225796433033225 \tabularnewline
10 & 0.679879501866676 & 0.640240996266648 & 0.320120498133324 \tabularnewline
11 & 0.746249782525727 & 0.507500434948546 & 0.253750217474273 \tabularnewline
12 & 0.653681746482214 & 0.692636507035571 & 0.346318253517786 \tabularnewline
13 & 0.57130755513935 & 0.857384889721299 & 0.42869244486065 \tabularnewline
14 & 0.627994110848719 & 0.744011778302563 & 0.372005889151281 \tabularnewline
15 & 0.705262506937224 & 0.589474986125552 & 0.294737493062776 \tabularnewline
16 & 0.679541043930731 & 0.640917912138538 & 0.320458956069269 \tabularnewline
17 & 0.688777366231332 & 0.622445267537336 & 0.311222633768668 \tabularnewline
18 & 0.643119857337767 & 0.713760285324466 & 0.356880142662233 \tabularnewline
19 & 0.568972397331091 & 0.862055205337818 & 0.431027602668909 \tabularnewline
20 & 0.549226573674949 & 0.901546852650101 & 0.450773426325051 \tabularnewline
21 & 0.573638195648073 & 0.852723608703854 & 0.426361804351927 \tabularnewline
22 & 0.555605615741742 & 0.888788768516516 & 0.444394384258258 \tabularnewline
23 & 0.588457219873034 & 0.823085560253932 & 0.411542780126966 \tabularnewline
24 & 0.529525396111597 & 0.940949207776806 & 0.470474603888403 \tabularnewline
25 & 0.532881937894364 & 0.934236124211271 & 0.467118062105636 \tabularnewline
26 & 0.492934311107719 & 0.985868622215438 & 0.507065688892281 \tabularnewline
27 & 0.47239001033859 & 0.944780020677181 & 0.527609989661409 \tabularnewline
28 & 0.438606647900397 & 0.877213295800794 & 0.561393352099603 \tabularnewline
29 & 0.409392867925871 & 0.818785735851741 & 0.590607132074129 \tabularnewline
30 & 0.484376563564147 & 0.968753127128294 & 0.515623436435853 \tabularnewline
31 & 0.475693370559503 & 0.951386741119006 & 0.524306629440497 \tabularnewline
32 & 0.478332750786928 & 0.956665501573856 & 0.521667249213072 \tabularnewline
33 & 0.479592916227151 & 0.959185832454303 & 0.520407083772849 \tabularnewline
34 & 0.45824933700019 & 0.916498674000381 & 0.54175066299981 \tabularnewline
35 & 0.406055855411198 & 0.812111710822395 & 0.593944144588802 \tabularnewline
36 & 0.372836911617041 & 0.745673823234083 & 0.627163088382959 \tabularnewline
37 & 0.376285249941088 & 0.752570499882176 & 0.623714750058912 \tabularnewline
38 & 0.421978891039113 & 0.843957782078226 & 0.578021108960887 \tabularnewline
39 & 0.353038802002454 & 0.706077604004908 & 0.646961197997546 \tabularnewline
40 & 0.395111197561366 & 0.790222395122731 & 0.604888802438634 \tabularnewline
41 & 0.349044566393987 & 0.698089132787973 & 0.650955433606013 \tabularnewline
42 & 0.292369868409117 & 0.584739736818233 & 0.707630131590884 \tabularnewline
43 & 0.386075605607034 & 0.772151211214068 & 0.613924394392966 \tabularnewline
44 & 0.423273635979233 & 0.846547271958466 & 0.576726364020767 \tabularnewline
45 & 0.351632750381079 & 0.703265500762159 & 0.648367249618921 \tabularnewline
46 & 0.573477104730735 & 0.85304579053853 & 0.426522895269265 \tabularnewline
47 & 0.503470258913806 & 0.993059482172389 & 0.496529741086194 \tabularnewline
48 & 0.401566931716689 & 0.803133863433378 & 0.598433068283311 \tabularnewline
49 & 0.551514046096668 & 0.896971907806664 & 0.448485953903332 \tabularnewline
50 & 0.421502612361884 & 0.843005224723768 & 0.578497387638116 \tabularnewline
51 & 0.554792616987639 & 0.890414766024721 & 0.445207383012361 \tabularnewline
52 & 0.484565215269392 & 0.969130430538784 & 0.515434784730608 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&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]8[/C][C]0.866482239792363[/C][C]0.267035520415274[/C][C]0.133517760207637[/C][/ROW]
[ROW][C]9[/C][C]0.774203566966775[/C][C]0.45159286606645[/C][C]0.225796433033225[/C][/ROW]
[ROW][C]10[/C][C]0.679879501866676[/C][C]0.640240996266648[/C][C]0.320120498133324[/C][/ROW]
[ROW][C]11[/C][C]0.746249782525727[/C][C]0.507500434948546[/C][C]0.253750217474273[/C][/ROW]
[ROW][C]12[/C][C]0.653681746482214[/C][C]0.692636507035571[/C][C]0.346318253517786[/C][/ROW]
[ROW][C]13[/C][C]0.57130755513935[/C][C]0.857384889721299[/C][C]0.42869244486065[/C][/ROW]
[ROW][C]14[/C][C]0.627994110848719[/C][C]0.744011778302563[/C][C]0.372005889151281[/C][/ROW]
[ROW][C]15[/C][C]0.705262506937224[/C][C]0.589474986125552[/C][C]0.294737493062776[/C][/ROW]
[ROW][C]16[/C][C]0.679541043930731[/C][C]0.640917912138538[/C][C]0.320458956069269[/C][/ROW]
[ROW][C]17[/C][C]0.688777366231332[/C][C]0.622445267537336[/C][C]0.311222633768668[/C][/ROW]
[ROW][C]18[/C][C]0.643119857337767[/C][C]0.713760285324466[/C][C]0.356880142662233[/C][/ROW]
[ROW][C]19[/C][C]0.568972397331091[/C][C]0.862055205337818[/C][C]0.431027602668909[/C][/ROW]
[ROW][C]20[/C][C]0.549226573674949[/C][C]0.901546852650101[/C][C]0.450773426325051[/C][/ROW]
[ROW][C]21[/C][C]0.573638195648073[/C][C]0.852723608703854[/C][C]0.426361804351927[/C][/ROW]
[ROW][C]22[/C][C]0.555605615741742[/C][C]0.888788768516516[/C][C]0.444394384258258[/C][/ROW]
[ROW][C]23[/C][C]0.588457219873034[/C][C]0.823085560253932[/C][C]0.411542780126966[/C][/ROW]
[ROW][C]24[/C][C]0.529525396111597[/C][C]0.940949207776806[/C][C]0.470474603888403[/C][/ROW]
[ROW][C]25[/C][C]0.532881937894364[/C][C]0.934236124211271[/C][C]0.467118062105636[/C][/ROW]
[ROW][C]26[/C][C]0.492934311107719[/C][C]0.985868622215438[/C][C]0.507065688892281[/C][/ROW]
[ROW][C]27[/C][C]0.47239001033859[/C][C]0.944780020677181[/C][C]0.527609989661409[/C][/ROW]
[ROW][C]28[/C][C]0.438606647900397[/C][C]0.877213295800794[/C][C]0.561393352099603[/C][/ROW]
[ROW][C]29[/C][C]0.409392867925871[/C][C]0.818785735851741[/C][C]0.590607132074129[/C][/ROW]
[ROW][C]30[/C][C]0.484376563564147[/C][C]0.968753127128294[/C][C]0.515623436435853[/C][/ROW]
[ROW][C]31[/C][C]0.475693370559503[/C][C]0.951386741119006[/C][C]0.524306629440497[/C][/ROW]
[ROW][C]32[/C][C]0.478332750786928[/C][C]0.956665501573856[/C][C]0.521667249213072[/C][/ROW]
[ROW][C]33[/C][C]0.479592916227151[/C][C]0.959185832454303[/C][C]0.520407083772849[/C][/ROW]
[ROW][C]34[/C][C]0.45824933700019[/C][C]0.916498674000381[/C][C]0.54175066299981[/C][/ROW]
[ROW][C]35[/C][C]0.406055855411198[/C][C]0.812111710822395[/C][C]0.593944144588802[/C][/ROW]
[ROW][C]36[/C][C]0.372836911617041[/C][C]0.745673823234083[/C][C]0.627163088382959[/C][/ROW]
[ROW][C]37[/C][C]0.376285249941088[/C][C]0.752570499882176[/C][C]0.623714750058912[/C][/ROW]
[ROW][C]38[/C][C]0.421978891039113[/C][C]0.843957782078226[/C][C]0.578021108960887[/C][/ROW]
[ROW][C]39[/C][C]0.353038802002454[/C][C]0.706077604004908[/C][C]0.646961197997546[/C][/ROW]
[ROW][C]40[/C][C]0.395111197561366[/C][C]0.790222395122731[/C][C]0.604888802438634[/C][/ROW]
[ROW][C]41[/C][C]0.349044566393987[/C][C]0.698089132787973[/C][C]0.650955433606013[/C][/ROW]
[ROW][C]42[/C][C]0.292369868409117[/C][C]0.584739736818233[/C][C]0.707630131590884[/C][/ROW]
[ROW][C]43[/C][C]0.386075605607034[/C][C]0.772151211214068[/C][C]0.613924394392966[/C][/ROW]
[ROW][C]44[/C][C]0.423273635979233[/C][C]0.846547271958466[/C][C]0.576726364020767[/C][/ROW]
[ROW][C]45[/C][C]0.351632750381079[/C][C]0.703265500762159[/C][C]0.648367249618921[/C][/ROW]
[ROW][C]46[/C][C]0.573477104730735[/C][C]0.85304579053853[/C][C]0.426522895269265[/C][/ROW]
[ROW][C]47[/C][C]0.503470258913806[/C][C]0.993059482172389[/C][C]0.496529741086194[/C][/ROW]
[ROW][C]48[/C][C]0.401566931716689[/C][C]0.803133863433378[/C][C]0.598433068283311[/C][/ROW]
[ROW][C]49[/C][C]0.551514046096668[/C][C]0.896971907806664[/C][C]0.448485953903332[/C][/ROW]
[ROW][C]50[/C][C]0.421502612361884[/C][C]0.843005224723768[/C][C]0.578497387638116[/C][/ROW]
[ROW][C]51[/C][C]0.554792616987639[/C][C]0.890414766024721[/C][C]0.445207383012361[/C][/ROW]
[ROW][C]52[/C][C]0.484565215269392[/C][C]0.969130430538784[/C][C]0.515434784730608[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=254559&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
80.8664822397923630.2670355204152740.133517760207637
90.7742035669667750.451592866066450.225796433033225
100.6798795018666760.6402409962666480.320120498133324
110.7462497825257270.5075004349485460.253750217474273
120.6536817464822140.6926365070355710.346318253517786
130.571307555139350.8573848897212990.42869244486065
140.6279941108487190.7440117783025630.372005889151281
150.7052625069372240.5894749861255520.294737493062776
160.6795410439307310.6409179121385380.320458956069269
170.6887773662313320.6224452675373360.311222633768668
180.6431198573377670.7137602853244660.356880142662233
190.5689723973310910.8620552053378180.431027602668909
200.5492265736749490.9015468526501010.450773426325051
210.5736381956480730.8527236087038540.426361804351927
220.5556056157417420.8887887685165160.444394384258258
230.5884572198730340.8230855602539320.411542780126966
240.5295253961115970.9409492077768060.470474603888403
250.5328819378943640.9342361242112710.467118062105636
260.4929343111077190.9858686222154380.507065688892281
270.472390010338590.9447800206771810.527609989661409
280.4386066479003970.8772132958007940.561393352099603
290.4093928679258710.8187857358517410.590607132074129
300.4843765635641470.9687531271282940.515623436435853
310.4756933705595030.9513867411190060.524306629440497
320.4783327507869280.9566655015738560.521667249213072
330.4795929162271510.9591858324543030.520407083772849
340.458249337000190.9164986740003810.54175066299981
350.4060558554111980.8121117108223950.593944144588802
360.3728369116170410.7456738232340830.627163088382959
370.3762852499410880.7525704998821760.623714750058912
380.4219788910391130.8439577820782260.578021108960887
390.3530388020024540.7060776040049080.646961197997546
400.3951111975613660.7902223951227310.604888802438634
410.3490445663939870.6980891327879730.650955433606013
420.2923698684091170.5847397368182330.707630131590884
430.3860756056070340.7721512112140680.613924394392966
440.4232736359792330.8465472719584660.576726364020767
450.3516327503810790.7032655007621590.648367249618921
460.5734771047307350.853045790538530.426522895269265
470.5034702589138060.9930594821723890.496529741086194
480.4015669317166890.8031338634333780.598433068283311
490.5515140460966680.8969719078066640.448485953903332
500.4215026123618840.8430052247237680.578497387638116
510.5547926169876390.8904147660247210.445207383012361
520.4845652152693920.9691304305387840.515434784730608







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

\begin{tabular}{lllllllll}
\hline
Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
Description & # significant tests & % significant tests & OK/NOK \tabularnewline
1% type I error level & 0 & 0 & OK \tabularnewline
5% type I error level & 0 & 0 & OK \tabularnewline
10% type I error level & 0 & 0 & OK \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=254559&T=6

[TABLE]
[ROW][C]Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]Description[/C][C]# significant tests[/C][C]% significant tests[/C][C]OK/NOK[/C][/ROW]
[ROW][C]1% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]5% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[ROW][C]10% type I error level[/C][C]0[/C][C]0[/C][C]OK[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=254559&T=6

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

As an alternative you can also use a QR Code:  

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

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



Parameters (Session):
par1 = 1 ; par2 = 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')
}