Home » date » 2010 » Nov » 30 »

Lineaire trend - Ws 8

*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 09:17:30 +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/t1291108567elygo0fzcdcatfb.htm/, Retrieved Tue, 30 Nov 2010 10:16:07 +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/t1291108567elygo0fzcdcatfb.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 «
2649.2 31077 0 2579.4 31293 0 2504.6 30236 0 2462.3 30160 0 2467.4 32436 0 2446.7 30695 0 2656.3 27525 0 2626.2 26434 0 2482.6 25739 0 2539.9 25204 0 2502.7 24977 0 2466.9 24320 0 2513.2 22680 1 2443.3 22052 1 2293.4 21467 1 2070.8 21383 1 2029.6 21777 1 2052 21928 1 1864.4 21814 1 1670.1 22937 1 1811 23595 1 1905.4 20830 1 1862.8 19650 1 2014.5 19195 1 2197.8 19644 1 2962.3 18483 0 3047 18079 0 3032.6 19178 0 3504.4 18391 0 3801.1 18441 0 3857.6 18584 0 3674.4 20108 0 3721 20148 0 3844.5 19394 0 4116.7 17745 0 4105.2 17696 0 4435.2 17032 0 4296.5 16438 0 4202.5 15683 0 4562.8 15594 0 4621.4 15713 0 4697 15937 0 4591.3 16171 0 4357 15928 0 4502.6 16348 0 4443.9 15579 0 4290.9 15305 0 4199.8 15648 0 4138.5 14954 0 3970.1 15137 0 3862.3 15839 0 3701.6 16050 0 3570.12 15168 0 3801.06 17064 0 3895.51 16005 0 3917.96 14886 0 3813.06 14931 0 3667.03 14544 0 3494.17 13812 0 3364 13031 0 3295.3 12574 0 3277.0 11964 0 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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
Bel20[t] = + 7157.54976019622 -0.145896546986036Goudprijs[t] -1480.75533060803Crisis[t] -25.7971417400726t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)7157.549760196221150.0815486.223500
Goudprijs-0.1458965469860360.039329-3.70960.0004280.000214
Crisis-1480.75533060803196.975377-7.517500
t-25.797141740072611.442122-2.25460.0274840.013742


