Home » date » 2009 » Nov » 20 »

workshop 3

*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 08:22:30 -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/t1258730623wo2mbbhzm8o6iip.htm/, Retrieved Fri, 20 Nov 2009 16:23:55 +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/t1258730623wo2mbbhzm8o6iip.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:
model 4
 
Dataseries X:
» Textbox « » Textfile « » CSV «
109.5 120.1 109.5 110.2 108.8 108.2 116 132.9 109.5 109.5 110.2 108.8 111.2 128.1 116 109.5 109.5 110.2 112.1 129.3 111.2 116 109.5 109.5 114 132.5 112.1 111.2 116 109.5 119.1 131 114 112.1 111.2 116 114.1 124.9 119.1 114 112.1 111.2 115.1 120.8 114.1 119.1 114 112.1 115.4 122 115.1 114.1 119.1 114 110.8 122.1 115.4 115.1 114.1 119.1 116 127.4 110.8 115.4 115.1 114.1 119.2 135.2 116 110.8 115.4 115.1 126.5 137.3 119.2 116 110.8 115.4 127.8 135 126.5 119.2 116 110.8 131.3 136 127.8 126.5 119.2 116 140.3 138.4 131.3 127.8 126.5 119.2 137.3 134.7 140.3 131.3 127.8 126.5 143 138.4 137.3 140.3 131.3 127.8 134.5 133.9 143 137.3 140.3 131.3 139.9 133.6 134.5 143 137.3 140.3 159.3 141.2 139.9 134.5 143 137.3 170.4 151.8 159.3 139.9 134.5 143 175 155.4 170.4 159.3 139.9 134.5 175.8 156.6 175 170.4 159.3 139.9 180.9 161.6 175.8 175 170.4 159.3 180.3 160.7 180.9 175.8 175 170.4 169.6 156 180.3 180.9 175.8 175 172.3 159.5 169.6 180.3 180.9 175.8 184.8 168.7 172.3 169.6 180.3 180.9 177.7 169.9 etc...
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -28.8691767006593 + 0.722631087194356X[t] + 0.68166492131029Y1[t] + 0.0357487587076676Y2[t] -0.136738073603211Y3[t] -0.0259058241864742Y4[t] -4.2607956589844M1[t] -2.90302129402693M2[t] -6.12901499458149M3[t] -3.79239104204496M4[t] -4.25182903906736M5[t] -13.9408302154570M6[t] -11.8293883425912M7[t] -0.0234283729133178M8[t] -2.79353232120853M9[t] -2.46252649385462M10[t] + 5.15904113856754M11[t] -0.3517093324785t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-28.869176700659311.622676-2.48390.0175220.008761
X0.7226310871943560.1417295.09871e-055e-06
Y10.681664921310290.1619334.20950.0001517.5e-05
Y20.03574875870766760.1987510.17990.8582120.429106
Y3-0.1367380736032110.201583-0.67830.5016790.250839
Y4-0.02590582418647420.132452-0.19560.8459760.422988
M1-4.26079565898446.930106-0.61480.5423350.271168
M2-2.903021294026937.122116-0.40760.685850.342925
M3-6.129014994581497.187253-0.85280.3991350.199567
M4-3.792391042044967.243078-0.52360.6036050.301803
M5-4.251829039067367.064731-0.60180.5508560.275428
M6-13.94083021545706.960589-2.00280.0523680.026184
M7-11.82938834259127.515352-1.5740.1237710.061885
M8-0.02342837291331787.466075-0.00310.9975130.498756
M9-2.793532321208537.628985-0.36620.7162660.358133
M10-2.462526493854627.717026-0.31910.7513960.375698
M115.159041138567547.6512880.67430.5042210.25211
t-0.35170933247850.176384-1.9940.0533650.026682


