Free Statistics

of Irreproducible Research!

Author's title

Author*The author of this computation has been verified*
R Software Modulerwasp_multipleregression.wasp
Title produced by softwareMultiple Regression
Date of computationWed, 29 Dec 2010 18:38:10 +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/2010/Dec/29/t1293647748pkdivys4rx6zhc7.htm/, Retrieved Fri, 03 May 2024 13:01:56 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=117026, Retrieved Fri, 03 May 2024 13:01:56 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact141
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-     [Multiple Regression] [Q1 The Seatbeltlaw] [2007-11-14 19:27:43] [8cd6641b921d30ebe00b648d1481bba0]
- RM D  [Multiple Regression] [Seatbelt] [2009-11-12 14:06:21] [b98453cac15ba1066b407e146608df68]
- R  D    [Multiple Regression] [Regressiemodel - ...] [2009-11-19 17:13:05] [54d83950395cfb8ca1091bdb7440f70a]
- R  D        [Multiple Regression] [] [2010-12-29 18:38:10] [4afc4ea409ad669ec2851bc39795365d] [Current]
Feedback Forum

Post a new message
Dataseries X:
597141	25
593408	24
590072	21
579799	22
574205	20
572775	24
572942	24
619567	24
625809	24
619916	28
587625	27
565742	18
557274	25
560576	27
548854	25
531673	28
525919	28
511038	27
498662	25
555362	24
564591	24
541657	25
527070	18
509846	22
514258	20
516922	23
507561	23
492622	19
490243	17
469357	15
477580	13
528379	15
533590	17
517945	9
506174	4
501866	1
516141	6
528222	2
532638	2
536322	4
536535	7
523597	8
536214	9
586570	15
596594	15
580523	14
564478	16
557560	11
575093	11
580112	11
574761	13
563250	18
551531	13
537034	17
544686	19
600991	22
604378	22
586111	24
563668	26
548604	24




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

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

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

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

As an alternative you can also use a QR Code:  

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

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







Multiple Linear Regression - Estimated Regression Equation
werkloos[t] = + 513222.488502579 + 1430.61638726532cv[t] + 12646.9207958182M1[t] + 16464.7501732907M2[t] + 12203.5493831224M3[t] + 107.915818423545M4[t] -3270.71513938551M5[t] -17962.6254266313M6[t] -14468.6727717057M7[t] + 34778.3238312362M8[t] + 40975.9066538026M9[t] + 25737.3825861813M10[t] + 8836.32146073147M11[t] + 48.7706225274404t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
werkloos[t] =  +  513222.488502579 +  1430.61638726532cv[t] +  12646.9207958182M1[t] +  16464.7501732907M2[t] +  12203.5493831224M3[t] +  107.915818423545M4[t] -3270.71513938551M5[t] -17962.6254266313M6[t] -14468.6727717057M7[t] +  34778.3238312362M8[t] +  40975.9066538026M9[t] +  25737.3825861813M10[t] +  8836.32146073147M11[t] +  48.7706225274404t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117026&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]werkloos[t] =  +  513222.488502579 +  1430.61638726532cv[t] +  12646.9207958182M1[t] +  16464.7501732907M2[t] +  12203.5493831224M3[t] +  107.915818423545M4[t] -3270.71513938551M5[t] -17962.6254266313M6[t] -14468.6727717057M7[t] +  34778.3238312362M8[t] +  40975.9066538026M9[t] +  25737.3825861813M10[t] +  8836.32146073147M11[t] +  48.7706225274404t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117026&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117026&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
werkloos[t] = + 513222.488502579 + 1430.61638726532cv[t] + 12646.9207958182M1[t] + 16464.7501732907M2[t] + 12203.5493831224M3[t] + 107.915818423545M4[t] -3270.71513938551M5[t] -17962.6254266313M6[t] -14468.6727717057M7[t] + 34778.3238312362M8[t] + 40975.9066538026M9[t] + 25737.3825861813M10[t] + 8836.32146073147M11[t] + 48.7706225274404t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)513222.48850257923744.84574821.614100
cv1430.61638726532690.5845122.07160.0439370.021969
M112646.920795818221491.8308790.58850.5591070.279554
M216464.750173290721459.3964560.76730.4468520.223426
M312203.549383122421431.5998710.56940.5718420.285921
M4107.91581842354521422.2445620.0050.9960020.498001
M5-3270.7151393855121382.122604-0.1530.8790950.439547
M6-17962.625426631321393.616404-0.83960.4054610.202731
M7-14468.672771705721377.336001-0.67680.5019080.250954
M834778.323831236221502.9538951.61740.1126350.056318
M940975.906653802621550.1928921.90140.0635220.031761
M1025737.382586181321524.3949111.19570.2379290.118965
M118836.3214607314721393.9156930.4130.6815040.340752
t48.7706225274404296.5108480.16450.8700730.435036

