Home » date » 2009 » Nov » 14 »

Multiple regression analysis: include monthly dummies

*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, 14 Nov 2009 05:18:51 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9.htm/, Retrieved Sat, 14 Nov 2009 13:20: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/2009/Nov/14/t12582012025je4ccwu67hnjg9.htm/},
    year = {2009},
}
@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 = {2009},
    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 «
8,4 99 8,4 98.6 8,4 98.6 8,6 98.5 8,9 98.9 8,8 99.4 8,3 99.8 7,5 99.9 7,2 100 7,4 100.1 8,8 100.1 9,3 100.2 9,3 100.3 8,7 100 8,2 99.9 8,3 99.4 8,5 99.8 8,6 99.6 8,5 100 8,2 99.9 8,1 100.3 7,9 100.6 8,6 100.7 8,7 100.8 8,7 100.8 8,5 100.6 8,4 101.1 8,5 101.1 8,7 100.9 8,7 101.1 8,6 101.2 8,5 101.4 8,3 101.9 8 102.1 8,2 102.1 8,1 103 8,1 103.4 8 103.2 7,9 103.1 7,9 103 8 103.7 8 103.4 7,9 103.5 8 103.8 7,7 104 7,2 104.2 7,5 104.4 7,3 104.4 7 104.9 7 105.3 7 105.2 7,2 105.4 7,3 105.4 7,1 105.5 6,8 105.7 6,4 105.6 6,1 105.8 6,5 105.4 7,7 105.5 7,9 105.8 7,5 106.1 6,9 106 6,6 105.5 6,9 105.4 7,7 106 8 106.1 8 106.4 7,7 106 7,3 106 7,4 106 8,1 106 8,3 106.1 8,2 106.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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
werkl[t] = + 27.862457704015 -0.189544972149105afzetp[t] -0.178728142494257M1[t] -0.558499469364017M2[t] -0.734643384638138M3[t] -0.603597881853048M4[t] -0.260241974005832M5[t] -0.230938975862558M6[t] -0.366886066158616M7[t] -0.666886066158615M8[t] -0.889325572657158M9[t] -0.926689241180551M10[t] -0.164052909703943M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)27.8624577040152.11395213.180300
afzetp-0.1895449721491050.020372-9.304100
M1-0.1787281424942570.247576-0.72190.4731530.236576
M2-0.5584994693640170.257729-2.1670.0342150.017108
M3-0.7346433846381380.25782-2.84940.0059930.002996
M4-0.6035978818530480.258013-2.33940.0226610.01133
M5-0.2602419740058320.257456-1.01080.3161610.158081
M6-0.2309389758625580.257359-0.89730.3731240.186562
M7-0.3668860661586160.25706-1.42720.1586950.079348
M8-0.6668860661586150.25706-2.59430.0118950.005948
M9-0.8893255726571580.256872-3.46210.0009940.000497
M10-0.9266892411805510.256834-3.60810.000630.000315
M11-0.1640529097039430.256804-0.63880.5253670.262684


