Home » date » 2009 » Dec » 14 »

*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: Mon, 14 Dec 2009 03:56:51 -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/Dec/14/t1260788395ubjavm3t3h6f8s6.htm/, Retrieved Mon, 14 Dec 2009 12:00:08 +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/Dec/14/t1260788395ubjavm3t3h6f8s6.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 «
106.2 431 436 443 448 460 467 81 484 431 436 443 448 460 94.7 510 484 431 436 443 448 101 513 510 484 431 436 443 109.4 503 513 510 484 431 436 102.3 471 503 513 510 484 431 90.7 471 471 503 513 510 484 96.2 476 471 471 503 513 510 96.1 475 476 471 471 503 513 106 470 475 476 471 471 503 103.1 461 470 475 476 471 471 102 455 461 470 475 476 471 104.7 456 455 461 470 475 476 86 517 456 455 461 470 475 92.1 525 517 456 455 461 470 106.9 523 525 517 456 455 461 112.6 519 523 525 517 456 455 101.7 509 519 523 525 517 456 92 512 509 519 523 525 517 97.4 519 512 509 519 523 525 97 517 519 512 509 519 523 105.4 510 517 519 512 509 519 102.7 509 510 517 519 512 509 98.1 501 509 510 517 519 512 104.5 507 501 509 510 517 519 87.4 569 507 501 509 510 517 89.9 580 569 507 501 509 510 109.8 578 580 569 507 501 509 111.7 565 578 580 569 507 501 98.6 547 565 578 580 569 507 96.9 555 547 565 578 580 569 95.1 562 555 547 565 578 580 97 561 562 555 547 565 578 112.7 555 561 562 555 547 565 102 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -103.597529140216 + 0.456638020998805X[t] + 1.15233154517053`Y(t-1)`[t] -0.132883985021822`Y(t-2)`[t] -0.136717309166669`Y(t-3)`[t] + 0.288076677389240`Y(t-4)`[t] -0.0444267752463386`Y(t-5)`[t] + 2.60941417635306M1[t] + 66.9697686993288M2[t] + 13.9511567062971M3[t] + 0.76530488075559M4[t] -2.58819717511082M5[t] -17.7476852617300M6[t] + 5.99420155049773M7[t] + 3.11341674291098M8[t] -0.771493007730226M9[t] -4.40903117293207M10[t] -2.59469677920587M11[t] -0.457581264982037t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-103.59752914021642.1143-2.45990.0175490.008775
X0.4566380209988050.2530081.80480.0773750.038688
`Y(t-1)`1.152331545170530.1405258.200200
`Y(t-2)`-0.1328839850218220.215596-0.61640.5405720.270286
`Y(t-3)`-0.1367173091666690.245302-0.55730.5798840.289942
`Y(t-4)`0.2880766773892400.2583231.11520.2703250.135162
`Y(t-5)`-0.04442677524633860.16776-0.26480.7922790.39614
M12.609414176353064.0945730.63730.5269670.263483
M266.96976869932885.74029711.666600
M313.95115670629719.4365841.47840.145830.072915
M40.7653048807555910.0610940.07610.9396830.469841
M5-2.588197175110829.545484-0.27110.7874430.393722
M6-17.74768526173009.149096-1.93980.0582890.029144
M75.994201550497734.2638451.40580.1662180.083109
M83.113416742910984.7239670.65910.5130010.256501
M9-0.7714930077302265.013167-0.15390.8783390.43917
M10-4.409031172932075.186876-0.850.3995250.199763
M11-2.594696779205873.527936-0.73550.4656310.232816
t-0.4575812649820370.172888-2.64670.0109610.00548