Multiple Linear Regression - Regression Statistics
Multiple R0.794490138920613
R-squared0.631214580842094
Adjusted R-squared0.614451607244008
F-TEST (value)37.6552869422966
F-TEST (DF numerator)3
F-TEST (DF denominator)66
p-value2.65343302885412e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation526.977815912378
Sum Squared Residuals18328570.8186095


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12649.22597.7256277711251.4743722288777
22579.42540.4148318820738.9851681179326
32504.62668.83034030624-164.230340306235
42462.32654.1213361371-191.821336137100
52467.42296.26365345681171.136346543189
62446.72524.47240001943-77.7724000194267
72656.32961.16731222509-304.867312225086
82626.23094.54330324678-468.343303246779
92482.63170.144261662-687.544261662001
102539.93222.40177255946-682.501772559457
112502.73229.72314698521-727.023146985215
122466.93299.78003661497-832.880036614967
132513.22032.49790132396480.702098676036
142443.32098.32379109112344.976208908879
152293.42157.87612933788135.523870662120
162070.82144.33429754463-73.5342975446341
172029.62061.05391629206-31.4539162920635
1820522013.226395957138.7736040429005
191864.42004.06146057344-139.661460573435
201670.11814.42249656804-144.322496568045
2118111692.62542691116118.374573088839
221905.42070.23223758748-164.832237587476
231862.82216.59302129093-353.793021290926
242014.52257.1788084295-242.678808429499
252197.82165.8741170927031.9258829073037
262962.33790.21819701144-827.91819701144
2730473823.36326025373-776.363260253726
283032.63637.225813376-604.625813376
293504.43726.24925411394-221.849254113938
303801.13693.15728502456107.942714975437
313857.63646.49693706549211.103062934512
323674.43398.35345771870276.046542281303
3337213366.72045409918354.279545900817
343844.53450.92930878658393.570691213419
354116.73665.71557302648450.984426973519
364105.23647.06736208872458.132637911276
374435.23718.14552754738717.054472452621
384296.53779.01093471701517.489065282988
394202.53863.36568595140339.134314048604
404562.83850.55333689308712.24666310692
414621.43807.39450606167814.00549393833
4246973748.91653779672948.083462203275
434591.33688.97960406192902.32039593808
4443573698.63532323945658.364676760546
454502.63611.56163176525891.038368234754
464443.93697.95893465743745.941065342565
474290.93712.13744679154578.762553208463
484199.83636.29778943525563.502210564747
494138.53711.75285130349426.747148696511
503970.13659.25664146497310.843358535028
513862.33531.0401237407331.259876259298
523701.63474.45881058658227.141189413423
533570.123577.34242328819-7.22242328818742
543801.063274.92542846259526.134571537409
553895.513403.63272998073491.87727001927
563917.963541.09382431803376.866175681969
573813.063508.73133796359304.328662036413
583667.033539.39615990711127.633840092890
593494.173620.39529056082-126.225290560816
6033643708.54335201684-344.543352016837
613295.33749.42093224938-454.120932249382
6232773812.62068417079-535.620684170791
633257.23861.66847103456-604.468471034555
643161.73851.19046672802-689.490466728016
653097.33824.37204915904-727.072049159041
663061.33893.55355950688-832.253559506878
673119.33875.92662439802-756.626624398023
683106.223863.26017188669-757.040171886694
693080.583851.03140901632-770.451409016322
702981.853833.40447390747-851.554473907468


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.005800092912471040.01160018582494210.994199907087529
80.0007853530573281810.001570706114656360.999214646942672
90.0002828282663186560.0005656565326373110.999717171733681
104.78183880289849e-059.56367760579698e-050.99995218161197
119.95780106716747e-061.99156021343349e-050.999990042198933
123.96387082263338e-067.92774164526676e-060.999996036129177
135.85938142354838e-071.17187628470968e-060.999999414061858
141.03537454062174e-072.07074908124349e-070.999999896462546
151.09253825038292e-072.18507650076583e-070.999999890746175
161.23127066435862e-062.46254132871725e-060.999998768729336
178.13040268361759e-071.62608053672352e-060.999999186959732
181.87348101574703e-073.74696203149406e-070.999999812651898
198.9730078333395e-081.7946015666679e-070.999999910269922
203.80969970527591e-087.61939941055182e-080.999999961903003
212.08793620137376e-084.17587240274751e-080.999999979120638
225.43255836247252e-091.08651167249450e-080.999999994567442
231.19739306867834e-092.39478613735668e-090.999999998802607
247.55423520161206e-101.51084704032241e-090.999999999244576
251.67730668969477e-083.35461337938953e-080.999999983226933
263.57139442792882e-067.14278885585764e-060.999996428605572
272.89756394780904e-055.79512789561808e-050.999971024360522
280.0003471383113524340.0006942766227048680.999652861688648
290.008920675260072360.01784135052014470.991079324739928
300.0882880457274720.1765760914549440.911711954272528
310.2490482187737530.4980964375475060.750951781226247
320.4434805499545170.8869610999090340.556519450045483
330.7131805867687740.5736388264624520.286819413231226
340.9339399105807940.1321201788384130.0660600894192063
350.9849822069162340.03003558616753150.0150177930837657
360.9986141132811740.00277177343765180.0013858867188259
370.9994745925665150.001050814866970820.000525407433485409
380.9998477285029870.0003045429940251440.000152271497012572
390.9999924955146721.50089706566349e-057.50448532831747e-06
400.999992429748981.51405020419357e-057.57025102096786e-06
410.9999881238728972.37522542059033e-051.18761271029517e-05
420.9999866572637712.66854724571332e-051.33427362285666e-05
430.999978043944774.39121104601649e-052.19560552300824e-05
440.999949178943970.0001016421120605165.08210560302579e-05
450.999932298345140.0001354033097188126.77016548594058e-05
460.9999406421567470.0001187156865060105.93578432530048e-05
470.999937165414250.0001256691714996446.2834585749822e-05
480.999936467926410.0001270641471798546.35320735899268e-05
490.9999801302514193.97394971619784e-051.98697485809892e-05
500.999991738928721.65221425617821e-058.26107128089107e-06
510.999987776565912.44468681790151e-051.22234340895075e-05
520.9999878237810382.43524379247331e-051.21762189623665e-05
530.999994877114941.02457701203298e-055.12288506016489e-06
540.999999102048451.79590310114643e-068.97951550573213e-07
550.9999966977923956.60441521057183e-063.30220760528591e-06
560.9999991573931261.68521374712177e-068.42606873560887e-07
570.9999992688733191.46225336293918e-067.3112668146959e-07
580.9999988658905682.26821886360416e-061.13410943180208e-06
590.9999962717344947.45653101205344e-063.72826550602672e-06
600.9999792687323724.14625352562967e-052.07312676281483e-05
610.9998680895200670.0002638209598669720.000131910479933486
620.9993165157803060.001366968439387240.00068348421969362
630.9976540440621780.004691911875643970.00234595593782198


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level490.859649122807018NOK
5% type I error level520.912280701754386NOK
10% type I error level520.912280701754386NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291108567elygo0fzcdcatfb/10osin1291108641.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/30/t1291108567elygo0fzcdcatfb/10osin1291108641.ps (open in new window)


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


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


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


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


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


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


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


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


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


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