Home » date » 2010 » Nov » 30 »

autoregression with 4 lags

*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: Tue, 30 Nov 2010 16:17:19 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd.htm/, Retrieved Tue, 30 Nov 2010 17:16:44 +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/2010/Nov/30/t1291133793vf1bf9lzc7hghbd.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
9743 9084 9081 9700 8587 9743 9084 9081 9731 8587 9743 9084 9563 9731 8587 9743 9998 9563 9731 8587 9437 9998 9563 9731 10038 9437 9998 9563 9918 10038 9437 9998 9252 9918 10038 9437 9737 9252 9918 10038 9035 9737 9252 9918 9133 9035 9737 9252 9487 9133 9035 9737 8700 9487 9133 9035 9627 8700 9487 9133 8947 9627 8700 9487 9283 8947 9627 8700 8829 9283 8947 9627 9947 8829 9283 8947 9628 9947 8829 9283 9318 9628 9947 8829 9605 9318 9628 9947 8640 9605 9318 9628 9214 8640 9605 9318 9567 9214 8640 9605 8547 9567 9214 8640 9185 8547 9567 9214 9470 9185 8547 9567 9123 9470 9185 8547 9278 9123 9470 9185 10170 9278 9123 9470 9434 10170 9278 9123 9655 9434 10170 9278 9429 9655 9434 10170 8739 9429 9655 9434 9552 8739 9429 9655 9687 9552 8739 9429 9019 9687 9552 8739 9672 9019 9687 9552 9206 9672 9019 9687 9069 9206 9672 9019 9788 9069 9206 9672 10312 9788 9069 9206 10105 10312 9788 9069 9863 10105 10312 9788 9656 9863 10105 10312 9295 9656 9863 10105 9946 9295 9656 9863 etc...
 
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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Yt[t] = + 3540.69197220561 + 0.130932028247944`Yt-1`[t] + 0.201818490077343`Yt-2`[t] + 0.264823448542267`Yt-3`[t] + 385.773255960307M1[t] -436.30006975701M2[t] + 469.50316191611M3[t] + 72.8939494758238M4[t] + 333.401103073757M5[t] + 79.6860766985089M6[t] + 718.477094565068M7[t] + 477.862169357032M8[t] + 160.8783375403M9[t] + 134.048534247597M10[t] -554.848198896826M11[t] + 5.16340774563452t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3540.691972205611487.8911512.37970.0207590.01038
`Yt-1`0.1309320282479440.1339030.97780.3323710.166186
`Yt-2`0.2018184900773430.1290491.56390.1234760.061738
`Yt-3`0.2648234485422670.1342511.97260.0534860.026743
M1385.773255960307200.1878081.92710.0590520.029526
M2-436.30006975701220.764862-1.97630.0530530.026527
M3469.50316191611159.0440282.9520.0046050.002303
M472.8939494758238235.720340.30920.7582870.379144
M5333.401103073757212.066041.57220.1215480.060774
M679.6860766985089183.3585010.43460.6655290.332764
M7718.477094565068182.2649613.94190.0002270.000113
M8477.862169357032222.7425832.14540.0362750.018138
M9160.8783375403205.8738380.78140.4378340.218917
M10134.048534247597177.7129110.75430.453830.226915
M11-554.848198896826184.793507-3.00250.0039960.001998
t5.163407745634522.4226492.13130.0374670.018733


