Home » date » 2009 » Nov » 23 »

*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: Mon, 23 Nov 2009 07:12:14 -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/23/t1258986242fr4bv7qt8mhhp94.htm/, Retrieved Mon, 23 Nov 2009 15:24:17 +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/23/t1258986242fr4bv7qt8mhhp94.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.0 519 6.9 517 6.7 510 6.7 509 6.5 501 6.4 507 6.5 569 6.5 580 6.5 578 6.7 565 6.8 547 7.2 555 7.6 562 7.6 561 7.2 555 6.4 544 6.1 537 6.3 543 7.1 594 7.5 611 7.4 613 7.1 611 6.8 594 6.9 595 7.2 591 7.4 589 7.3 584 6.9 573 6.9 567 6.8 569 7.1 621 7.2 629 7.1 628 7.0 612 6.9 595 7.1 597 7.3 593 7.5 590 7.5 580 7.5 574 7.3 573 7.0 573 6.7 620 6.5 626 6.5 620 6.5 588 6.6 566 6.8 557 6.9 561 6.9 549 6.8 532 6.8 526 6.5 511 6.1 499 6.1 555 5.9 565 5.7 542 5.9 527 5.9 510 6.1 514 6.3 517 6.2 508 5.9 493 5.7 490 5.4 469 5.6 478 6.2 528 6.3 534 6.0 518 5.6 506 5.5 502 5.9 516
 
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
wkgo[t] = + 1.23093674535242 + 0.0103435238594171werkl[t] + 0.286150510982614M1[t] + 0.376901864475398M2[t] + 0.304428091241834M3[t] + 0.144028063857075M4[t] + 0.0347731160037059M5[t] -0.0600990228996263M6[t] -0.350881465943132M7[t] -0.410111208411898M8[t] -0.4400532039841M9[t] -0.344142691253912M10[t] -0.222945908640876M11[t] -0.0074243215055993t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.230936745352420.6076982.02560.0474180.023709
werkl0.01034352385941710.00101310.213600
M10.2861505109826140.1587711.80230.0766980.038349
M20.3769018644753980.1588352.37290.0209840.010492
M30.3044280912418340.1595991.90750.0614170.030709
M40.1440280638570750.1602830.89860.372590.186295
M50.03477311600370590.1618740.21480.8306640.415332
M6-0.06009902289962630.161235-0.37270.71070.35535
M7-0.3508814659431320.15943-2.20090.0317410.015871
M8-0.4101112084118980.16116-2.54470.0136190.00681
M9-0.44005320398410.15983-2.75330.0078650.003933
M10-0.3441426912539120.158118-2.17650.0336030.016802
M11-0.2229459086408760.157752-1.41330.1629210.08146
t-0.00742432150559930.001735-4.27847.1e-053.6e-05


