Home » date » 2010 » Nov » 29 »

Basic Structural Time Series Model

*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: Mon, 29 Nov 2010 14:58:28 +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/29/t12910438954hfcp5r7ftvm7al.htm/, Retrieved Mon, 29 Nov 2010 16:18:29 +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/29/t12910438954hfcp5r7ftvm7al.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 «
13328 12873 14000 13477 14237 13674 13529 14058 12975 14326 14008 16193 14483 14011 15057 14884 15414 14440 14900 15074 14442 15307 14938 17193 15528 14765 15838 15723 16150 15486 15986 15983 15692 16490 15686 18897 16316 15636 17163 16534 16518 16375 16290 16352 15943 16362 16393 19051 16747 16320 17910 16961 17480 17049 16879 17473 16998 17307 17418 20169 17871 17226 19062 17804 19100 18522 18060 18869 18127 18871 18890 21263 19547 18450 20254 19240 20216 19420 19415 20018 18652 19978 19509 21971
 
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 time9 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
HPC[t] = + 15515.9166666667 -2132.84102182539M1[t] -2859.02430555556M2[t] -1507.77901785714M3[t] -2251.39087301588M4[t] -1687.43129960317M5[t] -2357.90029761905M6[t] -2422.36929563492M7[t] -2104.69543650794M8[t] -2896.45014880952M9[t] -2143.91914682540M10[t] -2478.67385912699M11[t] + 77.7547123015873t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)15515.9166666667129.27789120.019900
M1-2132.84102182539159.023856-13.412100
M2-2859.02430555556158.904073-17.992100
M3-1507.77901785714158.79562-9.495100
M4-2251.39087301588158.69852-14.186600
M5-1687.43129960317158.612794-10.638700
M6-2357.90029761905158.538461-14.872700
M7-2422.36929563492158.475536-15.285400
M8-2104.69543650794158.424034-13.285200
M9-2896.45014880952158.383965-18.287500
M10-2143.91914682540158.355338-13.538700
M11-2478.67385912699158.338159-15.654300
t77.75471230158731.34664557.739600