Multiple Linear Regression - Regression Statistics
Multiple R0.881471388071222
R-squared0.776991807988208
Adjusted R-squared0.717257470842192
F-TEST (value)13.0074567679376
F-TEST (DF numerator)15
F-TEST (DF denominator)56
p-value3.57713858534225e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation268.914224668373
Sum Squared Residuals4049632.17282355


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197439522.5163397682220.483660231804
285878628.5703692345-41.5703692344936
397319521.97243930522209.027560694778
495639221.52935298616341.470647013836
599989389.9477797177608.052220282304
694379467.4041121753-30.4041121752984
71003810081.2063737689-43.2063737689387
899189926.42303246605-8.42303246604785
992529571.61772290947-319.617722909469
1097379597.6912703139139.308729686109
1190358811.27005039877223.729949601227
1291339200.87692416954-67.8769241695381
1394879591.40771915248-104.407719152483
1487008654.7198903314845.2801096685198
1596279560.0394669636366.9605330363746
1689479224.88400154791-277.884001547911
1792839380.19046998181-97.1904699818096
1888299283.88677638959-454.886776389593
1999479756.12912883447190.870871165534
2096289664.41470316835-36.4147031683539
2193189416.23018835444-98.230188354443
2296059585.667381186119.3326188139060
2386408792.4691358855-152.469135885506
2492149201.957972872812.0420271272052
2595679549.2991076000517.7008923999494
2685478638.897381061-91.8973810609994
2791859639.56393812742-454.563938127415
2894709219.28058491148250.719415088518
2991239380.90705346195-257.907053461946
3092789313.3976508723-35.3976508723051
31101709983.09020764064186.909792359363
3294349803.81818869322-369.818188693224
3396559616.7015195046838.2984804953184
3494299711.65520960319-282.655209603186
3587398848.02307400035-109.023074000347
3695529330.60658452209221.393415477913
3796879628.8861296696958.1138703303121
3890198811.0022884502207.997711549807
3996729877.05329282463-205.053292824626
4092069472.04251675742-266.042516757423
4190699631.58416333172-562.584163331719
4297889443.9771523542344.022847645804
431031210031.0148461154280.985153884632
44101059972.99839337021132.001606629791
4598639930.2359877542-67.2359877542051
4696569973.87510096127-317.875100961272
4792959159.38031726819135.619682731807
4899469566.2617597199379.738240280093
4997019914.7602450491-213.760245049090
5090499101.55455227325-52.5545522732525
511019010050.1080442064139.891955793585
5297069611.5882833193894.4117166806158
5397659871.49775171964-106.497751719637
5498939835.1545283459557.845471654055
55999410379.6009953940-385.600995393981
561043310198.8309629785234.169037021484
57100739998.7707682194974.2292317805122
581011210045.314327949966.6856720501176
5992669410.29018913498-144.290189134975
6098209772.0677795174847.9322204825248
611009710075.130458760521.8695412395063
6291159182.25551864958-67.2555186495814
631041110167.2628185727243.737181427304
6496789820.67526047764-142.675260477636
65104089991.87278178719416.127218212808
661015310034.1797798627118.820220137337
671036810597.9584482466-229.958448246609
681058110532.514719323648.4852806763516
691059710224.4438132577372.556186742286
701068010304.7967099857375.203290014326
7197389691.567233312246.4327666877946
72955610149.2289791982-593.228979198198


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.7242996478483510.5514007043032970.275700352151649
200.638018728966440.7239625420671190.361981271033559
210.5762434137763850.847513172447230.423756586223615
220.468246369568690.936492739137380.53175363043131
230.3771517988888240.7543035977776480.622848201111176
240.4560714869196270.9121429738392540.543928513080373
250.4029166911743630.8058333823487250.597083308825637
260.316443032043290.632886064086580.68355696795671
270.2824303818338600.5648607636677210.71756961816614
280.5428545025999660.9142909948000680.457145497400034
290.4999872540053590.9999745080107190.500012745994641
300.4457816473962380.8915632947924770.554218352603762
310.6793760319468320.6412479361063360.320623968053168
320.7154441832585590.5691116334828830.284555816741441
330.7381578944039840.5236842111920320.261842105596016
340.6705675789493180.6588648421013640.329432421050682
350.693831641360630.612336717278740.30616835863937
360.7147343043645040.5705313912709920.285265695635496
370.6725455200106820.6549089599786350.327454479989317
380.6852059516502740.6295880966994530.314794048349726
390.6082902175835660.7834195648328680.391709782416434
400.5526765059190950.894646988161810.447323494080905
410.7828173920734970.4343652158530070.217182607926503
420.8261913777303640.3476172445392720.173808622269636
430.8109404976211260.3781190047577470.189059502378874
440.8052589679741780.3894820640516440.194741032025822
450.7407072863006870.5185854273986260.259292713699313
460.675692339728250.6486153205434990.324307660271750
470.5883276789018770.8233446421962460.411672321098123
480.7809079548744670.4381840902510650.219092045125533
490.6950575289699510.6098849420600980.304942471030049
500.7004410507624170.5991178984751670.299558949237583
510.7213533359551710.5572933280896580.278646664044829
520.7720657929311680.4558684141376630.227934207068832
530.6292870796234630.7414258407530740.370712920376537


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://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/105uxk1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/105uxk1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/1yb081291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/1yb081291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/2yb081291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/2yb081291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/3rkzt1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/3rkzt1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/4rkzt1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/4rkzt1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/5rkzt1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/5rkzt1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/6jbze1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/6jbze1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/7c2gz1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/7c2gz1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/8c2gz1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/8c2gz1291133831.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/9c2gz1291133831.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291133793vf1bf9lzc7hghbd/9c2gz1291133831.ps (open in new window)


 
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('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