Home » date » 2009 » Nov » 19 »

*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: Thu, 19 Nov 2009 08:36:14 -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/19/t12586462321oraq5r0jvhjzwh.htm/, Retrieved Thu, 19 Nov 2009 16:57:24 +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/19/t12586462321oraq5r0jvhjzwh.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 «
2.1 0 2.0 2.4 2.0 0 2.1 2.0 1.8 0 2.0 2.1 2.7 0 1.8 2.0 2.3 0 2.7 1.8 1.9 0 2.3 2.7 2.0 0 1.9 2.3 2.3 0 2.0 1.9 2.8 0 2.3 2.0 2.4 0 2.8 2.3 2.3 0 2.4 2.8 2.7 0 2.3 2.4 2.7 0 2.7 2.3 2.9 0 2.7 2.7 3.0 0 2.9 2.7 2.2 0 3.0 2.9 2.3 0 2.2 3.0 2.8 0 2.3 2.2 2.8 0 2.8 2.3 2.8 0 2.8 2.8 2.2 0 2.8 2.8 2.6 0 2.2 2.8 2.8 0 2.6 2.2 2.5 0 2.8 2.6 2.4 0 2.5 2.8 2.3 0 2.4 2.5 1.9 0 2.3 2.4 1.7 0 1.9 2.3 2.0 0 1.7 1.9 2.1 0 2.0 1.7 1.7 0 2.1 2.0 1.8 0 1.7 2.1 1.8 0 1.8 1.7 1.8 0 1.8 1.8 1.3 0 1.8 1.8 1.3 0 1.3 1.8 1.3 0 1.3 1.3 1.2 0 1.3 1.3 1.4 0 1.2 1.3 2.2 1 1.4 1.2 2.9 1 2.2 1.4 3.1 1 2.9 2.2 3.5 1 3.1 2.9 3.6 1 3.5 3.1 4.4 1 3.6 3.5 4.1 1 4.4 3.6 5.1 1 4.1 4.4 5.8 1 5.1 4.1 5.9 1 5.8 5.1 5.4 1 5.9 5.8 5.5 1 5.4 5.9 4.8 1 5.5 5.4 3.2 1 4.8 5.5 2.7 1 3.2 4.8 2.1 1 2.7 3.2 1.9 1 2.1 2.7 0.6 1 1.9 2.1
 
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] = + 0.918381042450223 + 0.654697232943884X[t] + 1.08057771183516Y1[t] -0.255818518025034Y2[t] -0.201421589282912M1[t] -0.308680635057811M2[t] -0.200007912257289M3[t] -0.304535445515861M4[t] -0.48088115921706M5[t] -0.292490144066929M6[t] -0.403038896054930M7[t] -0.226210468212112M8[t] -0.422739955704922M9[t] -0.322312577454471M10[t] -0.0326139813926506M11[t] -0.0138870270198022t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.9183810424502230.377682.43160.0194870.009743
X0.6546972329438840.3052912.14450.0379690.018985
Y11.080577711835160.1641526.582800
Y2-0.2558185180250340.155223-1.64810.1069820.053491
M1-0.2014215892829120.336739-0.59820.5530280.276514
M2-0.3086806350578110.336817-0.91650.3647830.182391
M3-0.2000079122572890.338412-0.5910.5577520.278876
M4-0.3045354455158610.343353-0.88690.3802810.190141
M5-0.480881159217060.341655-1.40750.1668140.083407
M6-0.2924901440669290.345638-0.84620.4023350.201167
M7-0.4030388960549300.34213-1.1780.2455770.122789
M8-0.2262104682121120.34373-0.65810.5141490.257075
M9-0.4227399557049220.340734-1.24070.2217780.110889
M10-0.3223125774544710.353886-0.91080.3677340.183867
M11-0.03261398139265060.35551-0.09170.9273530.463676
t-0.01388702701980220.007196-1.92970.0605830.030291


