Home » date » 2009 » Nov » 20 »

WS7 Multiple Regression5

*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 10:52:33 -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/t1258739613gjonqgxg195ln40.htm/, Retrieved Fri, 20 Nov 2009 18:53:45 +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/t1258739613gjonqgxg195ln40.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.08 1.00 2.05 2.09 2.06 1.00 2.08 2.05 2.06 1.00 2.06 2.08 2.08 1.00 2.06 2.06 2.07 1.00 2.08 2.06 2.06 1.00 2.07 2.08 2.07 1.00 2.06 2.07 2.06 1.00 2.07 2.06 2.09 1.00 2.06 2.07 2.07 1.00 2.09 2.06 2.09 1.00 2.07 2.09 2.28 1.25 2.09 2.07 2.33 1.25 2.28 2.09 2.35 1.25 2.33 2.28 2.52 1.50 2.35 2.33 2.63 1.50 2.52 2.35 2.58 1.50 2.63 2.52 2.70 1.75 2.58 2.63 2.81 1.75 2.70 2.58 2.97 2.00 2.81 2.70 3.04 2.00 2.97 2.81 3.28 2.25 3.04 2.97 3.33 2.25 3.28 3.04 3.50 2.50 3.33 3.28 3.56 2.50 3.50 3.33 3.57 2.50 3.56 3.50 3.69 2.75 3.57 3.56 3.82 2.75 3.69 3.57 3.79 2.75 3.82 3.69 3.96 3.00 3.79 3.82 4.06 3.00 3.96 3.79 4.05 3.00 4.06 3.96 4.03 3.00 4.05 4.06 3.94 3.00 4.03 4.05 4.02 3.00 3.94 4.03 3.88 3.00 4.02 3.94 4.02 3.00 3.88 4.02 4.03 3.00 4.02 3.88 4.09 3.00 4.03 4.02 3.99 3.00 4.09 4.03 4.01 3.00 3.99 4.09 4.01 3.00 4.01 3.99 4.19 3.25 4.01 4.01 4.30 3.25 4.19 4.01 4.27 3.25 4.30 4.19 3.82 3.25 4.27 4.30 3.15 2.75 3.82 4.27 2.49 2.00 3.15 3.82 1.81 1.00 2.49 3 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.599180932557525 + 0.690170760852934X[t] + 0.799964668425404`Y-1`[t] -0.415248318667088`Y-2`[t] + 0.0905745590290102M1[t] + 0.0163192906230318M2[t] + 0.105507076694788M3[t] + 0.0676117496179909M4[t] + 0.0712801719111382M5[t] + 0.0656905940929301M6[t] + 0.00799840973995277M7[t] + 0.0361116251349147M8[t] + 0.0549776843366118M9[t] -0.0445931299432913M10[t] -0.0115226106672737M11[t] -0.00761139671202985t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.5991809325575250.1163115.15157e-064e-06
X0.6901707608529340.1177265.86251e-060
`Y-1`0.7999646684254040.1795964.45436.6e-053.3e-05
`Y-2`-0.4152483186670880.110474-3.75880.0005460.000273
M10.09057455902901020.0732311.23680.2233630.111682
M20.01631929062303180.0722250.2260.822390.411195
M30.1055070766947880.0715391.47480.1480910.074046
M40.06761174961799090.0752840.89810.3745110.187255
M50.07128017191113820.0740970.9620.3418380.170919
M60.06569059409293010.0728070.90230.3723220.186161
M70.007998409739952770.074430.10750.9149590.45748
M80.03611162513491470.0739090.48860.6277980.313899
M90.05497768433661180.0775430.7090.4824370.241218
M10-0.04459312994329130.07592-0.58740.5602570.280128
M11-0.01152261066727370.075387-0.15280.8792880.439644
t-0.007611396712029850.001516-5.01951.1e-056e-06


