Home » date » 2010 » Dec » 14 »

Sleep article - PS 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: Tue, 14 Dec 2010 09:54:19 +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/14/t1292320372o79asr8yx4l7uu0.htm/, Retrieved Tue, 14 Dec 2010 10:53:02 +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/14/t1292320372o79asr8yx4l7uu0.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 «
6654000 5712000 -999.0 38.6 645.0 3 5 3 1000 6600 2.0 4.5 42.0 3 1 3 3385 44500 -999.0 14.0 60.0 1 1 1 0.920 5700 -999.0 -999.0 25.0 5 2 3 2547000 4603000 1.8 69.0 624.0 3 5 4 10550 179500 .7 27.0 180.0 4 4 4 0.023 0.300 3.9 19.0 35.0 1 1 1 160000 169000 1.0 30.4 392.0 4 5 4 3300 25600 3.6 28.0 63.0 1 2 1 52160 440000 1.4 50.0 230.0 1 1 1 0.425 6400 1.5 7.0 112.0 5 4 4 465000 423000 .7 30.0 281.0 5 5 5 0.550 2400 2.7 -999.0 -999.0 2 1 2 187100 419000 -999.0 40.0 365.0 5 5 5 0.075 1200 2.1 3.5 42.0 1 1 1 3000 25000 .0 50.0 28.0 2 2 2 0.785 3500 4.1 6.0 42.0 2 2 2 0.200 5000 1.2 10.4 120.0 2 2 2 1410 17500 1.3 34.0 -999.0 1 2 1 60000 81000 6.1 7.0 -999.0 1 1 1 529000 680000 .3 28.0 400.0 5 5 5 27660 115000 .5 20.0 148.0 5 5 5 0.120 1000 3.4 3.9 16.0 3 1 2 207000 406000 -999.0 39.3 252.0 1 4 1 85000 325000 1.5 41.0 310.0 1 3 1 36330 119500 -999.0 16.2 63.0 1 1 1 0.101 4000 3.4 9.0 28.0 5 1 3 1040 5500 .8 7.6 68.0 5 3 4 521000 655000 .8 46.0 336.0 5 5 5 100000 157000 -999.0 22.4 100.0 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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
PS[t] = -224.797977596438 -0.000235682027927057Wbo[t] + 0.000199220263264062Wbr[t] + 0.178340090407748Lifeyears[t] -0.167908843596768Gestation[t] -44.4794213593373Predation[t] -121.269232984052Sleep_exposure[t] + 177.683241346138overall_danger[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-224.797977596438116.527909-1.92910.0589760.029488
Wbo-0.0002356820279270570.00016-1.46970.1474590.07373
Wbr0.0001992202632640620.0001611.23630.2217020.110851
Lifeyears0.1783400904077480.2113160.8440.402420.20121
Gestation-0.1679088435967680.189422-0.88640.3793180.189659
Predation-44.479421359337396.446191-0.46120.6465190.323259
Sleep_exposure-121.26923298405260.885986-1.99170.0514670.025733
overall_danger177.683241346138123.2773851.44130.1552660.077633


Multiple Linear Regression - Regression Statistics
Multiple R0.398342798198946
R-squared0.158676984876966
Adjusted R-squared0.049616594027684
F-TEST (value)1.45494604999401
F-TEST (DF numerator)7
F-TEST (DF denominator)54
p-value0.203183241774995
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation388.676692498816
Sum Squared Residuals8157756.84975824


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-999-963.23202924879-35.7679707512100
2248.373780065298-46.3737800652980
3-999-212.373641893069-786.626358106931
4-999-337.907959056934-661.092040943066
51.8-29.590346702145631.3903467021456
60.7-169.194447130584169.894447130584
73.9-215.351684056437219.251684056437
81-362.768490487736363.768490487736
93.6-335.39507014552338.99507014552
101.4-167.201678841046168.601678841046
111.5-237.821551274737239.321551274737
120.7-232.279196546538232.979196546538
132.7-89.602387164339392.3023871643393
14-999-179.900983996716-819.099016003284
152.1-219.052325068562221.152325068562
160-192.439786193443192.439786193443
174.1-206.213848568526210.313848568526
181.2-218.227073702398219.427073702398
191.3-157.174082802964158.474082802964
206.1-41.878155558898747.9781555588987
210.3-216.501071243837216.801071243837
220.5-170.017384243957170.517384243957
233.4-125.930815129763129.330815129763
24-999-579.878105474899-419.121894525101
251.5-455.428041183054456.928041183054
26-999-205.308044890215-793.691955109785
273.4-37.714122896630741.1141228966307
280.8-109.481632499302110.281632499302
290.8-205.639833984489206.439833984489
30-999-217.950078388480-781.04992161152
31-999-253.576025809866-745.423974190134
321.417.8530858334797-16.4530858334797
332-216.978623155496218.978623155496
341.98.49741898383276-6.59741898383276
352.4-439.944195541685442.344195541685
362.8-130.877885504545133.677885504545
371.36.44532254895981-5.14532254895981
3824.38429732343694-2.38429732343694
395.6-257.611589413061263.211589413061
403.1-275.005970851481278.105970851481
411-196.098685614024197.098685614024
421.8-219.208159656376221.008159656376
430.9-181.448153174561182.348153174561
441.8-78.306293656764480.1062936567644
451.9-200.945266132527202.845266132527
460.9-165.298734991178166.198734991178
47-999-202.264971714751-796.735028285249
482.651.2348145985303-48.6348145985303
492.4-210.804329694488213.204329694488
501.2-310.505434968675311.705434968675
510.9-235.009680290732235.909680290732
520.5-101.099262642958101.599262642958
53-999-171.211322206906-827.788677793094
540.6-165.129282636393165.729282636393
55-999-211.615381914769-787.384618085231
562.244.4253392257145-42.2253392257145
572.3-88.413810245198390.7138102451983
580.523.2790765209106-22.7790765209106
592.6-252.223823400562254.823823400562
600.6-76.203824014625776.8038240146257
616.6-259.206443563173265.806443563173
62-999-303.452115931356-695.547884068644


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.8018889225083320.3962221549833360.198111077491668
120.6731377871182090.6537244257635830.326862212881791
130.5748077345604110.8503845308791780.425192265439589
140.8843178644518180.2313642710963650.115682135548182
150.8329978628752020.3340042742495970.167002137124798
160.7611813401942120.4776373196115760.238818659805788
170.6845035957832130.6309928084335750.315496404216787
180.6142081352520410.7715837294959190.385791864747959
190.6267172519140110.7465654961719790.373282748085989
200.5536500450984320.8926999098031360.446349954901568
210.474088661498450.94817732299690.52591133850155
220.3899110263830280.7798220527660570.610088973616971
230.3411265825479750.682253165095950.658873417452025
240.3674924633369190.7349849266738370.632507536663081
250.4068899520801440.8137799041602880.593110047919856
260.6417248463841160.7165503072317670.358275153615884
270.5681090762072820.8637818475854350.431890923792718
280.4857654082433620.9715308164867240.514234591756638
290.405070373131950.81014074626390.59492962686805
300.6395570764905970.7208858470188070.360442923509403
310.796505983425290.4069880331494190.203494016574709
320.7357575950515370.5284848098969270.264242404948463
330.6835949470975370.6328101058049250.316405052902463
340.6068872548128480.7862254903743040.393112745187152
350.6256905509245230.7486188981509540.374309449075477
360.5725972515023550.854805496995290.427402748497645
370.4868673444629060.9737346889258110.513132655537094
380.4015923412789070.8031846825578150.598407658721092
390.346697143302610.693394286605220.65330285669739
400.3075519174782120.6151038349564250.692448082521788
410.2602931245750680.5205862491501360.739706875424932
420.2175868824812240.4351737649624480.782413117518776
430.1668893389502960.3337786779005910.833110661049704
440.1191070785359380.2382141570718750.880892921464062
450.08720452610082730.1744090522016550.912795473899173
460.1957527758604940.3915055517209890.804247224139506
470.3102850266970570.6205700533941130.689714973302943
480.2325925467159420.4651850934318840.767407453284058
490.1553725926699910.3107451853399820.844627407330009
500.09133509765323890.1826701953064780.908664902346761
510.0683219295005640.1366438590011280.931678070499436


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/2010/Dec/14/t1292320372o79asr8yx4l7uu0/10sm2k1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/10sm2k1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/1l3581292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/1l3581292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/2vumb1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/2vumb1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/3vumb1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/3vumb1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/4vumb1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/4vumb1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/5vumb1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/5vumb1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/66m3e1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/66m3e1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/7zv2z1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/7zv2z1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/8zv2z1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/8zv2z1292320451.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/9zv2z1292320451.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292320372o79asr8yx4l7uu0/9zv2z1292320451.ps (open in new window)


 
Parameters (Session):
par1 = 3 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 3 ; 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