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 01:30:37 -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/t1258706006b09g589p7w3144p.htm/, Retrieved Fri, 20 Nov 2009 09:33:39 +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/t1258706006b09g589p7w3144p.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 «
8,9 8,6 8,9 8,5 8,9 8,3 8,9 7,8 9 7,8 9 8 9 8,6 9 8,9 9 8,9 9 8,6 9 8,3 9,1 8,3 9 8,3 9,1 8,4 9,1 8,5 9 8,4 9 8,6 9 8,5 9 8,5 8,9 8,4 8,9 8,5 8,9 8,5 8,9 8,5 8,8 8,5 8,8 8,5 8,7 8,5 8,7 8,5 8,5 8,5 8,5 8,6 8,4 8,4 8,2 8,1 8,2 8 8,1 8 8,1 8 8 8 7,9 7,9 7,8 7,8 7,7 7,8 7,6 7,9 7,5 8,1 7,5 8 7,5 7,6 7,5 7,3 7,5 7 7,4 6,8 7,4 7 7,3 7,1 7,3 7,2 7,3 7,1 7,2 6,9 7,2 6,7 7,3 6,7 7,4 6,6 7,4 6,9 7,5 7,3 7,6 7,5 7,7 7,3 7,9 7,1 8 6,9 8,2 7,1
 
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
Y[t] = + 1.27666936157067 + 0.883343521385048X[t] + e[t]


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


Multiple Linear Regression - Regression Statistics
Multiple R0.846836840542365
R-squared0.717132634499774
Adjusted R-squared0.712255610956667
F-TEST (value)147.043094658276
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.366819119890273
Sum Squared Residuals7.80426346959031


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
18.98.873423645482130.0265763545178733
28.98.785089293343590.114910706656415
38.98.608420589066580.291579410933423
48.98.166748828374050.733251171625948
598.166748828374050.833251171625948
698.343417532651060.656582467348938
798.87342364548210.126576354517910
899.1384267018976-0.138426701897606
999.1384267018976-0.138426701897606
1098.87342364548210.126576354517910
1198.608420589066580.391579410933423
129.18.608420589066580.491579410933423
1398.608420589066580.391579410933423
149.18.696754941205080.403245058794918
159.18.785089293343590.314910706656414
1698.696754941205080.303245058794919
1798.87342364548210.126576354517910
1898.785089293343590.214910706656414
1998.785089293343590.214910706656414
208.98.696754941205080.203245058794919
218.98.785089293343590.114910706656414
228.98.785089293343590.114910706656414
238.98.785089293343590.114910706656414
248.88.785089293343590.0149107066564148
258.88.785089293343590.0149107066564148
268.78.78508929334359-0.0850892933435866
278.78.78508929334359-0.0850892933435866
288.58.78508929334359-0.285089293343586
298.58.8734236454821-0.373423645482090
308.48.69675494120508-0.296754941205081
318.28.43175188478957-0.231751884789567
328.28.34341753265106-0.143417532651063
338.18.34341753265106-0.243417532651062
348.18.34341753265106-0.243417532651062
3588.34341753265106-0.343417532651062
367.98.25508318051256-0.355083180512557
377.88.16674882837405-0.366748828374052
387.78.16674882837405-0.466748828374052
397.68.25508318051256-0.655083180512558
407.58.43175188478957-0.931751884789566
417.58.34341753265106-0.843417532651062
427.57.99008012409704-0.490080124097042
437.57.72507706768153-0.225077067681528
447.57.460074011266010.0399259887339864
457.47.2834053069890.116594693010997
467.47.46007401126601-0.0600740112660132
477.37.54840836340452-0.248408363404518
487.37.63674271554302-0.336742715543024
497.37.54840836340452-0.248408363404518
507.27.37173965912751-0.171739659127509
517.27.19507095485050.00492904514950071
527.37.19507095485050.104929045149500
537.47.1067366027120.293263397288006
547.47.371739659127510.0282603408724912
557.57.72507706768153-0.225077067681528
567.67.90174577195854-0.301745771958538
577.77.72507706768153-0.0250770676815277
587.97.548408363404520.351591636595482
5987.371739659127510.628260340872491
608.27.548408363404520.651591636595481


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002405397096952840.004810794193905690.997594602903047
60.000739147163243680.001478294326487360.999260852836756
70.0003941111524311120.0007882223048622240.999605888847569
80.0001073355173475920.0002146710346951840.999892664482652
92.06905249978744e-054.13810499957488e-050.999979309475002
103.85605238218764e-067.71210476437528e-060.999996143947618
118.49735665809041e-071.69947133161808e-060.999999150264334
122.13393674769187e-064.26787349538374e-060.999997866063252
135.17407723027196e-071.03481544605439e-060.999999482592277
146.25513369209887e-071.25102673841977e-060.999999374486631
155.10484861887215e-071.02096972377443e-060.999999489515138
161.46677267589816e-072.93354535179631e-070.999999853322732
173.56336182684978e-087.12672365369956e-080.999999964366382
189.86601137741827e-091.97320227548365e-080.99999999013399
192.92799903500900e-095.85599807001799e-090.999999997072
202.43378104015101e-094.86756208030203e-090.999999997566219
211.82779427803205e-093.65558855606411e-090.999999998172206
221.41611323111640e-092.83222646223281e-090.999999998583887
231.21951784991717e-092.43903569983434e-090.999999998780482
247.44840260963452e-091.48968052192690e-080.999999992551597
253.06341786583657e-086.12683573167314e-080.999999969365821
266.04700862125556e-071.20940172425111e-060.999999395299138
275.34097803824134e-061.06819560764827e-050.999994659021962
280.0003260317911125120.0006520635822250230.999673968208888
290.002651492537665170.005302985075330340.997348507462335
300.02266594896709350.04533189793418690.977334051032906
310.1617998531177220.3235997062354450.838200146882278
320.3638351746469560.7276703492939120.636164825353044
330.5613458236713660.8773083526572680.438654176328634
340.7017726209202330.5964547581595340.298227379079767
350.80086793326790.3982641334642010.199132066732101
360.8541204385280730.2917591229438540.145879561471927
370.8751690648275480.2496618703449030.124830935172452
380.8838331275817450.232333744836510.116166872418255
390.898292291351210.2034154172975820.101707708648791
400.9348028782142150.1303942435715690.0651971217857846
410.9463409743870850.1073180512258310.0536590256129155
420.9300806368897350.1398387262205290.0699193631102646
430.8976865694915770.2046268610168460.102313430508423
440.8577617824486880.2844764351026240.142238217551312
450.8082695339707530.3834609320584940.191730466029247
460.7425869781764770.5148260436470450.257413021823523
470.6985772033676170.6028455932647660.301422796632383
480.6785866053668770.6428267892662450.321413394633123
490.6502418995356450.699516200928710.349758100464355
500.6398444110091320.7203111779817350.360155588990868
510.6178508223136620.7642983553726760.382149177686338
520.5910669643948940.8178660712102110.408933035605106
530.6171290698108370.7657418603783270.382870930189163
540.8830258274356780.2339483451286440.116974172564322
550.87660183286280.2467963342743980.123398167137199


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258706006b09g589p7w3144p/27nv91258705833.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258706006b09g589p7w3144p/27nv91258705833.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258706006b09g589p7w3144p/6jvtr1258705833.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258706006b09g589p7w3144p/6jvtr1258705833.ps (open in new window)


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


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


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