Home » date » 2009 » Nov » 20 »

Workshop 7: Multiple Regression Analysis

*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: Fri, 20 Nov 2009 03:56:15 -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/20/t1258715142g91xm14skmhwvun.htm/, Retrieved Fri, 20 Nov 2009 12:05:54 +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/20/t1258715142g91xm14skmhwvun.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:
ETSHWW7(1)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1,43 0,51 1,43 0,51 1,43 0,51 1,43 0,51 1,43 0,52 1,43 0,52 1,44 0,52 1,48 0,53 1,48 0,53 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,52 1,48 0,53 1,48 0,53 1,48 0,53 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,54 1,48 0,53 1,48 0,53 1,48 0,53 1,48 0,53 1,48 0,53 1,57 0,54 1,58 0,55 1,58 0,55 1,58 0,55 1,58 0,55 1,59 0,55 1,6 0,55 1,6 0,55 1,61 0,55 1,61 0,56 1,61 0,56 1,62 0,56 1,63 0,56 1,63 0,56 1,64 0,55 1,64 0,56 1,64 0,55 1,64 0,55 1,64 0,56 1,65 0,55 1,65 0,55 1,65 0,55 1,65 0,55
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Broodprijs[t] = + 0.864897321038386 + 1.05488984057064Bakmeelprijs[t] + 0.00313560599612924t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.8648973210383860.3008912.87440.005680.00284
Bakmeelprijs1.054889840570640.5864511.79880.0773510.038675
t0.003135605996129240.0005086.173400


