Home » date » 2009 » Nov » 20 »

Workshop 7

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Fri, 20 Nov 2009 09:57:31 -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/t1258736328pngmffjkhq0fch8.htm/, Retrieved Fri, 20 Nov 2009 17:59:00 +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/t1258736328pngmffjkhq0fch8.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 «
109 102.86 108.6 102.55 108.8 102.28 108.5 102.26 108.3 102.57 108.2 103.08 108 102.76 107.9 102.51 108 102.87 109.3 103.14 109.6 103.12 109 103.16 108.7 102.48 108.3 102.57 108.4 102.88 107.8 102.63 107.8 102.38 107.6 101.69 107.7 101.96 107.6 102.19 107.6 101.87 108.6 101.6 108.6 101.63 108.2 101.22 107.5 101.21 107.1 101.49 107 101.64 106.9 101.66 106.6 101.77 106.3 101.82 106.1 101.78 105.9 101.28 106 101.29 107.2 101.37 107.2 101.12 106.4 101.51 106.1 102.24 105.9 102.94 106.1 103.09 105.9 103.46 105.8 103.64 105.7 104.39 105.6 104.15 105.3 105.21 105.5 105.8 106.5 105.91 106.5 105.39 106.1 105.46 105.9 104.72 105.8 103.14 106.2 102.63 106.5 102.32 106.6 101.93 106.7 100.62 106.6 100.6 106.5 99.63 106.8 98.9 107.8 98.32 107.9 99.22 107.4 98.81
 
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 time6 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Werkl[t] = + 134.166581923486 -0.248752759833069Infl[t] -0.0497111330965682t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)134.1665819234865.76082723.289500
Infl-0.2487527598330690.056039-4.43894.2e-052.1e-05
t-0.04971113309656820.005107-9.73300