\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) & 513222.488502579 & 23744.845748 & 21.6141 & 0 & 0 \tabularnewline
cv & 1430.61638726532 & 690.584512 & 2.0716 & 0.043937 & 0.021969 \tabularnewline
M1 & 12646.9207958182 & 21491.830879 & 0.5885 & 0.559107 & 0.279554 \tabularnewline
M2 & 16464.7501732907 & 21459.396456 & 0.7673 & 0.446852 & 0.223426 \tabularnewline
M3 & 12203.5493831224 & 21431.599871 & 0.5694 & 0.571842 & 0.285921 \tabularnewline
M4 & 107.915818423545 & 21422.244562 & 0.005 & 0.996002 & 0.498001 \tabularnewline
M5 & -3270.71513938551 & 21382.122604 & -0.153 & 0.879095 & 0.439547 \tabularnewline
M6 & -17962.6254266313 & 21393.616404 & -0.8396 & 0.405461 & 0.202731 \tabularnewline
M7 & -14468.6727717057 & 21377.336001 & -0.6768 & 0.501908 & 0.250954 \tabularnewline
M8 & 34778.3238312362 & 21502.953895 & 1.6174 & 0.112635 & 0.056318 \tabularnewline
M9 & 40975.9066538026 & 21550.192892 & 1.9014 & 0.063522 & 0.031761 \tabularnewline
M10 & 25737.3825861813 & 21524.394911 & 1.1957 & 0.237929 & 0.118965 \tabularnewline
M11 & 8836.32146073147 & 21393.915693 & 0.413 & 0.681504 & 0.340752 \tabularnewline
t & 48.7706225274404 & 296.510848 & 0.1645 & 0.870073 & 0.435036 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117026&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]513222.488502579[/C][C]23744.845748[/C][C]21.6141[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]cv[/C][C]1430.61638726532[/C][C]690.584512[/C][C]2.0716[/C][C]0.043937[/C][C]0.021969[/C][/ROW]
[ROW][C]M1[/C][C]12646.9207958182[/C][C]21491.830879[/C][C]0.5885[/C][C]0.559107[/C][C]0.279554[/C][/ROW]
[ROW][C]M2[/C][C]16464.7501732907[/C][C]21459.396456[/C][C]0.7673[/C][C]0.446852[/C][C]0.223426[/C][/ROW]
[ROW][C]M3[/C][C]12203.5493831224[/C][C]21431.599871[/C][C]0.5694[/C][C]0.571842[/C][C]0.285921[/C][/ROW]
[ROW][C]M4[/C][C]107.915818423545[/C][C]21422.244562[/C][C]0.005[/C][C]0.996002[/C][C]0.498001[/C][/ROW]
[ROW][C]M5[/C][C]-3270.71513938551[/C][C]21382.122604[/C][C]-0.153[/C][C]0.879095[/C][C]0.439547[/C][/ROW]
[ROW][C]M6[/C][C]-17962.6254266313[/C][C]21393.616404[/C][C]-0.8396[/C][C]0.405461[/C][C]0.202731[/C][/ROW]
[ROW][C]M7[/C][C]-14468.6727717057[/C][C]21377.336001[/C][C]-0.6768[/C][C]0.501908[/C][C]0.250954[/C][/ROW]
[ROW][C]M8[/C][C]34778.3238312362[/C][C]21502.953895[/C][C]1.6174[/C][C]0.112635[/C][C]0.056318[/C][/ROW]
[ROW][C]M9[/C][C]40975.9066538026[/C][C]21550.192892[/C][C]1.9014[/C][C]0.063522[/C][C]0.031761[/C][/ROW]
[ROW][C]M10[/C][C]25737.3825861813[/C][C]21524.394911[/C][C]1.1957[/C][C]0.237929[/C][C]0.118965[/C][/ROW]
[ROW][C]M11[/C][C]8836.32146073147[/C][C]21393.915693[/C][C]0.413[/C][C]0.681504[/C][C]0.340752[/C][/ROW]
[ROW][C]t[/C][C]48.7706225274404[/C][C]296.510848[/C][C]0.1645[/C][C]0.870073[/C][C]0.435036[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117026&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117026&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)513222.48850257923744.84574821.614100
cv1430.61638726532690.5845122.07160.0439370.021969
M112646.920795818221491.8308790.58850.5591070.279554
M216464.750173290721459.3964560.76730.4468520.223426
M312203.549383122421431.5998710.56940.5718420.285921
M4107.91581842354521422.2445620.0050.9960020.498001
M5-3270.7151393855121382.122604-0.1530.8790950.439547
M6-17962.625426631321393.616404-0.83960.4054610.202731
M7-14468.672771705721377.336001-0.67680.5019080.250954
M834778.323831236221502.9538951.61740.1126350.056318
M940975.906653802621550.1928921.90140.0635220.031761
M1025737.382586181321524.3949111.19570.2379290.118965
M118836.3214607314721393.9156930.4130.6815040.340752
t48.7706225274404296.5108480.16450.8700730.435036







