Home » date » 2009 » Nov » 20 »

Workshop 7: model 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: Fri, 20 Nov 2009 03:42:03 -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/t1258713851yli636uvdcq3pdw.htm/, Retrieved Fri, 20 Nov 2009 11:44:23 +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/t1258713851yli636uvdcq3pdw.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:
WS7M1MLDG
 
Dataseries X:
» Textbox « » Textfile « » CSV «
267413 21,4 267366 26,4 264777 26,4 258863 29,4 254844 34,4 254868 24,4 277267 26,4 285351 25,4 286602 31,4 283042 27,4 276687 27,4 277915 29,4 277128 32,4 277103 26,4 275037 22,4 270150 19,4 267140 21,4 264993 23,4 287259 23,4 291186 25,4 292300 28,4 288186 27,4 281477 21,4 282656 17,4 280190 24,4 280408 26,4 276836 22,4 275216 14,4 274352 18,4 271311 25,4 289802 29,4 290726 26,4 292300 26,4 278506 20,4 269826 26,4 265861 29,4 269034 33,4 264176 32,4 255198 35,4 253353 34,4 246057 36,4 235372 32,4 258556 34,4 260993 31,4 254663 27,4 250643 27,4 243422 30,4 247105 32,4 248541 32,4 245039 27,4 237080 31,4 237085 29,4 225554 27,4 226839 25,4 247934 26,4 248333 23,4 246969 18,4 245098 22,4 246263 17,4 255765 17,4 264319 11,4 268347 9,4 273046 6,4 273963 0 267430 7,8 271993 7,9 292710 12 295881 16,9 293299 12,3
 
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] = + 282428.042215116 -644.709018428348X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)282428.0422151166765.86087141.743100
X-644.709018428348265.31138-2.430.0177840.008892