Multiple Linear Regression - Regression Statistics
Multiple R0.925793510774895
R-squared0.857093624592906
Adjusted R-squared0.852079365806692
F-TEST (value)170.931270430117
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0288897766764698
Sum Squared Residuals0.0475732941957291


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.431.406026745725550.0239732542744507
21.431.409162351721670.0208376482783286
31.431.41229795771780.0177020422821997
41.431.415433563713930.0145664362860704
51.431.429118068115770.000881931884234765
61.431.43225367411189-0.00225367411189447
71.441.435389280108020.0046107198919763
81.481.449073784509860.0309262154901407
91.481.452209390505990.0277906094940115
101.481.444796098096410.0352039019035886
111.481.447931704092540.0320682959074594
121.481.451067310088670.0289326899113301
131.481.45420291608480.0257970839152009
141.481.457338522080930.0226614779190717
151.481.460474128077060.0195258719229424
161.481.463609734073190.0163902659268132
171.481.466745340069320.0132546599306839
181.481.469880946065450.0101190539345547
191.481.473016552061570.00698344793842546
201.481.48670105646341-0.00670105646341016
211.481.48983666245954-0.0098366624595394
221.481.49297226845567-0.0129722684556686
231.481.50665677285750-0.0266567728575043
241.481.50979237885363-0.0297923788536335
251.481.51292798484976-0.0329279848497627
261.481.51606359084589-0.036063590845892
271.481.51919919684202-0.0391991968420212
281.481.52233480283815-0.0423348028381505
291.481.52547040883428-0.0454704088342797
301.481.52860601483041-0.0486060148304089
311.481.53174162082654-0.0517416208265382
321.481.53487722682267-0.0548772268226674
331.481.52746393441309-0.0474639344130903
341.481.53059954040922-0.0505995404092195
351.481.53373514640535-0.0537351464053487
361.481.53687075240148-0.056870752401478
371.481.54000635839761-0.0600063583976072
381.571.553690862799440.0163091372005572
391.581.567375367201280.0126246327987216
401.581.570510973197410.00948902680259236
411.581.573646579193540.00635342080646312
421.581.576782185189670.00321781481033388
431.591.579917791185800.0100822088142047
441.61.583053397181920.0169466028180754
451.61.586189003178050.0138109968219462
461.611.589324609174180.0206753908258170
471.611.603009113576020.00699088642398134
481.611.606144719572150.0038552804278521
491.621.609280325568280.0107196744317229
501.631.612415931564410.0175840684355934
511.631.615551537560540.0144484624394642
521.641.608138245150960.0318617548490413
531.641.621822749552790.0181772504472057
541.641.614409457143220.0255905428567828
551.641.617545063139350.0224549368606536
561.641.631229567541180.008770432458818
571.651.623816275131600.0261837248683951
581.651.626951881127730.0230481188722659
591.651.630087487123860.0199125128761366
601.651.633223093119990.0167769068800074


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
63.25334993633869e-436.50669987267737e-431
70.0004259567028219770.0008519134056439540.999574043297178
80.02783022413938560.05566044827877120.972169775860614
90.01909243131931060.03818486263862120.98090756868069
100.02498965124080900.04997930248161790.975010348759191
110.01358153033893780.02716306067787560.986418469661062
120.007235415376753370.01447083075350670.992764584623247
130.004254143658406900.008508287316813790.995745856341593
140.002893480643554100.005786961287108190.997106519356446
150.00233418911018260.00466837822036520.997665810889817
160.002286624636674830.004573249273349660.997713375363325
170.002833426354750850.00566685270950170.99716657364525
180.004835820201758030.009671640403516060.995164179798242
190.01371553856095650.0274310771219130.986284461439044
200.05410101472062240.1082020294412450.945898985279378
210.1413981467123760.2827962934247520.858601853287624
220.3163342526592340.6326685053184680.683665747340766
230.4118944124831120.8237888249662240.588105587516888
240.4452375604091650.890475120818330.554762439590835
250.4484414869042240.8968829738084490.551558513095776
260.4332661509783750.866532301956750.566733849021625
270.4066420755206500.8132841510412990.59335792447935
280.3750629087607120.7501258175214230.624937091239288
290.3460386747254710.6920773494509410.653961325274529
300.3289633062861640.6579266125723270.671036693713836
310.3376811939568940.6753623879137870.662318806043106
320.3995727237457080.7991454474914150.600427276254292
330.3606188276277870.7212376552555730.639381172372213
340.3312335095511640.6624670191023280.668766490448836
350.3425405684055550.6850811368111090.657459431594446
360.5044389670386850.991122065922630.495561032961315
370.9999819998580443.6000283911358e-051.8000141955679e-05
380.9999994828608131.03427837411307e-065.17139187056537e-07
390.9999998792493452.41501309885836e-071.20750654942918e-07
400.9999998854755692.29048861906836e-071.14524430953418e-07
410.9999998594376242.81124752655335e-071.40562376327668e-07
420.9999999374965371.25006925936110e-076.25034629680549e-08
430.999999927803951.44392098260608e-077.21960491303039e-08
440.999999813231123.73537761345183e-071.86768880672591e-07
450.999999761555454.76889098146584e-072.38444549073292e-07
460.9999993838087591.23238248281469e-066.16191241407344e-07
470.9999985863625132.82727497441699e-061.41363748720849e-06
480.9999998014030763.97193847041453e-071.98596923520727e-07
490.9999998978094362.04381128806766e-071.02190564403383e-07
500.9999990541949921.89161001556534e-069.45805007782672e-07
510.9999956774488638.64510227360306e-064.32255113680153e-06
520.9999660607815946.78784368113524e-053.39392184056762e-05
530.999859251444940.0002814971101196540.000140748555059827
540.9984720782337910.003055843532417590.00152792176620880


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level260.530612244897959NOK
5% type I error level310.63265306122449NOK
10% type I error level320.653061224489796NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/10l73r1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/10l73r1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/1dmys1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/1dmys1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/23r091258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/23r091258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/3z2ti1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/3z2ti1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/4dcpg1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/4dcpg1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/5v1os1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/5v1os1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/63wk41258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/63wk41258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/7cubg1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/7cubg1258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/8cox71258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/8cox71258714571.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/9rwsh1258714571.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258715142g91xm14skmhwvun/9rwsh1258714571.ps (open in new window)


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