Home » date » 2009 » Nov » 20 »

JJ Workshop 7, Optimaliseren 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 13:17:21 -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/t1258748444yn0pxswrilq5egg.htm/, Retrieved Fri, 20 Nov 2009 21:20:56 +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/t1258748444yn0pxswrilq5egg.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 «
95.1 93.8 111.7 97 93.8 98.6 112.7 107.6 96.9 102.9 101 95.1 97.4 95.4 97 111.4 96.5 112.7 87.4 89.2 102.9 96.8 87.1 97.4 114.1 110.5 111.4 110.3 110.8 87.4 103.9 104.2 96.8 101.6 88.9 114.1 94.6 89.8 110.3 95.9 90 103.9 104.7 93.9 101.6 102.8 91.3 94.6 98.1 87.8 95.9 113.9 99.7 104.7 80.9 73.5 102.8 95.7 79.2 98.1 113.2 96.9 113.9 105.9 95.2 80.9 108.8 95.6 95.7 102.3 89.7 113.2 99 92.8 105.9 100.7 88 108.8 115.5 101.1 102.3 100.7 92.7 99 109.9 95.8 100.7 114.6 103.8 115.5 85.4 81.8 100.7 100.5 87.1 109.9 114.8 105.9 114.6 116.5 108.1 85.4 112.9 102.6 100.5 102 93.7 114.8 106 103.5 116.5 105.3 100.6 112.9 118.8 113.3 102 106.1 102.4 106 109.3 102.1 105.3 117.2 106.9 118.8 92.5 87.3 106.1 104.2 93.1 109.3 112.5 109.1 117.2 122.4 120.3 92.5 113.3 104.9 104.2 100 92.6 112.5 110.7 109.8 122.4 112.8 111.4 113.3 109.8 117.9 100 117.3 121.6 110.7 109.1 117.8 112.8 115.9 124.2 109.8 96 106.8 117.3 99.8 102.7 109.1 116.8 116.8 115.9 115.7 113.6 96 99.4 96.1 99 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
TIA[t] = + 34.5997540927041 + 0.298221021904011IAidM[t] + 0.3378221767271`TIA(t-3)`[t] -1.02304293176696M1[t] + 2.56849582970055M2[t] + 11.8907715171465M3[t] + 6.85428025389231M4[t] + 5.83103077546227M5[t] + 10.3857785141985M6[t] -8.11533998012746M7[t] + 2.61781806550856M8[t] + 8.80566945224169M9[t] + 16.9982285968716M10[t] + 9.45582905532634M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)34.599754092704111.1510533.10280.0032730.001636
IAidM0.2982210219040110.0711174.19340.0001246.2e-05
`TIA(t-3)`0.33782217672710.1226322.75480.0083860.004193
M1-1.023042931766962.310845-0.44270.6600480.330024
M22.568495829700552.5228071.01810.3139510.156975
M311.89077151714653.4299613.46670.0011530.000577
M46.854280253892313.1628322.16710.0354380.017719
M55.831030775462272.9779521.95810.0563030.028152
M610.38577851419852.5842774.01880.0002150.000107
M7-8.115339980127462.404222-3.37550.0015060.000753
M82.617818065508562.504531.04520.3013770.150688
M98.805669452241692.5446443.46050.0011740.000587
M1016.99822859687164.7545443.57520.0008360.000418
M119.455829055326343.2590212.90140.0056820.002841


