Home » date » 2009 » Nov » 27 »

Workshop 7

*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, 27 Nov 2009 15:09:45 -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/27/t1259359855vcdlnvsvfpksm4g.htm/, Retrieved Fri, 27 Nov 2009 23:11:07 +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/27/t1259359855vcdlnvsvfpksm4g.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 «
132.92 138.04 136.51 131.02 126.51 0 129.61 132.92 138.04 136.51 131.02 0 122.96 129.61 132.92 138.04 136.51 0 124.04 122.96 129.61 132.92 138.04 0 121.29 124.04 122.96 129.61 132.92 0 124.56 121.29 124.04 122.96 129.61 0 118.53 124.56 121.29 124.04 122.96 0 113.14 118.53 124.56 121.29 124.04 0 114.15 113.14 118.53 124.56 121.29 0 122.17 114.15 113.14 118.53 124.56 0 129.23 122.17 114.15 113.14 118.53 0 131.19 129.23 122.17 114.15 113.14 0 129.12 131.19 129.23 122.17 114.15 0 128.28 129.12 131.19 129.23 122.17 0 126.83 128.28 129.12 131.19 129.23 0 138.13 126.83 128.28 129.12 131.19 0 140.52 138.13 126.83 128.28 129.12 0 146.83 140.52 138.13 126.83 128.28 0 135.14 146.83 140.52 138.13 126.83 0 131.84 135.14 146.83 140.52 138.13 0 125.7 131.84 135.14 146.83 140.52 0 128.98 125.7 131.84 135.14 146.83 0 133.25 128.98 125.7 131.84 135.14 0 136.76 133.25 128.98 125.7 131.84 0 133.24 136.76 133.25 128.98 125.7 0 128.54 133.24 136.76 133.25 128.98 0 121.08 128.54 133.24 136.76 133.25 0 120 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)[t] = + 22.2014493267714 + 1.47305280975136`Y(t-1)`[t] -0.609958903931009`Y(t-2)`[t] -0.311570948737318`Y(t-3)`[t] + 0.266930877605454`Y(t-4)`[t] + 1.67219763575734X[t] -2.25507346474391M1[t] + 0.6140703509069M2[t] -2.28209966022831M3[t] + 6.09052972606484M4[t] -0.631935182812322M5[t] + 4.54801419086582M6[t] -6.35229584801417M7[t] + 1.40352294946333M8[t] + 0.884830647112344M9[t] + 4.65001216934383M10[t] + 0.985345882304379M11[t] + 0.0152649517802632t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)22.201449326771411.5328711.92510.0617320.030866
`Y(t-1)`1.473052809751360.1581749.312900
`Y(t-2)`-0.6099589039310090.280548-2.17420.0359880.017994
`Y(t-3)`-0.3115709487373180.286298-1.08830.2833280.141664
`Y(t-4)`0.2669308776054540.1632441.63520.1102720.055136
X1.672197635757341.5986981.0460.3021810.15109
M1-2.255073464743912.113838-1.06680.2927870.146393
M20.61407035090692.2641390.27120.7876930.393846
M3-2.282099660228312.440303-0.93520.3556060.177803
M46.090529726064842.2510472.70560.010150.005075
M5-0.6319351828123222.482619-0.25450.8004480.400224
M64.548014190865821.9408732.34330.0244490.012225
M7-6.352295848014172.327005-2.72980.009550.004775
M81.403522949463332.3329680.60160.551010.275505
M90.8848306471123442.9756980.29740.7678170.383909
M104.650012169343832.1397822.17310.0360730.018036
M110.9853458823043792.3246370.42390.674050.337025
t0.01526495178026320.033590.45440.6520910.326046


