Home » date » 2009 » Nov » 20 »

WS7 link4

*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:08:05 -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/t12587189766g4odercltn0t1v.htm/, Retrieved Fri, 20 Nov 2009 13:09:51 +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/t12587189766g4odercltn0t1v.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 link4
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.4 8.2 1,7 1 1,2 1,4 1.2 8.0 1.4 1,7 1 1,2 1.0 7.5 1.2 1.4 1,7 1 1.7 6.8 1.0 1.2 1.4 1,7 2.4 6.5 1.7 1.0 1.2 1.4 2.0 6.6 2.4 1.7 1.0 1.2 2.1 7.6 2.0 2.4 1.7 1.0 2.0 8.0 2.1 2.0 2.4 1.7 1.8 8.1 2.0 2.1 2.0 2.4 2.7 7.7 1.8 2.0 2.1 2.0 2.3 7.5 2.7 1.8 2.0 2.1 1.9 7.6 2.3 2.7 1.8 2.0 2.0 7.8 1.9 2.3 2.7 1.8 2.3 7.8 2.0 1.9 2.3 2.7 2.8 7.8 2.3 2.0 1.9 2.3 2.4 7.5 2.8 2.3 2.0 1.9 2.3 7.5 2.4 2.8 2.3 2.0 2.7 7.1 2.3 2.4 2.8 2.3 2.7 7.5 2.7 2.3 2.4 2.8 2.9 7.5 2.7 2.7 2.3 2.4 3.0 7.6 2.9 2.7 2.7 2.3 2.2 7.7 3.0 2.9 2.7 2.7 2.3 7.7 2.2 3.0 2.9 2.7 2.8 7.9 2.3 2.2 3.0 2.9 2.8 8.1 2.8 2.3 2.2 3.0 2.8 8.2 2.8 2.8 2.3 2.2 2.2 8.2 2.8 2.8 2.8 2.3 2.6 8.2 2.2 2.8 2.8 2.8 2.8 7.9 2.6 2.2 2.8 2.8 2.5 7.3 2.8 2.6 2.2 2.8 2.4 6.9 2.5 2.8 2.6 2.2 2.3 6.6 2.4 2.5 2.8 2.6 1.9 6.7 2.3 2.4 2.5 2.8 1.7 6.9 1.9 2.3 2.4 2.5 2.0 7.0 1.7 1.9 2.3 2.4 2.1 7.1 2.0 1.7 1.9 2.3 1.7 7.2 2.1 2.0 1.7 1.9 1.8 7.1 1.7 2.1 2.0 1.7 1.8 6.9 1.8 1.7 2.1 2.0 1.8 7.0 1.8 1.8 1.7 2.1 1.3 6.8 1.8 1.8 1.8 1.7 1.3 6 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 1.11682006097517 -0.102335980692679X[t] + 1.09224433596786Y1[t] -0.180220978992785Y2[t] + 0.214398874249468Y3[t] -0.272382037219519Y4[t] -0.144229979838938M1[t] + 0.072857990135528M2[t] -0.189718701153859M3[t] + 0.0739143876135337M4[t] + 0.167717263342514M5[t] -0.0476955774918094M6[t] -0.00929293578842435M7[t] -0.168909399373597M8[t] -0.0269912290538317M9[t] -0.00817541421200658M10[t] -0.17472517625845M11[t] + 0.000282830471790956t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.116820060975171.0781621.03590.3056840.152842
X-0.1023359806926790.136555-0.74940.4574250.228713
Y11.092244335967860.1407977.757600
Y2-0.1802209789927850.218295-0.82560.4133010.20665
Y30.2143988742494680.2233370.960.3420850.171043
Y4-0.2723820372195190.155436-1.75240.0863730.043187
M1-0.1442299798389380.312788-0.46110.6468920.323446
M20.0728579901355280.311160.23410.8159080.407954
M3-0.1897187011538590.312082-0.60790.5462350.273118
M40.07391438761353370.3050040.24230.8095950.404797
M50.1677172633425140.3206940.5230.6034970.301748
M6-0.04769557749180940.326547-0.14610.8845120.442256
M7-0.009292935788424350.320428-0.0290.9769890.488494
M8-0.1689093993735970.321012-0.52620.6012920.300646
M9-0.02699122905383170.317548-0.0850.9326310.466316
M10-0.008175414212006580.318987-0.02560.9796640.489832
M11-0.174725176258450.319805-0.54630.5874660.293733
t0.0002828304717909560.005370.05270.9582230.479112


