Home » date » 2009 » Nov » 20 »

Ws7 link 5

*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: Fri, 20 Nov 2009 05:04:16 -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/20/t12587187312ms9diw7g59561h.htm/, Retrieved Fri, 20 Nov 2009 13:05:43 +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/20/t12587187312ms9diw7g59561h.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:
Ws7 link 5
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.4 8.2 1,2 1,4 1.2 8.0 1 1,2 1.0 7.5 1,7 1 1.7 6.8 7.5 1,7 2.4 6.5 6.8 7.5 2.0 6.6 6.5 6.8 2.1 7.6 6.6 6.5 2.0 8.0 7.6 6.6 1.8 8.1 8.0 7.6 2.7 7.7 8.1 8.0 2.3 7.5 7.7 8.1 1.9 7.6 7.5 7.7 2.0 7.8 7.6 7.5 2.3 7.8 7.8 7.6 2.8 7.8 7.8 7.8 2.4 7.5 7.8 7.8 2.3 7.5 7.5 7.8 2.7 7.1 7.5 7.5 2.7 7.5 7.1 7.5 2.9 7.5 7.5 7.1 3.0 7.6 7.5 7.5 2.2 7.7 7.6 7.5 2.3 7.7 7.7 7.6 2.8 7.9 7.7 7.7 2.8 8.1 7.9 7.7 2.8 8.2 8.1 7.9 2.2 8.2 8.2 8.1 2.6 8.2 8.2 8.2 2.8 7.9 8.2 8.2 2.5 7.3 7.9 8.2 2.4 6.9 7.3 7.9 2.3 6.6 6.9 7.3 1.9 6.7 6.6 6.9 1.7 6.9 6.7 6.6 2.0 7.0 6.9 6.7 2.1 7.1 7.0 6.9 1.7 7.2 7.1 7.0 1.8 7.1 7.2 7.1 1.8 6.9 7.1 7.2 1.8 7.0 6.9 7.1 1.3 6.8 7.0 6.9 1.3 6.4 6.8 7.0 1.3 6.7 6.4 6.8 1.2 6.6 6.7 6.4 1.4 6.4 6.6 6.7 2.2 6.3 6.4 6.6 2.9 6.2 6.3 6.4 3.1 6.5 6.2 6.3 3.5 6.8 6.5 6.2 3.6 6.8 6.8 6.5 4.4 6.4 6.8 6.8 4.1 6.1 6.4 6.8 5.1 5.8 6.1 6.4 5.8 6.1 5.8 6.1 5.9 7.2 6.1 5.8 5.4 7.3 7.2 6.1 5.5 6.9 7.3 7.2 4.8 6.1 6.9 7.3 3.2 5.8 6.1 6.9 2.7 6.2 5.8 6.1 2.1 7.1 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] = + 3.30821434872672 -0.272802800787046X[t] + 0.0702404974155654Y1[t] -0.00157170726815757Y2[t] + 0.00350368217653026M1[t] + 0.00247072088343351M2[t] -0.205170993272856M3[t] -0.266929670970975M4[t] + 0.327279121223635M5[t] + 0.349232147671393M6[t] + 0.495317702851394M7[t] + 0.328181865572133M8[t] + 0.252601193983415M9[t] + 0.183724384734404M10[t] -0.0281642113791766M11[t] + 0.0185621130818993t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)3.308214348726722.5194531.31310.1954030.097701
X-0.2728028007870460.340819-0.80040.4274040.213702
Y10.07024049741556540.2322440.30240.7636220.381811
Y2-0.001571707268157570.21132-0.00740.9940970.497048
M10.003503682176530260.7583240.00460.9963330.498166
M20.002470720883433510.7615270.00320.9974250.498712
M3-0.2051709932728560.747499-0.27450.7848960.392448
M4-0.2669296709709750.762942-0.34990.7279680.363984
M50.3272791212236350.7779990.42070.6758750.337938
M60.3492321476713930.7854830.44460.6586010.329301
M70.4953177028513940.766220.64640.5210720.260536
M80.3281818655721330.7746180.42370.6736990.33685
M90.2526011939834150.7663350.32960.7431190.37156
M100.1837243847344040.7685760.2390.8120880.406044
M11-0.02816421137917660.770074-0.03660.9709770.485488
t0.01856211308189930.0109411.69650.0962680.048134


