Home » date » 2009 » Nov » 19 »

Workshop 7: Multiple regression

*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: Thu, 19 Nov 2009 12:11:43 -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/19/t1258657992rj50h65cpcdxeid.htm/, Retrieved Thu, 19 Nov 2009 20:13:23 +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/19/t1258657992rj50h65cpcdxeid.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 «
0,7790 0,0000 0,7775 0,7461 0,7744 0,0520 0,7790 0,7775 0,7905 0,3130 0,7744 0,7790 0,7719 0,3640 0,7905 0,7744 0,7811 0,3630 0,7719 0,7905 0,7557 -0,1550 0,7811 0,7719 0,7637 0,0520 0,7557 0,7811 0,7595 0,5680 0,7637 0,7557 0,7471 0,6680 0,7595 0,7637 0,7615 1,3780 0,7471 0,7595 0,7487 0,2520 0,7615 0,7471 0,7389 -0,4020 0,7487 0,7615 0,7337 -0,0500 0,7389 0,7487 0,7510 0,5550 0,7337 0,7389 0,7382 0,0500 0,7510 0,7337 0,7159 0,1500 0,7382 0,7510 0,7542 0,4500 0,7159 0,7382 0,7636 0,2990 0,7542 0,7159 0,7433 0,1990 0,7636 0,7542 0,7658 0,4960 0,7433 0,7636 0,7627 0,4440 0,7658 0,7433 0,7480 -0,3930 0,7627 0,7658 0,7692 -0,4440 0,7480 0,7627 0,7850 0,1980 0,7692 0,7480 0,7913 0,4940 0,7850 0,7692 0,7720 0,1330 0,7913 0,7850 0,7880 0,3880 0,7720 0,7913 0,8070 0,4840 0,7880 0,7720 0,8268 0,2780 0,8070 0,7880 0,8244 0,3690 0,8268 0,8070 0,8487 0,1650 0,8244 0,8268 0,8572 0,1550 0,8487 0,8244 0,8214 0,0870 0,8572 0,8487 0,8827 0,4140 0,8214 0,8572 0,9216 0,3600 0,8827 0,8214 0,88 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 0.0933902629630105 + 0.0131973758026373X[t] + 1.12898049003522Y1[t] -0.261041337127442Y2[t] + 0.00904104327854089M1[t] -0.0127712637042683M2[t] + 0.0157127599307248M3[t] -0.00646660452244727M4[t] + 0.0238195808627235M5[t] + 0.00955915069397892M6[t] + 0.00539507651379937M7[t] + 0.0051366371530282M8[t] -0.0216543225624553M9[t] + 0.0078438959252224M10[t] -0.0141773306869561M11[t] + 0.000257008712972165t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.09339026296301050.0504271.8520.0712380.035619
X0.01319737580263730.0132890.99310.3264990.163249
Y11.128980490035220.1810576.235500
Y2-0.2610413371274420.169251-1.54230.1306760.065338
M10.009041043278540890.0215230.42010.6766380.338319
M2-0.01277126370426830.02203-0.57970.5652720.282636
M30.01571275993072480.0220690.7120.4805160.240258
M4-0.006466604522447270.022106-0.29250.7713590.385679
M50.02381958086272350.021911.08720.2833120.141656
M60.009559150693978920.0222790.42910.6701160.335058
M70.005395076513799370.0223830.2410.8107320.405366
M80.00513663715302820.0222780.23060.8187980.409399
M9-0.02165432256245530.02212-0.9790.3333420.166671
M100.00784389592522240.0240090.32670.745550.372775
M11-0.01417733068695610.022671-0.62540.5351980.267599
t0.0002570087129721650.0002720.94430.3505420.175271


