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 06:49:22 -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/t125872503786d3utviag5nux4.htm/, Retrieved Fri, 20 Nov 2009 14:50:49 +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/t125872503786d3utviag5nux4.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.09 0 2.11 2.05 0 2.09 2.08 0 2.05 2.06 0 2.08 2.06 0 2.06 2.08 0 2.06 2.07 0 2.08 2.06 0 2.07 2.07 0 2.06 2.06 0 2.07 2.09 0 2.06 2.07 0 2.09 2.09 0 2.07 2.28 0 2.09 2.33 0 2.28 2.35 0 2.33 2.52 0 2.35 2.63 0 2.52 2.58 0 2.63 2.70 0 2.58 2.81 0 2.70 2.97 0 2.81 3.04 0 2.97 3.28 0 3.04 3.33 0 3.28 3.50 0 3.33 3.56 0 3.50 3.57 0 3.56 3.69 0 3.57 3.82 0 3.69 3.79 0 3.82 3.96 0 3.79 4.06 0 3.96 4.05 0 4.06 4.03 0 4.05 3.94 0 4.03 4.02 0 3.94 3.88 0 4.02 4.02 0 3.88 4.03 0 4.02 4.09 0 4.03 3.99 0 4.09 4.01 0 3.99 4.01 0 4.01 4.19 0 4.01 4.30 0 4.19 4.27 0 4.30 3.82 1 4.27 3.15 1 3.82 2.49 1 3.15 1.81 1 2.49 1.26 1 1.81 1.06 1 1.26 0.84 1 1.06 0.78 1 0.84 0.70 1 0.78 0.36 1 0.70 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] = + 0.252734874848809 -0.80413602302362X[t] + 0.865561772779888Y1[t] + 0.00859069835627082t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.2527348748488090.0452195.58911e-060
X-0.804136023023620.070863-11.347800
Y10.8655617727798880.01875746.146800
t0.008590698356270820.0014655.864600


