Home » date » 2010 » Dec » 04 »

Paper Multiple regression (monthly dummies + trend)

*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, 04 Dec 2010 13:53:29 +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/04/t1291470725yzjitxpjtz8kr01.htm/, Retrieved Sat, 04 Dec 2010 14:52:15 +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/04/t1291470725yzjitxpjtz8kr01.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 «
1,79 194,9 1,95 195,5 2,26 196,0 2,04 196,2 2,16 196,2 2,75 196,2 2,79 196,2 2,88 197,0 3,36 197,7 2,97 198,0 3,10 198,2 2,49 198,5 2,2 198,6 2,25 199,5 2,09 200 2,79 201,3 3,14 202,2 2,93 202,9 2,65 203,5 2,67 203,5 2,26 204 2,35 204,1 2,13 204,3 2,18 204,5 2,9 204,8 2,63 205,1 2,67 205,7 1,81 206,5 1,33 206,9 0,88 207,1 1,28 207,8 1,26 208 1,26 208,5 1,29 208,6 1,1 209 1,37 209,1 1,21 209,7 1,74 209,8 1,76 209,9 1,48 210 1,04 210,8 1,62 211,4 1,49 211,7 1,79 212 1,8 212,2 1,58 212,4 1,86 212,9 1,74 213,4 1,59 213,7 1,26 214 1,13 214,3 1,92 214,8 2,61 215 2,26 215,9 2,41 216,4 2,26 216,9 2,03 217,2 2,86 217,5 2,55 217,9 2,27 218,1 2,26 218,6 2,57 218,9 3,07 219,3 2,76 220,4 2,51 220,9 2,87 221 3,14 221,8 3,11 222 3,16 222,2 2,47 222,5 2,57 222,9 2,89 223,1
 
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 time113 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 34.2655743166752 -0.165157690441535X[t] -0.169194606178226M1[t] -0.0910606501698221M2[t] + 0.00598734433123115M3[t] + 0.0204107229500253M4[t] + 0.0301358968138449M5[t] + 0.119936519488922M6[t] + 0.209080988193435M7[t] + 0.233451803331717M8[t] + 0.217166464499433M9[t] + 0.128935549086204M10[t] + 0.0860589923985128M11[t] + 0.0656817483422296t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)34.265574316675230.2731291.13190.2623430.131171
X-0.1651576904415350.155704-1.06070.2932150.146607
M1-0.1691946061782260.400678-0.42230.6743890.337194
M2-0.09106065016982210.400246-0.22750.8208260.410413
M30.005987344331231150.3998720.0150.9881050.494052
M40.02041072295002530.401650.05080.9596460.479823
M50.03013589681384490.40260.07490.9405890.470295
M60.1199365194889220.402740.29780.7669190.383459
M70.2090809881934350.404560.51680.6072530.303627
M80.2334518033317170.4028170.57950.5644640.282232
M90.2171664644994330.4027340.53920.5917920.295896
M100.1289355490862040.3995110.32270.7480580.374029
M110.08605899239851280.3989570.21570.829970.414985
t0.06568174834222960.0620381.05870.2941080.147054


