Home » date » 2009 » Nov » 19 »

Workshop 7: Multiple lineair regression software

*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: Thu, 19 Nov 2009 09:34:41 -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/19/t1258648559iw8c6vqv2bstyva.htm/, Retrieved Thu, 19 Nov 2009 17:36:11 +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/19/t1258648559iw8c6vqv2bstyva.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 «
0,7461 0,5270 0,7775 0,4720 0,7790 0,0000 0,7744 0,0520 0,7905 0,3130 0,7719 0,3640 0,7811 0,3630 0,7557 -0,1550 0,7637 0,0520 0,7595 0,5680 0,7471 0,6680 0,7615 1,3780 0,7487 0,2520 0,7389 -0,4020 0,7337 -0,0500 0,7510 0,5550 0,7382 0,0500 0,7159 0,1500 0,7542 0,4500 0,7636 0,2990 0,7433 0,1990 0,7658 0,4960 0,7627 0,4440 0,7480 -0,3930 0,7692 -0,4440 0,7850 0,1980 0,7913 0,4940 0,7720 0,1330 0,7880 0,3880 0,8070 0,4840 0,8268 0,2780 0,8244 0,3690 0,8487 0,1650 0,8572 0,1550 0,8214 0,0870 0,8827 0,4140 0,9216 0,3600 0,8865 0,9750 0,8816 0,2700 0,8884 0,3590 0,9466 0,1690 0,9180 0,3810 0,9337 0,1540 0,9559 0,4860 0,9626 0,9250 0,9434 0,7280 0,8639 -0,0140 0,7996 0,0460 0,6680 -0,8190 0,6572 -1,6740 0,6928 -0,7880 0,6438 0,2790 0,6454 0,3960 0,6873 -0,1410 0,7265 -0,0190 0,7912 0,0990 0,8114 0,7420 0,8281 0,0050 0,8393 0,4480
 
Output produced by software:

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


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


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.778012058274589 + 0.0734527913500218X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.7780120582745890.01021976.134100
X0.07345279135002180.020553.57440.0007230.000362