Multiple Linear Regression - Regression Statistics
Multiple R0.938532903991567
R-squared0.880844011874843
Adjusted R-squared0.837250357682712
F-TEST (value)20.2057851813177
F-TEST (DF numerator)15
F-TEST (DF denominator)41
p-value2.75335310107039e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0317207095155677
Sum Squared Residuals0.041254339899012


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
10.7790.785707704326124-0.00670770432612371
20.77440.7583354423472750.0160645576527254
30.79050.7849361175198750.00556388248012521
40.77190.783064203985963-0.0111642039859629
50.78110.788392398065896-0.00729239806589634
60.75570.782794725323252-0.0270947253232522
70.76370.7505418318987240.0131581681012764
80.75950.773012541048404-0.0135125410484043
90.74710.7409682788709890.00613172112901088
100.76150.76719065843101-0.00569065843101006
110.74870.750060427014922-0.00136042701492153
120.73890.7376537371128390.00124626288716086
130.73370.743874585699766-0.0101745856997665
140.7510.726991206346190.0240087936538091
150.73820.769956341344496-0.0317563413444964
160.71590.730386757779805-0.0144867577798046
170.75420.7430542288061850.0111457711938155
180.76360.776119178190505-0.0125191781905048
190.74330.771506908537384-0.0282069085373837
200.76580.7500530059862550.015746994013745
210.76270.7535339916114860.00916600838851389
220.7480.762869745660852-0.014869745660852
230.76920.7246456765372890.0445543234627115
240.7850.775324425247030.00967557475297011
250.79130.800832715871578-0.00953271587157835
260.7720.777501288897598-0.00550128889759753
270.7880.7861737681936530.00182623180634735
280.8070.7886201461776290.0183798538223709
290.82680.83371864877706-0.00691864877705902
300.82440.838310216816602-0.0139102168166024
310.84870.823832715034450.0248672849655508
320.85720.8517600357455860.0054399642544144
330.82140.827581692861597-0.00618169286159735
340.88270.8190161090408660.0636838909591345
350.92160.8750910167566380.0465089832433617
360.88650.925557249371646-0.0390572493716464
370.88160.8757694282078060.00583057179219378
380.88840.8590192429164050.0293807570835953
390.94660.8942089437460330.0523910562539672
400.9180.939016015103575-0.0210160151035753
410.93370.9190819570586950.0146180429413048
420.95590.9346508403047960.0212491596952039
430.96260.9575024407008280.00509755929917249
440.94340.956670178618916-0.0132701786189158
450.86390.896918372403417-0.0330183724034174
460.79960.842723486867272-0.0431234868672724
470.6680.757702879691152-0.0897028796911517
480.65720.6290645882684850.0281354117315154
490.69280.6722155658947250.0205844341052748
500.64380.707752819492532-0.0639528194925323
510.64540.673424829195943-0.0280248291959435
520.68730.6590128769530280.0282871230469718
530.72650.738052767292165-0.0115527672921649
540.79120.7589250393648450.0322749606351555
550.81140.826316103828616-0.0149161038286159
560.82810.8225042386008390.00559576139916069
570.83930.815397664252510.0239023357474900


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.01332541489889050.02665082979778110.98667458510111
200.04405244682200350.0881048936440070.955947553177997
210.03635683630643380.07271367261286760.963643163693566
220.02226192750199890.04452385500399780.977738072498001
230.02286136441388520.04572272882777030.977138635586115
240.00976976458286150.0195395291657230.990230235417139
250.004742554823626910.009485109647253820.995257445176373
260.002788658970528580.005577317941057160.997211341029471
270.001037944819124660.002075889638249320.998962055180875
280.001049837942244180.002099675884488360.998950162057756
290.0003770566072654090.0007541132145308180.999622943392735
300.0002041263348365950.0004082526696731910.999795873665163
310.0001199848789589140.0002399697579178290.999880015121041
325.00010965545076e-050.0001000021931090150.999949998903445
330.0002167392440787870.0004334784881575750.999783260755921
340.0004145669010483880.0008291338020967770.999585433098952
350.004467778098722590.008935556197445180.995532221901277
360.009086636664851460.01817327332970290.990913363335149
370.003904985131296570.007809970262593130.996095014868703
380.01099663117282450.0219932623456490.989003368827176


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level120.6NOK
5% type I error level180.9NOK
10% type I error level201NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/10nxb31258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/10nxb31258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/16xks1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/16xks1258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/2apc41258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/2apc41258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/35t511258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/35t511258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/4q4td1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/4q4td1258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/5iava1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/5iava1258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/6lmsk1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/6lmsk1258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/7fo611258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/7fo611258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/8126a1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/8126a1258657899.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/91qqn1258657899.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258657992rj50h65cpcdxeid/91qqn1258657899.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