Multiple Linear Regression - Regression Statistics
Multiple R0.205311131411143
R-squared0.0421526606813234
Adjusted R-squared-0.172537260200449
F-TEST (value)0.196342056991751
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0.998747705775358
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.689831138014099
Sum Squared Residuals27.6002859404819


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.791.97282759178389-0.182827591783894
21.952.01754868186965-0.0675486818696511
32.262.097699579492160.162300420507844
42.042.14477316836487-0.104773168364875
52.162.22018009057092-0.0601800905709236
62.752.375662461588230.374337538411769
72.792.530488678634970.259511321365028
82.882.488415089762250.391584910237746
93.362.422201115963130.937798884036872
102.972.350104641759660.619895358240335
113.12.339878295325900.760121704674103
122.492.269953744137150.220046255862848
132.22.149925117257000.0500748827429965
142.252.145098900210250.104901099789747
152.092.22524979783277-0.135249797832769
162.792.090649927219790.699350072780206
173.142.017414928028471.12258507197153
182.932.057286915736690.872713084263306
192.652.113018518518520.536981481481484
202.672.203071081999030.466928918000972
212.262.169888646288210.0901113537117932
222.352.130823710173050.219176289826946
232.132.120597363739280.00940263626071736
242.182.067188581594690.112811418405306
252.91.914128416626240.985871583373764
262.632.008396813844410.621603186155589
272.672.072031942422770.597968057577227
281.812.02001091703057-0.210010917030567
291.332.02935476306-0.699354763060001
300.882.151805595989-1.27180559598900
311.282.19102142972667-0.911021429726667
321.262.24804245511887-0.988042455118874
331.262.21486001940805-0.954860019408051
341.292.1757950832929-0.8857950832929
351.12.13253719877082-1.03253719877082
361.372.09564418567039-0.725644185670386
371.211.89303671356947-0.68303671356947
381.742.02033664887595-0.280336648875946
391.762.16655062267508-0.406550622675076
401.482.23013998059195-0.750139980591947
411.042.17342075044477-1.13342075044477
421.622.22980850719715-0.609808507197153
431.492.33508741711144-0.845087417111437
441.792.37559267345949-0.585592673459486
451.82.39195754488113-0.591957544881127
461.582.33637683972182-0.756376839721818
471.862.27660318615559-0.416603186155588
481.742.17364709687854-0.433647096878537
491.592.02058693191008-0.430586931910083
501.262.11485532912825-0.854855329128254
511.132.22803776483907-1.09803776483907
521.922.22556404657933-0.30556404657933
532.612.267939430697070.342060569302926
542.262.274779880317-0.0147798803169983
552.412.347027252142970.0629727478570277
562.262.35450097040272-0.094500970402717
572.032.35435007278020-0.324350072780205
582.862.282253598576740.577746401423257
592.552.238995714054670.311004285945334
602.272.185586931910080.0844130680899229
612.261.999495228853310.260504771146687
622.572.093763626071480.476236373928516
633.072.190430292738150.879569707261848
642.762.088861960213490.671138039786513
652.512.081690037198770.428309962801231
662.872.220656639171920.649343360828077
673.142.243356703865430.896643296134566
683.112.300377729257640.809622270742358
693.162.316742600679280.843257399320717
702.472.244646126475820.225353873524180
712.572.201388241953740.368611758046257
722.892.147979459809160.742020540190845


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.04756686472769720.09513372945539440.952433135272303
180.09175438473180080.1835087694636020.9082456152682
190.09130759497799080.1826151899559820.90869240502201
200.07387856012961860.1477571202592370.926121439870381
210.2226830042983510.4453660085967030.777316995701649
220.2119155608681560.4238311217363110.788084439131844
230.2593456282204980.5186912564409950.740654371779502
240.2154218389004960.4308436778009930.784578161099504
250.491616973542690.983233947085380.50838302645731
260.6575375116771190.6849249766457610.342462488322881
270.8547408350097410.2905183299805170.145259164990259
280.928840869457150.1423182610857000.0711591305428499
290.9843677961444130.03126440771117490.0156322038555874
300.9984869744336860.003026051132628150.00151302556631408
310.9987581191943050.002483761611390780.00124188080569539
320.998846196264180.002307607471640200.00115380373582010
330.9987464590442350.0025070819115310.0012535409557655
340.9981703404083670.00365931918326520.0018296595916326
350.9975947077262190.004810584547562390.00240529227378119
360.9955825050156820.008834989968636830.00441749498431842
370.9918128035550850.01637439288982970.00818719644491483
380.992873158306260.01425368338748020.00712684169374009
390.9947085700599980.01058285988000370.00529142994000184
400.9901143374234840.01977132515303110.00988566257651555
410.986285051119470.02742989776105860.0137149488805293
420.977120435730480.04575912853903940.0228795642695197
430.9639672330475360.07206553390492810.0360327669524640
440.9419612977724210.1160774044551570.0580387022275786
450.9116807395353120.1766385209293750.0883192604646876
460.865816657326630.2683666853467420.134183342673371
470.8234122717225870.3531754565548260.176587728277413
480.7816701670230960.4366596659538070.218329832976904
490.7044212629547350.591157474090530.295578737045265
500.6368209994214880.7263580011570250.363179000578512
510.8373306904718090.3253386190563830.162669309528191
520.8063646514728570.3872706970542870.193635348527143
530.8146769817030640.3706460365938720.185323018296936
540.7060427575048040.5879144849903920.293957242495196
550.5963625585454170.8072748829091660.403637441454583


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level70.179487179487179NOK
5% type I error level140.358974358974359NOK
10% type I error level160.41025641025641NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/10brlk1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/10brlk1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/1bg4v1291470694.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/1bg4v1291470694.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/2bg4v1291470694.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/2bg4v1291470694.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/3eznb1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/3eznb1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/4eznb1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/4eznb1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/5eznb1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/5eznb1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/67rne1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/67rne1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/70i4z1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/70i4z1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/80i4z1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/80i4z1291470695.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/90i4z1291470695.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/04/t1291470725yzjitxpjtz8kr01/90i4z1291470695.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