Multiple Linear Regression - Regression Statistics
Multiple R0.89956015219401
R-squared0.80920846741531
Adjusted R-squared0.76644484804288
F-TEST (value)18.922824571229
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value2.22044604925031e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.273127732459692
Sum Squared Residuals4.32672797783724


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
176.87795181786690.122048182133101
26.96.94059180213524-0.0405918021352414
36.76.78828904038016-0.0882890403801597
46.76.610121167630390.089878832369615
56.56.410693707396080.0893062926039205
66.46.370458390143650.0295416098563496
76.56.7135501048784-0.213550104878404
86.56.76067480335763-0.260674803357628
96.56.70262143856099-0.202621438560991
106.76.656641819613160.0433581803868414
116.86.584230851251090.215769148748911
127.26.88250062926170.317499370738300
137.67.233631485754640.366368514245364
147.67.30661499388240.293385006117596
157.27.164655755986740.0353442440132631
166.46.88305264464279-0.48305264464279
176.16.6939687082679-0.593968708267903
186.36.65373339101547-0.353733391015474
197.16.883046343296640.21695365670336
207.56.992232184932360.507767815067635
217.46.97555291557340.424447084426604
227.17.043352059079150.0566479409208477
236.86.9812846145765-0.181284614576499
246.97.20714972557119-0.307149725571192
257.27.44450181961054-0.244501819610539
267.47.50714180387889-0.107141803878888
277.37.37552608984264-0.0755260898426409
286.97.0939229784987-0.193922978498694
296.96.91518256598322-0.0151825659832232
306.86.83357315329313-0.0335731532931262
317.17.073229629433710.0267703705662906
327.27.089323756334680.110676243665319
337.17.041613915397460.0583860846025384
3476.964603724871380.0353962751286226
356.96.90253628036872-0.00253628036872376
367.17.13874491522284-0.0387449152228354
377.37.37609700926218-0.076097009262182
387.57.428393469671110.071606530328886
397.57.245060136337780.254939863662219
407.57.015174644290920.48482535570908
417.36.888151851072530.411848148927465
4276.78585539066360.214144609336397
436.76.9737942475071-0.2737942475071
446.56.96920132668924-0.469201326689238
456.56.86977386645493-0.369773866454933
466.56.62726729417818-0.127267294178176
476.66.513482230378440.0865177696215623
486.86.635912102778960.164087897221039
496.96.95601238769364-0.0560123876936435
506.96.91521713336782-0.0152171333678220
516.86.659479133018570.140520866981430
526.86.429593640971710.370406359028291
536.56.157761513721480.342238486278516
546.15.931342766999550.168657233000452
556.16.2123733385778-0.112373338577799
565.96.2491545131976-0.349154513197605
575.75.97388714735321-0.273887147353210
585.95.90722048068654-0.00722048068654271
595.95.845153036183890.0548469638161106
606.16.10204871875683-0.00204871875683488
616.36.4118054798121-0.111805479812101
626.26.40204079706453-0.202040797064531
635.96.16698984443411-0.266989844434112
645.75.9681349239655-0.268134923965502
655.45.63424165355878-0.234241653558775
665.65.6250369078846-0.0250369078845979
676.25.844006336306350.355993663693654
686.35.839413415488480.460586584511516
6965.636550716660010.363449283339992
705.65.60091462157159-0.00091462157159313
715.55.67331298724136-0.173312987241362
725.96.03364390840848-0.133643908408477


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1074162020162290.2148324040324580.892583797983771
180.0627891520128630.1255783040257260.937210847987137
190.8676984603643250.2646030792713490.132301539635675
200.9531531668190760.09369366636184880.0468468331809244
210.9697006778349790.06059864433004250.0302993221650212
220.9482576783822130.1034846432355740.051742321617787
230.9303413554158930.1393172891682140.0696586445841072
240.9444822759618740.1110354480762520.0555177240381258
250.9494549473434870.1010901053130270.0505450526565135
260.9236603035228090.1526793929543820.076339696477191
270.886366779843890.2272664403122220.113633220156111
280.8676353816555990.2647292366888020.132364618344401
290.8439823495565890.3120353008868230.156017650443411
300.8012734389845350.397453122030930.198726561015465
310.737551916319720.524896167360560.26244808368028
320.6728721102342080.6542557795315840.327127889765792
330.6004409350069940.7991181299860130.399559064993006
340.519771530584030.9604569388319390.480228469415969
350.4368415121342960.8736830242685920.563158487865704
360.3617300291285060.7234600582570120.638269970871494
370.2943042132590350.588608426518070.705695786740965
380.2293275590930040.4586551181860070.770672440906996
390.2093670314764250.4187340629528490.790632968523575
400.2948185242551430.5896370485102860.705181475744857
410.3540950841901160.7081901683802320.645904915809884
420.3218847233534320.6437694467068650.678115276646568
430.3316174823202690.6632349646405370.668382517679731
440.4529254089395620.9058508178791240.547074591060438
450.495414393209420.990828786418840.50458560679058
460.4434501305224170.8869002610448350.556549869477583
470.3519746359056710.7039492718113420.648025364094329
480.2774757223615580.5549514447231160.722524277638442
490.2010768782176610.4021537564353230.798923121782339
500.1357823827858720.2715647655717450.864217617214128
510.1030894947260420.2061789894520850.896910505273958
520.1608851619794110.3217703239588220.839114838020589
530.6773623786779270.6452752426441460.322637621322073
540.7934191269469150.4131617461061710.206580873053086
550.643910698362180.7121786032756390.356089301637819


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 level20.0512820512820513OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/10kb571258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/10kb571258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/1rw6a1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/1rw6a1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/2n9uc1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/2n9uc1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/3ciee1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/3ciee1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/4kae51258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/4kae51258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/5ugua1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/5ugua1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/62cu41258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/62cu41258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/7v2op1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/7v2op1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/8172h1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/8172h1258985527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/91j9o1258985527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/23/t1258986242fr4bv7qt8mhhp94/91j9o1258985527.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