Multiple Linear Regression - Regression Statistics
Multiple R0.454844093786271
R-squared0.206883149652254
Adjusted R-squared-0.0409658660814167
F-TEST (value)0.834714429023849
F-TEST (DF numerator)15
F-TEST (DF denominator)48
p-value0.635944893191229
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1.20872056478554
Sum Squared Residuals70.1282593793028


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.41.175385384254630.224614615745371
21.21.23374133817136-0.0337413381713568
311.23054582713502-0.230545827135018
41.71.7846059129923-0.0846059129923012
52.42.42093340815871-0.0209334081587133
622.41419631347271-0.414196313472706
72.12.31353674286956-0.213536742869565
822.12592522504613-0.125925225046134
91.82.06815087815868-0.268150878158679
102.72.133352669140680.566647330859321
112.31.966333376573370.333666623426635
121.91.97236000437989-0.0723600043798864
1321.947203630676090.0527963693239052
142.31.978623711221190.321376288778806
152.81.789229768693171.01077023130683
162.41.827874044313070.572125955686933
172.32.41957280036491-0.119572800364906
182.72.569680572389830.130319427610171
192.72.597110921370690.102889078629315
202.92.477262079046810.422737920953188
2132.392334557554030.607665442445973
222.22.32176363104977-0.121763631049766
232.32.135304027032830.164695972967174
242.82.127312620609680.672687379390324
252.82.108865955193810.69113404480619
262.82.112848584933390.68715141506661
272.21.930478692146920.269521307853076
282.61.887124956803890.712875043196111
292.82.581736702316510.218263297683488
302.52.76486137309373-0.264861373093727
312.42.99695737540155-0.596957375401555
322.32.90307131683497-0.603071316834975
331.92.79832901193205-0.898329011932045
341.72.70094931752953-1.00094931752953
3522.49423348317544-0.494233483175439
362.12.52038923584574-0.420389235845735
371.72.5220416300402-0.822041630040201
381.82.57371794092245-0.773717940922449
391.82.43201767953710-0.632017679537096
401.82.34764990608587-0.547649906085874
411.33.02231976271498-1.72231976271498
421.33.15775075234953-1.85775075234953
431.33.21277572286272-1.91277572286272
441.23.11318311087600-1.91318311087600
451.43.10322955060458-1.70322955060458
462.23.06630420575988-0.866304205759877
472.92.893548294518980.00645170548102447
483.12.851566899729200.248433100270803
493.52.8130211747030.686978825297002
503.62.851150963536020.748849036463978
514.42.770720970596001.62927902940400
524.12.781269047249671.31873095275033
535.13.455437326444891.64456267355511
545.83.393510988694212.40648901130579
555.93.279619237495482.62038076250452
565.43.180558268196082.21944173180392
575.53.237956001750672.26204399824933
584.83.377630176520151.42236982347985
593.23.21058081869939-0.0105808186993931
602.73.12837123943551-0.428371239435507
612.12.93348222513227-0.833482225132268
621.92.84991746121559-0.949917461215588
630.62.64700706189179-2.04700706189179
640.72.67147613255520-1.97147613255520


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.02665770727315890.05331541454631780.97334229272684
200.007460718893745250.01492143778749050.992539281106255
210.002299848616661210.004599697233322420.997700151383339
220.002087340519995880.004174681039991770.997912659480004
230.0005531626227991510.001106325245598300.9994468373772
240.0002243775899328220.0004487551798656440.999775622410067
255.8722781171827e-050.0001174455623436540.999941277218828
261.58471115452228e-053.16942230904455e-050.999984152888455
278.42400272603909e-061.68480054520782e-050.999991575997274
283.23245383325265e-066.4649076665053e-060.999996767546167
291.51974072916483e-063.03948145832966e-060.999998480259271
307.67921468425358e-071.53584293685072e-060.999999232078532
316.8165858847117e-071.36331717694234e-060.999999318341412
325.42688907420529e-071.08537781484106e-060.999999457311093
332.41476903059539e-074.82953806119078e-070.999999758523097
341.11068516516172e-072.22137033032345e-070.999999888931484
352.68833244954545e-085.37666489909089e-080.999999973116676
368.20177681400673e-091.64035536280135e-080.999999991798223
377.44822461663e-091.489644923326e-080.999999992551775
386.5938855544015e-091.3187771108803e-080.999999993406114
394.89932015414293e-099.79864030828586e-090.99999999510068
407.04951851799092e-081.40990370359818e-070.999999929504815
411.82837706763651e-073.65675413527302e-070.999999817162293
422.23198220597419e-064.46396441194839e-060.999997768017794
432.38140371191107e-054.76280742382214e-050.99997618596288
443.03107815266728e-056.06215630533456e-050.999969689218473
450.2338797248026560.4677594496053120.766120275197344


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.888888888888889NOK
5% type I error level250.925925925925926NOK
10% type I error level260.962962962962963NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/109j1y1258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/109j1y1258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/1gyi31258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/1gyi31258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/2umi31258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/2umi31258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/36mxq1258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/36mxq1258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/499cn1258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/499cn1258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/5xyy81258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/5xyy81258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/69i7o1258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/69i7o1258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/7x6h71258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/7x6h71258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/8na481258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/8na481258718651.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/913fh1258718651.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587187312ms9diw7g59561h/913fh1258718651.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