Home » date » 2009 » Nov » 20 »

*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 17:54:39 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt.htm/, Retrieved Fri, 20 Nov 2009 01:56:14 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt.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 «
6802,96 0 6349.71 6303.79 6158.17 6091.43 7132,68 0 6802.96 6349.71 6303.79 6158.17 7073,29 0 7132.68 6802.96 6349.71 6303.79 7264,5 0 7073.29 7132.68 6802.96 6349.71 7105,33 0 7264.5 7073.29 7132.68 6802.96 7218,71 0 7105.33 7264.5 7073.29 7132.68 7225,72 0 7218.71 7105.33 7264.5 7073.29 7354,25 0 7225.72 7218.71 7105.33 7264.5 7745,46 0 7354.25 7225.72 7218.71 7105.33 8070,26 0 7745.46 7354.25 7225.72 7218.71 8366,33 0 8070.26 7745.46 7354.25 7225.72 8667,51 0 8366.33 8070.26 7745.46 7354.25 8854,34 0 8667.51 8366.33 8070.26 7745.46 9218,1 0 8854.34 8667.51 8366.33 8070.26 9332,9 0 9218.1 8854.34 8667.51 8366.33 9358,31 0 9332.9 9218.1 8854.34 8667.51 9248,66 0 9358.31 9332.9 9218.1 8854.34 9401,2 0 9248.66 9358.31 9332.9 9218.1 9652,04 0 9401.2 9248.66 9358.31 9332.9 9957,38 0 9652.04 9401.2 9248.66 9358.31 10110,63 0 9957.38 9652.04 9401.2 9248.66 10169,26 0 10110.63 9957.38 9652.04 9401.2 10343,78 0 10169.26 10110.63 9957.38 9652.04 10750,21 0 10343.78 10169.26 10110.63 9957.38 11 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] = -8.2638347760359 -293.374157093177X[t] + 1.02469638380372Y1[t] -0.211002410605720Y2[t] + 0.316813468663976Y3[t] -0.0490383619885906Y4[t] -99.3752633320272M1[t] -2.92769282470823M2[t] -229.805644167399M3[t] + 73.407137286512M4[t] -312.343953515152M5[t] -434.547944602932M6[t] -401.501954448354M7[t] -270.918868937814M8[t] + 2.58702742390048M9[t] -299.756615294635M10[t] -158.836682680342M11[t] -20.2906549503601t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-8.2638347760359458.159706-0.0180.9856950.492847
X-293.374157093177402.161209-0.72950.4697490.234874
Y11.024696383803720.1519176.745100
Y2-0.2110024106057200.218097-0.96750.3388460.169423
Y30.3168134686639760.2512231.26110.2142380.107119
Y4-0.04903836198859060.196424-0.24970.8040710.402036
M1-99.3752633320272319.651277-0.31090.7574250.378712
M2-2.92769282470823323.522995-0.0090.9928230.496411
M3-229.805644167399316.481369-0.72610.4717880.235894
M473.407137286512316.181020.23220.8175350.408768
M5-312.343953515152313.758726-0.99550.3251990.162599
M6-434.547944602932318.304515-1.36520.179460.08973
M7-401.501954448354308.731621-1.30050.2005250.100262
M8-270.918868937814309.463729-0.87540.386310.193155
M92.58702742390048306.9753320.00840.9933160.496658
M10-299.756615294635296.032723-1.01260.3170590.15853
M11-158.836682680342293.554017-0.54110.591310.295655
t-20.290654950360116.467423-1.23220.2247390.11237


