Home » date » 2010 » Dec » 14 »

Workshop 10; PLC: Multiple regression

*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: Tue, 14 Dec 2010 10:19:58 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4.htm/, Retrieved Tue, 14 Dec 2010 11:20:47 +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/2010/Dec/14/t129232203604hdfp36e6mz1w4.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
107.11 236.67 8.92 1 122.23 258.1 9.32 2 134.69 241.52 8.9 3 128.79 190.71 8.53 4 126.16 200.32 8.51 5 119.98 223.41 9.03 6 108.45 201.38 9.6 7 108.43 211.83 9.88 8 98.17 224.41 10.81 9 106.09 211.57 11.61 10 108.81 194.77 11.81 11 103.03 201.86 13.93 12 124.36 225 16.19 1 118.52 278.9 18.05 2 112.2 259.74 17.08 3 114.71 230.45 17.46 4 107.96 238.26 16.9 5 101.21 250.14 15.69 6 102.77 263.81 15.86 7 112.13 247.22 12.98 8 109.36 229.81 12.31 9 110.91 224.27 11.51 10 123.57 213.23 11.73 11 129.95 239.57 11.7 12 124.46 249.7 10.9 1 122.34 212.5 10.57 2 116.61 203.27 10.37 3 114.59 192.05 9.59 4 112.52 190.04 9.09 5 118.67 202.05 9.26 6 116.8 211.91 9.9 7 123.63 210.39 9.61 8 128.04 231.25 9.85 9 134.57 224.3 9.99 10 130.33 209.64 9.9 11 136.47 206.05 10.45 12 139.05 229.7 11.66 1 158.21 264.67 13.61 2 148.07 246.29 12.88 3 137.74 260.91 12.52 4 139.74 265.14 10.93 5 144.08 284.52 12.07 6 145.35 287.48 13.21 7 145.77 321.9 13.68 8 140.56 321.59 14.02 9 121.41 282.39 11 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 time7 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Coffee[t] = + 68.0723686397847 + 0.304500792349745Tea[t] -1.25713504067567Sugar[t] -0.262795671803581Month[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)68.07236863978478.8101027.726600
Tea0.3045007923497450.0539035.64911e-060
Sugar-1.257135040675670.637807-1.9710.0536710.026835
Month-0.2627956718035810.432824-0.60720.5461960.273098