Multiple Linear Regression - Regression Statistics
Multiple R0.990946497626736
R-squared0.981974961158695
Adjusted R-squared0.973911127992848
F-TEST (value)121.775208013687
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation10.1208126903771
Sum Squared Residuals3892.3722815205


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1109.5114.208021387977-4.70802138797678
2116124.231763407891-8.23176340789096
3111.2121.675701642503-10.4757016425032
4112.1121.506282953435-9.40628295343544
5114122.560662011918-8.56066201191806
6119.1113.2512970016685.84870299833185
7114.1114.148677340249-0.0486773402491406
8115.1119.131017001195-4.03101700119537
9115.4116.632696911496-1.23269691149615
10110.8117.476075414857-6.67607541485681
11116125.443735513845-9.44373551384466
12119.2128.882793577405-9.68279357740541
13126.5128.776258553842-2.27625855384229
14127.8132.618950847725-4.81895084772499
15131.3130.3387371168560.961262883144313
16140.3135.4091803823864.89081961761399
17137.3137.81753096529-0.517530965289984
18143128.21503871442514.7849612855745
19134.5129.1798620907025.32013790929774
20139.9135.0040012983714.89599870162908
21159.3140.04962085935619.2503791406442
22170.4162.1207600766978.27923992330312
23175179.733910744141-4.73391074414088
24175.8175.830177358901-0.0301773589012391
25180.9173.5202384243007.37976157569961
26180.3176.4644757969083.83552420309158
27169.6169.0351691205440.564830879455514
28172.3165.5159397978126.78406020218753
29184.8172.76090518067612.0390948193237
30177.7173.6833260233974.01667397660301
31184.6170.95809662639413.6419033736063
32211.4196.64494478357614.7550552164243
33215.3216.226327676505-0.926327676504908
34215.9222.675778177690-6.77577817768954
35244.7238.2850855337566.4149144662443
36259.3262.184172001775-2.88417200177477
37289285.8581358638373.14186413616275
38310.9307.5801887929293.31981120707104
39321313.7815928404997.21840715950129
40315.1318.489033401315-3.38903340131464
41333.2324.0554124741949.14458752580584
42314.1321.953370901288-7.85337090128819
43284.7294.39778947713-9.69778947712996
44273.9273.3397081247260.560291875273653
45216233.091354552643-17.0913545526431
46196.4191.2273863307575.17261366924323
47190.9183.1372682082597.76273179174125
48206.4193.80285706191912.5971429380814
49196.3199.837345770043-3.53734577004328
50199.5193.6046211545475.89537884545333
51198.9197.1687992795981.73120072040208
52214.4213.2795634650511.12043653494857
53214.2226.305489367921-12.1054893679215
54187.6204.396967359221-16.7969673592212
55180.6189.815574465525-9.21557446552495
56172.2188.380328792132-16.1803287921317


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.2479425647432330.4958851294864660.752057435256767
220.1540354396091450.3080708792182900.845964560390855
230.1280760905211940.2561521810423870.871923909478806
240.06071249890876060.1214249978175210.93928750109124
250.05360446035325640.1072089207065130.946395539646744
260.03692833761778030.07385667523556050.96307166238222
270.08132111393939450.1626422278787890.918678886060605
280.1000833600596580.2001667201193160.899916639940342
290.1253499074377590.2506998148755180.874650092562241
300.7371002263789760.5257995472420480.262899773621024
310.6779627275523540.6440745448952920.322037272447646
320.6070998314812620.7858003370374750.392900168518738
330.6381702250388370.7236595499223260.361829774961163
340.7389991898895920.5220016202208160.261000810110408
350.7656950373123880.4686099253752250.234304962687612


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


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258730623wo2mbbhzm8o6iip/44q2m1258730546.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258730623wo2mbbhzm8o6iip/44q2m1258730546.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258730623wo2mbbhzm8o6iip/62r9i1258730546.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258730623wo2mbbhzm8o6iip/62r9i1258730546.ps (open in new window)


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


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


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