Home » date » 2009 » Nov » 26 »

WS 7: Multiple Regression

*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, 26 Nov 2009 11:26:06 -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/26/t1259260027uzo06mp1lnzhd9u.htm/, Retrieved Thu, 26 Nov 2009 19:27:19 +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/26/t1259260027uzo06mp1lnzhd9u.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 «
7.7 10 8.1 7.5 9.2 7.7 7.6 9.2 7.5 7.8 9.5 7.6 7.8 9.6 7.8 7.8 9.5 7.8 7.5 9.1 7.8 7.5 8.9 7.5 7.1 9 7.5 7.5 10.1 7.1 7.5 10.3 7.5 7.6 10.2 7.5 7.7 9.6 7.6 7.7 9.2 7.7 7.9 9.3 7.7 8.1 9.4 7.9 8.2 9.4 8.1 8.2 9.2 8.2 8.2 9 8.2 7.9 9 8.2 7.3 9 7.9 6.9 9.8 7.3 6.6 10 6.9 6.7 9.8 6.6 6.9 9.3 6.7 7 9 6.9 7.1 9 7 7.2 9.1 7.1 7.1 9.1 7.2 6.9 9.1 7.1 7 9.2 6.9 6.8 8.8 7 6.4 8.3 6.8 6.7 8.4 6.4 6.6 8.1 6.7 6.4 7.7 6.6 6.3 7.9 6.4 6.2 7.9 6.3 6.5 8 6.2 6.8 7.9 6.5 6.8 7.6 6.8 6.4 7.1 6.8 6.1 6.8 6.4 5.8 6.5 6.1 6.1 6.9 5.8 7.2 8.2 6.1 7.3 8.7 7.2 6.9 8.3 7.3 6.1 7.9 6.9 5.8 7.5 6.1 6.2 7.8 5.8 7.1 8.3 6.2 7.7 8.4 7.1 7.9 8.2 7.7 7.7 7.7 7.9 7.4 7.2 7.7 7.5 7.3 7.4 8 8.1 7.5 8.1 8.5 8
 
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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -0.88950701685654 + 0.158263453991724X[t] + 0.876561943359466Y1[t] -0.0350224769283598M1[t] + 0.092789946679895M2[t] + 0.376979718036177M3[t] + 0.488008591198092M4[t] + 0.305502721955216M5[t] + 0.144327901969933M6[t] + 0.107961277896045M7[t] + 0.0473536395035613M8[t] + 0.0293919203823168M9[t] + 0.447288199200505M10[t] + 0.0349018923450704M11[t] + 0.00764007758049221t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.889507016856540.85323-1.04250.3028660.151433
X0.1582634539917240.0871691.81560.0762510.038126
Y10.8765619433594660.07770111.281200
M1-0.03502247692835980.190307-0.1840.8548340.427417
M20.0927899466798950.1949130.47610.6363890.318194
M30.3769797180361770.1920011.96340.0559360.027968
M40.4880085911980920.1896462.57330.0135220.006761
M50.3055027219552160.1928671.5840.1203530.060177
M60.1443279019699330.1982840.72790.4705390.23527
M70.1079612778960450.2025310.53310.5966730.298337
M80.04735363950356130.2075770.22810.8206050.410303
M90.02939192038231680.2019120.14560.8849270.442464
M100.4472881992005050.1887562.36970.0222550.011128
M110.03490189234507040.1910650.18270.8558960.427948
t0.007640077580492210.003991.91490.0620240.031012