Multiple Linear Regression - Regression Statistics
Multiple R0.284596384591662
R-squared0.0809951021226453
Adjusted R-squared0.0672786111095505
F-TEST (value)5.90494333028185
F-TEST (DF numerator)1
F-TEST (DF denominator)67
p-value0.0177840213312728
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation16805.5367906118
Sum Squared Residuals18922546476.9807


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1267413268631.269220751-1218.26922075110
2267366265407.7241286081958.27587139188
3264777265407.724128608-630.724128608104
4258863263473.597073323-4610.59707332306
5254844260250.051981181-5406.05198118132
6254868266697.142165465-11829.1421654648
7277267265407.72412860811859.2758713919
8285351266052.43314703619298.5668529636
9286602262184.17903646624417.8209635336
10283042264763.0151101818278.9848898202
11276687264763.0151101811923.9848898202
12277915263473.59707332314441.4029266769
13277128261539.47001803815588.5299819620
14277103265407.72412860811695.2758713919
15275037267986.5602023227050.4397976785
16270150269920.687257607229.312742393460
17267140268631.26922075-1491.26922074984
18264993267341.851183893-2348.85118389315
19287259267341.85118389319917.1488161069
20291186266052.43314703625133.5668529636
21292300264118.30609175128181.6939082486
22288186264763.0151101823422.9848898202
23281477268631.2692207512845.7307792502
24282656271210.10529446311445.8947055368
25280190266697.14216546513492.8578345352
26280408265407.72412860815000.2758713919
27276836267986.5602023228849.4397976785
28275216273144.2323497482071.76765025172
29274352270565.3962760353786.60372396511
30271311266052.4331470365258.56685296355
31289802263473.59707332326328.4029266769
32290726265407.72412860825318.2758713919
33292300265407.72412860826892.2758713919
34278506269275.9782391789230.02176082181
35269826265407.7241286084418.2758713919
36265861263473.5970733232387.40292667694
37269034260894.7609996108139.23900039033
38264176261539.4700180382636.52998196198
39255198259605.342962753-4407.34296275297
40253353260250.051981181-6897.05198118132
41246057258960.633944325-12903.6339443246
42235372261539.470018038-26167.470018038
43258556260250.051981181-1694.05198118132
44260993262184.179036466-1191.17903646636
45254663264763.01511018-10100.0151101798
46250643264763.01511018-14120.0151101798
47243422262828.888054895-19406.8880548947
48247105261539.470018038-14434.4700180380
49248541261539.470018038-12998.4700180380
50245039264763.01511018-19724.0151101798
51237080262184.179036466-25104.1790364664
52237085263473.597073323-26388.5970733231
53225554264763.01511018-39209.0151101798
54226839266052.433147036-39213.4331470364
55247934265407.724128608-17473.7241286081
56248333267341.851183893-19008.8511838931
57246969270565.396276035-23596.3962760349
58245098267986.560202322-22888.5602023215
59246263271210.105294463-24947.1052944632
60255765271210.105294463-15445.1052944632
61264319275078.359405033-10759.3594050333
62268347276367.77744189-8020.77744189002
63273046278301.904497175-5255.90449717506
64273963282428.042215116-8465.04221511649
65267430277399.311871375-9969.31187137538
66271993277334.840969533-5341.84096953254
67292710274691.53399397618018.4660060237
68295881271532.45980367724348.5401963226
69293299274498.12128844818800.8787115522


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.004355893609178650.00871178721835730.995644106390821
60.01608330486101610.03216660972203220.983916695138984
70.04102565451291350.0820513090258270.958974345487086
80.1009840231258770.2019680462517540.899015976874123
90.2047420246208270.4094840492416540.795257975379173
100.1928180199110550.385636039822110.807181980088945
110.1369492396912390.2738984793824780.863050760308761
120.09972843589295840.1994568717859170.900271564107042
130.06977693967365870.1395538793473170.930223060326341
140.04620852819196950.0924170563839390.95379147180803
150.02761365643159190.05522731286318390.972386343568408
160.01552478149577990.03104956299155980.98447521850422
170.008849767972533820.01769953594506760.991150232027466
180.005236344583727830.01047268916745570.994763655416272
190.007271496174101290.01454299234820260.992728503825899
200.01377320174124470.02754640348248940.986226798258755
210.02653010890430920.05306021780861840.97346989109569
220.03263627596322320.06527255192644630.967363724036777
230.02546148746225820.05092297492451630.974538512537742
240.01933237124939790.03866474249879580.980667628750602
250.01470170375440010.02940340750880020.9852982962456
260.01189943798376540.02379887596753090.988100562016235
270.008045392991939460.01609078598387890.99195460700806
280.004858560144328460.009717120288656930.995141439855671
290.002954044418716270.005908088837432540.997045955581284
300.001925201607280560.003850403214561110.99807479839272
310.004548910699874110.009097821399748220.995451089300126
320.01111157720428750.02222315440857500.988888422795712
330.03466860062017980.06933720124035960.96533139937982
340.03118180790077830.06236361580155660.968818192099222
350.02863164884458550.0572632976891710.971368351155415
360.02935890291905430.05871780583810860.970641097080946
370.03699836349174210.07399672698348430.963001636508258
380.04424309193523380.08848618387046760.955756908064766
390.05950954815927430.1190190963185490.940490451840726
400.07349066809213460.1469813361842690.926509331907865
410.09459435536023360.1891887107204670.905405644639766
420.1820680796801610.3641361593603220.817931920319839
430.1979202563547510.3958405127095030.802079743645248
440.2235456675618080.4470913351236160.776454332438192
450.2240991732761130.4481983465522250.775900826723887
460.2283245240066580.4566490480133160.771675475993342
470.2404128836734710.4808257673469430.759587116326529
480.2396464966911010.4792929933822020.760353503308899
490.2499466526218830.4998933052437670.750053347378117
500.2520569581661550.504113916332310.747943041833845
510.2563895916323730.5127791832647460.743610408367627
520.2588558729078690.5177117458157380.741144127092131
530.3790198115805280.7580396231610550.620980188419472
540.5469492916506060.9061014166987890.453050708349394
550.4815324559399090.9630649118798180.518467544060091
560.4314712985011720.8629425970023450.568528701498828
570.4548528283484870.9097056566969740.545147171651513
580.498949806070980.997899612141960.50105019392902
590.7023615214875030.5952769570249930.297638478512497
600.8976425063404490.2047149873191020.102357493659551
610.9390036333847580.1219927332304840.0609963666152418
620.940961849014680.1180763019706410.0590381509853206
630.8785280005652740.2429439988694530.121471999434726
640.9144908970681850.1710182058636300.0855091029318149


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level50.0833333333333333NOK
5% type I error level160.266666666666667NOK
10% type I error level280.466666666666667NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/10tbfo1258713718.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/10tbfo1258713718.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/237s31258713718.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/237s31258713718.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/625g41258713718.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258713851yli636uvdcq3pdw/625g41258713718.ps (open in new window)


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


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


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