Home » date » 2009 » Nov » 20 »

workshop 7

*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 09:13: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/20/t12587337258xqe0e4mak0srra.htm/, Retrieved Fri, 20 Nov 2009 17:15:37 +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/t12587337258xqe0e4mak0srra.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:
workshop 7
 
Dataseries X:
» Textbox « » Textfile « » CSV «
0,634 1,5358 0,6348 0,62915 1,5355 0,634 0,62168 1,5287 0,62915 0,61328 1,5334 0,62168 0,6089 1,5225 0,61328 0,60857 1,5135 0,6089 0,62672 1,5144 0,60857 0,62291 1,4913 0,62672 0,62393 1,4793 0,62291 0,61838 1,4663 0,62393 0,62012 1,4749 0,61838 0,61659 1,4745 0,62012 0,6116 1,4775 0,61659 0,61573 1,4678 0,6116 0,61407 1,4658 0,61573 0,62823 1,4572 0,61407 0,64405 1,4721 0,62823 0,6387 1,4624 0,64405 0,63633 1,4636 0,6387 0,63059 1,4649 0,63633 0,62994 1,465 0,63059 0,63709 1,4673 0,62994 0,64217 1,4679 0,63709 0,65711 1,4621 0,64217 0,66977 1,4674 0,65711 0,68255 1,4695 0,66977 0,68902 1,4964 0,68255 0,71322 1,5155 0,68902 0,70224 1,5411 0,71322 0,70045 1,5476 0,70224 0,69919 1,54 0,70045 0,69693 1,5474 0,69919 0,69763 1,5485 0,69693 0,69278 1,559 0,69763 0,70196 1,5544 0,69278 0,69215 1,5657 0,70196 0,6769 1,5734 0,69215 0,67124 1,567 0,6769 0,66532 1,5547 0,67124 0,67157 1,54 0,66532 0,66428 1,5192 0,67157 0,66576 1,527 0,66428 0,66942 1,5387 0,66576 0,6813 1,5431 etc...
 
Output produced by software:

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


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


Multiple Linear Regression - Estimated Regression Equation
britse_pond[t] = + 0.145412170967563 -0.0985427050412497Zwitserse_frank[t] + 1.00268878936414`Britse_pond_-1`[t] -0.00341265297691773M1[t] + 0.00148026239263723M2[t] -0.00395853837575197M3[t] + 0.006952974351011M4[t] -0.00493876877735603M5[t] + 0.00214802675416841M6[t] + 0.00271409312945089M7[t] -0.00235740195402955M8[t] + 0.0018233559982335M9[t] -0.00140612307178253M10[t] + 0.00100553451485034M11[t] + 0.000104797369572300t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.1454121709675630.058342.49250.0165240.008262
Zwitserse_frank-0.09854270504124970.045061-2.18690.0341120.017056
`Britse_pond_-1`1.002688789364140.06567315.267900
M1-0.003412652976917730.0057-0.59870.5524630.276232
M20.001480262392637230.0056930.260.7960770.398039
M3-0.003958538375751970.005687-0.69610.4900280.245014
M40.0069529743510110.0057071.21830.22960.1148
M5-0.004938768777356030.005671-0.87090.3885610.194281
M60.002148026754168410.0057090.37630.7085240.354262
M70.002714093129450890.0056960.47650.6360950.318048
M8-0.002357401954029550.005674-0.41550.6797920.339896
M90.00182335599823350.0056820.32090.7498040.374902
M10-0.001406123071782530.005673-0.24790.80540.4027
M110.001005534514850340.0056810.1770.8603260.430163
t0.0001047973695723000.0001080.96930.337710.168855


