Home » date » 2009 » Nov » 26 »

WS 7: Multiple Regression

*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, 26 Nov 2009 11:29:20 -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/26/t1259260256s9njq955vmvd47o.htm/, Retrieved Thu, 26 Nov 2009 19:31:08 +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/26/t1259260256s9njq955vmvd47o.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.8 9.5 7.8 7.8 7.6 7.5 7.7 8.1 7.5 9.1 7.8 7.8 7.8 7.6 7.5 7.7 7.5 8.9 7.5 7.8 7.8 7.8 7.6 7.5 7.1 9 7.5 7.5 7.8 7.8 7.8 7.6 7.5 10.1 7.1 7.5 7.5 7.8 7.8 7.8 7.5 10.3 7.5 7.1 7.5 7.5 7.8 7.8 7.6 10.2 7.5 7.5 7.1 7.5 7.5 7.8 7.7 9.6 7.6 7.5 7.5 7.1 7.5 7.5 7.7 9.2 7.7 7.6 7.5 7.5 7.1 7.5 7.9 9.3 7.7 7.7 7.6 7.5 7.5 7.1 8.1 9.4 7.9 7.7 7.7 7.6 7.5 7.5 8.2 9.4 8.1 7.9 7.7 7.7 7.6 7.5 8.2 9.2 8.2 8.1 7.9 7.7 7.7 7.6 8.2 9 8.2 8.2 8.1 7.9 7.7 7.7 7.9 9 8.2 8.2 8.2 8.1 7.9 7.7 7.3 9 7.9 8.2 8.2 8.2 8.1 7.9 6.9 9.8 7.3 7.9 8.2 8.2 8.2 8.1 6.6 10 6.9 7.3 7.9 8.2 8.2 8.2 6.7 9.8 6.6 6.9 7.3 7.9 8.2 8.2 6.9 9.3 6.7 6.6 6.9 7.3 7.9 8.2 7 9 6.9 6.7 6.6 6.9 7.3 7.9 7.1 9 7 6.9 6.7 6.6 6.9 7.3 7.2 9.1 7.1 7 6.9 6.7 6.6 6.9 7.1 9.1 7.2 7.1 7 6.9 6.7 6.6 6.9 9.1 7.1 7.2 7.1 7 6.9 6.7 7 9.2 6.9 7.1 7.2 7.1 7 6.9 6.8 8.8 7 6.9 7.1 7.2 7.1 7 6.4 8.3 6.8 7 6.9 7.1 7.2 7.1 6.7 8.4 6.4 6.8 7 6.9 7.1 7.2 6.6 8.1 6.7 6.4 6.8 7 6.9 7.1 6.4 7.7 6.6 6.7 6.4 6.8 7 6.9 6.3 7.9 6.4 6.6 6.7 6.4 6.8 7 6.2 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.0591462227848196 + 0.0660454365791428X[t] + 1.52512703254502`Y-1`[t] -0.620545370718424`Y-2`[t] -0.441317537172667`Y-3`[t] + 0.498373687006295`Y-4`[t] + 0.162625204980074`Y-5`[t] -0.231593669035930`Y-6`[t] + 0.111512253826071M1[t] + 0.193313373161585M2[t] -0.0219414502710726M3[t] -0.0762588111162378M4[t] + 0.453205779017736M5[t] -0.292372779576293M6[t] -0.0892150900311018M7[t] + 0.181115372158409M8[t] + 0.0796701373967479M9[t] + 0.213160532284749M10[t] + 0.225129629065532M11[t] + 0.00219583945301820t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.05914622278481960.7866120.07520.9405030.470252
X0.06604543657914280.0776280.85080.4008350.200417
`Y-1`1.525127032545020.1701558.963200
`Y-2`-0.6205453707184240.313336-1.98040.0557920.027896
`Y-3`-0.4413175371726670.337024-1.30950.1991610.09958
`Y-4`0.4983736870062950.3422291.45630.1544950.077248
`Y-5`0.1626252049800740.3336750.48740.629120.31456
`Y-6`-0.2315936690359300.201016-1.15210.2573110.128655
M10.1115122538260710.1534670.72660.4724320.236216
M20.1933133731615850.1636511.18130.2456990.12285
M3-0.02194145027107260.163436-0.13430.8939960.446998
M4-0.07625881111623780.165896-0.45970.6486730.324337
M50.4532057790177360.1675972.70410.0106180.005309
M6-0.2923727795762930.169298-1.7270.093250.046625
M7-0.08921509003110180.181994-0.49020.6271350.313568
M80.1811153721584090.2041580.88710.3812390.19062
M90.07967013739674790.1945210.40960.684690.342345
M100.2131605322847490.1704681.25040.2196750.109838
M110.2251296290655320.1573071.43110.1615170.080759
t0.002195839453018200.003890.56450.576110.288055


