Home » date » 2008 » May » 02 » attachments

regressiemodel

R Software Module: rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Fri, 02 May 2008 03:40:49 -0600
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/May/02/t12097213441jm7fheabcav16d.htm/, Retrieved Fri, 02 May 2008 11:42:36 +0200
 
User-defined keywords:
eerste
 
Dataseries X:
» Textbox « » Textfile « » CSV «
56421 53152 53536 52408 41454 38271 35306 26414 31917 38030 27534 18387 50556 43901 48572 43899 37532 40357 35489 29027 34485 42598 30306 26451 47460 50104 61465 53726 39477 43895 31481 29896 33842 39120 33702 25094 51442 45594 52518 48564 41745 49585 32747 33379 35645 37034 35681 20972 58552 54955 65540 51570 51145 46641 35704 33253 35193 41668 34865 21210 56126 49231 59723 48103 47472 50497 40059 34149 36860 46356 36577 149.0 101.6 59.5 165.5 103.8 61.3
 
Text written by user:
 
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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Number[t] = + 18397.5984126984 + 27135.1216175359M1[t] + 30853.500377929M2[t] + 38248.8836734693M3[t] + 31060.7669690099M4[t] + 24479.1502645502M5[t] + 26208.5335600907M6[t] + 16457.7501889645M7[t] + 12338.9668178382M8[t] + 15968.8501133787M9[t] + 22105.4000755858M10[t] + 14407.7833711262M11[t] + 7.4500377928953t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)18397.59841269843761.5633364.89098e-064e-06
M127135.12161753594445.0160566.104600
M230853.5003779294628.6680116.665700
M338248.88367346934624.550468.270800
M431060.76696900994620.8632256.721900
M524479.15026455024617.6073385.30132e-061e-06
M626208.53356009074614.7837115.679300
M716457.75018896454612.3931383.56820.0007140.000357
M812338.96681783824610.4362922.67630.0095830.004792
M915968.85011337874608.9137273.46480.0009860.000493
M1022105.40007558584607.8258724.79741.1e-056e-06
M1114407.78337112624607.1730363.12730.0027210.001361
t7.450037792895344.7805160.16640.8684270.434213


