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 10:54:57 -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/t125865336431m54o45s0gr34w.htm/, Retrieved Thu, 19 Nov 2009 18:56:16 +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/t125865336431m54o45s0gr34w.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,7461 0,5270 0,7775 0,4720 0,7790 0,0000 0,7744 0,0520 0,7905 0,3130 0,7719 0,3640 0,7811 0,3630 0,7557 -0,1550 0,7637 0,0520 0,7595 0,5680 0,7471 0,6680 0,7615 1,3780 0,7487 0,2520 0,7389 -0,4020 0,7337 -0,0500 0,7510 0,5550 0,7382 0,0500 0,7159 0,1500 0,7542 0,4500 0,7636 0,2990 0,7433 0,1990 0,7658 0,4960 0,7627 0,4440 0,7480 -0,3930 0,7692 -0,4440 0,7850 0,1980 0,7913 0,4940 0,7720 0,1330 0,7880 0,3880 0,8070 0,4840 0,8268 0,2780 0,8244 0,3690 0,8487 0,1650 0,8572 0,1550 0,8214 0,0870 0,8827 0,4140 0,9216 0,3600 0,8865 0,9750 0,8816 0,2700 0,8884 0,3590 0,9466 0,1690 0,9180 0,3810 0,9337 0,1540 0,9559 0,4860 0,9626 0,9250 0,9434 0,7280 0,8639 -0,0140 0,7996 0,0460 0,6680 -0,8190 0,6572 -1,6740 0,6928 -0,7880 0,6438 0,2790 0,6454 0,3960 0,6873 -0,1410 0,7265 -0,0190 0,7912 0,0990 0,8114 0,7420 0,8281 0,0050 0,8393 0,4480
 
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] = + 0.772647651071932 + 0.0700411042991505X[t] -0.000190631685312515M1[t] + 0.00240989211865488M2[t] + 0.00406895727169555M3[t] -0.0260309794167778M4[t] -0.00934246972346833M5[t] -0.00996982849640152M6[t] + 0.0146382701539164M7[t] + 0.0301313224239747M8[t] + 0.0241132248770421M9[t] + 0.0308083018096797M10[t] + 0.0113569242639656M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.7726476510719320.03919119.715100
X0.07004110429915050.0238392.93810.0051470.002573
M1-0.0001906316853125150.052114-0.00370.9970970.498549
M20.002409892118654880.0523920.0460.9635120.481756
M30.004068957271695550.0520720.07810.9380550.469028
M4-0.02603097941677780.051335-0.50710.6145230.307262
M5-0.009342469723468330.051348-0.18190.8564260.428213
M6-0.009969828496401520.051366-0.19410.8469580.423479
M70.01463827015391640.0513690.2850.7769530.388476
M80.03013132242397470.0514060.58610.5606420.280321
M90.02411322487704210.0513120.46990.6406210.32031
M100.03080830180967970.0512990.60060.5510820.275541
M110.01135692426396560.0513010.22140.8257790.41289


