Home » date » 2009 » Nov » 20 »

JJ Workshop 7, Multiple Regression (Monthly Dummies & Linear Trend)

*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 12:16:41 -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/t1258744734dwwy5rx8wptjl2j.htm/, Retrieved Fri, 20 Nov 2009 20:19:06 +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/t1258744734dwwy5rx8wptjl2j.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 97 93.8 112.7 107.6 102.9 101 97.4 95.4 111.4 96.5 87.4 89.2 96.8 87.1 114.1 110.5 110.3 110.8 103.9 104.2 101.6 88.9 94.6 89.8 95.9 90 104.7 93.9 102.8 91.3 98.1 87.8 113.9 99.7 80.9 73.5 95.7 79.2 113.2 96.9 105.9 95.2 108.8 95.6 102.3 89.7 99 92.8 100.7 88 115.5 101.1 100.7 92.7 109.9 95.8 114.6 103.8 85.4 81.8 100.5 87.1 114.8 105.9 116.5 108.1 112.9 102.6 102 93.7 106 103.5 105.3 100.6 118.8 113.3 106.1 102.4 109.3 102.1 117.2 106.9 92.5 87.3 104.2 93.1 112.5 109.1 122.4 120.3 113.3 104.9 100 92.6 110.7 109.8 112.8 111.4 109.8 117.9 117.3 121.6 109.1 117.8 115.9 124.2 96 106.8 99.8 102.7 116.8 116.8 115.7 113.6 99.4 96.1 94.3 85
 
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] = + 65.1843542853472 + 0.370552244553412IAidM[t] -1.44718191533665M1[t] + 0.208032101299208M2[t] + 6.42047202382795M3[t] + 1.87637352487574M4[t] + 1.38285142693650M5[t] + 8.79445734007539M6[t] -10.5523637676236M7[t] -0.419972158013988M8[t] + 7.74804980808746M9[t] + 6.93384022573633M10[t] + 3.69712861521563M11[t] + 0.0420376319371333t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)65.18435428534726.18654810.536500
IAidM0.3705522445534120.0743824.98189e-065e-06
M1-1.447181915336652.527046-0.57270.5696520.284826
M20.2080321012992082.4888680.08360.9337490.466875
M36.420472023827952.7849872.30540.0257060.012853
M41.876373524875742.59930.72190.4740240.237012
M51.382851426936502.5310740.54630.5874660.293733
M68.794457340075392.7230663.22960.002290.001145
M7-10.55236376762362.366246-4.45955.3e-052.6e-05
M8-0.4199721580139882.365497-0.17750.8598630.429932
M97.748049808087462.7450652.82250.0070150.003508
M106.933840225736332.8008642.47560.0170440.008522
M113.697128615215632.4994581.47920.145910.072955
t0.04203763193713330.0364841.15220.2551780.127589


Multiple Linear Regression - Regression Statistics
Multiple R0.9304892192588
R-squared0.86581018715685
Adjusted R-squared0.82788697917944
F-TEST (value)22.8306156924424
F-TEST (DF numerator)13
F-TEST (DF denominator)46
p-value8.88178419700125e-16
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3.73365659029078
Sum Squared Residuals641.248810574203


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
195.198.5370105410575-3.4370105410575
297100.234262189631-3.23426218963068
3112.7111.6023607189341.09763928106633
4102.9104.654655037866-1.75465503786607
597.4102.128078002365-4.72807800236485
6111.4109.9893290164501.41067098355037
787.487.9795141554479-0.579514155447851
896.897.3757836834324-0.57578368343245
9114.1114.256765804021-0.156765804020882
10110.3113.595759526973-3.29575952697290
11103.9107.955440734337-4.05544073433680
12101.698.63090040939112.96909959060888
1394.697.5592531460897-2.95925314608968
1495.999.3306152435733-3.43061524357334
15104.7107.030246551798-2.33024655179752
16102.8101.5647498489441.23525015105642
1798.199.8163325270045-1.71633252700453
18113.9111.6795477822662.22045221773385
1980.982.6662954992049-1.76629549920488
2095.794.95287253470610.747127465293902
21113.2109.721706861343.47829313865993
22105.9108.319596095185-2.41959609518527
23108.8105.2731430144233.52685698557693
24102.399.43179378827942.86820621172055
259999.1753614629955-0.175361462995504
26100.799.09396233771211.60603766228788
27115.5110.2026742958285.29732570417232
28100.7102.587974574564-1.88797457456395
29109.9103.2852020666776.61479793332259
30114.6113.7032635681810.89673643181925
3185.486.2463307122438-0.846330712243796
32100.598.38468684992372.11531315007635
33114.8113.5611286455661.23887135443362
34116.5113.604171633172.89582836683012
35112.9108.3714603095434.52853969045745
36102101.4184543497390.581545650261309
37106103.6447220629632.35527793703739
38105.3104.2673722023311.03262779766929
39118.8115.2278632626253.57213673737509
40106.1106.686782929978-0.586782929977654
41109.3106.1241327906103.17586720939048
42117.2115.3564271095421.84357289045808
4392.588.78881964053323.71118035946683
44104.2101.1124519004903.08754809951028
45112.5115.251347411383-2.75134741138289
46122.4118.6293605999673.77063940003289
47113.3109.7281820552613.57181794473899
48100101.515298463976-1.51529846397553
49110.7106.4836527868954.2163472131053
50112.8108.7737880267534.02621197324684
51109.8117.436855170816-7.63685517081621
52117.3114.3058376086492.99416239135124
53109.1112.446254613344-3.34625461334369
54115.9122.271432523562-6.37143252356154
559696.5190399925703-0.519039992570301
5699.8105.174205031448-5.37420503144808
57116.8118.609051277690-1.80905127768977
58115.7116.651112144705-0.951112144704847
5999.4106.971773886437-7.57177388643657
6094.399.2035529886152-4.90355298861521


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.2242112425315920.4484224850631840.775788757468408
180.1161834877509580.2323669755019160.883816512249042
190.05652833741348230.1130566748269650.943471662586518
200.02552553832852340.05105107665704680.974474461671477
210.02801078041218610.05602156082437220.971989219587814
220.01769785106077240.03539570212154470.982302148939228
230.0751746541124610.1503493082249220.924825345887539
240.04675064264771330.09350128529542660.953249357352287
250.0360970692756550.072194138551310.963902930724345
260.02856036571207260.05712073142414520.971439634287927
270.02557919759829450.05115839519658910.974420802401705
280.05542063589978610.1108412717995720.944579364100214
290.1065300342446110.2130600684892230.893469965755389
300.1292827097748560.2585654195497120.870717290225144
310.1491465577468010.2982931154936020.850853442253199
320.1015388256824460.2030776513648930.898461174317554
330.08083359439948120.1616671887989620.919166405600519
340.07287654856542040.1457530971308410.92712345143458
350.04618846040461930.09237692080923870.95381153959538
360.05930886445413730.1186177289082750.940691135545863
370.06195698114602140.1239139622920430.938043018853979
380.09190861179777650.1838172235955530.908091388202223
390.1074419855009820.2148839710019650.892558014499018
400.2675438106633020.5350876213266040.732456189336698
410.1756033077959520.3512066155919030.824396692204048
420.1594162245990550.3188324491981090.840583775400945
430.09051138346703890.1810227669340780.909488616532961


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level10.0370370370370370OK
10% type I error level80.296296296296296NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258744734dwwy5rx8wptjl2j/10iajl1258744597.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258744734dwwy5rx8wptjl2j/10iajl1258744597.ps (open in new window)


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


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


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


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


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


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


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


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


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