Multiple Linear Regression - Regression Statistics
Multiple R0.690489041401806
R-squared0.476775116295986
Adjusted R-squared0.448745211811842
F-TEST (value)17.0095162673742
F-TEST (DF numerator)3
F-TEST (DF denominator)56
p-value5.65215638737016e-08
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.3971446966654
Sum Squared Residuals7274.11480525678


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1107.11128.662130930568-21.5521309305683
2122.23134.421933222549-12.1919332225493
3134.69129.6385111306715.05148886932928
4128.79114.36917016462714.4208298353734
5126.16117.0577698081189.10223019188241
6119.98123.172187210518-3.19218721051825
7108.45115.484672110065-7.03467211006466
8108.43118.051911906927-9.62191190692672
998.17120.450600615055-22.2806006150546
10106.09115.272306736940-9.18230673693971
11108.81109.642470745525-0.832470745525286
12103.03108.873459405249-5.84345940524896
13124.36115.9692349381348.39076506186558
14118.52129.780760798325-11.2607607983253
15112.2124.903150934556-12.7031509345560
16114.71115.243815739372-0.533815739371678
17107.96118.063166878598-10.1031668785980
18101.21122.938974019127-21.7289740191269
19102.77126.624991221830-23.8549912218295
20112.13124.931076322090-12.8010763220896
21109.36120.209202332730-10.8492023327297
22110.91119.265180303849-8.35518030384904
23123.57115.3641261755568.20587382444437
24129.95123.1595954254656.7904045745354
25124.46130.140648874347-5.68064887434744
26122.34118.9652782905563.37472170944368
27116.61116.1433673135000.466632686500259
28114.59113.4446380832591.14536191674095
29112.52113.198363339170-0.67836333917032
30118.67116.3789092265722.29109077342769
31116.8118.313924941305-1.51392494130478
32123.63117.9528572269265.67714277307447
33128.04123.7402356737754.29976432622453
34134.57121.18516058944713.3848394105534
35130.33116.57152545545713.7584745445435
36136.47114.52414766674621.9458523332542
37139.05123.09521039643915.954789603561
38158.21131.02939410378827.1806058962115
39148.07126.08758244829021.9824175517102
40137.74130.7291569752837.01084302471727
41139.74133.7532443697935.98675563020711
42144.08137.9585401073576.12145989264292
43145.35137.1639328345388.1860671654615
44145.77146.791200966296-1.02120096629554
45140.56146.006584135034-5.44658413503381
46121.41136.723910697488-15.3139106974878
47120.44123.694399675040-3.25439967504047
48116.97120.260392953763-3.29039295376268
49128.03132.076602340880-4.04660234088049
50128.51133.029523839215-4.5195238392153
51127.76131.070303825491-3.31030382549129
52134.58134.5591417604120.0208582395883736
53147.64135.00673939824012.6332606017595
54144.46133.08665314986611.3733468501339
55137.6146.670487750024-9.07048775002383
56146.87138.6570003736898.21299962631053
57145.67150.235532553376-4.56553255337574
58151.95141.31190255812210.6380974418783
59150.23146.4966624516353.73333754836456
60155.86147.5664445784398.29355542156121


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.4928194121194480.9856388242388950.507180587880552
80.3274017480372030.6548034960744050.672598251962798
90.2463383477300520.4926766954601030.753661652269949
100.4361066386558580.8722132773117170.563893361344142
110.4133577171330630.8267154342661260.586642282866937
120.3605474027663080.7210948055326170.639452597233692
130.285055442784460.570110885568920.71494455721554
140.222847071983640.445694143967280.77715292801636
150.1739996599238070.3479993198476140.826000340076193
160.117016863452210.234033726904420.88298313654779
170.09164754812182570.1832950962436510.908352451878174
180.1234722377747640.2469444755495280.876527762225236
190.1841673902286650.368334780457330.815832609771335
200.2123271515418280.4246543030836550.787672848458172
210.2216187363618980.4432374727237950.778381263638102
220.235455201622770.470910403245540.76454479837723
230.3933367041488340.7866734082976690.606663295851166
240.6615596906376160.6768806187247670.338440309362384
250.6181905333363430.7636189333273150.381809466663657
260.5520725954773390.8958548090453210.447927404522661
270.521800532769180.956398934461640.47819946723082
280.5069759008114110.9860481983771780.493024099188589
290.5305022348618660.9389955302762680.469497765138134
300.4954392984142840.9908785968285680.504560701585716
310.505060676265880.989878647468240.49493932373412
320.4788697319812940.9577394639625880.521130268018706
330.4725271168716360.945054233743270.527472883128364
340.5609131929748760.8781736140502480.439086807025124
350.5679233297436870.8641533405126260.432076670256313
360.737534208450920.5249315830981600.262465791549080
370.7662947441888720.4674105116222560.233705255811128
380.9683947320076560.06321053598468830.0316052679923442
390.991657743605720.01668451278855810.00834225639427904
400.9883609237182640.02327815256347230.0116390762817362
410.9869589057370950.02608218852580940.0130410942629047
420.9889699050201340.02206018995973270.0110300949798664
430.994080012441730.01183997511654060.00591998755827029
440.995697150971590.008605698056820740.00430284902841037
450.9975240037085320.004951992582935660.00247599629146783
460.9948866084078660.01022678318426790.00511339159213394
470.9882412528906330.02351749421873350.0117587471093668
480.9981240944074190.003751811185162820.00187590559258141
490.9945244816373250.01095103672535060.00547551836267531
500.9850744224053880.02985115518922500.0149255775946125
510.9907256255326770.01854874893464650.00927437446732326
520.9824918244929960.03501635101400720.0175081755070036
530.9963306874446830.007338625110633420.00366931255531671


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level40.0851063829787234NOK
5% type I error level150.319148936170213NOK
10% type I error level160.340425531914894NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/10pm6k1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/10pm6k1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/1jlr81292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/1jlr81292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/2jlr81292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/2jlr81292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/3bc8t1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/3bc8t1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/4bc8t1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/4bc8t1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/5bc8t1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/5bc8t1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/6m3qe1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/6m3qe1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/7fvpz1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/7fvpz1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/8fvpz1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/8fvpz1292321990.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/9fvpz1292321990.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t129232203604hdfp36e6mz1w4/9fvpz1292321990.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Do not include Seasonal Dummies ; par3 = No Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Do not include Seasonal 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