Home » date » 2010 » Dec » 22 »

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: Wed, 22 Dec 2010 20:01:00 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4.htm/, Retrieved Wed, 22 Dec 2010 21:04:47 +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/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
-999,00 -999,00 38,60 6654,00 5712,00 645,00 3,00 5,00 3,00 6,30 2,00 4,50 1,00 6600,00 42,00 3,00 1,00 3,00 -999,00 -999,00 14,00 3,39 44,50 60,00 1,00 1,00 1,00 -999,00 -999,00 -999,00 0,92 5,70 25,00 5,00 2,00 3,00 2,10 1,80 69,00 2547,00 4603,00 624,00 3,00 5,00 4,00 9,10 0,70 27,00 10,55 179,50 180,00 4,00 4,00 4,00 15,80 3,90 19,00 0,02 0,30 35,00 1,00 1,00 1,00 5,20 1,00 30,40 160,00 169,00 392,00 4,00 5,00 4,00 10,90 3,60 28,00 3,30 25,60 63,00 1,00 2,00 1,00 8,30 1,40 50,00 52,16 440,00 230,00 1,00 1,00 1,00 11,00 1,50 7,00 0,43 6,40 112,00 5,00 4,00 4,00 3,20 0,70 30,00 465,00 423,00 281,00 5,00 5,00 5,00 7,60 2,70 -999,00 0,55 2,40 -999,00 2,00 1,00 2,00 -999,00 -999,00 40,00 187,10 419,00 365,00 5,00 5,00 5,00 6,30 2,10 3,50 0,08 1,20 42,00 1,00 1,00 1,00 8,60 0,00 50,00 3,00 25,00 28,00 2,00 2,00 2,00 6,60 4,10 6,00 0,79 3500,00 42,00 2,00 2,00 2,00 9,50 1,20 10,40 0,20 5,00 120,00 2,00 2,00 2,00 4,80 1,30 34,00 1,41 17,50 -999,00 1,00 2,00 1,00 12,00 6,10 7,00 60,00 81,00 -999 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 time5 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk
R Framework
error message
The field 'Names of X columns' contains a hard return which cannot be interpreted.
Please, resubmit your request without hard returns in the 'Names of X columns'.