Multiple Linear Regression - Regression Statistics
Multiple R0.584519492891654
R-squared0.341663037570316
Adjusted R-squared0.155611287318449
F-TEST (value)1.83638711867956
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.0655093381447696
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation33687.4434771532
Sum Squared Residuals52202817009.214

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.584519492891654 \tabularnewline
R-squared & 0.341663037570316 \tabularnewline
Adjusted R-squared & 0.155611287318449 \tabularnewline
F-TEST (value) & 1.83638711867956 \tabularnewline
F-TEST (DF numerator) & 13 \tabularnewline
F-TEST (DF denominator) & 46 \tabularnewline
p-value & 0.0655093381447696 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 33687.4434771532 \tabularnewline
Sum Squared Residuals & 52202817009.214 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117026&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.584519492891654[/C][/ROW]
[ROW][C]R-squared[/C][C]0.341663037570316[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.155611287318449[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]1.83638711867956[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]13[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]46[/C][/ROW]
[ROW][C]p-value[/C][C]0.0655093381447696[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]33687.4434771532[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]52202817009.214[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117026&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117026&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.584519492891654
R-squared0.341663037570316
Adjusted R-squared0.155611287318449
F-TEST (value)1.83638711867956
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0.0655093381447696
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation33687.4434771532
Sum Squared Residuals52202817009.214







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1597141561683.58960255835457.4103974424
2593408564119.57321529229288.4267847075
3590072555615.29388585634456.7061141442
4579799544999.0473309534799.9526690503
5574205538807.95422113735397.0457788626
6572775529887.2801054842887.7198945197
7572942533430.00338293339511.9966170666
8619567582725.77060840336841.2293915973
9625809588972.12405349736836.8759465034
10619916579504.83615746440411.163842536
11587625561221.92926727626403.0707327237
12565742539558.83094368426183.1690563157
13557274562268.837072887-4994.83707288724
14560576568996.669847418-8420.66984741784
15548854561923.006905246-13069.0069052464
16531673554167.993124871-22494.9931248709
17525919550838.132789589-24919.1327895893
18511038534764.376737606-23726.3767376055
19498662535445.867240528-36783.867240528
20555362583311.018078732-27949.018078732
21564591589557.371523826-24966.3715238259
22541657575798.234465997-34141.2344659974
23527070548931.629252218-21861.6292522177
24509846545866.543963075-36020.5439630749
25514258555701.00260689-41443.0026068899
26516922563859.451768686-46937.4517686858
27507561559647.021601045-52086.021601045
28492622541877.693109812-49255.6931098123
29490243535686.6-45443.6
30469357518182.227560751-48825.227560751
31477580518863.718063673-41283.7180636734
32528379571020.718063673-42641.7180636734
33533590580128.304283298-46538.3042832979
34517945553493.619740081-35548.6197400815
35506174529488.247300832-23314.2473008324
36501866516408.847300832-14542.8473008324
37516141536257.620655505-20116.6206555047
38528222534401.755106443-6179.75510644334
39532638530189.3249388032448.67506119748
40536322521003.69477116215318.3052288383
41536535521965.68359767614569.3164023239
42523597508753.16032022314843.839679777
43536214513726.49998494122487.5000150586
44586570571605.96553400314964.0344659973
45596594577852.31897909618741.6810209035
46580523561231.94914673719291.0508532626
47564478547240.89141834617237.1085816544
48557560531300.25864381526259.7413561851
49575093543995.95006216131097.0499378394
50580112547862.5500621632249.4499378395
51574761546511.3526690528249.6473309497
52563250541617.57166320621632.4283367945
53551531531134.62939159720396.3706084027
54537034522213.9552759414820.0447240598
55544686528617.91132792416068.0886720761
56600991582205.52771518918785.4722848108
57604378588451.88116028315926.1188397169
58586111576123.360489729987.63951028013
59563668562132.3027613281535.69723867192
60548604550483.519148593-1879.51914859341

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 597141 & 561683.589602558 & 35457.4103974424 \tabularnewline
2 & 593408 & 564119.573215292 & 29288.4267847075 \tabularnewline
3 & 590072 & 555615.293885856 & 34456.7061141442 \tabularnewline
4 & 579799 & 544999.04733095 & 34799.9526690503 \tabularnewline
5 & 574205 & 538807.954221137 & 35397.0457788626 \tabularnewline
6 & 572775 & 529887.28010548 & 42887.7198945197 \tabularnewline
7 & 572942 & 533430.003382933 & 39511.9966170666 \tabularnewline
8 & 619567 & 582725.770608403 & 36841.2293915973 \tabularnewline
9 & 625809 & 588972.124053497 & 36836.8759465034 \tabularnewline
10 & 619916 & 579504.836157464 & 40411.163842536 \tabularnewline
11 & 587625 & 561221.929267276 & 26403.0707327237 \tabularnewline
12 & 565742 & 539558.830943684 & 26183.1690563157 \tabularnewline
13 & 557274 & 562268.837072887 & -4994.83707288724 \tabularnewline
14 & 560576 & 568996.669847418 & -8420.66984741784 \tabularnewline
15 & 548854 & 561923.006905246 & -13069.0069052464 \tabularnewline
16 & 531673 & 554167.993124871 & -22494.9931248709 \tabularnewline
17 & 525919 & 550838.132789589 & -24919.1327895893 \tabularnewline
18 & 511038 & 534764.376737606 & -23726.3767376055 \tabularnewline
19 & 498662 & 535445.867240528 & -36783.867240528 \tabularnewline
20 & 555362 & 583311.018078732 & -27949.018078732 \tabularnewline
21 & 564591 & 589557.371523826 & -24966.3715238259 \tabularnewline
22 & 541657 & 575798.234465997 & -34141.2344659974 \tabularnewline
23 & 527070 & 548931.629252218 & -21861.6292522177 \tabularnewline
24 & 509846 & 545866.543963075 & -36020.5439630749 \tabularnewline
25 & 514258 & 555701.00260689 & -41443.0026068899 \tabularnewline
26 & 516922 & 563859.451768686 & -46937.4517686858 \tabularnewline
27 & 507561 & 559647.021601045 & -52086.021601045 \tabularnewline
28 & 492622 & 541877.693109812 & -49255.6931098123 \tabularnewline
29 & 490243 & 535686.6 & -45443.6 \tabularnewline
30 & 469357 & 518182.227560751 & -48825.227560751 \tabularnewline
31 & 477580 & 518863.718063673 & -41283.7180636734 \tabularnewline
32 & 528379 & 571020.718063673 & -42641.7180636734 \tabularnewline
33 & 533590 & 580128.304283298 & -46538.3042832979 \tabularnewline
34 & 517945 & 553493.619740081 & -35548.6197400815 \tabularnewline
35 & 506174 & 529488.247300832 & -23314.2473008324 \tabularnewline
36 & 501866 & 516408.847300832 & -14542.8473008324 \tabularnewline
37 & 516141 & 536257.620655505 & -20116.6206555047 \tabularnewline
38 & 528222 & 534401.755106443 & -6179.75510644334 \tabularnewline
39 & 532638 & 530189.324938803 & 2448.67506119748 \tabularnewline
40 & 536322 & 521003.694771162 & 15318.3052288383 \tabularnewline
41 & 536535 & 521965.683597676 & 14569.3164023239 \tabularnewline
42 & 523597 & 508753.160320223 & 14843.839679777 \tabularnewline
43 & 536214 & 513726.499984941 & 22487.5000150586 \tabularnewline
44 & 586570 & 571605.965534003 & 14964.0344659973 \tabularnewline
45 & 596594 & 577852.318979096 & 18741.6810209035 \tabularnewline
46 & 580523 & 561231.949146737 & 19291.0508532626 \tabularnewline
47 & 564478 & 547240.891418346 & 17237.1085816544 \tabularnewline
48 & 557560 & 531300.258643815 & 26259.7413561851 \tabularnewline
49 & 575093 & 543995.950062161 & 31097.0499378394 \tabularnewline
50 & 580112 & 547862.55006216 & 32249.4499378395 \tabularnewline
51 & 574761 & 546511.35266905 & 28249.6473309497 \tabularnewline
52 & 563250 & 541617.571663206 & 21632.4283367945 \tabularnewline
53 & 551531 & 531134.629391597 & 20396.3706084027 \tabularnewline
54 & 537034 & 522213.95527594 & 14820.0447240598 \tabularnewline
55 & 544686 & 528617.911327924 & 16068.0886720761 \tabularnewline
56 & 600991 & 582205.527715189 & 18785.4722848108 \tabularnewline
57 & 604378 & 588451.881160283 & 15926.1188397169 \tabularnewline
58 & 586111 & 576123.36048972 & 9987.63951028013 \tabularnewline
59 & 563668 & 562132.302761328 & 1535.69723867192 \tabularnewline
60 & 548604 & 550483.519148593 & -1879.51914859341 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117026&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]597141[/C][C]561683.589602558[/C][C]35457.4103974424[/C][/ROW]
[ROW][C]2[/C][C]593408[/C][C]564119.573215292[/C][C]29288.4267847075[/C][/ROW]
[ROW][C]3[/C][C]590072[/C][C]555615.293885856[/C][C]34456.7061141442[/C][/ROW]
[ROW][C]4[/C][C]579799[/C][C]544999.04733095[/C][C]34799.9526690503[/C][/ROW]
[ROW][C]5[/C][C]574205[/C][C]538807.954221137[/C][C]35397.0457788626[/C][/ROW]
[ROW][C]6[/C][C]572775[/C][C]529887.28010548[/C][C]42887.7198945197[/C][/ROW]
[ROW][C]7[/C][C]572942[/C][C]533430.003382933[/C][C]39511.9966170666[/C][/ROW]
[ROW][C]8[/C][C]619567[/C][C]582725.770608403[/C][C]36841.2293915973[/C][/ROW]
[ROW][C]9[/C][C]625809[/C][C]588972.124053497[/C][C]36836.8759465034[/C][/ROW]
[ROW][C]10[/C][C]619916[/C][C]579504.836157464[/C][C]40411.163842536[/C][/ROW]
[ROW][C]11[/C][C]587625[/C][C]561221.929267276[/C][C]26403.0707327237[/C][/ROW]
[ROW][C]12[/C][C]565742[/C][C]539558.830943684[/C][C]26183.1690563157[/C][/ROW]
[ROW][C]13[/C][C]557274[/C][C]562268.837072887[/C][C]-4994.83707288724[/C][/ROW]
[ROW][C]14[/C][C]560576[/C][C]568996.669847418[/C][C]-8420.66984741784[/C][/ROW]
[ROW][C]15[/C][C]548854[/C][C]561923.006905246[/C][C]-13069.0069052464[/C][/ROW]
[ROW][C]16[/C][C]531673[/C][C]554167.993124871[/C][C]-22494.9931248709[/C][/ROW]
[ROW][C]17[/C][C]525919[/C][C]550838.132789589[/C][C]-24919.1327895893[/C][/ROW]
[ROW][C]18[/C][C]511038[/C][C]534764.376737606[/C][C]-23726.3767376055[/C][/ROW]
[ROW][C]19[/C][C]498662[/C][C]535445.867240528[/C][C]-36783.867240528[/C][/ROW]
[ROW][C]20[/C][C]555362[/C][C]583311.018078732[/C][C]-27949.018078732[/C][/ROW]
[ROW][C]21[/C][C]564591[/C][C]589557.371523826[/C][C]-24966.3715238259[/C][/ROW]
[ROW][C]22[/C][C]541657[/C][C]575798.234465997[/C][C]-34141.2344659974[/C][/ROW]
[ROW][C]23[/C][C]527070[/C][C]548931.629252218[/C][C]-21861.6292522177[/C][/ROW]
[ROW][C]24[/C][C]509846[/C][C]545866.543963075[/C][C]-36020.5439630749[/C][/ROW]
[ROW][C]25[/C][C]514258[/C][C]555701.00260689[/C][C]-41443.0026068899[/C][/ROW]
[ROW][C]26[/C][C]516922[/C][C]563859.451768686[/C][C]-46937.4517686858[/C][/ROW]
[ROW][C]27[/C][C]507561[/C][C]559647.021601045[/C][C]-52086.021601045[/C][/ROW]
[ROW][C]28[/C][C]492622[/C][C]541877.693109812[/C][C]-49255.6931098123[/C][/ROW]
[ROW][C]29[/C][C]490243[/C][C]535686.6[/C][C]-45443.6[/C][/ROW]
[ROW][C]30[/C][C]469357[/C][C]518182.227560751[/C][C]-48825.227560751[/C][/ROW]
[ROW][C]31[/C][C]477580[/C][C]518863.718063673[/C][C]-41283.7180636734[/C][/ROW]
[ROW][C]32[/C][C]528379[/C][C]571020.718063673[/C][C]-42641.7180636734[/C][/ROW]
[ROW][C]33[/C][C]533590[/C][C]580128.304283298[/C][C]-46538.3042832979[/C][/ROW]
[ROW][C]34[/C][C]517945[/C][C]553493.619740081[/C][C]-35548.6197400815[/C][/ROW]
[ROW][C]35[/C][C]506174[/C][C]529488.247300832[/C][C]-23314.2473008324[/C][/ROW]
[ROW][C]36[/C][C]501866[/C][C]516408.847300832[/C][C]-14542.8473008324[/C][/ROW]
[ROW][C]37[/C][C]516141[/C][C]536257.620655505[/C][C]-20116.6206555047[/C][/ROW]
[ROW][C]38[/C][C]528222[/C][C]534401.755106443[/C][C]-6179.75510644334[/C][/ROW]
[ROW][C]39[/C][C]532638[/C][C]530189.324938803[/C][C]2448.67506119748[/C][/ROW]
[ROW][C]40[/C][C]536322[/C][C]521003.694771162[/C][C]15318.3052288383[/C][/ROW]
[ROW][C]41[/C][C]536535[/C][C]521965.683597676[/C][C]14569.3164023239[/C][/ROW]
[ROW][C]42[/C][C]523597[/C][C]508753.160320223[/C][C]14843.839679777[/C][/ROW]
[ROW][C]43[/C][C]536214[/C][C]513726.499984941[/C][C]22487.5000150586[/C][/ROW]
[ROW][C]44[/C][C]586570[/C][C]571605.965534003[/C][C]14964.0344659973[/C][/ROW]
[ROW][C]45[/C][C]596594[/C][C]577852.318979096[/C][C]18741.6810209035[/C][/ROW]
[ROW][C]46[/C][C]580523[/C][C]561231.949146737[/C][C]19291.0508532626[/C][/ROW]
[ROW][C]47[/C][C]564478[/C][C]547240.891418346[/C][C]17237.1085816544[/C][/ROW]
[ROW][C]48[/C][C]557560[/C][C]531300.258643815[/C][C]26259.7413561851[/C][/ROW]
[ROW][C]49[/C][C]575093[/C][C]543995.950062161[/C][C]31097.0499378394[/C][/ROW]
[ROW][C]50[/C][C]580112[/C][C]547862.55006216[/C][C]32249.4499378395[/C][/ROW]
[ROW][C]51[/C][C]574761[/C][C]546511.35266905[/C][C]28249.6473309497[/C][/ROW]
[ROW][C]52[/C][C]563250[/C][C]541617.571663206[/C][C]21632.4283367945[/C][/ROW]
[ROW][C]53[/C][C]551531[/C][C]531134.629391597[/C][C]20396.3706084027[/C][/ROW]
[ROW][C]54[/C][C]537034[/C][C]522213.95527594[/C][C]14820.0447240598[/C][/ROW]
[ROW][C]55[/C][C]544686[/C][C]528617.911327924[/C][C]16068.0886720761[/C][/ROW]
[ROW][C]56[/C][C]600991[/C][C]582205.527715189[/C][C]18785.4722848108[/C][/ROW]
[ROW][C]57[/C][C]604378[/C][C]588451.881160283[/C][C]15926.1188397169[/C][/ROW]
[ROW][C]58[/C][C]586111[/C][C]576123.36048972[/C][C]9987.63951028013[/C][/ROW]
[ROW][C]59[/C][C]563668[/C][C]562132.302761328[/C][C]1535.69723867192[/C][/ROW]
[ROW][C]60[/C][C]548604[/C][C]550483.519148593[/C][C]-1879.51914859341[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117026&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117026&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
1597141561683.58960255835457.4103974424
2593408564119.57321529229288.4267847075
3590072555615.29388585634456.7061141442
4579799544999.0473309534799.9526690503
5574205538807.95422113735397.0457788626
6572775529887.2801054842887.7198945197
7572942533430.00338293339511.9966170666
8619567582725.77060840336841.2293915973
9625809588972.12405349736836.8759465034
10619916579504.83615746440411.163842536
11587625561221.92926727626403.0707327237
12565742539558.83094368426183.1690563157
13557274562268.837072887-4994.83707288724
14560576568996.669847418-8420.66984741784
15548854561923.006905246-13069.0069052464
16531673554167.993124871-22494.9931248709
17525919550838.132789589-24919.1327895893
18511038534764.376737606-23726.3767376055
19498662535445.867240528-36783.867240528
20555362583311.018078732-27949.018078732
21564591589557.371523826-24966.3715238259
22541657575798.234465997-34141.2344659974
23527070548931.629252218-21861.6292522177
24509846545866.543963075-36020.5439630749
25514258555701.00260689-41443.0026068899
26516922563859.451768686-46937.4517686858
27507561559647.021601045-52086.021601045
28492622541877.693109812-49255.6931098123
29490243535686.6-45443.6
30469357518182.227560751-48825.227560751
31477580518863.718063673-41283.7180636734
32528379571020.718063673-42641.7180636734
33533590580128.304283298-46538.3042832979
34517945553493.619740081-35548.6197400815
35506174529488.247300832-23314.2473008324
36501866516408.847300832-14542.8473008324
37516141536257.620655505-20116.6206555047
38528222534401.755106443-6179.75510644334
39532638530189.3249388032448.67506119748
40536322521003.69477116215318.3052288383
41536535521965.68359767614569.3164023239
42523597508753.16032022314843.839679777
43536214513726.49998494122487.5000150586
44586570571605.96553400314964.0344659973
45596594577852.31897909618741.6810209035
46580523561231.94914673719291.0508532626
47564478547240.89141834617237.1085816544
48557560531300.25864381526259.7413561851
49575093543995.95006216131097.0499378394
50580112547862.5500621632249.4499378395
51574761546511.3526690528249.6473309497
52563250541617.57166320621632.4283367945
53551531531134.62939159720396.3706084027
54537034522213.9552759414820.0447240598
55544686528617.91132792416068.0886720761
56600991582205.52771518918785.4722848108
57604378588451.88116028315926.1188397169
58586111576123.360489729987.63951028013
59563668562132.3027613281535.69723867192
60548604550483.519148593-1879.51914859341







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01032503929420590.02065007858841180.989674960705794
180.04697423865375150.0939484773075030.953025761346249
190.1181551528388880.2363103056777770.881844847161112
200.07930581831962810.1586116366392560.920694181680372
210.05303959090519340.1060791818103870.946960409094807
220.04753108144271980.09506216288543970.95246891855728
230.06522265472672920.1304453094534580.934777345273271
240.0677799045579810.1355598091159620.932220095442019
250.1497728744264670.2995457488529330.850227125573534
260.1952853461206260.3905706922412510.804714653879374
270.2013541329871710.4027082659743420.798645867012829
280.1649760744548340.3299521489096680.835023925545166
290.1521492160036790.3042984320073580.847850783996321
300.1067408651946550.2134817303893110.893259134805345
310.07716338848028870.1543267769605770.922836611519711
320.05117632460974070.1023526492194810.94882367539026
330.03086981393285260.06173962786570520.969130186067147
340.02512348052864140.05024696105728280.974876519471359
350.02927941285683570.05855882571367150.970720587143164
360.05447043599775650.1089408719955130.945529564002244
370.2786434816588990.5572869633177970.721356518341101
380.6912813114872550.617437377025490.308718688512745
390.9516985578846020.0966028842307960.048301442115398
400.9997039891092360.000592021781528230.000296010890764115
410.9993382097983360.00132358040332820.000661790201664098
420.9989801966570140.002039606685971680.00101980334298584
430.9980539218117450.003892156376510670.00194607818825533

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
17 & 0.0103250392942059 & 0.0206500785884118 & 0.989674960705794 \tabularnewline
18 & 0.0469742386537515 & 0.093948477307503 & 0.953025761346249 \tabularnewline
19 & 0.118155152838888 & 0.236310305677777 & 0.881844847161112 \tabularnewline
20 & 0.0793058183196281 & 0.158611636639256 & 0.920694181680372 \tabularnewline
21 & 0.0530395909051934 & 0.106079181810387 & 0.946960409094807 \tabularnewline
22 & 0.0475310814427198 & 0.0950621628854397 & 0.95246891855728 \tabularnewline
23 & 0.0652226547267292 & 0.130445309453458 & 0.934777345273271 \tabularnewline
24 & 0.067779904557981 & 0.135559809115962 & 0.932220095442019 \tabularnewline
25 & 0.149772874426467 & 0.299545748852933 & 0.850227125573534 \tabularnewline
26 & 0.195285346120626 & 0.390570692241251 & 0.804714653879374 \tabularnewline
27 & 0.201354132987171 & 0.402708265974342 & 0.798645867012829 \tabularnewline
28 & 0.164976074454834 & 0.329952148909668 & 0.835023925545166 \tabularnewline
29 & 0.152149216003679 & 0.304298432007358 & 0.847850783996321 \tabularnewline
30 & 0.106740865194655 & 0.213481730389311 & 0.893259134805345 \tabularnewline
31 & 0.0771633884802887 & 0.154326776960577 & 0.922836611519711 \tabularnewline
32 & 0.0511763246097407 & 0.102352649219481 & 0.94882367539026 \tabularnewline
33 & 0.0308698139328526 & 0.0617396278657052 & 0.969130186067147 \tabularnewline
34 & 0.0251234805286414 & 0.0502469610572828 & 0.974876519471359 \tabularnewline
35 & 0.0292794128568357 & 0.0585588257136715 & 0.970720587143164 \tabularnewline
36 & 0.0544704359977565 & 0.108940871995513 & 0.945529564002244 \tabularnewline
37 & 0.278643481658899 & 0.557286963317797 & 0.721356518341101 \tabularnewline
38 & 0.691281311487255 & 0.61743737702549 & 0.308718688512745 \tabularnewline
39 & 0.951698557884602 & 0.096602884230796 & 0.048301442115398 \tabularnewline
40 & 0.999703989109236 & 0.00059202178152823 & 0.000296010890764115 \tabularnewline
41 & 0.999338209798336 & 0.0013235804033282 & 0.000661790201664098 \tabularnewline
42 & 0.998980196657014 & 0.00203960668597168 & 0.00101980334298584 \tabularnewline
43 & 0.998053921811745 & 0.00389215637651067 & 0.00194607818825533 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=117026&T=5

[TABLE]
[ROW][C]Goldfeld-Quandt test for Heteroskedasticity[/C][/ROW]
[ROW][C]p-values[/C][C]Alternative Hypothesis[/C][/ROW]
[ROW][C]breakpoint index[/C][C]greater[/C][C]2-sided[/C][C]less[/C][/ROW]
[ROW][C]17[/C][C]0.0103250392942059[/C][C]0.0206500785884118[/C][C]0.989674960705794[/C][/ROW]
[ROW][C]18[/C][C]0.0469742386537515[/C][C]0.093948477307503[/C][C]0.953025761346249[/C][/ROW]
[ROW][C]19[/C][C]0.118155152838888[/C][C]0.236310305677777[/C][C]0.881844847161112[/C][/ROW]
[ROW][C]20[/C][C]0.0793058183196281[/C][C]0.158611636639256[/C][C]0.920694181680372[/C][/ROW]
[ROW][C]21[/C][C]0.0530395909051934[/C][C]0.106079181810387[/C][C]0.946960409094807[/C][/ROW]
[ROW][C]22[/C][C]0.0475310814427198[/C][C]0.0950621628854397[/C][C]0.95246891855728[/C][/ROW]
[ROW][C]23[/C][C]0.0652226547267292[/C][C]0.130445309453458[/C][C]0.934777345273271[/C][/ROW]
[ROW][C]24[/C][C]0.067779904557981[/C][C]0.135559809115962[/C][C]0.932220095442019[/C][/ROW]
[ROW][C]25[/C][C]0.149772874426467[/C][C]0.299545748852933[/C][C]0.850227125573534[/C][/ROW]
[ROW][C]26[/C][C]0.195285346120626[/C][C]0.390570692241251[/C][C]0.804714653879374[/C][/ROW]
[ROW][C]27[/C][C]0.201354132987171[/C][C]0.402708265974342[/C][C]0.798645867012829[/C][/ROW]
[ROW][C]28[/C][C]0.164976074454834[/C][C]0.329952148909668[/C][C]0.835023925545166[/C][/ROW]
[ROW][C]29[/C][C]0.152149216003679[/C][C]0.304298432007358[/C][C]0.847850783996321[/C][/ROW]
[ROW][C]30[/C][C]0.106740865194655[/C][C]0.213481730389311[/C][C]0.893259134805345[/C][/ROW]
[ROW][C]31[/C][C]0.0771633884802887[/C][C]0.154326776960577[/C][C]0.922836611519711[/C][/ROW]
[ROW][C]32[/C][C]0.0511763246097407[/C][C]0.102352649219481[/C][C]0.94882367539026[/C][/ROW]
[ROW][C]33[/C][C]0.0308698139328526[/C][C]0.0617396278657052[/C][C]0.969130186067147[/C][/ROW]
[ROW][C]34[/C][C]0.0251234805286414[/C][C]0.0502469610572828[/C][C]0.974876519471359[/C][/ROW]
[ROW][C]35[/C][C]0.0292794128568357[/C][C]0.0585588257136715[/C][C]0.970720587143164[/C][/ROW]
[ROW][C]36[/C][C]0.0544704359977565[/C][C]0.108940871995513[/C][C]0.945529564002244[/C][/ROW]
[ROW][C]37[/C][C]0.278643481658899[/C][C]0.557286963317797[/C][C]0.721356518341101[/C][/ROW]
[ROW][C]38[/C][C]0.691281311487255[/C][C]0.61743737702549[/C][C]0.308718688512745[/C][/ROW]
[ROW][C]39[/C][C]0.951698557884602[/C][C]0.096602884230796[/C][C]0.048301442115398[/C][/ROW]
[ROW][C]40[/C][C]0.999703989109236[/C][C]0.00059202178152823[/C][C]0.000296010890764115[/C][/ROW]
[ROW][C]41[/C][C]0.999338209798336[/C][C]0.0013235804033282[/C][C]0.000661790201664098[/C][/ROW]
[ROW][C]42[/C][C]0.998980196657014[/C][C]0.00203960668597168[/C][C]0.00101980334298584[/C][/ROW]
[ROW][C]43[/C][C]0.998053921811745[/C][C]0.00389215637651067[/C][C]0.00194607818825533[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=117026&T=5

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

As an alternative you can also use a QR Code:  

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

Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.01032503929420590.02065007858841180.989674960705794
180.04697423865375150.0939484773075030.953025761346249
190.1181551528388880.2363103056777770.881844847161112
200.07930581831962810.1586116366392560.920694181680372
210.05303959090519340.1060791818103870.946960409094807
220.04753108144271980.09506216288543970.95246891855728
230.06522265472672920.1304453094534580.934777345273271
240.0677799045579810.1355598091159620.932220095442019
250.1497728744264670.2995457488529330.850227125573534
260.1952853461206260.3905706922412510.804714653879374
270.2013541329871710.4027082659743420.798645867012829
280.1649760744548340.3299521489096680.835023925545166
290.1521492160036790.3042984320073580.847850783996321
300.1067408651946550.2134817303893110.893259134805345
310.07716338848028870.1543267769605770.922836611519711
320.05117632460974070.1023526492194810.94882367539026
330.03086981393285260.06173962786570520.969130186067147
340.02512348052864140.05024696105728280.974876519471359
350.02927941285683570.05855882571367150.970720587143164
360.05447043599775650.1089408719955130.945529564002244
370.2786434816588990.5572869633177970.721356518341101
380.6912813114872550.617437377025490.308718688512745
390.9516985578846020.0966028842307960.048301442115398
400.9997039891092360.000592021781528230.000296010890764115
410.9993382097983360.00132358040332820.000661790201664098
420.9989801966570140.002039606685971680.00101980334298584
430.9980539218117450.003892156376510670.00194607818825533







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.148148148148148NOK
5% type I error level50.185185185185185NOK
10% type I error level110.407407407407407NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=117026&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 level40.148148148148148NOK
5% type I error level50.185185185185185NOK
10% type I error level110.407407407407407NOK



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