Multiple Linear Regression - Regression Statistics
Multiple R0.478529492155792
R-squared0.228990474862880
Adjusted R-squared0.0278575552618919
F-TEST (value)1.13850321129508
F-TEST (DF numerator)12
F-TEST (DF denominator)46
p-value0.354332486664713
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0764656629349064
Sum Squared Residuals0.268961889971437


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
10.74610.80936868135227-0.0632686813522695
20.77750.808116944419786-0.0306169444197858
30.7790.7767166083436270.00228339165637259
40.77440.750258809078710.02414119092129
50.79050.7852280469940980.00527195300590231
60.77190.788172784540421-0.0162727845404211
70.78110.81271084208644-0.0316108420864399
80.75570.791922602329538-0.0362226023295382
90.76370.80040301337253-0.0367030133725297
100.75950.84323930012353-0.0837393001235291
110.74710.83079203300773-0.08369203300773
120.76150.869164292796161-0.107664292796161
130.74870.790107377670005-0.0414073776700053
140.73890.746901019262328-0.00800101926232827
150.73370.77321455312867-0.0395145531286699
160.7510.785489484541183-0.0344894845411826
170.73820.766807236563421-0.0286072365634211
180.71590.773183988220403-0.057283988220403
190.75420.818804418160466-0.064604418160466
200.76360.823721263681353-0.0601212636813526
210.74330.810699055704505-0.0673990557045049
220.76580.83819634061399-0.0723963406139903
230.76270.81510282564472-0.0524028256447202
240.7480.7451214970823660.00287850291763425
250.76920.7413587690777970.0278412309222034
260.7850.788925681841819-0.00392568184181853
270.79130.811316913867408-0.0200169138674078
280.7720.7559321385269410.0160678614730589
290.7880.790481129816534-0.00248112981653392
300.8070.796577717056320.0104222829436808
310.82680.8067573482210120.0200426517789878
320.82440.828624140982293-0.00422414098229306
330.84870.8083176581583340.0403823418416663
340.85720.814312324047980.04288767595202
350.82140.7900981514099240.0313018485900764
360.88270.801644668251780.0810553317482199
370.92160.7976718169343140.123928183065686
380.88650.8433476198822580.0431523801177415
390.88160.7956277065043980.085972293495602
400.88840.7717614280985490.116638571901451
410.94660.775142127975020.17145787202498
420.9180.7893634833135070.128636516686493
430.93370.7980722512879170.135627748712083
440.95590.8368189501852940.119081049814706
450.96260.8615488974256880.101051102574312
460.94340.8544458768113930.0889541231886068
470.86390.783023999875710.0808760001242906
480.79960.7758695418696930.0237304581303072
490.6680.715093354965615-0.0470933549656151
500.65720.657808734593809-0.00060873459380887
510.69280.721524218155897-0.0287242181558969
520.64380.766158139754617-0.122358139754617
530.64540.791041458650927-0.145641458650927
540.68730.75280202686935-0.0655020268693501
550.72650.785955140244164-0.0594551402441644
560.79120.809713042821522-0.0185130428215224
570.81140.848731375338944-0.0373313753389436
580.82810.8038061584031070.0242938415968925
590.83930.8153829900619170.0239170099380832


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.03359738801116200.06719477602232400.966402611988838
170.01832221052140370.03664442104280750.981677789478596
180.01109598838459230.02219197676918460.988904011615408
190.004766798467461940.009533596934923880.995233201532538
200.001514473425148720.003028946850297440.998485526574851
210.0005721826501648490.001144365300329700.999427817349835
220.0002060833501865390.0004121667003730790.999793916649814
238.30191698789731e-050.0001660383397579460.99991698083012
242.56769367998686e-055.13538735997372e-050.9999743230632
251.12358654741466e-052.24717309482932e-050.999988764134526
264.21186873817185e-068.4237374763437e-060.999995788131262
272.03887384487026e-064.07774768974053e-060.999997961126155
285.16425638641425e-071.03285127728285e-060.999999483574361
291.52754195348215e-073.0550839069643e-070.999999847245805
302.9254657857638e-075.8509315715276e-070.999999707453421
314.17141620585397e-078.34283241170794e-070.99999958285838
324.94532215011616e-079.8906443002323e-070.999999505467785
332.32009284874381e-064.64018569748761e-060.999997679907151
346.70097181141657e-061.34019436228331e-050.999993299028189
355.17694808816737e-061.03538961763347e-050.999994823051912
362.11031267868055e-054.22062535736111e-050.999978896873213
370.0002293668676702940.0004587337353405890.99977063313233
380.0003576522117563620.0007153044235127240.999642347788244
390.0003222879813710400.0006445759627420790.99967771201863
400.001343175537417780.002686351074835560.998656824462582
410.1267939392279390.2535878784558780.873206060772061
420.1534477929116370.3068955858232750.846552207088363
430.3333802673504080.6667605347008150.666619732649592


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level220.785714285714286NOK
5% type I error level240.857142857142857NOK
10% type I error level250.892857142857143NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/10281z1258653293.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/10281z1258653293.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/3s0gr1258653293.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/3s0gr1258653293.ps (open in new window)


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


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/8831o1258653293.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/8831o1258653293.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/9fbkz1258653293.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t125865336431m54o45s0gr34w/9fbkz1258653293.ps (open in new window)


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