Home » date » 2008 » Dec » 18 »

verband tussen invoer en transport

*The author of this computation has been verified*
R Software Module: rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Wed, 17 Dec 2008 16:33:00 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr.htm/, Retrieved Thu, 18 Dec 2008 00:34:25 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr.htm/},
    year = {2008},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2008},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
124,9 1487,6 132 1320,9 151,4 1514 108,9 1290,9 121,3 1392,5 123,4 1288,2 90,3 1304,4 79,3 1297,8 117,2 1211 116,9 1454 120,8 1405,7 96,1 1160,8 100,8 1492,1 105,3 1263 116,1 1376,3 112,8 1368,6 114,5 1427,6 117,2 1339,8 77,1 1248,3 80,1 1309,8 120,3 1424 133,4 1590,5 109,4 1423,1 93,2 1355,3 91,2 1515 99,2 1385,6 108,2 1430 101,5 1494,2 106,9 1580,9 104,4 1369,8 77,9 1407,5 60 1388,3 99,5 1478,5 95 1630,4 105,6 1413,5 102,5 1493,8 93,3 1641,3 97,3 1465 127 1725,1 111,7 1628,4 96,4 1679,8 133 1876 72,2 1669,4 95,8 1712,4 124,1 1768,8 127,6 1820,5 110,7 1776,2 104,6 1693,7 112,7 1799,1 115,3 1917,5 139,4 1887,2 119 1787,8 97,4 1803,8 154 2196,4 81,5 1759,5 88,8 2002,6 127,7 2056,8 105,1 1851,1 114,9 1984,3 106,4 1725,3 104,5 2096,6 121,6 1792,2 141,4 2029,9 99 1785,3 126,7 2026,5 134,1 1930,8 81,3 1845,5 88,6 1943,1 132,7 2066,8 132,9 2354,4 134,4 2190,7 103,7 1929,6
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


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


Multiple Linear Regression - Estimated Regression Equation
transport[t] = + 68.4384844621544 + 0.025042547739914Import[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)68.438484462154412.4930675.47811e-060
Import0.0250425477399140.0075443.31960.0014340.000717