Multiple Linear Regression - Regression Statistics
Multiple R0.805412272978757
R-squared0.648688929464808
Adjusted R-squared0.578426715357769
F-TEST (value)9.2324009100622
F-TEST (DF numerator)12
F-TEST (DF denominator)60
p-value9.5757557438958e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation7979.48082730627
Sum Squared Residuals3820326856.40091


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
15642145540.170068027310880.8299319727
25315249265.99886621323886.00113378684
35353656668.8321995466-3132.83219954656
45240849488.16553287972919.83446712025
54145442913.9988662133-1459.99886621327
63827144650.8321995465-6379.83219954645
73530634907.4988662132398.501133786832
82641430796.1655328798-4382.16553287981
93191734433.4988662131-2516.49886621314
103803040577.4988662132-2547.49886621317
112753432887.3321995465-5353.3321995465
121838718486.9988662131-99.998866213141
135055645629.57052154194926.42947845806
144390149355.3993197279-5454.39931972788
154857256758.2326530612-8186.2326530612
164389949577.5659863946-5678.56598639456
173753243003.3993197279-5471.39931972786
184035744740.2326530612-4383.23265306122
193548934996.8993197279492.100680272119
202902730885.5659863946-1858.56598639455
213448534522.8993197279-37.8993197278869
224259840666.89931972791931.10068027212
233030632976.7326530612-2670.73265306121
242645118576.39931972797874.60068027211
254746045718.97097505671741.02902494333
265010449444.7997732426659.200226757375
276146556847.63310657594617.36689342406
285372649666.96643990934059.03356009069
293947743092.7997732426-3615.79977324260
304389544829.633106576-934.633106575965
313148135086.2997732426-3605.29977324262
322989630974.9664399093-1078.96643990930
333384234612.2997732426-770.29977324263
343912040756.2997732426-1636.29977324262
353370233066.1331065760635.866893424043
362509418665.79977324266428.20022675737
375144245808.37142857145633.62857142858
384559449534.2002267574-3940.20022675737
395251856937.0335600907-4419.03356009069
404856449756.3668934240-1192.36689342405
414174543182.2002267573-1437.20022675735
424958544919.03356009074665.96643990929
433274735175.7002267574-2428.70022675737
443337931064.36689342402314.63310657596
453564534701.7002267574943.299773242627
463703440845.7002267574-3811.70022675736
473568133155.53356009072525.4664399093
482097218755.20022675742216.79977324262
495855245897.771882086212654.2281179138
505495549623.60068027215331.39931972789
516554057026.43401360548513.56598639457
525157049845.76734693881724.23265306121
535114543271.60068027217873.3993197279
544664145008.43401360551632.56598639455
553570435265.1006802721438.899319727889
563325331153.76734693882099.23265306122
573519334791.1006802721401.899319727883
584166840935.1006802721732.899319727893
593486533244.93401360541620.06598639456
602121018844.60068027212365.39931972788
615612645987.172335600910138.8276643991
624923149713.0011337869-482.001133786857
635972357115.83446712022607.16553287983
644810349935.1678004535-1832.16780045354
654747243361.00113378684110.99886621317
665049745097.83446712025399.16553287981
674005935354.50113378684704.49886621315
683414931243.16780045352905.83219954647
693686034880.50113378691979.49886621314
704635641024.50113378685331.49886621315
713657733334.33446712023242.66553287981
7214918934.0011337869-18785.0011337869
73101.646076.5727891156-45974.9727891156


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.006514269332254960.01302853866450990.993485730667745
170.002431860623120780.004863721246241560.997568139376879
180.01032850898615080.02065701797230160.98967149101385
190.005811975505708710.01162395101141740.994188024494291
200.004998488598105530.009996977196211060.995001511401894
210.003254724527702030.006509449055404060.996745275472298
220.002750481071612490.005500962143224980.997249518928388
230.001499639401639140.002999278803278280.99850036059836
240.002165072410844180.004330144821688360.997834927589156
250.001201933119368550.002403866238737110.998798066880631
260.0005718916923365030.001143783384673010.999428108307663
270.001583403768231810.003166807536463610.998416596231768
280.000953630823426410.001907261646852820.999046369176574
290.0004500209568937570.0009000419137875130.999549979043106
300.000239424799796380.000478849599592760.999760575200204
310.0001471681896477370.0002943363792954740.999852831810352
326.43502356218172e-050.0001287004712436340.999935649764378
332.57088879374220e-055.14177758748439e-050.999974291112063
341.09154163088839e-052.18308326177677e-050.999989084583691
355.68935757008592e-061.13787151401718e-050.99999431064243
362.24229530040657e-064.48459060081314e-060.9999977577047
379.57142901837103e-071.91428580367421e-060.999999042857098
385.9696565372247e-071.19393130744494e-060.999999403034346
393.72931286512296e-077.45862573024592e-070.999999627068713
401.39261866726125e-072.7852373345225e-070.999999860738133
417.55794011873506e-081.51158802374701e-070.999999924420599
421.02580824172305e-072.05161648344611e-070.999999897419176
435.61820263900014e-081.12364052780003e-070.999999943817974
442.92118287161743e-085.84236574323485e-080.999999970788171
451.1742590339579e-082.3485180679158e-080.99999998825741
461.5948828204549e-083.1897656409098e-080.999999984051172
471.28913237346034e-082.57826474692068e-080.999999987108676
484.89930029072237e-099.79860058144474e-090.9999999951007
491.50698287179668e-083.01396574359335e-080.999999984930171
506.8646345543837e-091.37292691087674e-080.999999993135365
519.68560320915057e-091.93712064183011e-080.999999990314397
522.62594834459250e-095.25189668918499e-090.999999997374052
532.32440241142746e-094.64880482285491e-090.999999997675598
541.01886003828271e-092.03772007656542e-090.99999999898114
556.04817804606374e-101.20963560921275e-090.999999999395182
562.92924952689094e-105.85849905378187e-100.999999999707075
572.87994152430392e-105.75988304860785e-100.999999999712006


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level390.928571428571429NOK
5% type I error level421NOK
10% type I error level421NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/10gwdv1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/10gwdv1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/1pkj41209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/1pkj41209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/2lfu01209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/2lfu01209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/32mm01209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/32mm01209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/4i8fd1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/4i8fd1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/5jh7w1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/5jh7w1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/6i94z1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/6i94z1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/7dohc1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/7dohc1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/8ssyc1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/8ssyc1209721240.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/9cdxr1209721240.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/May/02/t12097213441jm7fheabcav16d/9cdxr1209721240.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