Multiple Linear Regression - Regression Statistics
Multiple R0.92753981229745
R-squared0.860330103396789
Adjusted R-squared0.815889681750313
F-TEST (value)19.3591795829643
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value2.48689957516035e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.280712364207064
Sum Squared Residuals3.46717498242365


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.77.7658968649245-0.065896864924496
27.57.424113825576080.0758861744239167
37.67.540631285840970.0593687141590346
47.87.794435467116840.00556453288316393
57.87.81070840952552-0.0107084095255172
67.87.641347321721550.158652678278446
77.57.54931539363147-0.0493153936314696
87.57.20172655901330.298273440986706
97.17.20723126287171-0.107231262871714
107.57.45623264131750.0437673586824969
117.57.43376388018470.0662361198153081
127.67.390675720020940.209324279979058
137.77.355991442613990.344008557386014
147.77.515794756541990.184205243458009
157.97.823450950877940.0765490491220631
168.18.13325863569141-0.0332586356914102
178.28.133705232700920.0662947672990804
188.28.036173993833730.16382600616627
198.27.975794756541990.224205243458010
207.97.92282719573-0.0228271957299975
217.37.64953697118141-0.349536971181407
226.97.67574692475779-0.775746924757786
236.66.9520286089374-0.352028608937403
246.76.630145520366640.069854479633361
256.96.611287588358860.288712411641143
2676.874573442021980.125426557978020
277.17.2540594852947-0.154059485294701
287.27.47621097577223-0.276210975772226
297.17.38900137844579-0.28900137844579
306.97.14781044170505-0.247810441705051
3176.959597851938940.0404021480610638
326.86.9309811038662-0.130981103866202
336.46.6662153466577-0.266215346657694
346.76.75695327111176-0.0569532711117606
356.66.567696588647140.0323034113528587
366.46.389473197949930.0105268020500740
376.36.218431100728510.081568899271489
386.26.26622740758131-0.066227407581311
396.56.486227407581310.0137725924186891
406.86.85203859593239-0.0520385959323855
416.86.89266235108032-0.0926623510803243
426.46.65999588167967-0.259995881679671
436.16.23316552164497-0.133165521644974
445.85.86975034162762-0.0697503416276246
456.15.659765498675720.440234501324278
467.26.554012928271480.645987071728518
477.37.192616563687810.107383436312185
486.97.1897055616625-0.289705561662493
496.16.74839300337415-0.648393003374151
505.86.11929056827864-0.319290568278635
516.26.195630870405090.00436912959491395
527.16.744056325487140.355943674512858
537.77.373922628247450.326077371752551
547.97.714672361060.185327638940007
557.77.78212647624263-0.0821264762426299
567.47.47471479976288-0.0747147997628828
577.57.217250920613460.282749079386536
5887.857054234541470.142945765458531
598.17.953894358542950.146105641457051


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.000968504570836870.001937009141673740.999031495429163
190.02130929709689570.04261859419379140.978690702903104
200.01502443847304600.03004887694609210.984975561526954
210.009516122424779070.01903224484955810.990483877575221
220.4130758259830750.8261516519661510.586924174016925
230.5750702537286740.8498594925426520.424929746271326
240.4652515211534170.9305030423068340.534748478846583
250.4970020039762350.994004007952470.502997996023765
260.5372266401495460.9255467197009070.462773359850453
270.5002862796885970.9994274406228060.499713720311403
280.419463965184020.838927930368040.58053603481598
290.3605781791023440.7211563582046880.639421820897656
300.3293892440549770.6587784881099550.670610755945023
310.2435850076486440.4871700152972890.756414992351356
320.1745563312578770.3491126625157550.825443668742123
330.2898044296672980.5796088593345960.710195570332702
340.5928923055492750.814215388901450.407107694450725
350.4995866753391490.9991733506782980.500413324660851
360.6288212059067240.7423575881865510.371178794093276
370.9608005379113280.07839892417734430.0391994620886722
380.951269722667190.0974605546656210.0487302773328105
390.9454622794989590.1090754410020830.0545377205010413
400.9038364423814780.1923271152370440.0961635576185218
410.8771399354567740.2457201290864520.122860064543226


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0416666666666667NOK
5% type I error level40.166666666666667NOK
10% type I error level60.25NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/107t651259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/107t651259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/19xf31259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/19xf31259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/2umip1259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/2umip1259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/34da41259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/34da41259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/4owua1259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/4owua1259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/5kfbt1259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/5kfbt1259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/60a9o1259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/60a9o1259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/7tft71259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/7tft71259259959.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/859og1259259959.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/26/t1259260027uzo06mp1lnzhd9u/859og1259259959.ps (open in new window)


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