Home » date » 2009 » Nov » 19 »

Model 5 - WZM & WZM<25j

*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: Thu, 19 Nov 2009 15:17:43 -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/19/t1258669116c1w0h1kf6vxdgi5.htm/, Retrieved Thu, 19 Nov 2009 23:18:48 +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/19/t1258669116c1w0h1kf6vxdgi5.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 «
7.5 20.3 8 8.2 6.8 15.8 7.5 8 6.5 15.8 6.8 7.5 6.6 15.8 6.5 6.8 7.6 23.2 6.6 6.5 8 23.2 7.6 6.6 8.1 23.2 8 7.6 7.7 20.9 8.1 8 7.5 20.9 7.7 8.1 7.6 20.9 7.5 7.7 7.8 19.8 7.6 7.5 7.8 19.8 7.8 7.6 7.8 19.8 7.8 7.8 7.5 20.6 7.8 7.8 7.5 20.6 7.5 7.8 7.1 20.6 7.5 7.5 7.5 21.1 7.1 7.5 7.5 21.1 7.5 7.1 7.6 21.1 7.5 7.5 7.7 22.4 7.6 7.5 7.7 22.4 7.7 7.6 7.9 22.4 7.7 7.7 8.1 20.5 7.9 7.7 8.2 20.5 8.1 7.9 8.2 20.5 8.2 8.1 8.2 18.4 8.2 8.2 7.9 18.4 8.2 8.2 7.3 18.4 7.9 8.2 6.9 17.6 7.3 7.9 6.6 17.6 6.9 7.3 6.7 17.6 6.6 6.9 6.9 18.5 6.7 6.6 7 18.5 6.9 6.7 7.1 18.5 7 6.9 7.2 17.3 7.1 7 7.1 17.3 7.2 7.1 6.9 17.3 7.1 7.2 7 16.2 6.9 7.1 6.8 16.2 7 6.9 6.4 16.2 6.8 7 6.7 18.5 6.4 6.8 6.6 18.5 6.7 6.4 6.4 18.5 6.6 6.7 6.3 16.3 6.4 6.6 6.2 16.3 6.3 6.4 6.5 16.3 6.2 6.3 6.8 16.8 6.5 6.2 6.8 16.8 6.8 6.5 6.4 16.8 6.8 6.8 6.1 14.8 6.4 6.8 5.8 14.8 6.1 6.4 6.1 14.8 5.8 6.1 7.2 21.4 6.1 5.8 7.3 21.4 7.2 6.1 6.9 21.4 7.3 7.2 6.1 16.1 6.9 7.3 5.8 16.1 6.1 6.9 6.2 16.1 5.8 6.1 7. 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1.00534172096945 + 0.104125740041533X[t] + 0.953792248854353`y(t-1)`[t] -0.353608708255487`y(t-2)`[t] -0.120038817733203M1[t] -0.0200034714829910M2[t] -0.083701842016721M3[t] -0.093534271571743M4[t] + 0.120752434670518M5[t] -0.3598303808755M6[t] -0.287254502541916M7[t] -0.287172802964734M8[t] -0.217506131383949M9[t] + 0.0272760961556319M10[t] + 0.126370704489030M11[t] -0.000124744305243137t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.005341720969450.3806072.64140.0109330.005466
X0.1041257400415330.0246444.22519.9e-054.9e-05
`y(t-1)`0.9537922488543530.1544346.176100
`y(t-2)`-0.3536087082554870.12094-2.92380.0051460.002573
M1-0.1200388177332030.125125-0.95940.3419070.170953
M2-0.02000347148299100.129414-0.15460.8777710.438886
M3-0.0837018420167210.132667-0.63090.5309110.265456
M4-0.0935342715717430.134679-0.69450.4905220.245261
M50.1207524346705180.1691830.71370.4786420.239321
M6-0.35983038087550.127765-2.81640.006890.003445
M7-0.2872545025419160.143099-2.00740.0500220.025011
M8-0.2871728029647340.137875-2.08280.0422980.021149
M9-0.2175061313839490.149302-1.45680.1512960.075648
M100.02727609615563190.1462930.18640.8528330.426416
M110.1263707044890300.1299640.97230.3354660.167733
t-0.0001247443052431370.001499-0.08320.9340090.467004