Multiple Linear Regression - Regression Statistics
Multiple R0.996265720835123
R-squared0.992545386511127
Adjusted R-squared0.992138771229916
F-TEST (value)2440.99381497532
F-TEST (DF numerator)3
F-TEST (DF denominator)55
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.101479087661148
Sum Squared Residuals0.566390287789648


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12.092.087660913770650.00233908622935031
22.052.07894037667132-0.0289403766713187
32.082.052908604116390.0270913958836053
42.062.08746615565606-0.0274661556560608
52.062.07874561855673-0.0187456185567337
62.082.08733631691300-0.00733631691300454
72.072.11323825072487-0.0432382507248734
82.062.11317333135334-0.0531733313533449
92.072.11310841198182-0.0431084119818172
102.062.13035472806589-0.0703547280658865
112.092.13028980869436-0.0402898086943589
122.072.16484736023403-0.094847360234026
132.092.1561268231347-0.0661268231346992
142.282.182028756946570.0979712430534322
152.332.35507619213102-0.0250761921310170
162.352.40694497912628-0.0569449791262825
172.522.432846912938150.0871530870618489
182.632.588583112667000.0414168873329971
192.582.69238560602906-0.112385606029061
202.72.657698215746340.0423017842536624
212.812.770156326836200.0398436731638048
222.972.873958820198250.0960411798017466
233.043.021039402199310.0189605978006934
243.283.090219424650170.189780575349830
253.333.306544948473610.0234550515263869
263.53.358413735468880.141586264531121
273.563.514149935197730.0458500648022698
283.573.57467433992079-0.00467433992079452
293.693.591920656004860.0980793439951361
303.823.704378767094720.115621232905279
313.793.82549249591238-0.0354924959123775
323.963.808116341085250.151883658914748
334.063.96385254081410.096147459185896
344.054.05899941644836-0.00899941644836286
354.034.05893449707683-0.0289344970768345
363.944.05021395997751-0.110213959977508
374.023.980904098783590.0390959012164106
383.884.05873973896225-0.178739738962251
394.023.946151789129340.0738482108706624
404.034.07592113567479-0.0459211356747917
414.094.09316745175886-0.00316745175886247
423.994.15369185648193-0.163691856481926
434.014.07572637756021-0.0657263775602087
444.014.10162831137208-0.0916283113720769
454.194.110219009728350.0797809902716529
464.34.2746108271850.0253891728150011
474.274.37841332054706-0.108413320547057
483.823.556901142696310.26309885730369
493.153.17598904330163-0.0259890433016315
502.492.60465335389538-0.114653353895377
511.812.04197328221692-0.231973282216922
521.261.46198197508287-0.201981975082869
531.060.9945136984102020.0654863015897982
540.840.8299920422104950.0100079577895047
550.780.648159150555190.131840849444809
560.70.6048161425446680.0951838574553317
570.360.544161899078548-0.184161899078548
580.350.2584615946896570.0915384053103433
590.360.2583966753181290.101603324681871


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
70.008457046097287740.01691409219457550.991542953902712
80.001320417428285320.002640834856570640.998679582571715
90.0001915965928425840.0003831931856851680.999808403407157
102.56453403692804e-055.12906807385607e-050.99997435465963
111.04763752144645e-052.09527504289289e-050.999989523624786
121.56333470366407e-063.12666940732814e-060.999998436665296
134.05246149306026e-078.10492298612051e-070.99999959475385
140.008875198452222650.01775039690444530.991124801547777
150.004162324995811360.008324649991622710.995837675004189
160.002238197331573850.00447639466314770.997761802668426
170.004119872104704330.008239744209408650.995880127895296
180.001862754797562030.003725509595124050.998137245202438
190.007906862110788960.01581372422157790.992093137889211
200.005556464167432980.01111292833486600.994443535832567
210.003257679598819750.006515359197639510.99674232040118
220.002377395881431470.004754791762862940.997622604118569
230.001424306122847830.002848612245695660.998575693877152
240.002773193213484770.005546386426969550.997226806786515
250.002564288568061640.005128577136123290.997435711431938
260.001595576000838580.003191152001677170.998404423999161
270.001149315973477460.002298631946954930.998850684026523
280.001296827304361690.002593654608723370.998703172695638
290.0006706628749552070.001341325749910410.999329337125045
300.0003813978355941820.0007627956711883640.999618602164406
310.0006700405467436140.001340081093487230.999329959453256
320.0007019020237747880.001403804047549580.999298097976225
330.0005159117702827850.001031823540565570.999484088229717
340.0005565673154923520.001113134630984700.999443432684508
350.0005993111402373350.001198622280474670.999400688859763
360.001568671466715540.003137342933431080.998431328533284
370.001093682643940950.00218736528788190.99890631735606
380.005410648602524080.01082129720504820.994589351397476
390.005015799297418310.01003159859483660.994984200702582
400.003564849848226280.007129699696452550.996435150151774
410.002693416553987260.005386833107974530.997306583446013
420.004122409756397140.008244819512794280.995877590243603
430.002394642510055160.004789285020110320.997605357489945
440.001478672840870310.002957345681740630.99852132715913
450.001556700646454380.003113401292908770.998443299353546
460.001202257567495050.002404515134990090.998797742432505
470.0007210547085883490.001442109417176700.999278945291412
480.01441396115043660.02882792230087320.985586038849563
490.04576656770246910.09153313540493830.95423343229753
500.1432222074505010.2864444149010020.856777792549499
510.2126443949082500.4252887898165010.78735560509175
520.1447951090413670.2895902180827330.855204890958633


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level350.760869565217391NOK
5% type I error level420.91304347826087NOK
10% type I error level430.934782608695652NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t125872503786d3utviag5nux4/10gm4x1258724958.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t125872503786d3utviag5nux4/10gm4x1258724958.ps (open in new window)


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


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


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


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


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


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


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


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


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