Multiple Linear Regression - Regression Statistics
Multiple R0.368797522645546
R-squared0.136011612709492
Adjusted R-squared0.123668921462484
F-TEST (value)11.0196074735703
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0.00143382764752187
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation17.7457142811268
Sum Squared Residuals22043.7262743171


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1124.9105.6917784800519.20822151995
2132101.51718577180730.4828142281932
3151.4106.35290174038445.0470982596158
4108.9100.7659093396098.13409066039064
5121.3103.31023218998517.9897678100154
6123.4100.69829446071222.7017055392884
790.3101.103983734098-10.8039837340982
879.3100.938702919015-21.6387029190148
9117.298.765009775190218.4349902248098
10116.9104.85034887598912.0496511240107
11120.8103.64079382015117.1592061798485
1296.197.5078738786465-1.40787387864655
13100.8105.80446994488-5.00446994488006
14105.3100.0672222576665.23277774233424
15116.1102.90454291659813.1954570834020
16112.8102.71171529900110.0882847009993
17114.5104.18922561565610.3107743843444
18117.2101.99048992409115.2095100759088
1977.199.699096805889-22.5990968058890
2080.1101.239213491894-21.1392134918937
21120.3104.09907244379216.2009275562081
22133.4108.26865664248825.1313433575124
23109.4104.0765341508265.32346584917401
2493.2102.378649414060-9.17864941405982
2591.2106.377944288124-15.1779442881241
2699.2103.137438610579-3.93743861057921
27108.2104.2493277302313.9506722697686
28101.5105.857059295134-4.35705929513388
29106.9108.028248184184-1.12824818418443
30104.4102.7417663562891.65823364371143
3177.9103.685870406083-25.7858704060833
3260103.205053489477-43.205053489477
3399.5105.463891295617-5.96389129561723
3495109.267854297310-14.2678542973102
35105.6103.8361256925231.76387430747717
36102.5105.847042276038-3.34704227603792
3793.3109.540818067675-16.2408180676752
3897.3105.125816901128-7.8258169011284
39127111.6393835682815.3606164317200
40111.7109.2177692018302.48223079816966
4196.4110.504956155662-14.1049561556619
42133115.41830402223317.5816959777669
4372.2110.244513659167-38.0445136591668
4495.8111.321343211983-15.5213432119831
45124.1112.73374290451411.3662570954857
46127.6114.02844262266813.5715573773322
47110.7112.919057757790-2.21905775778963
48104.6110.853047569247-6.25304756924674
49112.7113.492532101034-0.792532101033663
50115.3116.457569753439-1.15756975343949
51139.4115.6987805569223.7012194430799
52119113.2095513115735.79044868842736
5397.4113.610232075411-16.2102320754113
54154123.44193631810230.5580636818985
5581.5112.500847210533-31.0008472105331
5688.8118.588690566106-29.7886905661062
57127.7119.9459966536107.75400334639049
58105.1114.794744583509-9.6947445835092
59114.9118.130411942466-3.23041194246574
60106.4111.644392077828-5.24439207782801
61104.5120.942690053658-16.4426900536581
62121.6113.3197385216288.28026147837173
63141.4119.27235211940622.1276478805942
6499113.146944942223-14.1469449422229
65126.7119.1872074570907.51279254290989
66134.1116.79063563838017.3093643616197
6781.3114.654506316166-33.3545063161657
6888.6117.098658975581-28.4986589755813
69132.7120.19642213100912.5035778689913
70132.9127.3986588610085.50134113899208
71134.4123.29919379598411.1008062040160
72103.7116.760584581092-13.0605845810924


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.4038707742579360.8077415485158730.596129225742064
60.2828557530889150.565711506177830.717144246911085
70.5171907620701520.9656184758596960.482809237929848
80.7257438846456420.5485122307087160.274256115354358
90.7605343527730860.4789312944538280.239465647226914
100.712360347520790.5752793049584190.287639652479210
110.6404084642791570.7191830714416870.359591535720844
120.5445861090080320.9108277819839360.455413890991968
130.6467122378065780.7065755243868450.353287762193422
140.5667718566642350.8664562866715310.433228143335765
150.5006060917684380.9987878164631250.499393908231562
160.4338466991791230.8676933983582470.566153300820877
170.376613944996880.753227889993760.62338605500312
180.3441894666175460.6883789332350910.655810533382454
190.4482020201140730.8964040402281460.551797979885927
200.5403742396566460.9192515206867080.459625760343354
210.5130974701480440.9738050597039120.486902529851956
220.5238200774128150.952359845174370.476179922587185
230.4877124543706910.9754249087413810.512287545629309
240.4762708514553140.9525417029106290.523729148544686
250.5998283411387530.8003433177224930.400171658861247
260.560506637559380.878986724881240.43949336244062
270.5232310604229920.9535378791540150.476768939577008
280.5046309592374140.9907380815251730.495369040762586
290.4797898054477150.959579610895430.520210194552285
300.4504016320503920.9008032641007830.549598367949608
310.5434895504537920.9130208990924170.456510449546208
320.8076293176019330.3847413647961350.192370682398067
330.7717533152694870.4564933694610270.228246684730513
340.7626505764720420.4746988470559160.237349423527958
350.7316087823181620.5367824353636770.268391217681838
360.688279038373610.623441923252780.31172096162639
370.6672623295126950.665475340974610.332737670487305
380.6178618298876680.7642763402246650.382138170112332
390.6334816846440070.7330366307119860.366518315355993
400.5985936903281360.8028126193437270.401406309671864
410.557138586931550.88572282613690.44286141306845
420.5690040575089330.8619918849821330.430995942491067
430.7273243761597570.5453512476804860.272675623840243
440.6881808817885560.6236382364228870.311819118211444
450.6802865260127030.6394269479745930.319713473987297
460.6832516130953030.6334967738093930.316748386904696
470.6227020482861550.754595903427690.377297951713845
480.5615189664877760.8769620670244480.438481033512224
490.4984623023339520.9969246046679030.501537697666048
500.4247628889240130.8495257778480250.575237111075987
510.5428388424839350.9143223150321290.457161157516065
520.5346336298331890.9307327403336210.465366370166811
530.4788830633819530.9577661267639050.521116936618047
540.5521821464065650.895635707186870.447817853593435
550.6064592716064970.7870814567870050.393540728393503
560.742480779661240.5150384406775190.257519220338760
570.6780466774704620.6439066450590760.321953322529538
580.5984285352355050.803142929528990.401571464764495
590.5057690303081430.9884619393837130.494230969691856
600.4204399248731310.8408798497462610.579560075126869
610.4305525501769180.8611051003538360.569447449823082
620.4438011154700970.8876022309401930.556198884529903
630.5251752742881740.949649451423650.474824725711826
640.4154852838535670.8309705677071350.584514716146433
650.3364629962519990.6729259925039980.663537003748001
660.6334513767700980.7330972464598040.366548623229902
670.5522589318408620.8954821363182760.447741068159138


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/10vvtr1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/10vvtr1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/19ies1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/19ies1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/2ymt31229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/2ymt31229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/3n07s1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/3n07s1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/411s41229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/411s41229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/55wle1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/55wle1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/6sbpe1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/6sbpe1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/7ee7r1229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/7ee7r1229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/82uo11229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/82uo11229556775.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/9yz821229556775.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229556855uxhw5wmlu1w3ozr/9yz821229556775.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/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<br />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<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />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')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by