Home » date » 2010 » Dec » 18 »

multiple regression + seasonal dummy

*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: Sat, 18 Dec 2010 15:38:04 +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/Dec/18/t1292686616xiuqokhjmtl06cr.htm/, Retrieved Sat, 18 Dec 2010 16:37:06 +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/Dec/18/t1292686616xiuqokhjmtl06cr.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 «
14544.5 94.6 -3.0 14097.8 15116.3 95.9 -3.7 14776.8 17413.2 104.7 -4.7 16833.3 16181.5 102.8 -6.4 15385.5 15607.4 98.1 -7.5 15172.6 17160.9 113.9 -7.8 16858.9 14915.8 80.9 -7.7 14143.5 13768 95.7 -6.6 14731.8 17487.5 113.2 -4.2 16471.6 16198.1 105.9 -2.0 15214 17535.2 108.8 -0.7 17637.4 16571.8 102.3 0.1 17972.4 16198.9 99 0.9 16896.2 16554.2 100.7 2.1 16698 19554.2 115.5 3.5 19691.6 15903.8 100.7 4.9 15930.7 18003.8 109.9 5.7 17444.6 18329.6 114.6 6.2 17699.4 16260.7 85.4 6.5 15189.8 14851.9 100.5 6.5 15672.7 18174.1 114.8 6.3 17180.8 18406.6 116.5 6.2 17664.9 18466.5 112.9 6.4 17862.9 16016.5 102 6.3 16162.3 17428.5 106 5.8 17463.6 17167.2 105.3 5.1 16772.1 19630 118.8 5.1 19106.9 17183.6 106.1 5.8 16721.3 18344.7 109.3 6.7 18161.3 19301.4 117.2 7.1 18509.9 18147.5 92.5 6.7 17802.7 16192.9 104.2 5.5 16409.9 18374.4 112.5 4.2 17967.7 20515.2 122.4 3.0 20286.6 18957.2 113.3 2.2 19537.3 16471.5 100 2.0 18021.9 18746.8 110.7 1.8 20194.3 19009.5 112.8 1.8 19049.6 19211.2 109 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'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
productie[t] = + 46.1552447002207 + 0.00505160940148495uitvoer[t] + 0.0383667038748176ondernemersvertrouwen[t] -0.00168342883758715invoer[t] -0.811036404092018M1[t] -0.973083226425028M2[t] + 2.90543493194508M3[t] + 0.833635686943556M4[t] -0.761320508547857M5[t] + 3.8949428776532M6[t] -16.7307285401992M7[t] + 2.80207449536563M8[t] + 4.80789720302752M9[t] + 5.7307324544371M10[t] + 2.13148046506502M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)46.15524470022076.3653317.25100
uitvoer0.005051609401484950.0012184.14880.0001226.1e-05
ondernemersvertrouwen0.03836670387481760.0645880.5940.5550260.277513
invoer-0.001683428837587150.000934-1.80210.0772170.038609
M1-0.8110364040920182.031718-0.39920.6913590.34568
M2-0.9730832264250282.304074-0.42230.6744910.337246
M32.905434931945082.6658661.08990.2807030.140351
M40.8336356869435562.3186680.35950.7206260.360313
M5-0.7613205085478572.424216-0.3140.7547170.377359
M63.89494287765322.8845731.35030.1826680.091334
M7-16.73072854019922.654719-6.302300
M82.802074495365632.0087271.3950.168850.084425
M94.807897203027522.8355341.69560.0958320.047916
M105.73073245443712.7415732.09030.0414030.020701
M112.131480465065022.3680870.90010.3721460.186073


