Home » date » 2009 » Nov » 20 »

Workshop 7: model 2

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Fri, 20 Nov 2009 03:54:01 -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/t1258714824jiiapobrrziscq8.htm/, Retrieved Fri, 20 Nov 2009 12:00:36 +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/t1258714824jiiapobrrziscq8.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:
ws7m2mldg
 
Dataseries X:
» Textbox « » Textfile « » CSV «
267413 21.4 267366 26.4 264777 26.4 258863 29.4 254844 34.4 254868 24.4 277267 26.4 285351 25.4 286602 31.4 283042 27.4 276687 27.4 277915 29.4 277128 32.4 277103 26.4 275037 22.4 270150 19.4 267140 21.4 264993 23.4 287259 23.4 291186 25.4 292300 28.4 288186 27.4 281477 21.4 282656 17.4 280190 24.4 280408 26.4 276836 22.4 275216 14.4 274352 18.4 271311 25.4 289802 29.4 290726 26.4 292300 26.4 278506 20.4 269826 26.4 265861 29.4 269034 33.4 264176 32.4 255198 35.4 253353 34.4 246057 36.4 235372 32.4 258556 34.4 260993 31.4 254663 27.4 250643 27.4 243422 30.4 247105 32.4 248541 32.4 245039 27.4 237080 31.4 237085 29.4 225554 27.4 226839 25.4 247934 26.4 248333 23.4 246969 18.4 245098 22.4 246263 17.4 255765 17.4 264319 11.4 268347 9.4 273046 6.4 273963 0 267430 7.8 271993 7.9 292710 12 295881 16.9 293299 12.3
 
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] = + 284296.210684253 -731.579789057658X[t] + 2422.53918567349M1[t] + 871.362765106428M2[t] -3027.19042759867M3[t] -7372.77181586589M4[t] -10622.6551434852M5[t] -13130.8052342349M6[t] + 9825.14397187436M7[t] + 12604.1610808612M8[t] + 10987.1165759170M9[t] + 3088.28404218847M10[t] -2764.34787343459M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)284296.2106842539679.16619229.37200
X-731.579789057658257.065011-2.84590.0061770.003088
M12422.539185673499739.3389850.24870.8044740.402237
M2871.3627651064289738.4154130.08950.9290220.464511
M3-3027.190427598679742.033806-0.31070.7571560.378578
M4-7372.771815865899792.719622-0.75290.4546740.227337
M5-10622.65514348529740.424541-1.09060.2801310.140065
M6-13130.80523423499751.925699-1.34650.1835720.091786
M79825.143971874369737.7368151.0090.3173260.158663
M812604.16108086129738.1750811.29430.2008720.100436
M910987.11657591709742.1628741.12780.2642170.132109
M103088.2840421884710170.8013360.30360.7625260.381263
M11-2764.3478734345910171.840845-0.27180.7868020.393401