Multiple Linear Regression - Regression Statistics
Multiple R0.963304547754958
R-squared0.927955651725384
Adjusted R-squared0.906766137526968
F-TEST (value)43.7931536813967
F-TEST (DF numerator)15
F-TEST (DF denominator)51
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.199820452761184
Sum Squared Residuals2.03633888042591


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.57.72967726491395-0.22967726491395
26.86.95484765389596-0.154847653895955
36.56.400174318986680.0998256810133238
46.66.351605566248950.248394433751053
57.67.537759841855390.0622401581446084
687.975483660032930.0245163399670651
78.18.075842985347530.0241570146524692
87.77.79024648010718-0.0902464801071824
97.57.442910637015430.0570893629845652
107.67.6382531537811-0.0382531537810969
117.87.78878567030010.0112143296999025
127.87.81768780045115-0.0176878004511470
137.87.62680249676160.173197503238397
147.57.8100136907398-0.310013690739799
157.57.460052901244520.0399470987554803
167.17.5561783398609-0.456178339860901
177.57.440886272276940.0591137277230566
187.57.483139095269620.0168609047303809
197.67.414146745995770.185853254004235
207.77.644846388207130.0551536117928682
217.77.77440666954256-0.0744066695425606
227.97.98370328195135-0.0837032819513493
238.18.075592689671460.0244073103285375
248.28.069133948996960.130866051003037
258.27.973627870192850.226372129807146
268.27.819513547225050.380486452774946
277.97.755690432386080.14430956761392
287.37.45959558386951-0.159595583869511
296.97.12426421693733-0.224264216937335
306.66.474204982497630.125795017502374
316.76.401961925171850.298038074828145
326.96.697093883843260.202906116156745
3376.922033390064120.0779666099358808
347.17.1913483565328-0.0913483565327949
357.27.225385686571-0.0253856865709956
367.17.15890859183661-0.0589085918366104
376.96.90800493408718-0.00800493408717858
3876.737979643041140.262020356958860
396.86.8402574947387-0.0402574947386995
406.46.60418100028201-0.204181000282014
416.76.74703700642392-0.0470370064239158
426.66.69391060453116-0.0939106045311558
436.46.56489990119741-0.164899901197414
446.36.180382649432660.119617350567341
456.26.22526709347386-0.0252670934738619
466.56.409906222648310.0900937773516862
476.86.88243750217909-0.0824375021790897
486.86.93599711556448-0.135997115564476
496.46.70975094104938-0.309750941049384
506.16.21989316336955-0.119893163369546
515.86.01137585717646-0.211375857176461
526.15.821363621136540.278636378863464
537.27.114975754480620.085024245519375
547.37.5773570558925-0.277357055892507
556.97.35621783572525-0.456217835725247
566.16.38743059840977-0.287430598409771
575.85.83538220990402-0.0353822099040236
586.26.076788985086440.123211014913555
597.17.027798451278350.0722015487216452
607.77.61827254315080.0817274568491964
617.97.752136492995030.147863507004969
627.77.7577523017285-0.0577523017285054
637.47.43244899546756-0.0324489954675638
647.57.207075888602090.292924111397909
6587.935076908025790.0649230919742107
668.17.895904601776160.204095398223843
6787.886930606562190.113069393437811


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.3322298812975810.6644597625951620.667770118702419
200.1882390280326690.3764780560653380.811760971967331
210.2812262032050160.5624524064100310.718773796794984
220.1980392744719290.3960785489438590.80196072552807
230.1209250825988730.2418501651977460.879074917401127
240.09852204550254250.1970440910050850.901477954497458
250.07061062243145150.1412212448629030.929389377568548
260.1696646831653190.3393293663306370.830335316834681
270.1815856758865150.3631713517730310.818414324113485
280.1456967917889230.2913935835778460.854303208211077
290.3595009016240640.7190018032481280.640499098375936
300.2787629293231950.5575258586463890.721237070676805
310.4424650272471840.8849300544943680.557534972752816
320.4276822996744250.855364599348850.572317700325575
330.4206403157368470.8412806314736940.579359684263153
340.4199224160557950.839844832111590.580077583944205
350.3577946746607130.7155893493214260.642205325339287
360.3119975206993150.6239950413986310.688002479300684
370.2599694871583670.5199389743167340.740030512841633
380.3595807763801430.7191615527602870.640419223619857
390.3692977325003090.7385954650006190.63070226749969
400.4037520686039680.8075041372079360.596247931396032
410.3095376026213650.619075205242730.690462397378635
420.2577277507031990.5154555014063990.7422722492968
430.2784820088428840.5569640176857680.721517991157116
440.5749066767954540.8501866464090930.425093323204546
450.4984583127051820.9969166254103640.501541687294818
460.5661187241901530.8677625516196940.433881275809847
470.5526724270271860.8946551459456290.447327572972814
480.9195047504051780.1609904991896440.0804952495948221


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/1d0f71258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/1d0f71258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/23p101258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/23p101258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/33o921258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/33o921258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/4w96v1258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/4w96v1258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/5vieu1258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/5vieu1258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/65s891258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/65s891258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/71z181258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/71z181258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/8a24e1258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/8a24e1258669059.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/92fp51258669059.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258669116c1w0h1kf6vxdgi5/92fp51258669059.ps (open in new window)


 
Parameters (Session):
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