Multiple Linear Regression - Regression Statistics
Multiple R0.42790305973798
R-squared0.183101028533125
Adjusted R-squared0.168769467630197
F-TEST (value)12.7760702252412
F-TEST (DF numerator)1
F-TEST (DF denominator)57
p-value0.000723181931649775
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0707069736074677
Sum Squared Residuals0.284970138653447


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
10.74610.816721679316048-0.0706216793160478
20.77750.812681775791799-0.0351817757917988
30.7790.7780120582745890.000987941725411454
40.77440.78183160342479-0.00743160342478972
50.79050.801002781967145-0.0105027819671454
60.77190.804748874325997-0.0328488743259965
70.78110.804675421534646-0.0235754215346464
80.75570.766626875615335-0.0109268756153352
90.76370.78183160342479-0.0181316034247897
100.75950.8197332437614-0.060233243761401
110.74710.827078522896403-0.079978522896403
120.76150.879230004754919-0.117730004754919
130.74870.796522161694794-0.047822161694794
140.73890.74848403615188-0.00958403615187983
150.73370.774339418707087-0.0406394187070875
160.7510.81877835747385-0.0677783574738506
170.73820.78168469784209-0.0434846978420897
180.71590.789029976977092-0.0731299769770919
190.75420.811065814382098-0.0568658143820984
200.76360.799974442888245-0.0363744428882451
210.74330.792629163753243-0.049329163753243
220.76580.8144446427842-0.0486446427841993
230.76270.810625097633998-0.0479250976339982
240.7480.74914511127403-0.00114511127403003
250.76920.7453990189151790.0238009810848211
260.7850.792555710961893-0.00755571096189284
270.79130.8142977372015-0.0229977372014993
280.7720.787781279524141-0.0157812795241414
290.7880.806511741318397-0.0185117413183970
300.8070.813563209287999-0.00656320928799903
310.82680.7984319342698950.0283680657301054
320.82440.8051161382827470.0192838617172534
330.84870.7901317688473420.0585682311526579
340.85720.7893972409338420.067802759066158
350.82140.784402451122040.0369975488779596
360.88270.8084215138934980.0742784861065025
370.92160.8044550631605960.117144936839404
380.88650.849628529840860.0368714701591402
390.88160.7978443119390940.0837556880609056
400.88840.8043816103692460.0840183896307536
410.94660.7904255800127420.156174419987258
420.9180.8059975717789470.112002428221053
430.93370.7893237881424920.144376211857508
440.95590.8137101148706990.142189885129301
450.96260.8459558902733590.116644109726641
460.94340.8314856903774040.111914309622596
470.86390.7769837191956880.0869162808043117
480.79960.781390886676690.0182091133233104
490.6680.717854222158921-0.0498542221589208
500.65720.6550520855546520.00214791444534780
510.69280.720131258690771-0.0273312586907715
520.64380.798505387061245-0.154705387061245
530.64540.807099363649197-0.161699363649197
540.68730.767655214694235-0.0803552146942355
550.72650.776616455238938-0.0501164552389381
560.79120.785283884618240.00591611538175929
570.81140.832514029456305-0.0211140294563047
580.82810.7783793222313390.0497206777686613
590.83930.8109189087993980.0283810912006017


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.01656889563365280.03313779126730570.983431104366347
60.003098744643908050.00619748928781610.996901255356092
70.000656350869859810.001312701739719620.99934364913014
80.0003561626309455740.0007123252618911470.999643837369054
97.34169727859286e-050.0001468339455718570.999926583027214
101.83338498926448e-053.66676997852896e-050.999981666150107
117.95925270696285e-061.59185054139257e-050.999992040747293
122.28330208265459e-064.56660416530917e-060.999997716697917
131.05026197637992e-062.10052395275984e-060.999998949738024
149.88925907002844e-071.97785181400569e-060.999999011074093
158.11687246403366e-071.62337449280673e-060.999999188312754
162.80108237438389e-075.60216474876778e-070.999999719891763
171.34242029875230e-072.68484059750461e-070.99999986575797
184.29209975251621e-078.58419950503242e-070.999999570790025
191.40600440065859e-072.81200880131718e-070.99999985939956
204.13046127298554e-088.26092254597109e-080.999999958695387
211.539094945175e-083.07818989035e-080.99999998460905
225.26633064813193e-091.05326612962639e-080.99999999473367
231.75817056812536e-093.51634113625073e-090.99999999824183
243.97810634667618e-107.95621269335237e-100.99999999960219
251.46526596062830e-102.93053192125661e-100.999999999853473
261.05172266509937e-102.10344533019874e-100.999999999894828
271.08782194500936e-102.17564389001871e-100.999999999891218
283.51792781369143e-117.03585562738287e-110.99999999996482
292.50627801030645e-115.0125560206129e-110.999999999974937
306.49205728836221e-111.29841145767244e-100.99999999993508
317.2603958370207e-101.45207916740414e-090.99999999927396
322.47479208671765e-094.94958417343531e-090.999999997525208
333.69445973507212e-087.38891947014423e-080.999999963055403
343.38940500137604e-076.77881000275208e-070.9999996610595
352.92558262821573e-075.85116525643146e-070.999999707441737
363.08296909186209e-066.16593818372419e-060.999996917030908
379.16470963533985e-050.0001832941927067970.999908352903647
380.0001360954824202940.0002721909648405890.99986390451758
390.0002375915742002790.0004751831484005580.9997624084258
400.0003725317384706470.0007450634769412940.99962746826153
410.004049193061035030.008098386122070070.995950806938965
420.00801138312255820.01602276624511640.991988616877442
430.02916974670728980.05833949341457950.97083025329271
440.08686323612883160.1737264722576630.913136763871168
450.1569681601752320.3139363203504640.843031839824768
460.3047277942521570.6094555885043150.695272205747843
470.4367084292973890.8734168585947770.563291570702611
480.396795665440040.793591330880080.60320433455996
490.3230126999694950.6460253999389910.676987300030504
500.2310562355856890.4621124711713790.76894376441431
510.1544763970926600.3089527941853210.84552360290734
520.2878304196240420.5756608392480840.712169580375958
530.7233775568816840.5532448862366320.276622443118316
540.7641415902184190.4717168195631620.235858409781581


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level360.72NOK
5% type I error level380.76NOK
10% type I error level390.78NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/10juj1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/10juj1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/10xtej1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/10xtej1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/2thes1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/2thes1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/35ewr1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/35ewr1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/4vpw21258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/4vpw21258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/55dx01258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/55dx01258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/6aknz1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/6aknz1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/7ow0s1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/7ow0s1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/8usqc1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/8usqc1258648475.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/9lyuu1258648475.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258648559iw8c6vqv2bstyva/9lyuu1258648475.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