Multiple Linear Regression - Regression Statistics
Multiple R0.802844482462342
R-squared0.644559263020225
Adjusted R-squared0.632087658213917
F-TEST (value)51.6821429984872
F-TEST (DF numerator)2
F-TEST (DF denominator)57
p-value1.57429624891847e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.676541126903235
Sum Squared Residuals26.0893500943154


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1109108.5301619139600.469838086039677
2108.6108.5575641364120.0424358635880709
3108.8108.5750162484700.224983751529717
4108.5108.530280170570-0.0302801705703741
5108.3108.403455681926-0.103455681925560
6108.2108.226880641314-0.0268806413141198
7108108.256770391364-0.256770391364135
8107.9108.269247448226-0.369247448225828
9108108.129985321589-0.129985321589361
10109.3108.0131109433381.28688905666213
11109.6107.9683748654381.63162513456204
12109107.9087136219481.09128637805193
13108.7108.0281543655380.671845634462018
14108.3107.9560554840560.343944515943554
15108.4107.8292309954120.570769004588383
16107.8107.841708052273-0.0417080522733249
17107.8107.854185109135-0.054185109135024
18107.6107.976113380323-0.376113380323276
19107.7107.859239002072-0.159239002071771
20107.6107.752314734214-0.152314734213605
21107.6107.782204484264-0.182204484263617
22108.6107.7996565963220.80034340367802
23108.6107.7424828804300.85751711956958
24108.2107.7947603788650.4052396211346
25107.5107.747536773367-0.247536773367167
26107.1107.628174867517-0.528174867517344
27107107.541150820446-0.541150820445809
28106.9107.486464632153-0.586464632152574
29106.6107.409390695474-0.80939069547438
30106.3107.347241924386-1.04724192438616
31106.1107.307480901683-1.20748090168291
32105.9107.382146148503-1.48214614850287
33106107.329947487808-1.32994748780797
34107.2107.260336133925-0.060336133924756
35107.2107.272813190786-0.0728131907864551
36106.4107.126088481355-0.726088481354987
37106.1106.894787833580-0.794787833580292
38105.9106.670949768601-0.770949768600563
39106.1106.583925721529-0.483925721529045
40105.9106.442176067294-0.542176067294232
41105.8106.347689437428-0.547689437427718
42105.7106.111413734456-0.411413734456342
43105.6106.121403263720-0.521403263719718
44105.3105.8080142052-0.508014205200097
45105.5105.611538943802-0.111538943802013
46106.5105.5344650071240.965534992876192
47106.5105.6141053091400.885894690859565
48106.1105.5469814828560.553018517144441
49105.9105.6813473920350.218652607964551
50105.8106.024665619475-0.224665619475139
51106.2106.1018183938930.0981816061065688
52106.5106.1292206163450.370779383654882
53106.6106.1765230595830.423476940416551
54106.7106.4526780418680.247321958131807
55106.6106.4079419639680.192058036031702
56106.5106.599521007910-0.0995210079098005
57106.8106.7313993894910.0686006105086267
58107.8106.8259648570980.974035142902012
59107.9106.5523762401521.34762375984835
60107.4106.6046537385870.795346261413363


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
60.01218720652892170.02437441305784330.987812793471078
70.002099413170388170.004198826340776340.997900586829612
80.0003214871431665750.000642974286333150.999678512856833
90.0002066763363573910.0004133526727147820.999793323663643
100.1295245515545900.2590491031091800.87047544844541
110.3520750615469390.7041501230938770.647924938453061
120.3222110872631910.6444221745263830.677788912736809
130.2906255910544940.5812511821089870.709374408945507
140.2358608763123160.4717217526246320.764139123687684
150.2129801920814560.4259603841629120.787019807918544
160.2049787266008910.4099574532017820.795021273399109
170.1584628950360110.3169257900720220.841537104963989
180.1144201655217610.2288403310435220.885579834478239
190.0804719444903660.1609438889807320.919528055509634
200.05814013473412210.1162802694682440.941859865265878
210.03976258013452890.07952516026905780.960237419865471
220.2035049376505740.4070098753011480.796495062349426
230.5084624656619860.9830750686760280.491537534338014
240.7101440322669060.5797119354661870.289855967733094
250.7459755867713750.508048826457250.254024413228625
260.7892198787625410.4215602424749180.210780121237459
270.8338182748265440.3323634503469110.166181725173456
280.8673522399280960.2652955201438070.132647760071904
290.8934426126681040.2131147746637920.106557387331896
300.9121732773329010.1756534453341970.0878267226670987
310.9224167535136790.1551664929726430.0775832464863214
320.937617901513170.1247641969736590.0623820984868295
330.9395322356507090.1209355286985830.0604677643492913
340.9604369107215510.07912617855689720.0395630892784486
350.9863118381193730.0273763237612550.0136881618806275
360.982536863778520.03492627244296030.0174631362214801
370.9764722583810640.04705548323787150.0235277416189357
380.9664831351247080.06703372975058380.0335168648752919
390.961190564260880.0776188714782410.0388094357391205
400.9518746681302140.09625066373957250.0481253318697863
410.9421532280060620.1156935439878770.0578467719939383
420.9313398305749710.1373203388500580.0686601694250288
430.926553978050070.1468920438998590.0734460219499297
440.8876100491238750.2247799017522510.112389950876125
450.8398686324703850.3202627350592290.160131367529615
460.9155204860091230.1689590279817540.0844795139908772
470.9727698044750540.05446039104989130.0272301955249456
480.9620190324782460.0759619350435070.0379809675217535
490.9302681871884430.1394636256231140.0697318128115571
500.888200958039540.2235980839209190.111799041960459
510.8243073258525180.3513853482949640.175692674147482
520.7625700496363620.4748599007272750.237429950363638
530.6953779649428280.6092440701143440.304622035057172
540.621456883009520.757086233980960.37854311699048


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level30.0612244897959184NOK
5% type I error level70.142857142857143NOK
10% type I error level140.285714285714286NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258736328pngmffjkhq0fch8/10bev91258736244.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t1258736328pngmffjkhq0fch8/10bev91258736244.ps (open in new window)


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


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


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


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


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


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


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


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


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


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