Multiple Linear Regression - Regression Statistics
Multiple R0.931744212410473
R-squared0.868147277360413
Adjusted R-squared0.81990847639471
F-TEST (value)17.9968668370853
F-TEST (DF numerator)15
F-TEST (DF denominator)41
p-value2.00950367457153e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.499925504351956
Sum Squared Residuals10.2469459059638


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12.12.25026340655775-0.150263406557748
222.33950251215658-0.339502512156579
31.82.30064858495128-0.500648584951281
42.71.991700334108380.708299665891623
52.32.82515123764403-0.525151237644028
61.92.33718747481776-0.437187474817762
721.882848018285910.117151981714092
82.32.256174597502450.0438254024975471
92.82.344349544737880.455650455262116
102.42.89443319647860-0.494433196478605
112.32.61010442177404-0.310104421774041
122.72.623101012173390.0768989878266132
132.72.86560533240724-0.165605332407241
142.92.642131852402530.257868147597473
1532.953033090550280.0469669094497221
162.22.89151259785041-0.691512597850414
172.31.811235835858780.48876416414122
182.82.298452409592650.501547590407348
192.82.688723634699930.111276365300074
202.82.723755776510420.0762442234895748
212.22.51333926199781-0.313339261997812
222.61.951532986127360.648467013872636
232.82.81306675071847-0.0130667507184674
242.52.94558184024833-0.445581840248334
252.42.354936206790060.0450637932099351
262.32.202477918219360.0975220817806422
271.92.21478769461906-0.314787694619064
281.71.689723901409130.0102760985908709
2921.385703025531110.614296974468891
302.11.935544030816990.164455969183007
311.71.84242046758520-0.142420467585196
321.81.547548931871640.252451068128356
331.81.547517595752560.252482404247439
341.81.608476095180710.191523904819294
351.31.88428766422272-0.584287664222725
361.31.36272576267799-0.0627257626779923
371.31.275326405387790.0246735946122057
381.21.154180332593090.0458196674069067
391.41.140908257190300.259091742809703
402.21.918888324025340.281111675974658
412.92.541954049167460.358045950832536
423.13.26820762116238-0.168207621162379
433.53.180814421904090.319185578095915
443.63.72482320385616-0.124823203856159
454.43.520137053317050.879862946682951
464.14.44555772221332-0.345557722213324
475.14.192541163284770.907458836715234
485.85.368591384900290.431408615099713
495.95.653868648857150.246131351142848
505.45.46170738462844-0.0617073846284438
515.54.990622372689080.50937762731092
524.85.10817484260674-0.308174842606738
533.24.13595585179862-0.93595585179862
542.72.76060846361021-0.0606084636102141
552.12.50519345752488-0.405193457524884
561.92.14769749025932-0.247697490259319
570.61.87465654419469-1.27465654419469


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.5451952350925140.9096095298149730.454804764907486
200.3761822794285070.7523645588570140.623817720571493
210.4475942887416570.8951885774833140.552405711258343
220.3191086029786870.6382172059573730.680891397021313
230.2473620301002710.4947240602005430.752637969899729
240.281890395288370.563780790576740.71810960471163
250.2562305942187410.5124611884374830.743769405781259
260.2415977013030760.4831954026061520.758402298696924
270.4997362422173370.9994724844346750.500263757782663
280.5074936460683280.9850127078633440.492506353931672
290.4350172316785140.8700344633570290.564982768321486
300.3484812677222580.6969625354445150.651518732277742
310.3035939341219420.6071878682438830.696406065878058
320.2188569923194920.4377139846389840.781143007680508
330.1521772635307240.3043545270614480.847822736469276
340.1347805658464450.2695611316928890.865219434153555
350.1940347406531280.3880694813062550.805965259346872
360.1863839323507500.3727678647014990.81361606764925
370.1268158561333690.2536317122667370.873184143866631
380.0632610941600080.1265221883200160.936738905839992


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/16sor1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/16sor1258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/2937s1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/2937s1258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/3f1l41258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/3f1l41258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/40xhz1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/40xhz1258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/5f8yq1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/5f8yq1258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/60cw31258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/60cw31258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/7igwe1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/7igwe1258644969.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/8j30p1258644969.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586462321oraq5r0jvhjzwh/8j30p1258644969.ps (open in new window)


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