Home » date » 2010 » Dec » 10 »

Workshop 5

*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, 10 Dec 2010 10:26:02 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7.htm/, Retrieved Fri, 10 Dec 2010 11:28:18 +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/2010/Dec/10/t12919768865i0d7q3hixn6hi7.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
9700 0 9081 0 9084 0 9743 0 8587 0 9731 0 9563 0 9998 0 9437 0 10038 0 9918 0 9252 0 9737 0 9035 0 9133 0 9487 0 8700 0 9627 0 8947 0 9283 0 8829 0 9947 0 9628 0 9318 0 9605 0 8640 0 9214 0 9567 0 8547 0 9185 0 9470 0 9123 0 9278 0 10170 0 9434 0 9655 0 9429 0 8739 0 9552 0 9687 0 9019 1 9672 1 9206 1 9069 1 9788 1 10312 1 10105 1 9863 1 9656 1 9295 1 9946 1 9701 1 9049 1 10190 1 9706 1 9765 1 9893 1 9994 1 10433 1 10073 1 10112 1 9266 1 9820 1 10097 1 9115 1 10411 1 9678 1 10408 1 10153 1 10368 1 10581 1 10597 1 10680 1 9738 1 9556 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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Birth[t] = + 9377.45 + 488.692857142858x[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9377.4569.906278134.143200
x488.692857142858102.3323134.77559e-064e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.487895901742042
R-squared0.238042410936680
Adjusted R-squared0.227604635744032
F-TEST (value)22.8058572390354
F-TEST (DF numerator)1
F-TEST (DF denominator)73
p-value8.99535508724902e-06
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation442.126123853076
Sum Squared Residuals14269712.1857142


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197009377.45000000006322.54999999994
290819377.45-296.449999999997
390849377.45-293.449999999999
497439377.45365.550000000001
585879377.45-790.449999999999
697319377.45353.550000000001
795639377.45185.550000000001
899989377.45620.550000000001
994379377.4559.5500000000015
10100389377.45660.550000000001
1199189377.45540.550000000001
1292529377.45-125.449999999999
1397379377.45359.550000000001
1490359377.45-342.449999999999
1591339377.45-244.449999999999
1694879377.45109.550000000001
1787009377.45-677.449999999999
1896279377.45249.550000000001
1989479377.45-430.449999999999
2092839377.45-94.4499999999985
2188299377.45-548.449999999999
2299479377.45569.550000000001
2396289377.45250.550000000001
2493189377.45-59.4499999999985
2596059377.45227.550000000001
2686409377.45-737.449999999999
2792149377.45-163.449999999999
2895679377.45189.550000000001
2985479377.45-830.449999999999
3091859377.45-192.449999999999
3194709377.4592.5500000000015
3291239377.45-254.449999999999
3392789377.45-99.4499999999985
34101709377.45792.550000000001
3594349377.4556.5500000000015
3696559377.45277.550000000001
3794299377.4551.5500000000015
3887399377.45-638.449999999999
3995529377.45174.550000000001
4096879377.45309.550000000001
4190199866.14285714286-847.142857142857
4296729866.14285714286-194.142857142857
4392069866.14285714286-660.142857142857
4490699866.14285714286-797.142857142857
4597889866.14285714286-78.1428571428572
46103129866.14285714286445.857142857143
47101059866.14285714286238.857142857143
4898639866.14285714286-3.14285714285720
4996569866.14285714286-210.142857142857
5092959866.14285714286-571.142857142857
5199469866.1428571428679.8571428571428
5297019866.14285714286-165.142857142857
5390499866.14285714286-817.142857142857
54101909866.14285714286323.857142857143
5597069866.14285714286-160.142857142857
5697659866.14285714286-101.142857142857
5798939866.1428571428626.8571428571428
5899949866.14285714286127.857142857143
59104339866.14285714286566.857142857143
60100739866.14285714286206.857142857143
61101129866.14285714286245.857142857143
6292669866.14285714286-600.142857142857
6398209866.14285714286-46.1428571428572
64100979866.14285714286230.857142857143
6591159866.14285714286-751.142857142857
66104119866.14285714286544.857142857143
6796789866.14285714286-188.142857142857
68104089866.14285714286541.857142857143
69101539866.14285714286286.857142857143
70103689866.14285714286501.857142857143
71105819866.14285714286714.857142857143
72105979866.14285714286730.857142857143
73106809866.14285714286813.857142857143
7497389866.14285714286-128.142857142857
7595569866.14285714286-310.142857142857


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.8055357969147640.3889284061704720.194464203085236
60.7758196179189160.4483607641621670.224180382081084
70.6829809511617420.6340380976765150.317019048838258
80.7421088260969250.5157823478061490.257891173903075
90.6385778866616570.7228442266766850.361422113338343
100.693953810579410.612092378841180.30604618942059
110.680414103982890.639171792034220.31958589601711
120.6149913704184940.7700172591630110.385008629581506
130.5516383930245090.8967232139509810.448361606975491
140.5506714132089130.8986571735821750.449328586791088
150.5076537616159780.9846924767680450.492346238384022
160.4225864579080330.8451729158160670.577413542091967
170.5586329080012480.8827341839975040.441367091998752
180.4957896213290610.9915792426581210.50421037867094
190.4983849837149870.9967699674299730.501615016285013
200.4244105779640680.8488211559281350.575589422035932
210.4650773211206310.9301546422412630.534922678879369
220.5080607485734650.983878502853070.491939251426535
230.454587158597820.909174317195640.54541284140218
240.3840466667069940.7680933334139890.615953333293006
250.3323098535133820.6646197070267640.667690146486618
260.4542263813681860.9084527627363720.545773618631814
270.393255478051520.786510956103040.60674452194848
280.3382986861095520.6765973722191050.661701313890448
290.5041125539913490.9917748920173010.495887446008651
300.4492475318030180.8984950636060350.550752468196982
310.3843281669948820.7686563339897630.615671833005118
320.3449587724426310.6899175448852610.655041227557369
330.2908105796571950.5816211593143910.709189420342805
340.4124047511649640.8248095023299270.587595248835036
350.3482257199178880.6964514398357750.651774280082112
360.309635383920780.619270767841560.69036461607922
370.2536435029508530.5072870059017050.746356497049147
380.3255902146207050.6511804292414090.674409785379295
390.2731846610045000.5463693220090010.7268153389955
400.2327326706949170.4654653413898330.767267329305083
410.2764266899015810.5528533798031620.723573310098419
420.2576492459186440.5152984918372870.742350754081357
430.2772725729400920.5545451458801830.722727427059908
440.3554055271506620.7108110543013250.644594472849338
450.3329120885004340.6658241770008690.667087911499566
460.4046715469559370.8093430939118740.595328453044063
470.3841017144542330.7682034289084660.615898285545767
480.3274990798704910.6549981597409830.672500920129508
490.2810978553869570.5621957107739140.718902144613043
500.3182344984049620.6364689968099240.681765501595038
510.2685388019644690.5370776039289390.731461198035531
520.2259399952075760.4518799904151520.774060004792424
530.4047447111531960.8094894223063930.595255288846804
540.3768446107014560.7536892214029120.623155389298544
550.3335663841087550.667132768217510.666433615891245
560.2861971107940980.5723942215881960.713802889205902
570.2334179671598730.4668359343197460.766582032840127
580.184797260534740.369594521069480.81520273946526
590.1956825089460080.3913650178920170.804317491053992
600.1496959341735670.2993918683471340.850304065826433
610.1118894825020490.2237789650040980.888110517497951
620.1862721132170150.3725442264340290.813727886782985
630.1459514222856470.2919028445712940.854048577714353
640.1026614727173830.2053229454347670.897338527282617
650.3692200371999210.7384400743998420.630779962800079
660.3137185241819420.6274370483638840.686281475818058
670.3490570050136060.6981140100272130.650942994986394
680.269248127930080.538496255860160.73075187206992
690.1756842702504180.3513685405008350.824315729749582
700.1051059594706020.2102119189412050.894894040529398


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/2010/Dec/10/t12919768865i0d7q3hixn6hi7/101wur1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/101wur1291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/1cdfy1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/1cdfy1291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/2cdfy1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/2cdfy1291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/354w11291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/354w11291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/454w11291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/454w11291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/554w11291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/554w11291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/654w11291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/654w11291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/7ydem1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/7ydem1291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/8r5vo1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/8r5vo1291976753.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/9r5vo1291976753.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/10/t12919768865i0d7q3hixn6hi7/9r5vo1291976753.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