Home » date » 2009 » Nov » 22 »

workshop 7-model 4/part 1

*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: Sun, 22 Nov 2009 12:52:12 -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/22/t12589195954nfe2o0epg2pyu6.htm/, Retrieved Sun, 22 Nov 2009 20:53:27 +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/22/t12589195954nfe2o0epg2pyu6.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 «
267366 0 267413 262813 258113 267037 269645 264777 0 267366 267413 262813 258113 267037 258863 0 264777 267366 267413 262813 258113 254844 0 258863 264777 267366 267413 262813 254868 0 254844 258863 264777 267366 267413 277267 0 254868 254844 258863 264777 267366 285351 0 277267 254868 254844 258863 264777 286602 0 285351 277267 254868 254844 258863 283042 0 286602 285351 277267 254868 254844 276687 0 283042 286602 285351 277267 254868 277915 0 276687 283042 286602 285351 277267 277128 0 277915 276687 283042 286602 285351 277103 0 277128 277915 276687 283042 286602 275037 0 277103 277128 277915 276687 283042 270150 0 275037 277103 277128 277915 276687 267140 0 270150 275037 277103 277128 277915 264993 0 267140 270150 275037 277103 277128 287259 0 264993 267140 270150 275037 277103 291186 0 287259 264993 267140 270150 275037 292300 0 291186 287259 264993 267140 270150 288186 0 292300 291186 287259 264993 267140 281477 0 288186 292300 291186 287259 264993 282656 0 281477 288186 292300 2911 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] = + 21386.0345240392 + 4570.5834593585x[t] + 0.937414189322683y1[t] + 0.134008529853577y2[t] + 0.126857011464927y3[t] -0.259803480419487y4[t] + 0.00246372856114373y5[t] -3682.13734938526M1[t] -8617.31854672714M2[t] -7066.4047264724M3[t] -9287.79908724293M4[t] -5147.02671990541M5[t] + 17983.3445346842M6[t] + 782.48771753359M7[t] -6645.70370737072M8[t] -15236.7700945788M9[t] -10308.5541016025M10[t] -1107.26843820283M11[t] -68.7912791567189t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)21386.034524039210753.8160641.98870.0524520.026226
x4570.58345935852098.7417182.17780.0343690.017184
y10.9374141893226830.1429286.558600
y20.1340085298535770.1948820.68760.4949890.247494
y30.1268570114649270.1985560.63890.5259270.262963
y4-0.2598034804194870.198715-1.30740.1972980.098649
y50.002463728561143730.1491280.01650.9868870.493444
M1-3682.137349385262465.403429-1.49350.1418450.070923
M2-8617.318546727142763.500072-3.11830.0030720.001536
M3-7066.40472647242705.339604-2.6120.0119790.00599
M4-9287.799087242932398.918476-3.87170.0003260.000163
M5-5147.026719905412443.087351-2.10680.0403890.020195
M617983.34453468422229.7909858.06500
M7782.487717533593408.613340.22960.8194080.409704
M8-6645.703707370724500.77405-1.47660.1463220.073161
M9-15236.77009457884515.96289-3.3740.0014740.000737
M10-10308.55410160254463.807728-2.30940.0252710.012636
M11-1107.268438202832654.333191-0.41720.6784250.339212
t-68.791279156718936.037059-1.90890.0622630.031132