Multiple Linear Regression - Regression Statistics
Multiple R0.99130582514897
R-squared0.98268723897428
Adjusted R-squared0.979761138519229
F-TEST (value)335.835100014381
F-TEST (DF numerator)12
F-TEST (DF denominator)71
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation296.212858097257
Sum Squared Residuals6229686.06845236


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11332813460.8303571428-132.830357142841
21287312812.401785714360.59821428571
31400014241.4017857143-241.401785714278
41347713575.5446428571-98.544642857145
51423714217.258928571419.7410714285763
61367413624.544642857149.4553571428511
71352913637.8303571429-108.830357142853
81405814033.258928571424.7410714285705
91297513319.2589285714-344.25892857143
101432614149.5446428571176.455357142857
111400813892.5446428571115.455357142854
121619316448.9732142857-255.973214285714
131448314393.886904761989.1130952380873
141401113745.4583333333265.541666666667
151505715174.4583333333-117.458333333334
161488414508.6011904762375.398809523809
171541415150.3154761905263.684523809523
181444014557.6011904762-117.60119047619
191490014570.8869047619329.113095238095
201507414966.3154761905107.684523809524
211444214252.3154761905189.684523809524
221530715082.6011904762224.398809523809
231493814825.6011904762112.398809523810
241719317382.0297619048-189.029761904763
251552815326.9434523810201.056547619046
261476514678.514880952486.4851190476194
271583816107.5148809524-269.514880952383
281572315441.6577380952281.342261904762
291615016083.372023809566.6279761904752
301548615490.6577380952-4.65773809523746
311598615503.9434523810482.056547619047
321598315899.372023809583.6279761904762
331569215185.3720238095506.627976190476
341649016015.6577380952474.342261904761
351568615758.6577380952-72.6577380952376
361889718315.0863095238581.913690476189
37163161626055.9999999999982
381563615611.571428571424.4285714285718
391716317040.5714285714122.428571428570
401653416374.7142857143159.285714285714
411651817016.4285714286-498.428571428572
421637516423.7142857143-48.7142857142847
431629016437-147.000000000001
441635216832.4285714286-480.428571428571
451594316118.4285714286-175.428571428571
461636216948.7142857143-586.714285714285
471639316691.7142857143-298.714285714285
481905119248.1428571429-197.142857142859
491674717193.0565476190-446.056547619049
501632016544.6279761905-224.627976190475
511791017973.6279761905-63.6279761904773
521696117307.7708333333-346.770833333333
531748017949.4851190476-469.48511904762
541704917356.7708333333-307.770833333332
551687917370.0565476190-491.056547619048
561747317765.4851190476-292.485119047618
571699817051.4851190476-53.4851190476179
581730717881.7708333333-574.770833333332
591741817624.7708333333-206.770833333332
602016920181.1994047619-12.1994047619047
611787118126.1130952381-255.113095238096
621722617477.6845238095-251.684523809522
631906218906.6845238095155.315476190475
641780418240.8273809524-436.82738095238
651910018882.5416666667217.458333333333
661852218289.8273809524232.172619047621
671806018303.1130952381-243.113095238096
681886918698.5416666667170.458333333333
691812717984.5416666667142.458333333333
701887118814.827380952456.1726190476184
711889018557.8273809524332.172619047620
722126321114.2559523810148.744047619049
731954719059.1696428571487.830357142856
741845018410.741071428639.2589285714303
752025419839.7410714286414.258928571429
761924019173.883928571466.1160714285725
772021619815.5982142857400.401785714284
781942019222.8839285714197.116071428572
791941519236.1696428571178.830357142856
802001819631.5982142857386.401785714287
811865218917.5982142857-265.598214285715
821997819747.8839285714230.116071428572
831950919490.883928571418.1160714285717
842197122047.3125-76.3124999999989


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.04807963237522170.09615926475044330.951920367624778
170.01324324667951570.02648649335903150.986756753320484
180.04321078240998860.08642156481997730.956789217590011
190.03150849691365490.06301699382730990.968491503086345
200.01529339052663580.03058678105327170.984706609473364
210.01588121317252570.03176242634505140.984118786827474
220.00966682614310160.01933365228620320.990333173856898
230.006301984355637970.01260396871127590.993698015644362
240.003190945416509940.006381890833019880.99680905458349
250.001433526189196970.002867052378393930.998566473810803
260.002121100964841310.004242201929682630.997878899035159
270.002386156970930170.004772313941860350.99761384302907
280.001314200230774660.002628400461549330.998685799769225
290.001044632477167150.002089264954334300.998955367522833
300.0005141694604558890.001028338920911780.999485830539544
310.0007761227672640670.001552245534528130.999223877232736
320.0004520141868784480.0009040283737568970.999547985813122
330.00239104900531080.00478209801062160.99760895099469
340.004815882714226850.00963176542845370.995184117285773
350.006866172419029620.01373234483805920.99313382758097
360.1022724671424740.2045449342849470.897727532857526
370.1133385592149910.2266771184299810.88666144078501
380.1597194998159230.3194389996318460.840280500184077
390.1391865740741450.2783731481482890.860813425925855
400.2915853737927820.5831707475855640.708414626207218
410.5844744741667850.831051051666430.415525525833215
420.5646397968089610.8707204063820780.435360203191039
430.7026217469768630.5947565060462750.297378253023137
440.7823532288567180.4352935422865640.217646771143282
450.7976629207214260.4046741585571480.202337079278574
460.8983544045009920.2032911909980150.101645595499008
470.8768903564156580.2462192871686840.123109643584342
480.8586538489811290.2826923020377430.141346151018871
490.8571553959260840.2856892081478320.142844604073916
500.834884746872850.3302305062542990.165115253127149
510.7856957299807960.4286085400384080.214304270019204
520.772954826807270.4540903463854590.227045173192730
530.8095783382576650.380843323484670.190421661742335
540.7708311470748070.4583377058503850.229168852925192
550.7537279227441810.4925441545116380.246272077255819
560.7303457188033570.5393085623932860.269654281196643
570.7019123473815980.5961753052368030.298087652618402
580.78674223433560.42651553132880.2132577656644
590.7314442685668580.5371114628662840.268555731433142
600.6697964076784780.6604071846430430.330203592321522
610.8007811678123740.3984376643752510.199218832187626
620.7441795761699560.5116408476600890.255820423830044
630.7041095069684150.591780986063170.295890493031585
640.7764032321241080.4471935357517840.223596767875892
650.7306154254797850.5387691490404290.269384574520215
660.6287885171610130.7424229656779750.371211482838987
670.7246310493439830.5507379013120330.275368950656017
680.752852786618920.4942944267621610.247147213381080


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level110.207547169811321NOK
5% type I error level170.320754716981132NOK
10% type I error level200.377358490566038NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/10rkh81291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/10rkh81291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/1kjke1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/1kjke1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/2kjke1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/2kjke1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/3dt1h1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/3dt1h1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/4dt1h1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/4dt1h1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/5dt1h1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/5dt1h1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/6o2ik1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/6o2ik1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/7o2ik1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/7o2ik1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/8ybzn1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/8ybzn1291042698.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/9ybzn1291042698.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t12910438954hfcp5r7ftvm7al/9ybzn1291042698.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
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