Home » date » 2010 » Dec » 14 »

Sleep article - SWS 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:46:29 +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/t1292319924fpznamyq3ie0z4v.htm/, Retrieved Tue, 14 Dec 2010 10:45:34 +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/t1292319924fpznamyq3ie0z4v.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 6.3 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 2.1 69.0 624.0 3 5 4 10550 179500 9.1 27.0 180.0 4 4 4 0.023 0.300 15.8 19.0 35.0 1 1 1 160000 169000 5.2 30.4 392.0 4 5 4 3300 25600 10.9 28.0 63.0 1 2 1 52160 440000 8.3 50.0 230.0 1 1 1 0.425 6400 11.0 7.0 112.0 5 4 4 465000 423000 3.2 30.0 281.0 5 5 5 0.550 2400 7.6 -999.0 -999.0 2 1 2 187100 419000 -999.0 40.0 365.0 5 5 5 0.075 1200 6.3 3.5 42.0 1 1 1 3000 25000 8.6 50.0 28.0 2 2 2 0.785 3500 6.6 6.0 42.0 2 2 2 0.200 5000 9.5 10.4 120.0 2 2 2 1410 17500 4.8 34.0 -999.0 1 2 1 60000 81000 12.0 7.0 -999.0 1 1 1 529000 680000 -999.0 28.0 400.0 5 5 5 27660 115000 3.3 20.0 148.0 5 5 5 0.120 1000 11.0 3.9 16.0 3 1 2 207000 406000 -999.0 39.3 252.0 1 4 1 85000 325000 4.7 41.0 310.0 1 3 1 36330 119500 -999.0 16.2 63.0 1 1 1 0.101 4000 10.4 9.0 28.0 5 1 3 1040 5500 7.4 7.6 68.0 5 3 4 521000 655000 2.1 46.0 336.0 5 5 5 100000 157000 - 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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
SWS[t] = -154.896579262522 -0.000214879855393930Wbo[t] + 0.000190551747684777Wbr[t] + 0.190856174661067Lifeyears[t] -0.227222894392210Gestation[t] -46.3886594812592Predation[t] -138.680678623493Sleep_exposure[t] + 159.915106041459overall_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)-154.896579262522123.516796-1.25410.2152240.107612
Wbo-0.0002148798553939300.00017-1.26410.2116180.105809
Wbr0.0001905517476847770.0001711.11560.269540.13477
Lifeyears0.1908561746610670.2239890.85210.3979350.198967
Gestation-0.2272228943922100.200783-1.13170.2627670.131384
Predation-46.3886594812592102.230655-0.45380.6518170.325908
Sleep_exposure-138.68067862349364.537688-2.14880.0361480.018074
overall_danger159.915106041459130.6710791.22380.2263410.113171