Multiple Linear Regression - Regression Statistics
Multiple R0.986093368796538
R-squared0.972380131984505
Adjusted R-squared0.962022681478694
F-TEST (value)93.8821895831396
F-TEST (DF numerator)18
F-TEST (DF denominator)48
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation3381.62366621292
Sum Squared Residuals548898173.754784


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1267366267561.66414859-195.664148589884
2264777266038.361251580-1261.36125158039
3258863264427.699636706-5564.69963670626
4254844255057.219632103-213.219632102641
5254868254264.31776012603.682239880169
6277267276732.098444375534.901555624953
7285351281483.0678403013867.93215969854
8286602285598.4227682861003.57723171426
9283042282019.9283992851022.07160071451
10276687278916.036322215-2229.03632221504
11277915279727.825008706-1812.82500870615
12277128280309.114251889-3181.11425188940
13277103276106.809337874996.19066212559
14275037272771.9974481152265.00255188492
15270150271879.539923842-1729.53992384200
16267140264935.6688904942204.33110950609
17264993265273.603130365-280.603130365346
18287259285835.9313487671423.06865123332
19291186290033.7612194161152.23878058413
20292300289699.4441935142600.55580648610
21288186285985.0978975592200.90210244081
22281477281845.379702544-368.37970254389
23282656283313.379022110-657.379022110357
24280190283756.368523286-3566.36852328586
25280408278072.2649827162335.73501728379
26276836274824.6339522222011.36604777802
27275216272351.8600199642864.13998003634
28274352268735.6198718845616.38012811592
29271311271264.73532381146.2646761886604
30289802292082.902146032-2280.90214603200
31290726292041.936627159-1315.93662715915
32292300287723.7831545034576.21684549669
33278506283796.886025194-5290.88602519388
34269826271242.246361088-1416.24636108839
35265861270394.643246172-4533.64324617248
36269034264396.5592962884637.44070371187
37264176265575.190327744-1399.19032774368
38255198258160.590272551-2962.59027255119
39253353251986.8477172121366.15228278776
40246057245313.607828147743.392171853363
41235372242429.989723120-7057.98972311957
42258556256584.0685195311971.93148046879
43260993259147.2191576991845.78084230060
44254663257577.082035586-2914.0820355856
45250643249009.0491165641633.95088343566
46243422243511.336502552-89.3365025524604
47247105243957.0218542913147.9781457088
48248541248620.91483001-79.9148300099232
49245039246822.446502492-1783.44650249211
50237080241061.436900374-3981.43690037385
51237085233820.9019032443264.09809675594
52225554229660.572305417-4106.57230541694
53226839222827.6151675614011.38483243935
54247934247608.302226826325.69777317352
55248333253372.494842279-5039.49484227919
56246969252235.267848111-5266.26784811145
57245098244664.038561397433.961438602899
58246263242160.00111164102.99888839978
59255765251909.130868723855.86913128019
60264319262129.0430985272189.95690147333
61268347268300.62470058446.3752994162896
62273046269116.9801751573929.01982484249
63273963274163.150799032-200.150799031771
64267430271674.311471956-4244.31147195579
65271993269315.7388950232677.26110497673
66292710294684.697314469-1974.69731446858
67295881296391.520313145-510.520313144927


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.03550838950274520.07101677900549030.964491610497255
230.008718877521055660.01743775504211130.991281122478944
240.002398350739516090.004796701479032180.997601649260484
250.0007746473172055660.001549294634411130.999225352682794
260.0001953909257153570.0003907818514307140.999804609074285
270.000425127276705250.00085025455341050.999574872723295
280.001622836190662680.003245672381325360.998377163809337
290.0005665615453073810.001133123090614760.999433438454693
300.0002812158386770750.000562431677354150.999718784161323
310.0001016996016543050.0002033992033086100.999898300398346
320.0001283460681494850.000256692136298970.99987165393185
330.05411254283962830.1082250856792570.945887457160372
340.03498890207464270.06997780414928540.965011097925357
350.05187883211082020.1037576642216400.94812116788918
360.07586821115667940.1517364223133590.92413178884332
370.04669201851220890.09338403702441780.953307981487791
380.04140704049185260.08281408098370510.958592959508147
390.07224404525163290.1444880905032660.927755954748367
400.1218666858177950.2437333716355910.878133314182205
410.2776732463870210.5553464927740410.72232675361298
420.2990255013179780.5980510026359560.700974498682022
430.5193715983755630.9612568032488730.480628401624437
440.4617664958123190.9235329916246390.538233504187681
450.701052087868460.597895824263080.29894791213154


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level90.375NOK
5% type I error level100.416666666666667NOK
10% type I error level140.583333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/104wnn1258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/104wnn1258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/1r6921258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/1r6921258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/2aqmz1258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/2aqmz1258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/3w0oo1258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/3w0oo1258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/4b9k41258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/4b9k41258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/5q3ln1258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/5q3ln1258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/61t181258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/61t181258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/7dnbd1258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/7dnbd1258919527.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/8wl951258919527.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/22/t12589195954nfe2o0epg2pyu6/8wl951258919527.ps (open in new window)


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