Multiple Linear Regression - Regression Statistics
Multiple R0.996738388731846
R-squared0.993487415571757
Adjusted R-squared0.991045196411166
F-TEST (value)406.796994963937
F-TEST (DF numerator)15
F-TEST (DF denominator)40
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.105929688689683
Sum Squared Residuals0.44884395783573


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12.082.14437343998530-0.0643734399853037
22.062.10311564766674-0.0431156476667425
32.062.15623529409795-0.0962352940979458
42.082.11903353668246-0.0390335366824608
52.072.13108985563209-0.0610898556320865
62.062.10158426804425-0.0415842680442524
72.072.032433523481660.0375664765183375
82.062.06508747203552-0.00508747203551918
92.092.064190004654260.0258099953457381
102.071.985159216901760.0848407830982383
112.091.982161596537230.107838403462771
122.282.182919760447560.0970802395524438
132.332.40957124339202-0.079571243392021
142.352.288805631148540.0611943688514634
152.522.53816158815665-0.0181615881566496
162.632.62034389162680.00965610837320004
172.582.63380481656131-0.0538048165613066
182.72.70747098376965-0.00747098376965239
192.812.758925578849050.0510744211509518
202.972.99013640303196-0.0201364030319573
213.043.08370809741631-0.0437080974163098
223.283.138626372440650.141373627559345
233.333.327009633120040.00299036687995733
243.53.443802174229690.0561978257703104
253.563.64199691424563-0.081996914245634
263.573.537535915059740.0324640849402547
273.693.77473974219693-0.0847397421969333
283.823.82107629543248-0.00107629543248452
293.793.87129892966885-0.0812989296688536
303.963.952659423872370.0073405761276342
314.064.035807285999690.0241927140003100
324.054.06571335735176-0.0157133573517571
334.034.027443541290460.00255645870953857
343.943.908414520116690.0315854798833081
354.023.870181788895730.149818211104265
363.883.97546252500505-0.0954625250050485
374.023.913210768249110.106789231750894
384.034.001473921324050.0285260786759544
394.094.032915192754630.0570848072453656
403.994.03125386588466-0.0412538658846602
414.013.922399525503210.0876004744967872
424.013.966722676208190.0432773237918087
434.194.065656818983080.124343181016924
444.34.230152277982580.0698477220174186
454.274.254658356638970.0153416433610332
463.824.07779989054089-0.257799890540892
473.153.41064698144699-0.260646981446994
482.492.54781554031771-0.0578155403177057
491.811.690847634127940.119152365872065
501.261.33906888480093-0.07906888480093
511.060.9179481827938370.142051817206163
520.840.7682924103735940.0717075896264055
530.780.671406872634540.108593127365460
540.70.701562648105538-0.00156264810553799
550.360.597176792686524-0.237176792686524
560.350.378910489598185-0.028910489598185


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.01433843467414440.02867686934828870.985661565325856
200.002529299989600380.005058599979200760.9974707000104
210.0004688397016436760.0009376794032873530.999531160298356
220.0005129492999288060.001025898599857610.999487050700071
239.58819342595953e-050.0001917638685191910.99990411806574
242.08509321733568e-054.17018643467136e-050.999979149067827
254.62565115711951e-069.25130231423902e-060.999995374348843
267.49288453113313e-071.49857690622663e-060.999999250711547
276.8412628114168e-071.36825256228336e-060.999999315873719
281.29571307738209e-072.59142615476419e-070.999999870428692
296.43024642337561e-081.28604928467512e-070.999999935697536
302.03833527143946e-084.07667054287893e-080.999999979616647
314.24973295087452e-098.49946590174904e-090.999999995750267
322.80244334143799e-095.60488668287597e-090.999999997197557
337.76124823151533e-091.55224964630307e-080.999999992238752
342.44315118144257e-074.88630236288515e-070.999999755684882
355.04340426487219e-071.00868085297444e-060.999999495659573
361.25946645896411e-052.51893291792822e-050.99998740533541
373.73895208304896e-067.47790416609791e-060.999996261047917


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


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


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


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


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


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


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


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


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


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