Multiple Linear Regression - Regression Statistics
Multiple R0.965438204984186
R-squared0.932070927643088
Adjusted R-squared0.901681605799206
F-TEST (value)30.6710012296883
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation2.77038156067033
Sum Squared Residuals291.650531684682


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1132.92132.983760318567-0.0637603185665924
2129.61126.8862353264892.72376467351121
3122.96123.241262021469-0.281262021469456
4124.04125.855966646979-1.81596664697931
5121.29124.460504182536-3.17050418253571
6124.56126.134473269161-1.57447326916149
7118.53119.632110895046-1.10211089504641
8113.14117.671226042491-4.53122604249057
9114.15111.1531993222782.99680067772204
10122.17122.460744416983-0.290744416982594
11129.23130.078942344692-0.848942344692285
12131.19132.863299752968-1.67329975296797
13129.12126.9751660628722.14483393712770
14128.28125.5559308027242.72406919727643
15126.83123.9741292506842.85587074931597
16138.13131.9065988779136.22340112208706
17140.52142.438508762002-1.91850876200246
18146.83144.4893396268272.34066037317325
19135.14137.533654495603-2.39365449560344
20131.84126.5075745645225.33242543547753
21125.7126.945444639670-1.24544463967037
22128.98129.020809473211-0.0408094732107547
23133.25131.8559311956981.39406880430221
24136.76136.2072942870670.552705712932555
25133.24133.872468316190-0.632468316189744
26128.54128.975900767936-0.435900767935761
27121.08121.364883661894-0.284883661893834
28120.23123.664268007648-3.43426800764833
29119.08120.780053355482-1.70005335548232
30125.75125.869466170903-0.119466170902747
31126.89123.7846670238553.10533297614469
32126.6129.298020432093-2.69802043209308
33121.89125.286905878889-3.39690587888891
34123.44123.731399773180-0.291399773179585
35126.46125.6327935061540.827206493845888
36129.49129.555984974033-0.0659849740332081
37127.78128.19727118068-0.417271180680044
38125.29126.187382759627-0.897382759627055
39119.02120.543677205408-1.52367720540766
40119.96122.555914978614-2.59591497861357
41122.86121.3771868519811.48281314801903
42131.89131.5597849193690.330215080631395
43132.73130.2409925885242.48900741147555
44135.01133.0888710690871.92112893091275
45136.71135.0644501591631.64554984083724
46142.73142.1070463366270.622953663372934
47144.43145.802332953456-1.37233295345582
48144.93143.7434209859311.18657901406863
49138.75139.781334121691-1.03133412169131
50130.22134.334550343225-4.11455034322483
51122.19122.956047860545-0.766047860545026
52128.4126.7772514888461.62274851115415
53140.43135.1237468479995.30625315200145
54153.5154.476936013740-0.976936013740409
55149.33151.428574996970-2.09857499697038
56142.97142.994307891807-0.0243078918066325


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.9578407738503880.08431845229922450.0421592261496122
220.9861150198740890.02776996025182280.0138849801259114
230.9725035327060710.05499293458785720.0274964672939286
240.9622077163951790.07558456720964220.0377922836048211
250.9609339159420920.07813216811581570.0390660840579078
260.9893743122151970.02125137556960550.0106256877848027
270.9917963955727880.01640720885442380.0082036044272119
280.9949475441986040.01010491160279120.00505245580139561
290.9880491987978820.02390160240423540.0119508012021177
300.9890219770976480.02195604580470320.0109780229023516
310.9962490170707320.007501965858536040.00375098292926802
320.9893608764574390.02127824708512270.0106391235425614
330.9836536171081730.03269276578365440.0163463828918272
340.9552356260640560.08952874787188770.0447643739359439
350.8774235592710520.2451528814578970.122576440728948


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0666666666666667NOK
5% type I error level90.6NOK
10% type I error level140.933333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/10q3pt1259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/10q3pt1259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/1fm2d1259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/1fm2d1259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/2mkzg1259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/2mkzg1259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/3lqov1259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/3lqov1259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/46gg51259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/46gg51259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/5tih31259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/5tih31259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/636a61259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/636a61259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/7ojd01259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/7ojd01259359780.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/8g6zg1259359780.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/27/t1259359855vcdlnvsvfpksm4g/8g6zg1259359780.ps (open in new window)


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