Multiple Linear Regression - Regression Statistics
Multiple R0.811643807977646
R-squared0.658765671028454
Adjusted R-squared0.590518805234145
F-TEST (value)9.65268753899884
F-TEST (DF numerator)12
F-TEST (DF denominator)60
p-value4.30271707152485e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.444709263038103
Sum Squared Residuals11.8659797179136


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.48.91877731875937-0.518777318759372
28.48.6148239807492-0.214823980749204
38.48.43868006547508-0.0386800654750822
48.68.588680065475080.0113199345249173
58.98.856217984462660.0437820155373440
68.88.790748496531370.00925150346862508
78.38.57898341737568-0.278983417375678
87.58.26002892016077-0.760028920160768
97.28.01863491644731-0.818634916447314
107.47.96231675070901-0.562316750709013
118.88.724953082185620.0750469178143812
129.38.870051494674650.429948505325351
139.38.672368854965490.627631145034516
148.78.349461019740460.350538980259543
158.28.192271601681240.00772839831875522
168.38.41808959054089-0.118089590540886
178.58.68562750952846-0.185627509528463
188.68.75283950210156-0.152839502101558
198.58.54107442294586-0.0410744229458577
208.28.26002892016077-0.0600289201607676
218.17.961771424802580.138228575197415
227.97.867544264634460.0324557353655402
238.68.61122609889616-0.0112260988961556
248.78.75632451138519-0.0563245113851899
258.78.577596368890930.122403631109067
268.58.2357340364510.264265963549006
278.47.964817635102320.435182364897681
288.58.09586313788740.40413686211259
298.78.477128040164440.222871959835554
308.78.46852204387790.231477956122100
318.68.313620456366930.286379543633068
328.57.975711461937110.524288538062891
338.37.658499469364010.641500530635986
3487.58322680641080.416773193589198
358.28.3458631378874-0.145863137887410
368.18.33932557265716-0.239325572657158
378.18.084779441303260.015220558696742
3887.742917108863320.257082891136680
397.97.585727690804110.314272309195890
407.97.735727690804110.164272309195891
4187.946402118146950.0535978818530483
4288.03256860793496-0.0325686079349559
437.97.877667020423990.0223329795760104
4487.520803528779260.479196471220741
457.77.26045502785090.439544972149105
467.27.185182364897680.0148176351023201
477.57.90990970194447-0.409909701944466
487.38.0739626116484-0.773962611648409
4977.8004619830796-0.8004619830796
5077.3448726673502-0.3448726673502
5177.18768324929099-0.187683249290987
527.27.28081975764626-0.0808197576462561
537.37.62417566549347-0.324175665493473
547.17.63452416642184-0.534524166421837
556.87.46066808169596-0.660668081695958
566.47.17962257891087-0.77962257891087
576.16.9192740779825-0.819274077982507
586.56.95772839831875-0.457728398318754
597.77.70141023258045-0.00141023258045101
607.97.808599650639660.0914003493603366
617.57.57300801650068-0.073008016500676
626.97.21219118684583-0.312191186845826
636.67.13081975764626-0.530819757646257
646.97.28081975764626-0.380819757646256
657.77.510448682204010.189551317795990
6687.520797183132370.479202816867626
6787.327986601191580.672013398808416
687.77.103804590051230.596195409948773
697.36.881365083552680.418634916447315
707.46.844001415029290.555998584970708
718.17.60663774650590.493362253494101
728.37.751736158994930.548263841005068
738.27.573008016500680.626991983499324


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.4550708405515770.9101416811031540.544929159448423
170.4076000875323780.8152001750647560.592399912467622
180.2859901300230050.571980260046010.714009869976995
190.1878347742708150.3756695485416300.812165225729185
200.2385180061256780.4770360122513560.761481993874322
210.3336496694044690.6672993388089380.666350330595531
220.2805980597461780.5611961194923570.719401940253822
230.213678043410370.427356086820740.78632195658963
240.2199128125931810.4398256251863620.780087187406819
250.1620454094231050.324090818846210.837954590576895
260.1101199881535090.2202399763070180.889880011846491
270.0738952034185450.147790406837090.926104796581455
280.0475694239423510.0951388478847020.952430576057649
290.02845774235037330.05691548470074660.971542257649627
300.01637317579603530.03274635159207050.983626824203965
310.009548809118416360.01909761823683270.990451190881584
320.01074715825755010.02149431651510020.98925284174245
330.01147179286802720.02294358573605450.988528207131973
340.007275778926953570.01455155785390710.992724221073046
350.009001582584462190.01800316516892440.990998417415538
360.02290232119398200.04580464238796400.977097678806018
370.02386623288880590.04773246577761170.976133767111194
380.02054859710192790.04109719420385590.979451402898072
390.01845850638461280.03691701276922550.981541493615387
400.01546000381028400.03092000762056790.984539996189716
410.01140970469058000.02281940938116010.98859029530942
420.008266811996030150.01653362399206030.99173318800397
430.00596502254227060.01193004508454120.99403497745773
440.01175025317089120.02350050634178250.988249746829109
450.07465455954009730.1493091190801950.925345440459903
460.1601984276778070.3203968553556150.839801572322193
470.1985978802995710.3971957605991420.801402119700429
480.2964820733568680.5929641467137370.703517926643132
490.3636793568166870.7273587136333740.636320643183313
500.5229441720650680.9541116558698650.477055827934932
510.6296515134571920.7406969730856160.370348486542808
520.5506618781659370.8986762436681260.449338121834063
530.5508013366022870.8983973267954260.449198663397713
540.4515643634300380.9031287268600760.548435636569962
550.3460671252468310.6921342504936630.653932874753169
560.3744535976847120.7489071953694250.625546402315288
570.6495619928554170.7008760142891660.350438007144583


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level150.357142857142857NOK
10% type I error level170.404761904761905NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/109k4h1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/109k4h1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/1j7ak1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/1j7ak1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/23wgc1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/23wgc1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/3o3lv1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/3o3lv1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/4u1qm1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/4u1qm1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/5ut0e1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/5ut0e1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/6wnt41258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/6wnt41258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/7fusw1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/7fusw1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/8z1vn1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/8z1vn1258201126.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/9gmtx1258201126.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/14/t12582012025je4ccwu67hnjg9/9gmtx1258201126.ps (open in new window)


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