Multiple Linear Regression - Regression Statistics
Multiple R0.9731156931693
R-squared0.946954152292366
Adjusted R-squared0.930075928021755
F-TEST (value)56.1050817378485
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.00843233357505844
Sum Squared Residuals0.00312858697892655


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
10.6340.6272692724462250.00673072755377538
20.629150.631494396965373-0.00234439696537318
30.621680.621967443332421-0.000287443332420607
40.613280.625030517458512-0.0117505174585119
50.60890.6058951013540080.00300489864599194
60.608570.609581801703061-0.00101180170306099
70.626720.6098330897128890.0168869102871114
80.622910.625341530012393-0.00243153001239255
90.623930.626989353507245-0.0030593535072454
100.618380.62616846953749-0.00778846953748932
110.620120.622272534449369-0.00215253444936882
120.616590.623155892879601-0.00656589287960091
130.61160.616012917730676-0.00441291773067619
140.615730.616963077649777-0.00123307764977660
150.614070.615967264361116-0.00189726436111608
160.628230.6261665783304620.00206342166953835
170.644050.6271094195239480.0169405804760515
180.63870.651119413311686-0.0124194133116861
190.636330.646307640787393-0.00997764078739335
200.630590.638836465126138-0.00824646512613843
210.629940.63735673252652-0.00741673252651944
220.637090.6333536548913940.00373634510860577
230.642170.642980209068528-0.000810209068528287
240.657110.647744678662460.00936532133754063
250.669770.6588947172314960.0108752827685044
260.682550.6763795303633860.00617046963661376
270.689020.6812090909270340.00781090907296648
280.713220.6968306318242670.0163893681757331
290.702240.706786061519028-0.00454606151902844
300.700450.702327603930139-0.00187760393013871
310.699190.701952579300345-0.00276257930034526
320.696930.6949932776945330.00193672230546707
330.697630.696904359376860.000725640623139897
340.692780.693446861426038-0.000666861426038097
350.701960.6915535721970170.0104064278029832
360.692150.698743985571136-0.00659398557113554
370.67690.68484097411131-0.00794097411131038
380.671240.675178356124898-0.00393835612489835
390.665320.665381209450288-6.12094502876953e-05
400.671570.671910179677694-0.000340179677693688
410.664280.668439727117283-0.00415972711728284
420.665760.667553085644593-0.0017930856445932
430.669420.6685549791487240.000865020851275675
440.68130.6668245345017070.0144754654982926
450.691440.6830713039937090.0083686960062906
460.698620.6921832834232840.00643671657671561
470.6950.700440611852514-0.00544061185251366
480.698670.6948754428868040.00379455711319583
490.689680.694932118480293-0.00525211848029325
500.692330.6909846388965660.00134536110343437
510.682930.688494991929142-0.0055649919291421
520.683990.690352092709066-0.00636209270906589
530.668950.680189690485732-0.0112396904857322
540.687560.6704580954105210.0171019045894790
550.685270.690281711050649-0.00501171105064852
560.67760.683334192665229-0.00573419266522864
570.681370.6799882505956660.00138174940433434
580.679330.681047730721794-0.00171773072179397
590.679220.681223072432573-0.00200307243257242


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.7214279801630720.5571440396738560.278572019836928
190.853711317484150.29257736503170.14628868251585
200.849516588710890.3009668225782210.150483411289110
210.8513190146824010.2973619706351970.148680985317599
220.8538907688588690.2922184622822630.146109231141131
230.8510226589570650.297954682085870.148977341042935
240.881312451960.2373750960799980.118687548039999
250.8531924637338420.2936150725323170.146807536266158
260.8181546017943460.3636907964113080.181845398205654
270.7386852296772180.5226295406455630.261314770322782
280.8189073484885650.3621853030228690.181092651511435
290.9264690881369970.1470618237260060.0735309118630028
300.8886814908914680.2226370182170630.111318509108532
310.8561924653655920.2876150692688160.143807534634408
320.7839211032502340.4321577934995320.216078896749766
330.699187458805130.6016250823897390.300812541194870
340.614897905478970.770204189042060.38510209452103
350.6530642132019140.6938715735961730.346935786798087
360.6333157593486690.7333684813026620.366684240651331
370.6131041015212050.7737917969575910.386895898478795
380.6838057795356380.6323884409287240.316194220464362
390.677716275435860.644567449128280.32228372456414
400.6088796851410830.7822406297178340.391120314858917
410.4756841065388620.9513682130777230.524315893461138


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/100l491258733582.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/100l491258733582.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/2xpzk1258733582.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/2xpzk1258733582.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/60rri1258733582.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587337258xqe0e4mak0srra/60rri1258733582.ps (open in new window)


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


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


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