Multiple Linear Regression - Regression Statistics
Multiple R0.966793725165996
R-squared0.934690107020344
Adjusted R-squared0.898193402119949
F-TEST (value)25.6102601473540
F-TEST (DF numerator)19
F-TEST (DF denominator)34
p-value7.7715611723761e-15
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.211400014540384
Sum Squared Residuals1.51945884902094


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.87.616117655003720.183882344996277
27.57.69538272704505-0.195382727045054
37.57.173832537692530.32616746230747
47.17.32384484526625-0.223844845266247
57.57.40418096941690.0958190305830996
67.57.382764192795210.117235807204791
77.67.461034483223180.138965516776820
87.77.540047837211920.159952162788082
97.77.639137826264770.0608621737352328
107.97.8329298630810.0670701369190068
118.18.07179289685070.0282071031492954
128.28.095875328802150.104124671197852
138.28.12961761003610.0703823899638934
148.28.12660280750010.073397192499899
157.98.00161184820047-0.101611848200468
167.37.52799589293427-0.227995892934273
176.97.35352385016391-0.453523850163913
186.66.494862521999980.105137478000016
196.76.592965418407940.107034581592062
206.96.9998605574022-0.0998605574021935
2177.02871716462899-0.0287171646289862
227.17.07306928769120.0269307123088047
237.27.189720701152020.0102792988479844
247.17.19852868261494-0.098528682614943
256.97.11274082464347-0.212740824643470
2676.936020859326940.0639791406730605
276.87.06023775412614-0.260237754126141
286.46.63954286319189-0.239542863191892
296.76.508637719042350.191362280957651
306.66.579932829021210.0200671709787864
316.46.55962540069074-0.159625400690735
326.36.214960776358010.0850392236419927
336.26.26222026357286-0.0622202635728567
346.56.493904043231430.00609595676857139
356.86.87977347774989-0.0797734777498863
366.86.89332926663582-0.0933292666358247
376.46.63567461386656-0.235674613866564
386.16.11382082001902-0.0138208200190193
395.85.893087278089-0.0930872780890019
406.15.751845908432840.348154091567157
417.26.876634812190260.323365187809742
427.37.5755840089807-0.2755840089807
436.96.98637469767815-0.0863746976781471
446.16.24513082902788-0.145130829027881
455.85.769924745533390.0300752544666105
466.26.30009680599638-0.100096805996383
477.17.05871292424740.0412870757526068
487.77.612266721947090.0877332780529151
497.97.705849296450140.194150703549864
507.77.628172786108890.0718272138911134
517.47.271230581891860.128769418108140
527.57.156770490174740.343229509825256
5388.15702264918658-0.15702264918658
548.18.06685644720290.0331435527971063


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
230.5971932449504060.8056135100991890.402806755049594
240.4769812871817680.9539625743635360.523018712818232
250.3501473941978450.7002947883956890.649852605802155
260.3662101282773440.7324202565546880.633789871722656
270.2370939481210460.4741878962420910.762906051878954
280.4152350685797510.8304701371595030.584764931420249
290.8837420246853280.2325159506293440.116257975314672
300.911282092783570.1774358144328590.0887179072164294
310.922702329146160.1545953417076800.0772976708538401


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/26/t1259260256s9njq955vmvd47o/107ii51259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/107ii51259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/1ufml1259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/1ufml1259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/2vzzz1259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/2vzzz1259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/34n171259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/34n171259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/47avb1259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/47avb1259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/53tq31259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/53tq31259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/6l34k1259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/6l34k1259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/718pv1259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/718pv1259260155.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/8opb71259260155.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260256s9njq955vmvd47o/8opb71259260155.ps (open in new window)


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