Multiple Linear Regression - Regression Statistics
Multiple R0.932553912003
R-squared0.869656798792099
Adjusted R-squared0.821486485302223
F-TEST (value)18.0537915530665
F-TEST (DF numerator)17
F-TEST (DF denominator)46
p-value6.66133814775094e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.500545103159913
Sum Squared Residuals11.5250884136789


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.41.68625605907266-0.286256059072665
21.21.48186270216616-0.281862702166161
311.3109098776177-0.310909877617701
41.71.209069223618240.49093077638176
52.42.173305791318840.226694208681163
622.5979551653636-0.5979551653636
72.12.17580785658253-0.075807856582534
822.11626444230694-0.116264442306945
91.81.84455833777972-0.0445583377797183
102.71.834557308388870.865442691611132
112.32.65914357997548-0.359143579975483
121.92.20917980202786-0.309179802027864
1321.927391508000580.0726084919994249
142.31.995171750443380.304828249556622
152.82.065722357704880.734277642295118
162.42.98278764775072-0.582787647750718
172.32.58694658862084-0.286946588620842
182.72.401099754494590.298900245505413
192.72.631820098369570.0681799016304323
202.92.487911001121930.412088998878067
2132.951325024459530.0486749755404684
222.22.9244174946143-0.724417494614301
232.31.909212771215980.390787228784024
242.82.284118278579740.515881721420262
252.82.449046700037180.350953299962819
262.82.80541893011834-0.0054189301183389
272.22.62308630270352-0.423086302703524
282.62.095464601752230.504535398247767
292.82.765281423943620.0347185760563767
302.52.62927415304348-0.129274153043476
312.42.59436529293831-0.194365292938307
322.32.34450127409586-0.044501274095865
331.92.2664702714019-0.366470271401901
341.71.90650080783002-0.206500807830025
3521.589438118886650.410561881113349
362.12.059408678158700.0405913218412957
371.72.02645911065915-0.326459110659154
381.81.917939746607-0.117939746607
391.81.797151183380930.00284881661906928
401.81.91981365322983-0.119813653229829
411.32.16475925788189-0.86475925788189
421.31.41720326809055-0.117203268090548
431.31.51529843555431-0.215298435554313
441.21.25899896338547-0.0589989633854662
451.41.44863374532853-0.0486337453285312
462.21.714436953804260.485563046195735
472.92.374715005849670.525284994150334
483.13.20953444892722-0.109534448927222
493.53.244223379206560.255776620793435
503.63.79462130044042-0.194621300440420
514.43.46261022269580.937389777304202
524.14.64428344927368-0.544283449273679
535.14.209706938234810.890293061765193
545.85.254467659007790.545532340992211
555.95.482708316555280.417291683444722
565.45.59232431908979-0.19232431908979
575.55.089012621030320.410987378969682
584.85.22008743536254-0.42008743536254
593.24.16749052407222-0.967490524072224
602.72.83775879230647-0.137758792306473
612.12.16662324302386-0.0666232430238606
621.91.60498557022470.295014429775299
630.61.54052005589716-0.940520055897164
640.70.4485814243753020.251418575624698


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.4106676709066710.8213353418133410.58933232909333
220.6106737046962580.7786525906074830.389326295303742
230.5290991744641180.9418016510717650.470900825535882
240.4367688619960080.8735377239920170.563231138003992
250.3219716147041780.6439432294083550.678028385295822
260.2151060341915010.4302120683830020.784893965808499
270.1880930888971530.3761861777943060.811906911102847
280.1408358633169960.2816717266339920.859164136683004
290.1073962472903450.2147924945806900.892603752709655
300.09009387887836730.1801877577567350.909906121121633
310.08258255096350480.1651651019270100.917417449036495
320.06902001163667190.1380400232733440.930979988363328
330.0534404120658480.1068808241316960.946559587934152
340.03185136729722870.06370273459445740.968148632702771
350.03748169732332030.07496339464664060.96251830267668
360.02817764242616460.05635528485232930.971822357573835
370.01542099399044990.03084198798089970.98457900600955
380.007523289296187270.01504657859237450.992476710703813
390.00413094401654050.0082618880330810.99586905598346
400.003165765783055600.006331531566111190.996834234216944
410.002189888173219580.004379776346439170.99781011182678
420.01032897779010200.02065795558020390.989671022209898
430.04330625356392940.08661250712785890.95669374643607


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.130434782608696NOK
5% type I error level60.260869565217391NOK
10% type I error level100.434782608695652NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/10s4hd1258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/10s4hd1258718880.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/11wrs1258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/11wrs1258718880.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/3iz931258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/3iz931258718880.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/4o1ve1258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/4o1ve1258718880.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/6lsns1258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/6lsns1258718880.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/841ny1258718880.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587189766g4odercltn0t1v/841ny1258718880.ps (open in new window)


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