Home » date » 2009 » Dec » 14 »

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: Mon, 14 Dec 2009 11:53:52 -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/Dec/14/t1260816997vpci6yfr9ynwfjv.htm/, Retrieved Mon, 14 Dec 2009 19:56:49 +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/Dec/14/t1260816997vpci6yfr9ynwfjv.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 «
3.1 6.3 3.5 7.1 6 7.5 5.7 7.4 4.7 7.1 4.2 6.8 3.6 6.9 4.4 7.2 2.5 7.4 -0.6 7.3 -1.9 6.9 -1.9 6.9 0.7 6.8 -0.9 7.1 -1.7 7.2 -3.1 7.1 -2.1 7 0.2 6.9 1.2 7.1 3.8 7.3 4 7.5 6.6 7.5 5.3 7.5 7.6 7.3 4.7 7 6.6 6.7 4.4 6.5 4.6 6.5 6 6.5 4.8 6.6 4 6.8 2.7 6.9 3 6.9 4.1 6.8 4 6.8 2.7 6.5 2.6 6.1 3.1 6.1 4.4 5.9 3 5.7 2 5.9 1.3 5.9 1.5 6.1 1.3 6.3 3.2 6.2 1.8 5.9 3.3 5.7 1 5.4 2.4 5.6 0.4 6.2 -0.1 6.3 1.3 6 -1.1 5.6 -4.4 5.5 -7.5 5.9 -12.2 6.5 -14.5 6.8 -16 6.8 -16.7 6.5 -16.3 6.2 -16.9 6.2
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
ip[t] = -13.1395991502116 + 2.07226494952323wklh[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-13.13959915021168.862386-1.48260.1434960.071748
wklh2.072264949523231.3367951.55020.1264480.063224


Multiple Linear Regression - Regression Statistics
Multiple R0.19782701630127
R-squared0.039135528378663
Adjusted R-squared0.0228496898766064
F-TEST (value)2.40304043133677
F-TEST (DF numerator)1
F-TEST (DF denominator)59
p-value0.126447615361309
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.96464060027277
Sum Squared Residuals2099.03931193492


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
13.1-0.08432996821524743.18432996821525
23.51.573481991403311.92651800859669
362.40238797121263.5976120287874
45.72.195161476260283.50483852373972
54.71.573481991403303.12651800859670
64.20.9518025065463353.24819749345367
73.61.159029001498662.44097099850134
84.41.780708486355632.61929151364437
92.52.195161476260280.304838523739724
10-0.61.98793498130795-2.58793498130795
11-1.91.15902900149866-3.05902900149866
12-1.91.15902900149866-3.05902900149866
130.70.951802506546335-0.251802506546335
14-0.91.57348199140330-2.47348199140330
15-1.71.78070848635563-3.48070848635563
16-3.11.57348199140330-4.67348199140331
17-2.11.36625549645098-3.46625549645098
180.21.15902900149866-0.95902900149866
191.21.57348199140330-0.373481991403304
203.81.987934981307951.81206501869205
2142.40238797121261.59761202878740
226.62.40238797121264.1976120287874
235.32.40238797121262.8976120287874
247.61.987934981307955.61206501869205
254.71.366255496450983.33374450354902
266.60.7445760115940135.85542398840599
274.40.3301230216893664.06987697831063
284.60.3301230216893664.26987697831063
2960.3301230216893665.66987697831063
304.80.5373495166416884.26265048335831
3140.9518025065463353.04819749345367
322.71.159029001498661.54097099850134
3331.159029001498661.84097099850134
344.10.9518025065463353.14819749345366
3540.9518025065463353.04819749345367
362.70.3301230216893662.36987697831063
372.6-0.4987829581199283.09878295811993
383.1-0.4987829581199293.59878295811993
394.4-0.9132359480245725.31323594802457
403-1.327688937929224.32768893792922
412-0.9132359480245732.91323594802457
421.3-0.9132359480245732.21323594802457
431.5-0.4987829581199281.99878295811993
441.3-0.08432996821528121.38432996821528
453.2-0.2915564631676033.4915564631676
461.8-0.9132359480245732.71323594802457
473.3-1.327688937929224.62768893792922
481-1.949368422786192.94936842278619
492.4-1.534915432881543.93491543288154
500.4-0.2915564631676040.691556463167604
51-0.1-0.0843299682152812-0.0156700317847188
521.3-0.706009453072252.00600945307225
53-1.1-1.534915432881540.434915432881544
54-4.4-1.74214192783387-2.65785807216613
55-7.5-0.913235948024572-6.58676405197543
56-12.20.330123021689365-12.5301230216894
57-14.50.951802506546336-15.4518025065463
58-160.951802506546333-16.9518025065463
59-16.70.330123021689364-17.0301230216894
60-16.3-0.291556463167606-16.0084435368324
61-16.9-0.291556463167606-16.6084435368324


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002580043874757970.005160087749515930.997419956125242
60.0002737347461249350.000547469492249870.999726265253875
73.82326939519149e-057.64653879038297e-050.999961767306048
84.36479011406359e-068.72958022812719e-060.999995635209886
93.17913307477928e-056.35826614955856e-050.999968208669252
100.0007608295614786360.001521659122957270.999239170438521
110.00255437146478260.00510874292956520.997445628535217
120.00339497234721360.00678994469442720.996605027652786
130.001480443953885110.002960887907770230.998519556046115
140.001138380457474580.002276760914949150.998861619542526
150.001134390393310770.002268780786621540.99886560960669
160.001543159899740420.003086319799480840.99845684010026
170.001164968165544070.002329936331088140.998835031834456
180.0005209200524084940.001041840104816990.999479079947591
190.0002158793847797560.0004317587695595120.99978412061522
200.0001006843426868150.0002013686853736290.999899315657313
214.3014876017004e-058.6029752034008e-050.999956985123983
223.34151240394613e-056.68302480789226e-050.99996658487596
231.64098802479321e-053.28197604958641e-050.999983590119752
242.33638936271725e-054.67277872543451e-050.999976636106373
251.55787542643212e-053.11575085286423e-050.999984421245736
263.10981765459336e-056.21963530918672e-050.999968901823454
272.32693096179985e-054.65386192359970e-050.999976730690382
281.65806932031465e-053.31613864062930e-050.999983419306797
291.73010744044595e-053.46021488089190e-050.999982698925596
301.21704787456854e-052.43409574913708e-050.999987829521254
318.02984411055284e-061.60596882211057e-050.99999197015589
325.1507330287465e-061.0301466057493e-050.999994849266971
334.26554773702543e-068.53109547405085e-060.999995734452263
346.02982027085311e-061.20596405417062e-050.99999397017973
351.68589884482400e-053.37179768964799e-050.999983141011552
362.71840960096969e-055.43681920193937e-050.99997281590399
371.93230363127247e-053.86460726254494e-050.999980676963687
381.62784229567750e-053.25568459135501e-050.999983721577043
391.29498249839165e-052.58996499678330e-050.999987050175016
405.91849510829651e-061.18369902165930e-050.999994081504892
413.27148450728741e-066.54296901457482e-060.999996728515493
421.77864921067691e-063.55729842135382e-060.99999822135079
431.55681335333716e-063.11362670667432e-060.999998443186647
443.39152214363053e-066.78304428726106e-060.999996608477856
451.58261018553358e-053.16522037106715e-050.999984173898145
461.51278675584226e-053.02557351168453e-050.999984872132442
471.32218301775317e-052.64436603550635e-050.999986778169822
485.50016829040213e-061.10003365808043e-050.99999449983171
493.22927480511953e-066.45854961023906e-060.999996770725195
502.42498846654192e-054.84997693308383e-050.999975750115335
510.001078864180205690.002157728360411370.998921135819794
520.04844972608108520.09689945216217040.951550273918915
530.1153636917076910.2307273834153810.884636308292309
540.1687150085158860.3374300170317710.831284991484114
550.7741107747535510.4517784504928970.225889225246449
560.9844727028357040.03105459432859290.0155272971642964


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level470.903846153846154NOK
5% type I error level480.923076923076923NOK
10% type I error level490.942307692307692NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/106y451260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/106y451260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/1mqm61260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/1mqm61260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/2frj71260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/2frj71260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/3hwvt1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/3hwvt1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/41bpl1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/41bpl1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/5l1nb1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/5l1nb1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/6fw5q1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/6fw5q1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/7kt9b1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/7kt9b1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/87w9e1260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/87w9e1260816827.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/9xs241260816827.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260816997vpci6yfr9ynwfjv/9xs241260816827.ps (open in new window)


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