Multiple Linear Regression - Regression Statistics
Multiple R0.544664723571685
R-squared0.296659661103420
Adjusted R-squared0.145943874197011
F-TEST (value)1.96833833530417
F-TEST (DF numerator)12
F-TEST (DF denominator)56
p-value0.0450649302679921
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16081.2434620038
Sum Squared Residuals14481957911.9175


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1267413271062.942384094-3649.94238409385
2267366265853.8670182371512.13298176276
3264777261955.3138255322821.68617446786
4258863255414.9930700923448.00692990804
5254844248507.2107971846336.78920281566
6254868253314.8585970111553.14140298873
7277267274807.6482250052459.35177499484
8285351278318.2451230507032.75487695027
9286602272311.72188376014290.2781162404
10283042267339.20850626215702.7914937384
11276687261486.57659063915200.4234093614
12277915262787.76488595815127.2351140422
13277128263015.56470445814112.4352955416
14277103265853.86701823711249.1329817628
15275037264881.63298176310155.3670182372
16270150262730.7909606697419.20903933147
17267140258017.7480549349122.25194506612
18264993254046.43838606910946.5616139311
19287259277002.38759217810256.6124078219
20291186278318.24512305012867.7548769503
21292300274506.46125093317793.5387490675
22288186267339.20850626220846.7914937384
23281477265876.05532498415600.9446750155
24282656271566.7223546511089.2776453503
25280190268868.20301692011321.7969830804
26280408265853.86701823714554.1329817628
27276836264881.63298176311954.3670182372
28275216266388.6899059578827.31009404318
29274352260212.48742210714139.5125778932
30271311252583.27880795418727.7211920464
31289802272612.90885783217189.0911421678
32290726277586.66533399213139.3346660080
33292300275969.62082904816330.3791709522
34278506272460.2670296656045.73297033477
35269826262218.1563796967607.84362030378
36265861262787.7648859583073.23511404216
37269034262283.9849154016750.0150845993
38264176261464.3882838912711.61171610871
39255198255371.095724013-173.095724013213
40253353251757.0941248041595.90587519633
41246057247044.051219069-987.051219069012
42235372247462.22028455-12090.22028455
43258556268955.009912544-10399.0099125439
44260993273928.766388704-12935.7663887037
45254663275238.04103999-20575.0410399902
46250643267339.208506262-16696.2085062616
47243422259291.837223466-15869.8372234656
48247105260593.025518785-13488.0255187849
49248541263015.564704458-14474.5647044583
50245039265122.287229180-20083.2872291796
51237080258297.414880244-21217.4148802438
52237085255414.993070092-18329.9930700920
53225554253628.269320588-28074.2693205879
54226839252583.278807954-25744.2788079536
55247934274807.648225005-26873.6482250052
56248333279781.404701165-31448.404701165
57246969281822.259141509-34853.2591415091
58245098270997.10745155-25899.1074515499
59246263268802.374481215-22539.3744812151
60255765271566.72235465-15801.7223546497
61264319278378.740274669-14059.7402746692
62268347278290.723432217-9943.7234322174
63273046276586.909606685-3540.90960668529
64273963276923.438868387-2960.43886838708
65267430267967.233186118-537.233186118014
66271993265385.9251164636607.07488353739
67292710285342.3971874357367.60281256456
68295881284536.6733300411344.3266699602
69293299286284.8958547617014.10414523919


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.1182242122454940.2364484244909880.881775787754506
170.05492340481199340.1098468096239870.945076595188007
180.02947865967513020.05895731935026040.97052134032487
190.01449412809754930.02898825619509860.98550587190245
200.006287625969775680.01257525193955140.993712374030224
210.002709692455234580.005419384910469150.997290307544765
220.001395029834064240.002790059668128470.998604970165936
230.0005533275706604610.001106655141320920.99944667242934
240.0002020948771138690.0004041897542277380.999797905122886
250.0001029460125975570.0002058920251951150.999897053987402
267.5301022346048e-050.0001506020446920960.999924698977654
273.79703356015315e-057.5940671203063e-050.999962029664399
281.48953887144259e-052.97907774288518e-050.999985104611286
298.8401208702266e-061.76802417404532e-050.99999115987913
302.00818648204844e-054.01637296409687e-050.99997991813518
313.04426377056152e-056.08852754112304e-050.999969557362294
321.90051988191343e-053.80103976382685e-050.99998099480118
332.08031806036161e-054.16063612072321e-050.999979196819396
344.08259290902648e-058.16518581805296e-050.99995917407091
355.57416449967083e-050.0001114832899934170.999944258355003
366.83363907838866e-050.0001366727815677730.999931663609216
376.0402449525086e-050.0001208048990501720.999939597550475
386.99575465209093e-050.0001399150930418190.99993004245348
397.72882511476298e-050.0001545765022952600.999922711748852
408.35434253109684e-050.0001670868506219370.999916456574689
410.0002041744277235250.0004083488554470510.999795825572277
420.00085485176116120.00170970352232240.99914514823884
430.001608089279118280.003216178558236570.998391910720882
440.003374045441431990.006748090882863980.996625954558568
450.02667098650847130.05334197301694260.973329013491529
460.04978829236258570.09957658472517140.950211707637414
470.07034969122955510.1406993824591100.929650308770445
480.07009477501202640.1401895500240530.929905224987974
490.08425902298338470.1685180459667690.915740977016615
500.0876794901480680.1753589802961360.912320509851932
510.08124854557508620.1624970911501720.918751454424914
520.2008539573178870.4017079146357730.799146042682113
530.2373528284690720.4747056569381440.762647171530928


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.631578947368421NOK
5% type I error level260.68421052631579NOK
10% type I error level290.763157894736842NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/10ix5o1258714437.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/10ix5o1258714437.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/4z6rd1258714437.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/4z6rd1258714437.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/86izn1258714437.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258714824jiiapobrrziscq8/86izn1258714437.ps (open in new window)


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