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, 24 Nov 2010 18:22: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/2010/Nov/24/t1290622874v4x8es3flznovts.htm/, Retrieved Fri, 03 May 2024 12:05:42 +0000
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL https://freestatistics.org/blog/index.php?pk=100487, Retrieved Fri, 03 May 2024 12:05:42 +0000
QR Codes:

Original text written by user:
IsPrivate?No (this computation is public)
User-defined keywords
Estimated Impact111
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
-       [Multiple Regression] [W3_Mini_1] [2010-11-24 18:22:43] [edf51d809b713abfc4095a7dca74558e] [Current]
- RMPD    [Linear Regression Graphical Model Validation] [W3_Mini_1] [2010-11-24 18:41:50] [7318566ef3ec88988be4d1362d0cf918]
- RMPD    [Bivariate Explorative Data Analysis] [W3_Mini_2] [2010-11-24 18:55:23] [7318566ef3ec88988be4d1362d0cf918]
Feedback Forum

Post a new message
Dataseries X:
563668	276444
586111	289742
604378	303725
600991	298305
544686	266795
537034	259497
551531	266148
563250	271037
574761	276239
580112	279681
575093	277509
557560	271115
564478	275902
580523	287224
596594	300713
586570	293860
536214	264221
523597	256167
536535	262572
536322	263276
532638	264291
528222	263903
516141	260376
501866	255603
506174	261076
517945	270976
533590	285257
528379	280445
477580	250741
469357	243803
490243	253158
492622	255542
507561	262522
516922	268381
514258	267153
509846	266424
527070	276427
541657	286994
564591	303598
555362	296806
498662	263290
511038	264981
525919	272566
531673	276475
548854	284678
560576	291542
557274	291413
565742	295916
587625	309119
619916	327616




Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time7 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.

\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 & 7 seconds \tabularnewline
R Server & 'RServer@AstonUniversity' @ vre.aston.ac.uk \tabularnewline
R Framework error message & 
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
\tabularnewline \hline \end{tabular} %Source: https://freestatistics.org/blog/index.php?pk=100487&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]7 seconds[/C][/ROW]
[ROW][C]R Server[/C][C]'RServer@AstonUniversity' @ vre.aston.ac.uk[/C][/ROW]
[ROW][C]R Framework error message[/C][C]
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.
[/C][/ROW] [/TABLE] Source: https://freestatistics.org/blog/index.php?pk=100487&T=0

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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 time7 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
R Framework error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.







Multiple Linear Regression - Estimated Regression Equation
Totaal[t] = + 58274.0716935709 + 1.85595409215134`vrouwen `[t] -1074.75162536165t + e[t]

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Estimated Regression Equation \tabularnewline
Totaal[t] =  +  58274.0716935709 +  1.85595409215134`vrouwen
`[t] -1074.75162536165t  + e[t] \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100487&T=1

[TABLE]
[ROW][C]Multiple Linear Regression - Estimated Regression Equation[/C][/ROW]
[ROW][C]Totaal[t] =  +  58274.0716935709 +  1.85595409215134`vrouwen
`[t] -1074.75162536165t  + e[t][/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100487&T=1

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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
Totaal[t] = + 58274.0716935709 + 1.85595409215134`vrouwen `[t] -1074.75162536165t + e[t]







Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STATH0: parameter = 02-tail p-value1-tail p-value
(Intercept)58274.071693570922760.0814642.56040.013730.006865
`vrouwen `1.855954092151340.08351822.222100
t-1074.7516253616598.715181-10.887400

\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) & 58274.0716935709 & 22760.081464 & 2.5604 & 0.01373 & 0.006865 \tabularnewline
`vrouwen
` & 1.85595409215134 & 0.083518 & 22.2221 & 0 & 0 \tabularnewline
t & -1074.75162536165 & 98.715181 & -10.8874 & 0 & 0 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100487&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]58274.0716935709[/C][C]22760.081464[/C][C]2.5604[/C][C]0.01373[/C][C]0.006865[/C][/ROW]
[ROW][C]`vrouwen
`[/C][C]1.85595409215134[/C][C]0.083518[/C][C]22.2221[/C][C]0[/C][C]0[/C][/ROW]
[ROW][C]t[/C][C]-1074.75162536165[/C][C]98.715181[/C][C]-10.8874[/C][C]0[/C][C]0[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100487&T=2

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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)58274.071693570922760.0814642.56040.013730.006865
`vrouwen `1.855954092151340.08351822.222100
t-1074.7516253616598.715181-10.887400