Multiple Linear Regression - Estimated Regression Equation
D [t] = -0.101608832209852 -6.09551076358242e-05SWS[t] + 0.000261740059678429PS[t] + 7.3273090252969e-06L[t] -0.000138734472492483Wb[t] + 0.00010510687851621Wbr[t] + 1.26344683983161e-05Tg[t] + 0.660225760372188P[t] + 0.34557106541433S[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.1016088322098520.128875-0.78840.4339590.21698
SWS-6.09551076358242e-050.000316-0.19270.8479480.423974
PS0.0002617400596784290.0003330.78680.4348860.217443
L7.3273090252969e-060.0002270.03230.9743780.487189
Wb-0.0001387344724924838.4e-05-1.64550.1057860.052893
Wbr0.000105106878516215.5e-051.91420.0610050.030503
Tg1.26344683983161e-052e-040.06310.9499340.474967
P0.6602257603721880.04888113.506700
S0.345571065414330.0502196.881300


Multiple Linear Regression - Regression Statistics
Multiple R0.963410634069038
R-squared0.928160049837306
Adjusted R-squared0.917316283775013
F-TEST (value)85.5938835737854
F-TEST (DF numerator)8
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.41442883884995
Sum Squared Residuals9.10281691093745


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
133.0920029852527-0.0920029852527001
232.918909261560130.0810907384398717
310.7086714231485790.291328576851421
433.68354528687572-0.68354528687572
543.74610665533480.253893344665197
643.941082075162750.0589179248372471
710.9048558717482930.0951441282517073
844.26783531852748-0.267835318527475
911.2532709610252-0.253270961025201
1010.946331431911640.0536685680883593
1144.58360571503705-0.583605715037052
1254.911082243214120.0889177567858839
1321.544891330194330.455108669805667
1454.749778365253520.250221634746478
1510.9050249532746230.0949750467253773
1621.912392204549360.0876077954506383
1722.27899473599782-0.278994735997816
1821.9118099616320.0881900383679984
1911.23907778589669-0.239077785896688
2010.8926721926925980.107327807307402
2154.991689064723360.00831093527663622
2254.937571357921060.0624286420789421
2322.22517811108134-0.225178111081343
2411.7577442288818-0.757744228881802
2511.62202065571838-0.622020655718378
2610.7120385489984430.287961451001557
2733.54617328311211-0.546173283112106
2844.23734012552544-0.23734012552544
2954.928603265900980.071396734099022
3010.7076597377258980.292340262274102
3143.407906260141730.592093739858272
3243.89086320192680.109136798073202
3310.9044528454807690.095547154519231
3411.03855914984522-0.03855914984522
3511.557899823044-0.557899823043996
3632.218773007123770.78122699287623
3732.884782941340350.11521705865965
3832.88515187686640.114848123133595
3911.565652892695-0.565652892695
4011.56656683744538-0.566566837445378
4155.01108203224868-0.0110820322486828
4221.912948751188810.0870512488111864
4343.934200303488040.0657996965119633
4421.565443029825160.434556970174844
4543.915612589473830.084387410526173
4654.92860221660080.0713977833992019
4721.71382202666620.286177973333795
4832.225134533940930.774865466059068
4910.9098030544223990.0901969455776014
5022.2755132315655-0.275513231565498
5121.913955751607550.0860442483924511
5232.574637289329440.425362710670564
5354.737074927388580.262925072611418
5454.940085575839770.0599144241602345
5521.711750418973050.288249581026945
5622.21222220054232-0.212222200542322
5721.565284707755530.434715292244468
5832.228068898481580.771931101518417
5922.57093342857586-0.570933428575865
6043.583917180308080.41608281969192
6111.56548422362213-0.565484223622135
6212.02585565436812-1.02585565436812


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.3958480999340390.7916961998680770.604151900065961
130.300187436952530.600374873905060.69981256304747
140.2520554875147350.5041109750294710.747944512485265
150.1502619423243080.3005238846486170.849738057675692
160.08687055115173350.1737411023034670.913129448848267
170.1519417854285440.3038835708570870.848058214571456
180.1009000816914620.2018001633829230.899099918308539
190.1913253814979170.3826507629958340.808674618502083
200.1352068332974930.2704136665949860.864793166702507
210.08637712833435260.1727542566687050.913622871665647
220.05905021198173670.1181004239634730.940949788018263
230.03601425788078650.0720285157615730.963985742119214
240.1143938373737180.2287876747474360.885606162626282
250.1515016290885090.3030032581770170.848498370911491
260.1368031733245470.2736063466490930.863196826675453
270.1740698066511240.3481396133022490.825930193348876
280.1350833679702070.2701667359404150.864916632029793
290.102783858693380.205567717386760.89721614130662
300.08826476756556060.1765295351311210.91173523243444
310.1219676954620960.2439353909241920.878032304537904
320.09217731750979550.1843546350195910.907822682490204
330.06587314997882230.1317462999576450.934126850021178
340.04291999053205680.08583998106411360.957080009467943
350.06468023894677880.1293604778935580.935319761053221
360.1432336574481970.2864673148963950.856766342551803
370.102162834253880.2043256685077610.89783716574612
380.06953643485145510.139072869702910.930463565148545
390.08522823054139330.1704564610827870.914771769458607
400.1181250440532560.2362500881065110.881874955946744
410.0848462088134760.1696924176269520.915153791186524
420.05554392974017480.111087859480350.944456070259825
430.0340020740400470.0680041480800940.965997925959953
440.03087490985006090.06174981970012180.96912509014994
450.01873659276082980.03747318552165960.98126340723917
460.01614232050829350.03228464101658710.983857679491706
470.01525840038226820.03051680076453640.984741599617732
480.05225659314334940.1045131862866990.94774340685665
490.02817378225636110.05634756451272220.971826217743639
500.02028331452740410.04056662905480820.979716685472596


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level40.102564102564103NOK
10% type I error level90.230769230769231NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/10prj91293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/10prj91293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/10qmf1293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/10qmf1293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/20qmf1293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/20qmf1293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/30qmf1293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/30qmf1293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/4ti411293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/4ti411293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/5ti411293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/5ti411293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/6ti411293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/6ti411293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/7l9l31293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/7l9l31293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/8e0261293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/8e0261293048052.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/9e0261293048052.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/22/t1293048284l9j4wk2ixxbbvb4/9e0261293048052.ps (open in new window)


 
Parameters (Session):
par1 = 9 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 9 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by