Multiple Linear Regression - Regression Statistics
Multiple R0.987348952648184
R-squared0.974857954295467
Adjusted R-squared0.964681411986489
F-TEST (value)95.7946151744927
F-TEST (DF numerator)17
F-TEST (DF denominator)42
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation449.915088892889
Sum Squared Residuals8501790.66296685


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
16802.966700.75768514592102.202314854076
27132.687274.53056299462-141.85056299462
37073.297276.99511397056-203.70511397056
47264.57570.83267050452-306.332670504523
57105.337455.48765278204-350.157652782038
67218.717074.56183178311144.148168216890
77225.727300.57278834085-74.8527883408454
87354.257334.3210622339319.9289377660697
97745.467761.48715011208-16.0271501120761
108070.267809.26507784895260.994922151053
118366.338220.5457641291145.784235870896
128667.518711.57776365675-44.0677636567545
138854.348921.77513556884-67.4351355688379
149218.19203.6976741790614.4023258209366
159332.99370.75013674324-37.8501367432404
169358.319738.97405771229-380.664057712288
179248.669440.82900052606-192.169000526059
189401.29199.146816396202.053183603996
199652.049393.76637859102258.273621408980
209957.389692.9226807336264.457319266406
2110110.6310259.7946542013-149.164654201287
2210169.2610101.756780037967.503219962108
2310343.7810334.56292905969.21707094044965
2410750.2110673.146188980377.0638110196967
2511337.510944.1831259614393.316874038635
2611786.9611588.7914384078198.168561592226
2712083.0411798.4675861894284.572413810645
2812007.7412456.0753950873-448.335395087311
2911745.9312023.9956599162-278.065659916154
3011051.5111700.8750847756-649.365084775614
3111445.911018.9279658516426.972034148441
3211924.8811600.6223516197324.257648380264
3312247.6312054.2665508692193.363449130801
3412690.9112120.2883596795570.621640320473
3512910.712759.4510979690151.248902031035
3613202.1213108.445147707993.6748522921336
3713654.6713365.6299728241289.040027175923
3813862.8213891.9176215480-29.0976215480415
3913523.9313844.0980660807-320.168066080698
4014211.1713864.9238591026346.246140897404
4114510.3514278.3534758705231.996524129522
4214289.2314179.8459458306109.384054169398
4314111.8214137.2382141421-25.4182141420642
4413086.5914173.4792419466-1086.88924194661
4513351.5413328.853856125722.6861438742812
4613747.6913448.6763518982299.013648101837
4712855.6113603.2272366380-747.61723663798
4812926.9312878.288837727048.6411622730297
4912121.9512839.0740804998-717.124080499796
5011731.6511773.2727028705-41.6227028705009
5111639.5111362.3590970161277.150902983853
5212163.7811374.6940175933789.085982406717
5312029.5311441.1342109053588.39578909473
5411234.1811040.4003212147193.779678785330
559852.1310437.1046530745-584.974653074511
569709.049230.79466346613478.245336533875
579332.759383.60778869172-50.8577886917192
587108.68306.73343053547-1198.13343053547
596691.496250.1229722044441.3670277956
606143.056318.3620619281-175.312061928106


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.02655528780038750.05311057560077500.973444712199612
220.009086186613488830.01817237322697770.990913813386511
230.002932079078774540.005864158157549080.997067920921225
240.0006587985841906080.001317597168381220.99934120141581
250.0001622363507420730.0003244727014841460.999837763649258
263.60728114571536e-057.21456229143072e-050.999963927188543
275.74045473760715e-050.0001148090947521430.999942595452624
282.44794183670405e-054.89588367340811e-050.999975520581633
291.13724702369786e-052.27449404739573e-050.999988627529763
300.0006483215269029010.001296643053805800.999351678473097
310.0002960903574757580.0005921807149515170.999703909642524
320.0001116665022994380.0002233330045988770.9998883334977
336.97681770834204e-050.0001395363541668410.999930231822917
342.29928147778418e-054.59856295556837e-050.999977007185222
355.75027431962601e-061.15005486392520e-050.99999424972568
361.3024290361657e-062.6048580723314e-060.999998697570964
377.3079956699905e-061.4615991339981e-050.99999269200433
386.57844337229648e-061.31568867445930e-050.999993421556628
395.19287966714735e-050.0001038575933429470.999948071203329


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.894736842105263NOK
5% type I error level180.947368421052632NOK
10% type I error level191NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/101foc1258678474.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/101foc1258678474.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/2eqim1258678474.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/2eqim1258678474.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/45kh21258678474.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/45kh21258678474.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/85ckc1258678474.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12586785627pced0ym3hmgrwt/85ckc1258678474.ps (open in new window)


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