Multiple Linear Regression - Regression Statistics
Multiple R0.959318170134875
R-squared0.920291351550926
Adjusted R-squared0.916899494170114
F-TEST (value)271.323716839386
F-TEST (DF numerator)2
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9907.2855273743
Sum Squared Residuals4613252406.48324

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Regression Statistics \tabularnewline
Multiple R & 0.959318170134875 \tabularnewline
R-squared & 0.920291351550926 \tabularnewline
Adjusted R-squared & 0.916899494170114 \tabularnewline
F-TEST (value) & 271.323716839386 \tabularnewline
F-TEST (DF numerator) & 2 \tabularnewline
F-TEST (DF denominator) & 47 \tabularnewline
p-value & 0 \tabularnewline
Multiple Linear Regression - Residual Statistics \tabularnewline
Residual Standard Deviation & 9907.2855273743 \tabularnewline
Sum Squared Residuals & 4613252406.48324 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100487&T=3

[TABLE]
[ROW][C]Multiple Linear Regression - Regression Statistics[/C][/ROW]
[ROW][C]Multiple R[/C][C]0.959318170134875[/C][/ROW]
[ROW][C]R-squared[/C][C]0.920291351550926[/C][/ROW]
[ROW][C]Adjusted R-squared[/C][C]0.916899494170114[/C][/ROW]
[ROW][C]F-TEST (value)[/C][C]271.323716839386[/C][/ROW]
[ROW][C]F-TEST (DF numerator)[/C][C]2[/C][/ROW]
[ROW][C]F-TEST (DF denominator)[/C][C]47[/C][/ROW]
[ROW][C]p-value[/C][C]0[/C][/ROW]
[ROW][C]Multiple Linear Regression - Residual Statistics[/C][/ROW]
[ROW][C]Residual Standard Deviation[/C][C]9907.2855273743[/C][/ROW]
[ROW][C]Sum Squared Residuals[/C][C]4613252406.48324[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100487&T=3

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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.959318170134875
R-squared0.920291351550926
Adjusted R-squared0.916899494170114
F-TEST (value)271.323716839386
F-TEST (DF numerator)2
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9907.2855273743
Sum Squared Residuals4613252406.48324







Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolationForecastResidualsPrediction Error
1563668570266.693118893-6598.69311889312
2586111593872.41901096-7761.41901095998
3604378618749.47345615-14371.4734561504
4600991607615.450651329-6624.45065132856
5544686548059.585582278-3373.5855822783
6537034533440.0809923963593.9190076038
7551531544709.2800339336821.71996606691
8563250552708.28796509910541.7120349007
9574761561288.20952710913472.7904728911
10580112566601.65188693213510.3481130678
11575093561495.76797341813597.2320265822
12557560548554.045882849005.95411715947
13564478556363.7464966078114.25350339268
14580523576302.1071025834220.8928974169
15596594600262.320226251-3668.32022625083
16586570586468.715207376101.284792623924
17536214530385.3402447415828.65975525903
18523597514362.7343611929234.26563880754
19536535525175.3686960611359.6313039399
20536322525407.20875157310914.791248427
21532638526216.2505297456421.74947025503
22528222524421.3887166293800.6112833714
23516141516800.687008249-659.687008249191
24501866506867.466501049-5001.46650104921
25506174515950.351622032-9776.35162203183
26517945533249.545508968-15304.5455089684
27533590558679.67427362-25089.67427362
28528379548674.071556826-20295.0715568261
29477580492470.059578201-14890.0595782012
30469357478518.698461494-9161.69846149355
31490243494806.397368208-4563.39736820765
32492622498156.240298535-5534.24029853479
33507561510036.04823639-2475.04823638946
34516922519835.331636943-2913.33163694249
35514258516481.468386419-2223.468386419
36509846514053.726227879-4207.72622787903
37527070531544.083386307-4474.08338630719
38541657550081.198652709-8424.19865270872
39564591579822.708773428-15231.7087734279
40555362566142.316954174-10780.3169541743
41498662502863.407976268-4201.4079762685
42511038504927.0747207356110.92527926525
43525919517929.7348843417989.26511565901
44531673524109.9078051997563.09219480108
45548854538259.54759775510594.4524022453
46560576549924.0648609210651.9351390802
47557274548609.8951576718664.10484232937
48565742555892.5048092669849.49519073355
49587625579321.9150625798303.08493742112
50619916612576.746279747339.25372025949

\begin{tabular}{lllllllll}
\hline
Multiple Linear Regression - Actuals, Interpolation, and Residuals \tabularnewline
Time or Index & Actuals & InterpolationForecast & ResidualsPrediction Error \tabularnewline
1 & 563668 & 570266.693118893 & -6598.69311889312 \tabularnewline
2 & 586111 & 593872.41901096 & -7761.41901095998 \tabularnewline
3 & 604378 & 618749.47345615 & -14371.4734561504 \tabularnewline
4 & 600991 & 607615.450651329 & -6624.45065132856 \tabularnewline
5 & 544686 & 548059.585582278 & -3373.5855822783 \tabularnewline
6 & 537034 & 533440.080992396 & 3593.9190076038 \tabularnewline
7 & 551531 & 544709.280033933 & 6821.71996606691 \tabularnewline
8 & 563250 & 552708.287965099 & 10541.7120349007 \tabularnewline
9 & 574761 & 561288.209527109 & 13472.7904728911 \tabularnewline
10 & 580112 & 566601.651886932 & 13510.3481130678 \tabularnewline
11 & 575093 & 561495.767973418 & 13597.2320265822 \tabularnewline
12 & 557560 & 548554.04588284 & 9005.95411715947 \tabularnewline
13 & 564478 & 556363.746496607 & 8114.25350339268 \tabularnewline
14 & 580523 & 576302.107102583 & 4220.8928974169 \tabularnewline
15 & 596594 & 600262.320226251 & -3668.32022625083 \tabularnewline
16 & 586570 & 586468.715207376 & 101.284792623924 \tabularnewline
17 & 536214 & 530385.340244741 & 5828.65975525903 \tabularnewline
18 & 523597 & 514362.734361192 & 9234.26563880754 \tabularnewline
19 & 536535 & 525175.36869606 & 11359.6313039399 \tabularnewline
20 & 536322 & 525407.208751573 & 10914.791248427 \tabularnewline
21 & 532638 & 526216.250529745 & 6421.74947025503 \tabularnewline
22 & 528222 & 524421.388716629 & 3800.6112833714 \tabularnewline
23 & 516141 & 516800.687008249 & -659.687008249191 \tabularnewline
24 & 501866 & 506867.466501049 & -5001.46650104921 \tabularnewline
25 & 506174 & 515950.351622032 & -9776.35162203183 \tabularnewline
26 & 517945 & 533249.545508968 & -15304.5455089684 \tabularnewline
27 & 533590 & 558679.67427362 & -25089.67427362 \tabularnewline
28 & 528379 & 548674.071556826 & -20295.0715568261 \tabularnewline
29 & 477580 & 492470.059578201 & -14890.0595782012 \tabularnewline
30 & 469357 & 478518.698461494 & -9161.69846149355 \tabularnewline
31 & 490243 & 494806.397368208 & -4563.39736820765 \tabularnewline
32 & 492622 & 498156.240298535 & -5534.24029853479 \tabularnewline
33 & 507561 & 510036.04823639 & -2475.04823638946 \tabularnewline
34 & 516922 & 519835.331636943 & -2913.33163694249 \tabularnewline
35 & 514258 & 516481.468386419 & -2223.468386419 \tabularnewline
36 & 509846 & 514053.726227879 & -4207.72622787903 \tabularnewline
37 & 527070 & 531544.083386307 & -4474.08338630719 \tabularnewline
38 & 541657 & 550081.198652709 & -8424.19865270872 \tabularnewline
39 & 564591 & 579822.708773428 & -15231.7087734279 \tabularnewline
40 & 555362 & 566142.316954174 & -10780.3169541743 \tabularnewline
41 & 498662 & 502863.407976268 & -4201.4079762685 \tabularnewline
42 & 511038 & 504927.074720735 & 6110.92527926525 \tabularnewline
43 & 525919 & 517929.734884341 & 7989.26511565901 \tabularnewline
44 & 531673 & 524109.907805199 & 7563.09219480108 \tabularnewline
45 & 548854 & 538259.547597755 & 10594.4524022453 \tabularnewline
46 & 560576 & 549924.06486092 & 10651.9351390802 \tabularnewline
47 & 557274 & 548609.895157671 & 8664.10484232937 \tabularnewline
48 & 565742 & 555892.504809266 & 9849.49519073355 \tabularnewline
49 & 587625 & 579321.915062579 & 8303.08493742112 \tabularnewline
50 & 619916 & 612576.74627974 & 7339.25372025949 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100487&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]563668[/C][C]570266.693118893[/C][C]-6598.69311889312[/C][/ROW]
[ROW][C]2[/C][C]586111[/C][C]593872.41901096[/C][C]-7761.41901095998[/C][/ROW]
[ROW][C]3[/C][C]604378[/C][C]618749.47345615[/C][C]-14371.4734561504[/C][/ROW]
[ROW][C]4[/C][C]600991[/C][C]607615.450651329[/C][C]-6624.45065132856[/C][/ROW]
[ROW][C]5[/C][C]544686[/C][C]548059.585582278[/C][C]-3373.5855822783[/C][/ROW]
[ROW][C]6[/C][C]537034[/C][C]533440.080992396[/C][C]3593.9190076038[/C][/ROW]
[ROW][C]7[/C][C]551531[/C][C]544709.280033933[/C][C]6821.71996606691[/C][/ROW]
[ROW][C]8[/C][C]563250[/C][C]552708.287965099[/C][C]10541.7120349007[/C][/ROW]
[ROW][C]9[/C][C]574761[/C][C]561288.209527109[/C][C]13472.7904728911[/C][/ROW]
[ROW][C]10[/C][C]580112[/C][C]566601.651886932[/C][C]13510.3481130678[/C][/ROW]
[ROW][C]11[/C][C]575093[/C][C]561495.767973418[/C][C]13597.2320265822[/C][/ROW]
[ROW][C]12[/C][C]557560[/C][C]548554.04588284[/C][C]9005.95411715947[/C][/ROW]
[ROW][C]13[/C][C]564478[/C][C]556363.746496607[/C][C]8114.25350339268[/C][/ROW]
[ROW][C]14[/C][C]580523[/C][C]576302.107102583[/C][C]4220.8928974169[/C][/ROW]
[ROW][C]15[/C][C]596594[/C][C]600262.320226251[/C][C]-3668.32022625083[/C][/ROW]
[ROW][C]16[/C][C]586570[/C][C]586468.715207376[/C][C]101.284792623924[/C][/ROW]
[ROW][C]17[/C][C]536214[/C][C]530385.340244741[/C][C]5828.65975525903[/C][/ROW]
[ROW][C]18[/C][C]523597[/C][C]514362.734361192[/C][C]9234.26563880754[/C][/ROW]
[ROW][C]19[/C][C]536535[/C][C]525175.36869606[/C][C]11359.6313039399[/C][/ROW]
[ROW][C]20[/C][C]536322[/C][C]525407.208751573[/C][C]10914.791248427[/C][/ROW]
[ROW][C]21[/C][C]532638[/C][C]526216.250529745[/C][C]6421.74947025503[/C][/ROW]
[ROW][C]22[/C][C]528222[/C][C]524421.388716629[/C][C]3800.6112833714[/C][/ROW]
[ROW][C]23[/C][C]516141[/C][C]516800.687008249[/C][C]-659.687008249191[/C][/ROW]
[ROW][C]24[/C][C]501866[/C][C]506867.466501049[/C][C]-5001.46650104921[/C][/ROW]
[ROW][C]25[/C][C]506174[/C][C]515950.351622032[/C][C]-9776.35162203183[/C][/ROW]
[ROW][C]26[/C][C]517945[/C][C]533249.545508968[/C][C]-15304.5455089684[/C][/ROW]
[ROW][C]27[/C][C]533590[/C][C]558679.67427362[/C][C]-25089.67427362[/C][/ROW]
[ROW][C]28[/C][C]528379[/C][C]548674.071556826[/C][C]-20295.0715568261[/C][/ROW]
[ROW][C]29[/C][C]477580[/C][C]492470.059578201[/C][C]-14890.0595782012[/C][/ROW]
[ROW][C]30[/C][C]469357[/C][C]478518.698461494[/C][C]-9161.69846149355[/C][/ROW]
[ROW][C]31[/C][C]490243[/C][C]494806.397368208[/C][C]-4563.39736820765[/C][/ROW]
[ROW][C]32[/C][C]492622[/C][C]498156.240298535[/C][C]-5534.24029853479[/C][/ROW]
[ROW][C]33[/C][C]507561[/C][C]510036.04823639[/C][C]-2475.04823638946[/C][/ROW]
[ROW][C]34[/C][C]516922[/C][C]519835.331636943[/C][C]-2913.33163694249[/C][/ROW]
[ROW][C]35[/C][C]514258[/C][C]516481.468386419[/C][C]-2223.468386419[/C][/ROW]
[ROW][C]36[/C][C]509846[/C][C]514053.726227879[/C][C]-4207.72622787903[/C][/ROW]
[ROW][C]37[/C][C]527070[/C][C]531544.083386307[/C][C]-4474.08338630719[/C][/ROW]
[ROW][C]38[/C][C]541657[/C][C]550081.198652709[/C][C]-8424.19865270872[/C][/ROW]
[ROW][C]39[/C][C]564591[/C][C]579822.708773428[/C][C]-15231.7087734279[/C][/ROW]
[ROW][C]40[/C][C]555362[/C][C]566142.316954174[/C][C]-10780.3169541743[/C][/ROW]
[ROW][C]41[/C][C]498662[/C][C]502863.407976268[/C][C]-4201.4079762685[/C][/ROW]
[ROW][C]42[/C][C]511038[/C][C]504927.074720735[/C][C]6110.92527926525[/C][/ROW]
[ROW][C]43[/C][C]525919[/C][C]517929.734884341[/C][C]7989.26511565901[/C][/ROW]
[ROW][C]44[/C][C]531673[/C][C]524109.907805199[/C][C]7563.09219480108[/C][/ROW]
[ROW][C]45[/C][C]548854[/C][C]538259.547597755[/C][C]10594.4524022453[/C][/ROW]
[ROW][C]46[/C][C]560576[/C][C]549924.06486092[/C][C]10651.9351390802[/C][/ROW]
[ROW][C]47[/C][C]557274[/C][C]548609.895157671[/C][C]8664.10484232937[/C][/ROW]
[ROW][C]48[/C][C]565742[/C][C]555892.504809266[/C][C]9849.49519073355[/C][/ROW]
[ROW][C]49[/C][C]587625[/C][C]579321.915062579[/C][C]8303.08493742112[/C][/ROW]
[ROW][C]50[/C][C]619916[/C][C]612576.74627974[/C][C]7339.25372025949[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100487&T=4

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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
1563668570266.693118893-6598.69311889312
2586111593872.41901096-7761.41901095998
3604378618749.47345615-14371.4734561504
4600991607615.450651329-6624.45065132856
5544686548059.585582278-3373.5855822783
6537034533440.0809923963593.9190076038
7551531544709.2800339336821.71996606691
8563250552708.28796509910541.7120349007
9574761561288.20952710913472.7904728911
10580112566601.65188693213510.3481130678
11575093561495.76797341813597.2320265822
12557560548554.045882849005.95411715947
13564478556363.7464966078114.25350339268
14580523576302.1071025834220.8928974169
15596594600262.320226251-3668.32022625083
16586570586468.715207376101.284792623924
17536214530385.3402447415828.65975525903
18523597514362.7343611929234.26563880754
19536535525175.3686960611359.6313039399
20536322525407.20875157310914.791248427
21532638526216.2505297456421.74947025503
22528222524421.3887166293800.6112833714
23516141516800.687008249-659.687008249191
24501866506867.466501049-5001.46650104921
25506174515950.351622032-9776.35162203183
26517945533249.545508968-15304.5455089684
27533590558679.67427362-25089.67427362
28528379548674.071556826-20295.0715568261
29477580492470.059578201-14890.0595782012
30469357478518.698461494-9161.69846149355
31490243494806.397368208-4563.39736820765
32492622498156.240298535-5534.24029853479
33507561510036.04823639-2475.04823638946
34516922519835.331636943-2913.33163694249
35514258516481.468386419-2223.468386419
36509846514053.726227879-4207.72622787903
37527070531544.083386307-4474.08338630719
38541657550081.198652709-8424.19865270872
39564591579822.708773428-15231.7087734279
40555362566142.316954174-10780.3169541743
41498662502863.407976268-4201.4079762685
42511038504927.0747207356110.92527926525
43525919517929.7348843417989.26511565901
44531673524109.9078051997563.09219480108
45548854538259.54759775510594.4524022453
46560576549924.0648609210651.9351390802
47557274548609.8951576718664.10484232937
48565742555892.5048092669849.49519073355
49587625579321.9150625798303.08493742112
50619916612576.746279747339.25372025949







Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.03557079523168730.07114159046337450.964429204768313
70.0203877706267670.04077554125353410.979612229373233
80.01497125612132090.02994251224264170.98502874387868
90.009205454426920680.01841090885384140.99079454557308
100.003386526623241170.006773053246482340.99661347337676
110.001432240596605580.002864481193211170.998567759403394
120.004830295151300930.009660590302601850.9951697048487
130.007734814742434340.01546962948486870.992265185257566
140.01011425024364360.02022850048728710.989885749756356
150.014020524283910.02804104856781990.98597947571609
160.01088976313042160.02177952626084330.989110236869578
170.02226696236022850.04453392472045710.977733037639771
180.03051771197013110.06103542394026210.969482288029869
190.03948579064955330.07897158129910650.960514209350447
200.07558227488845530.1511645497769110.924417725111545
210.188106819201870.376213638403740.81189318079813
220.5041242869282360.9917514261435280.495875713071764
230.8785169716276680.2429660567446630.121483028372332
240.9864075836847180.0271848326305640.013592416315282
250.9983914186332310.003217162733537390.0016085813667687
260.9995971225023210.000805754995357420.00040287749767871
270.999756363516690.0004872729666216890.000243636483310844
280.9996403981260310.0007192037479373940.000359601873968697
290.9996768883873960.0006462232252089740.000323111612604487
300.9994417340750110.001116531849977360.00055826592498868
310.998965152141260.002069695717478820.00103484785873941
320.9978172129895630.004365574020873030.00218278701043652
330.9978546542926030.004290691414793260.00214534570739663
340.9985299143376920.002940171324615530.00147008566230776
350.999167825141930.001664349716137970.000832174858068985
360.9987652207208590.002469558558282820.00123477927914141
370.9990570704022450.001885859195510190.000942929597755093
380.99857506239980.002849875200401260.00142493760020063
390.9958763307728920.008247338454215230.00412366922710761
400.9889809636203410.02203807275931730.0110190363796587
410.999785480006320.0004290399873617760.000214519993680888
420.9995948249342250.0008103501315492870.000405175065774644
430.9982999470571440.003400105885711810.00170005294285591
440.9990973945398740.001805210920252430.000902605460126216

\begin{tabular}{lllllllll}
\hline
Goldfeld-Quandt test for Heteroskedasticity \tabularnewline
p-values & Alternative Hypothesis \tabularnewline
breakpoint index & greater & 2-sided & less \tabularnewline
6 & 0.0355707952316873 & 0.0711415904633745 & 0.964429204768313 \tabularnewline
7 & 0.020387770626767 & 0.0407755412535341 & 0.979612229373233 \tabularnewline
8 & 0.0149712561213209 & 0.0299425122426417 & 0.98502874387868 \tabularnewline
9 & 0.00920545442692068 & 0.0184109088538414 & 0.99079454557308 \tabularnewline
10 & 0.00338652662324117 & 0.00677305324648234 & 0.99661347337676 \tabularnewline
11 & 0.00143224059660558 & 0.00286448119321117 & 0.998567759403394 \tabularnewline
12 & 0.00483029515130093 & 0.00966059030260185 & 0.9951697048487 \tabularnewline
13 & 0.00773481474243434 & 0.0154696294848687 & 0.992265185257566 \tabularnewline
14 & 0.0101142502436436 & 0.0202285004872871 & 0.989885749756356 \tabularnewline
15 & 0.01402052428391 & 0.0280410485678199 & 0.98597947571609 \tabularnewline
16 & 0.0108897631304216 & 0.0217795262608433 & 0.989110236869578 \tabularnewline
17 & 0.0222669623602285 & 0.0445339247204571 & 0.977733037639771 \tabularnewline
18 & 0.0305177119701311 & 0.0610354239402621 & 0.969482288029869 \tabularnewline
19 & 0.0394857906495533 & 0.0789715812991065 & 0.960514209350447 \tabularnewline
20 & 0.0755822748884553 & 0.151164549776911 & 0.924417725111545 \tabularnewline
21 & 0.18810681920187 & 0.37621363840374 & 0.81189318079813 \tabularnewline
22 & 0.504124286928236 & 0.991751426143528 & 0.495875713071764 \tabularnewline
23 & 0.878516971627668 & 0.242966056744663 & 0.121483028372332 \tabularnewline
24 & 0.986407583684718 & 0.027184832630564 & 0.013592416315282 \tabularnewline
25 & 0.998391418633231 & 0.00321716273353739 & 0.0016085813667687 \tabularnewline
26 & 0.999597122502321 & 0.00080575499535742 & 0.00040287749767871 \tabularnewline
27 & 0.99975636351669 & 0.000487272966621689 & 0.000243636483310844 \tabularnewline
28 & 0.999640398126031 & 0.000719203747937394 & 0.000359601873968697 \tabularnewline
29 & 0.999676888387396 & 0.000646223225208974 & 0.000323111612604487 \tabularnewline
30 & 0.999441734075011 & 0.00111653184997736 & 0.00055826592498868 \tabularnewline
31 & 0.99896515214126 & 0.00206969571747882 & 0.00103484785873941 \tabularnewline
32 & 0.997817212989563 & 0.00436557402087303 & 0.00218278701043652 \tabularnewline
33 & 0.997854654292603 & 0.00429069141479326 & 0.00214534570739663 \tabularnewline
34 & 0.998529914337692 & 0.00294017132461553 & 0.00147008566230776 \tabularnewline
35 & 0.99916782514193 & 0.00166434971613797 & 0.000832174858068985 \tabularnewline
36 & 0.998765220720859 & 0.00246955855828282 & 0.00123477927914141 \tabularnewline
37 & 0.999057070402245 & 0.00188585919551019 & 0.000942929597755093 \tabularnewline
38 & 0.9985750623998 & 0.00284987520040126 & 0.00142493760020063 \tabularnewline
39 & 0.995876330772892 & 0.00824733845421523 & 0.00412366922710761 \tabularnewline
40 & 0.988980963620341 & 0.0220380727593173 & 0.0110190363796587 \tabularnewline
41 & 0.99978548000632 & 0.000429039987361776 & 0.000214519993680888 \tabularnewline
42 & 0.999594824934225 & 0.000810350131549287 & 0.000405175065774644 \tabularnewline
43 & 0.998299947057144 & 0.00340010588571181 & 0.00170005294285591 \tabularnewline
44 & 0.999097394539874 & 0.00180521092025243 & 0.000902605460126216 \tabularnewline
\hline
\end{tabular}
%Source: https://freestatistics.org/blog/index.php?pk=100487&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]6[/C][C]0.0355707952316873[/C][C]0.0711415904633745[/C][C]0.964429204768313[/C][/ROW]
[ROW][C]7[/C][C]0.020387770626767[/C][C]0.0407755412535341[/C][C]0.979612229373233[/C][/ROW]
[ROW][C]8[/C][C]0.0149712561213209[/C][C]0.0299425122426417[/C][C]0.98502874387868[/C][/ROW]
[ROW][C]9[/C][C]0.00920545442692068[/C][C]0.0184109088538414[/C][C]0.99079454557308[/C][/ROW]
[ROW][C]10[/C][C]0.00338652662324117[/C][C]0.00677305324648234[/C][C]0.99661347337676[/C][/ROW]
[ROW][C]11[/C][C]0.00143224059660558[/C][C]0.00286448119321117[/C][C]0.998567759403394[/C][/ROW]
[ROW][C]12[/C][C]0.00483029515130093[/C][C]0.00966059030260185[/C][C]0.9951697048487[/C][/ROW]
[ROW][C]13[/C][C]0.00773481474243434[/C][C]0.0154696294848687[/C][C]0.992265185257566[/C][/ROW]
[ROW][C]14[/C][C]0.0101142502436436[/C][C]0.0202285004872871[/C][C]0.989885749756356[/C][/ROW]
[ROW][C]15[/C][C]0.01402052428391[/C][C]0.0280410485678199[/C][C]0.98597947571609[/C][/ROW]
[ROW][C]16[/C][C]0.0108897631304216[/C][C]0.0217795262608433[/C][C]0.989110236869578[/C][/ROW]
[ROW][C]17[/C][C]0.0222669623602285[/C][C]0.0445339247204571[/C][C]0.977733037639771[/C][/ROW]
[ROW][C]18[/C][C]0.0305177119701311[/C][C]0.0610354239402621[/C][C]0.969482288029869[/C][/ROW]
[ROW][C]19[/C][C]0.0394857906495533[/C][C]0.0789715812991065[/C][C]0.960514209350447[/C][/ROW]
[ROW][C]20[/C][C]0.0755822748884553[/C][C]0.151164549776911[/C][C]0.924417725111545[/C][/ROW]
[ROW][C]21[/C][C]0.18810681920187[/C][C]0.37621363840374[/C][C]0.81189318079813[/C][/ROW]
[ROW][C]22[/C][C]0.504124286928236[/C][C]0.991751426143528[/C][C]0.495875713071764[/C][/ROW]
[ROW][C]23[/C][C]0.878516971627668[/C][C]0.242966056744663[/C][C]0.121483028372332[/C][/ROW]
[ROW][C]24[/C][C]0.986407583684718[/C][C]0.027184832630564[/C][C]0.013592416315282[/C][/ROW]
[ROW][C]25[/C][C]0.998391418633231[/C][C]0.00321716273353739[/C][C]0.0016085813667687[/C][/ROW]
[ROW][C]26[/C][C]0.999597122502321[/C][C]0.00080575499535742[/C][C]0.00040287749767871[/C][/ROW]
[ROW][C]27[/C][C]0.99975636351669[/C][C]0.000487272966621689[/C][C]0.000243636483310844[/C][/ROW]
[ROW][C]28[/C][C]0.999640398126031[/C][C]0.000719203747937394[/C][C]0.000359601873968697[/C][/ROW]
[ROW][C]29[/C][C]0.999676888387396[/C][C]0.000646223225208974[/C][C]0.000323111612604487[/C][/ROW]
[ROW][C]30[/C][C]0.999441734075011[/C][C]0.00111653184997736[/C][C]0.00055826592498868[/C][/ROW]
[ROW][C]31[/C][C]0.99896515214126[/C][C]0.00206969571747882[/C][C]0.00103484785873941[/C][/ROW]
[ROW][C]32[/C][C]0.997817212989563[/C][C]0.00436557402087303[/C][C]0.00218278701043652[/C][/ROW]
[ROW][C]33[/C][C]0.997854654292603[/C][C]0.00429069141479326[/C][C]0.00214534570739663[/C][/ROW]
[ROW][C]34[/C][C]0.998529914337692[/C][C]0.00294017132461553[/C][C]0.00147008566230776[/C][/ROW]
[ROW][C]35[/C][C]0.99916782514193[/C][C]0.00166434971613797[/C][C]0.000832174858068985[/C][/ROW]
[ROW][C]36[/C][C]0.998765220720859[/C][C]0.00246955855828282[/C][C]0.00123477927914141[/C][/ROW]
[ROW][C]37[/C][C]0.999057070402245[/C][C]0.00188585919551019[/C][C]0.000942929597755093[/C][/ROW]
[ROW][C]38[/C][C]0.9985750623998[/C][C]0.00284987520040126[/C][C]0.00142493760020063[/C][/ROW]
[ROW][C]39[/C][C]0.995876330772892[/C][C]0.00824733845421523[/C][C]0.00412366922710761[/C][/ROW]
[ROW][C]40[/C][C]0.988980963620341[/C][C]0.0220380727593173[/C][C]0.0110190363796587[/C][/ROW]
[ROW][C]41[/C][C]0.99978548000632[/C][C]0.000429039987361776[/C][C]0.000214519993680888[/C][/ROW]
[ROW][C]42[/C][C]0.999594824934225[/C][C]0.000810350131549287[/C][C]0.000405175065774644[/C][/ROW]
[ROW][C]43[/C][C]0.998299947057144[/C][C]0.00340010588571181[/C][C]0.00170005294285591[/C][/ROW]
[ROW][C]44[/C][C]0.999097394539874[/C][C]0.00180521092025243[/C][C]0.000902605460126216[/C][/ROW]
[/TABLE]
Source: https://freestatistics.org/blog/index.php?pk=100487&T=5

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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
60.03557079523168730.07114159046337450.964429204768313
70.0203877706267670.04077554125353410.979612229373233
80.01497125612132090.02994251224264170.98502874387868
90.009205454426920680.01841090885384140.99079454557308
100.003386526623241170.006773053246482340.99661347337676
110.001432240596605580.002864481193211170.998567759403394
120.004830295151300930.009660590302601850.9951697048487
130.007734814742434340.01546962948486870.992265185257566
140.01011425024364360.02022850048728710.989885749756356
150.014020524283910.02804104856781990.98597947571609
160.01088976313042160.02177952626084330.989110236869578
170.02226696236022850.04453392472045710.977733037639771
180.03051771197013110.06103542394026210.969482288029869
190.03948579064955330.07897158129910650.960514209350447
200.07558227488845530.1511645497769110.924417725111545
210.188106819201870.376213638403740.81189318079813
220.5041242869282360.9917514261435280.495875713071764
230.8785169716276680.2429660567446630.121483028372332
240.9864075836847180.0271848326305640.013592416315282
250.9983914186332310.003217162733537390.0016085813667687
260.9995971225023210.000805754995357420.00040287749767871
270.999756363516690.0004872729666216890.000243636483310844
280.9996403981260310.0007192037479373940.000359601873968697
290.9996768883873960.0006462232252089740.000323111612604487
300.9994417340750110.001116531849977360.00055826592498868
310.998965152141260.002069695717478820.00103484785873941
320.9978172129895630.004365574020873030.00218278701043652
330.9978546542926030.004290691414793260.00214534570739663
340.9985299143376920.002940171324615530.00147008566230776
350.999167825141930.001664349716137970.000832174858068985
360.9987652207208590.002469558558282820.00123477927914141
370.9990570704022450.001885859195510190.000942929597755093
380.99857506239980.002849875200401260.00142493760020063
390.9958763307728920.008247338454215230.00412366922710761
400.9889809636203410.02203807275931730.0110190363796587
410.999785480006320.0004290399873617760.000214519993680888
420.9995948249342250.0008103501315492870.000405175065774644
430.9982999470571440.003400105885711810.00170005294285591
440.9990973945398740.001805210920252430.000902605460126216







Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level220.564102564102564NOK
5% type I error level320.82051282051282NOK
10% type I error level350.897435897435897NOK

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

Globally Unique Identifier (entire table): ba.freestatistics.org/blog/index.php?pk=100487&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 level220.564102564102564NOK
5% type I error level320.82051282051282NOK
10% type I error level350.897435897435897NOK



Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = Linear Trend ;
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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')
}