Multiple Linear Regression - Regression Statistics
Multiple R0.938876145706808
R-squared0.881488416977271
Adjusted R-squared0.847996013079543
F-TEST (value)26.3190549017914
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.50877077042316
Sum Squared Residuals566.327726691294


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
195.199.2845801559503-4.18458015595026
29798.450648402293-1.45064840229292
3112.7111.3140764915781.38592350842182
4102.9103.701246565649-0.801246565648725
597.4101.649821500338-4.24982150033771
6111.4111.836420537784-0.436420537783846
787.487.847631251633-0.447631251633005
896.896.09650317927160.703496820728446
9114.1113.9922369527380.107763047262040
10110.3114.166530162489-3.86653016248863
11103.9107.831400337612-3.93140033761166
12101.699.65711330453281.94288669546721
1394.697.6187450209164-3.01874502091646
1495.999.1078660557113-3.20786605571133
15104.7108.816212722111-4.1162127221106
16102.8100.6395915648162.16040843518373
1798.199.0117373394674-0.911737339467426
18113.9110.088150394063.81184960594011
1980.983.1317789900673-2.23177899006733
2095.793.97703262993881.72296737006117
21113.2110.7809864966612.41901350333886
22105.9107.31843807206-1.41843807205991
23108.8104.8950951548373.90490484516264
24102.399.59165016300162.70834983699839
259997.02699050902921.97300949097075
26100.7100.1667526778660.533247322133904
27115.5111.1998796035284.30012039647155
28100.7102.543518573081-1.84351857308113
29109.9103.0190519629906.88094803701041
30114.6114.959336092519-0.359336092519019
3185.484.89758690074370.502413099256293
32100.5100.3192803883600.180719611639698
33114.8113.7014512175061.09854878249378
34116.5112.6856890498943.8143109501064
35112.9108.6041887564564.29581124354449
36102101.3250497333810.67495026661899
37106103.7988705167092.20112948329057
38105.3105.309408478438-0.00940847843775233
39118.8114.7368294177394.06317058226074
40106.1107.801017722640-1.70101772263975
41109.3106.4518264139302.84817358607048
42117.2116.9986344436210.201365556379122
4392.588.36204227554214.13795772445789
44104.2101.9059132137482.29408678625189
45112.5115.534096147090-3.03409614708951
46122.4118.7225229718853.67747702811506
47113.3110.5400391607252.75996083927499
48100100.220015602814-0.220015602814265
49110.7107.6708137973953.02918620260541
50112.8108.6653243856924.13467561430809
51109.8115.433001765044-5.63300176504351
52117.3115.1146255738142.18537442618588
53109.1113.667562783276-4.56756278327575
54115.9119.117458532016-3.21745853201637
559697.9609605820139-1.96096058201385
5699.8104.701270588681-4.9012705886812
57116.8117.391229186005-0.59122918600517
58115.7117.906819743673-2.20681974367292
5999.4106.429276590370-7.02927659037046
6094.399.4061711962703-5.10617119627032


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1300103852819920.2600207705639840.869989614718008
180.06620626317482490.1324125263496500.933793736825175
190.04006643673856880.08013287347713770.959933563261431
200.01842166359024070.03684332718048130.98157833640976
210.01817393337808180.03634786675616370.981826066621918
220.01058148294987010.02116296589974010.98941851705013
230.05032610078225260.1006522015645050.949673899217747
240.02926803093173470.05853606186346930.970731969068265
250.02070023413565360.04140046827130710.979299765864346
260.05787739950509150.1157547990101830.942122600494908
270.1183182011886940.2366364023773880.881681798811306
280.0897604346856790.1795208693713580.910239565314321
290.3275383635987080.6550767271974170.672461636401292
300.2441001126501810.4882002253003630.755899887349819
310.1848096460266050.3696192920532110.815190353973394
320.1269366787511840.2538733575023690.873063321248816
330.0854757664738330.1709515329476660.914524233526167
340.09177751828326060.1835550365665210.90822248171674
350.1059346487331680.2118692974663370.894065351266832
360.07676988890346320.1535397778069260.923230111096537
370.05589663126727820.1117932625345560.944103368732722
380.03961512267375040.07923024534750090.96038487732625
390.065980405661080.131960811322160.93401959433892
400.06156396559851890.1231279311970380.938436034401481
410.04394704067399210.08789408134798420.956052959326008
420.03856003472538640.07712006945077290.961439965274614
430.0433524624168660.0867049248337320.956647537583134


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level40.148148148148148NOK
10% type I error level100.370370370370370NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/102l4y1258748237.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/102l4y1258748237.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/34rbp1258748237.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/34rbp1258748237.ps (open in new window)


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/660oq1258748237.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/660oq1258748237.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/79uyz1258748237.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/79uyz1258748237.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/8mmvr1258748237.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258748444yn0pxswrilq5egg/8mmvr1258748237.ps (open in new window)


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