Multiple Linear Regression - Regression Statistics
Multiple R0.956648353467096
R-squared0.915176072191306
Adjusted R-squared0.892769751638066
F-TEST (value)40.8445496446749
F-TEST (DF numerator)14
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.25824317233053
Sum Squared Residuals562.65587421204


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
194.694.969598057866-0.369598057866019
295.996.526156617868-0.626156617868087
3104.7108.507378302136-3.80737830213619
4102.8102.5855566317970.214443368202853
598.198.4066701041732-0.306670104173226
6113.9108.0603326355965.83966736440451
780.980.66831228644090.231687713559128
895.793.4547202400912.24527975990896
9113.2111.4132547142421.78674528575835
10105.9108.024031658051-2.12403165805073
11108.8107.1495418694331.65045813056723
12102.399.61808560948532.68191439051471
139998.76570353769070.234296462309329
14100.7100.778189175965-0.0781891759648243
15115.5114.8257363560140.67426364398636
16100.7100.6984630525380.00153694746230977
17109.9107.1940370460412.70596295395865
18114.6113.0863604593661.51363954063359
1985.486.245657372753-0.845657372752984
20100.597.8488252978352.65117470216506
21114.8114.090652388370.709347611630004
22116.5115.3692022549611.13079774503859
23112.9111.7468960996711.15310390032901
24102100.0979750117811.90202498821894
25106104.2099817842961.79001821570377
26105.3103.8651837738341.43481622616565
27118.8116.2543359161832.54566408381689
28106.1105.8671239590490.232876040950923
29109.3107.7479839469841.55201605301631
30117.2116.6656254363520.534374563647559
3192.591.38607612251831.11392387748171
32104.2103.3436430622820.856356937717804
33112.5113.697229521053-1.197229521053
34122.4121.4848070030310.915192996969053
35113.3111.2458474310502.05415256895049
3610099.1009761964180.899023803582064
37110.7106.1191125159754.58088748402466
38112.8109.2111444737983.58885552620155
39109.8112.085196433485-2.28519643348522
40117.3114.6544091094462.64559089055353
41109.1109.866681550249-0.76668155024892
42115.9118.634337700095-2.73433770009517
439696.7073036832525-0.707303683252473
4499.899.6840885037650.115911496235029
45116.8117.655097115629-0.855097115629007
46115.7116.512477458939-0.812477458939358
4799.497.54763235753251.85236764246753
4894.391.176945244853.12305475515003
499188.8446770118532.15532298814703
5093.291.83517130023171.36482869976828
51103.198.73997742639424.36002257360574
5294.194.5684811180168-0.468481118016770
5391.890.59617289176031.20382710823968
54102.7102.3193584986030.380641501397293
5582.679.04469146942873.55530853057128
5689.188.65219738954240.447802610457574
57104.5104.943766260706-0.443766260706347
58105.1104.2094816250180.89051837498245
5995.1101.810082242314-6.71008224231426
6088.797.3060179374658-8.60601793746575
6186.394.6909270923188-8.39092709231877
6291.897.4841546583026-5.68415465830257
63111.5112.987375565788-1.48737556578758
6499.7102.325966129153-2.62596612915285
6597.5101.888454460793-4.3884544607925
66111.7117.233985269988-5.53398526998778
6786.289.5479590656066-3.34795906560665
6895.4101.716525506484-6.31652550648442


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.2042412373563590.4084824747127180.795758762643641
190.09159026830320550.1831805366064110.908409731696795
200.04486050620041190.08972101240082380.955139493799588
210.01772139311266140.03544278622532270.982278606887339
220.007181355589943340.01436271117988670.992818644410057
230.002486085339150740.004972170678301480.99751391466085
240.001461203606389450.002922407212778910.99853879639361
250.0005071769658219180.001014353931643840.999492823034178
260.0001888183917323010.0003776367834646010.999811181608268
270.0003599069546735670.0007198139093471340.999640093045326
280.0001399964881282440.0002799929762564880.999860003511872
296.60396745814442e-050.0001320793491628880.999933960325418
300.0003460448340590820.0006920896681181650.99965395516594
310.0001784333783153430.0003568667566306870.999821566621685
320.0002366415774576480.0004732831549152970.999763358422542
330.0003238911647068250.000647782329413650.999676108835293
340.0002537530178684780.0005075060357369560.999746246982132
350.0002701656969050120.0005403313938100230.999729834303095
360.0004572556131325250.0009145112262650490.999542744386867
370.002218001577649160.004436003155298330.99778199842235
380.04816144407052380.09632288814104760.951838555929476
390.05069351514236050.1013870302847210.94930648485764
400.1876736798713300.3753473597426590.81232632012867
410.4992553757157330.9985107514314660.500744624284267
420.7060320528380190.5879358943239630.293967947161981
430.639471146229920.7210577075401590.360528853770080
440.5536135146511450.8927729706977110.446386485348855
450.4590315953574530.9180631907149060.540968404642547
460.3851886853584910.7703773707169820.614811314641509
470.3190909384728010.6381818769456010.6809090615272
480.4788765201285770.9577530402571550.521123479871423
490.6373746514677750.7252506970644510.362625348532225
500.802095341022940.3958093179541190.197904658977059


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level150.454545454545455NOK
5% type I error level170.515151515151515NOK
10% type I error level190.575757575757576NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/10k3d11292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/10k3d11292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/16bga1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/16bga1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/26bga1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/26bga1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/36bga1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/36bga1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/4h2fv1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/4h2fv1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/5h2fv1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/5h2fv1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/6h2fv1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/6h2fv1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/79bwf1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/79bwf1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/89bwf1292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/89bwf1292686676.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/9k3d11292686676.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/18/t1292686616xiuqokhjmtl06cr/9k3d11292686676.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 2 ; par2 = Include Monthly 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