Multiple Linear Regression - Regression Statistics
Multiple R0.995879165152403
R-squared0.991775311584647
Adjusted R-squared0.98869105342889
F-TEST (value)321.560408208147
F-TEST (DF numerator)18
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.39725135046519
Sum Squared Residuals1398.25546272472


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1431441.116822983256-10.1168229832557
2484486.218502125266-2.21850212526644
3510500.786000654269.21399934574013
4513511.8263397446471.17366025535347
5503503.477613479077-0.477613479076982
6471484.631994511141-13.6319945111414
7471471.798752016127-0.798752016126502
8476476.300489547179-0.300489547179060
9475479.034899249011-4.03489924901063
10470468.8695588324431.13044116755710
11461464.011358221509-3.01135822150921
12455457.516708627322-2.51670862732155
13456455.3568067817750.643193218225054
14517512.5045836731934.49541632680735
15525530.422970248381-5.42297024838079
16523523.185172747388-0.185172747387612
17519510.8240726454178.17592735458284
18509502.3206027264546.67939727354561
19512510.0517547058141.94824529418566
20519513.5803701122865.41962988771363
21517517.026612681994-0.0266126819942674
22510510.419190042299-0.419190042299460
23509503.0939442886615.9060557113388
24501505.065072290592-4.06507229059177
25507501.1235005426775.87649945732348
26569563.4038589107235.59614108927686
27580582.833161818317-2.83316181831692
28578579.633174772325-1.63317477232487
29565566.530717863766-1.53071786376572
30547546.3074512657280.692548734271657
31555550.4888141738324.51118582616778
32562558.6515408919013.34845910809889
33561560.9846793616270.0153206383726432
34555556.274686832664-1.2746868326641
35544548.522556279-4.52255627899997
36537538.067659439906-1.06765943990612
37543540.2290674151932.77093258480693
38594600.836562447136-6.83656244713572
39611607.679109844443.32089015556
40613612.3999214799670.600078520033101
41611601.9661137478539.0338862521472
42594592.9572856410141.04271435898568
43595598.225558801828-3.22555880182787
44591595.196418666733-4.19641866673305
45589588.3645342632660.635465736733481
46584581.5695349933272.43046500667275
47573578.152987219608-5.15298721960834
48567565.2093780969011.79062190309889
49569569.40896659631-0.408966596310248
50621621.497012726195-0.497012726195316
51629632.308128837738-3.30812883773794
52628627.4513460999640.548653900036087
53612611.8248157300690.175184269931155
54595593.0249711020721.97502889792818
55597596.0087754207460.991224579253566
56593597.2711807819-4.27118078190041
57590586.5892744441013.41072555589877
58580581.867029299266-1.86702929926630
59574567.2191539912216.78084600877873
60573567.1411815452795.85881845472055
61573571.764835680791.23516431921043
62620620.539480117487-0.539480117486715
63626626.970628596864-0.970628596864477
64620620.50404515571-0.504045155710183
65588603.376666533818-15.3766665338185
66566562.757694753593.24230524641030
67557560.426344881653-3.42634488165263


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.9453016964665270.1093966070669460.0546983035334728
230.9563710626384830.08725787472303380.0436289373615169
240.9272671766504010.1454656466991980.072732823349599
250.9028873347530560.1942253304938880.097112665246944
260.8806636081793350.2386727836413290.119336391820665
270.8612038411465890.2775923177068220.138796158853411
280.8334423203058530.3331153593882930.166557679694147
290.8091595974229380.3816808051541240.190840402577062
300.7419868733565980.5160262532868040.258013126643402
310.6575226899552670.6849546200894660.342477310044733
320.5977943877668360.8044112244663280.402205612233164
330.5332687149423080.9334625701153840.466731285057692
340.4518127660685610.9036255321371220.548187233931439
350.4056855660858890.8113711321717770.594314433914111
360.4182563572052040.8365127144104080.581743642794796
370.3156629391895190.6313258783790380.68433706081048
380.392411962496850.78482392499370.60758803750315
390.2889067483164590.5778134966329170.711093251683541
400.208849926185280.417699852370560.79115007381472
410.6377174574856020.7245650850287960.362282542514398
420.5217132393012760.9565735213974480.478286760698724
430.4449487055387710.8898974110775410.555051294461229
440.3464478430288870.6928956860577740.653552156971113
450.2242773074591370.4485546149182740.775722692540863


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 level10.0416666666666667OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/10lwm71260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/10lwm71260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/1y2qx1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/1y2qx1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/2yyot1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/2yyot1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/3ad181260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/3ad181260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/4x5os1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/4x5os1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/57wdk1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/57wdk1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/6z1ol1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/6z1ol1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/7jmfg1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/7jmfg1260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/8tgs71260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/8tgs71260788205.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/9ez8k1260788205.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260788395ubjavm3t3h6f8s6/9ez8k1260788205.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 2 ; 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