Multiple Linear Regression - Regression Statistics
Multiple R0.408946732766345
R-squared0.167237430240269
Adjusted R-squared0.059286726752896
F-TEST (value)1.54920185638096
F-TEST (DF numerator)7
F-TEST (DF denominator)54
p-value0.170796471299805
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation411.987995727557
Sum Squared Residuals9165641.86567492


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-999-988.291326256213-10.7086737437870
26.339.3603346954103-33.0603346954103
3-999-183.260014082628-815.739985917372
4-999-379.715859365304-619.284140634696
52.1-146.612833802367148.712833802367
69.1-259.323455555434268.423455555434
715.8-184.377293087696200.177293087696
85.2-479.641064535542484.841064535542
910.9-323.533538187578334.433538187578
108.3-150.134632579016158.434632579016
1111-324.795698085012335.795698085012
123.2-358.107431150887361.307431150887
137.6-29.736805743682237.3368057436822
14-999-316.332687709987-682.667312290013
156.3-188.697530297742194.997530297742
168.6-197.905321573101206.505321573101
176.6-212.936505469406219.536505469406
189.5-229.534170737247239.034170737247
194.8-82.215033524637787.0150335246377
201250.8227536334598-38.8227536334598
21-999-350.309179523105-648.690820476895
223.3-294.509730272263297.809730272263
2311-115.613725513871126.613725513871
24-999-612.968489425477-386.031510574523
254.7-476.361632384215481.061632384215
26-999-176.309634941147-822.690365058853
2710.4-49.657587351093660.0575873510936
287.4-176.397578702052183.797578702053
292.1-335.376257987073337.476257987073
30-999-190.069283605512-808.930716394488
31-999-349.042823594339-649.957176405661
327.7-28.929850322438036.6298503224380
3317.9-186.831362364422204.731362364422
346.116.5720492470536-10.4720492470536
358.2-423.349847097535431.549847097535
368.4-152.634885588007161.034885588007
3711.9-3.0930016427500914.9930016427501
3810.8-5.8214996012763816.6214996012764
3913.8-227.376684410232241.176684410232
4014.3-251.159773617727265.459773617727
41-999-336.491214872504-662.508785127496
4215.2-231.772525561303246.972525561303
4310-270.521452404409280.521452404409
4411.9-66.081839141821777.9818391418217
456.5-283.448641307327289.948641307327
467.5-282.507761652749290.007761652749
47-999-210.357132453648-788.642867546352
4810.643.4894131874954-32.8894131874954
497.4-181.302219426813188.702219426813
508.4-342.967867808858351.367867808858
515.7-252.650576068098258.350576068098
524.9-138.430591797229143.330591797229
53-999-295.981105401431-703.018894598569
543.2-289.740549268520292.940549268520
55-999-221.150165417705-777.849834582295
568.1114.941182717149-106.841182717149
5711-78.803644491063589.8036444910635
584.94.90295101183433-0.00295101183432789
5913.2-261.130629788983274.330629788983
609.7-149.817433751086159.517433751086
6112.8-229.056950482491241.856950482491
62-999-276.612353708348-722.387646291652


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
110.7655810120460110.4688379759079780.234418987953989
120.649256382280770.701487235438460.35074361771923
130.5474259880088750.905148023982250.452574011991125
140.8415579910554390.3168840178891220.158442008944561
150.774724779778840.4505504404423190.225275220221160
160.687484901394150.62503019721170.31251509860585
170.5969349882697570.8061300234604860.403065011730243
180.5171281303089940.9657437393820110.482871869691006
190.5190412662002810.9619174675994370.480958733799719
200.433502314262010.867004628524020.56649768573799
210.5641568362810080.8716863274379830.435843163718992
220.5036039051459440.9927921897081120.496396094854056
230.4418254179222680.8836508358445370.558174582077732
240.4502113345603980.9004226691207960.549788665439602
250.4770499952435530.9540999904871050.522950004756447
260.676507046594640.6469859068107190.323492953405359
270.6015348097607990.7969303804784020.398465190239201
280.5262964575141780.9474070849716430.473703542485822
290.5436777361916020.9126445276167960.456322263808398
300.6795369005760380.6409261988479240.320463099423962
310.7744187037253070.4511625925493850.225581296274693
320.7096530905511360.5806938188977270.290346909448864
330.651542424049580.6969151519008390.348457575950420
340.5975799764342510.8048400471314980.402420023565749
350.600762785124350.79847442975130.39923721487565
360.5317669542570990.9364660914858020.468233045742901
370.4477588077299850.895517615459970.552241192270015
380.368572453148130.737144906296260.63142754685187
390.3122456116645530.6244912233291060.687754388335447
400.2724617627612490.5449235255224980.727538237238751
410.3662494093084540.7324988186169080.633750590691546
420.3172057768179750.6344115536359490.682794223182025
430.2604060274639520.5208120549279030.739593972536048
440.1955576090766490.3911152181532980.804442390923351
450.1533456632739850.306691326547970.846654336726015
460.2971319560197470.5942639120394930.702868043980253
470.405283319830980.810566639661960.59471668016902
480.3143086916015030.6286173832030050.685691308398497
490.2180541302408110.4361082604816220.781945869759189
500.1352745591006890.2705491182013780.864725440899311
510.1010298389275940.2020596778551880.898970161072406


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


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/16lvw1292319982.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/16lvw1292319982.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/26lvw1292319982.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/26lvw1292319982.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/36lvw1292319982.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/36lvw1292319982.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/6huuz1292319982.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/6huuz1292319982.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/9kdsm1292319982.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292319924fpznamyq3ie0z4v/9kdsm1292319982.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