Home » date » 2009 » Nov » 18 »

*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: Wed, 18 Nov 2009 07:31:41 -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/18/t1258554808ou9noef5dsgbnm7.htm/, Retrieved Wed, 18 Nov 2009 15:33:40 +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/18/t1258554808ou9noef5dsgbnm7.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 «
785.8 35 819.3 31.3 849.4 30 880.4 31.3 900.1 33 937.2 31.3 948.9 29 952.6 28.7 947.3 28 974.2 29.7 1000.8 30.7 1032.8 24 1050.7 29 1057.3 33 1075.4 28 1118.4 28.7 1179.8 31.7 1227 34 1257.8 35.3 1251.5 27 1236.3 31.3 1170.6 38.7 1213.1 37.3 1265.5 37.3 1300.8 37.7 1348.4 34.7 1371.9 34.7 1403.3 33.7 1451.8 38.3 1474.2 38 1438.2 38.3 1513.6 42.7 1562.2 41.7 1546.2 39.7 1527.5 39.3 1418.7 39.3 1448.5 37.7 1492.1 38.3 1395.4 37.7 1403.7 37 1316.6 34.3 1274.5 29.7 1264.4 34.7 1323.9 32 1332.1 30.3 1250.2 28.3 1096.7 31.3 1080.8 17.7 1039.2 15.7 792 14.3 746.6 13.3 688.8 11 715.8 2.7 672.9 3.3 629.5 3.7 681.2 1.4 755.4 7.1 760.6 8.1 765.9 12.4 836.8 12.4 904.9 9.2
 
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
Herdiv[t] = + 105.726577629394 + 27.5215172223384handact[t] -30.9077305549567M1[t] -56.3118969397406M2[t] -35.2907042334095M3[t] -21.4849018494376M4[t] -6.61039049880582M5[t] + 9.71272774076114M6[t] -33.9403029532002M7[t] + 45.1164842309389M8[t] + 22.5052769924888M9[t] -45.7537785237274M10[t] -109.474555417731M11[t] + 8.38280450496339t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)105.72657762939481.3282041.30.1999410.09997
handact27.52151722233841.51172818.205300
M1-30.907730554956764.298413-0.48070.6329660.316483
M2-56.311896939740667.484319-0.83440.4082520.204126
M3-35.290704233409567.404271-0.52360.6030390.30152
M4-21.484901849437667.3278-0.31910.7510580.375529
M5-6.6103904988058267.258776-0.09830.9221260.461063
M69.7127277407611467.2112740.14450.8857150.442858
M7-33.940302953200267.140684-0.50550.6155630.307782
M845.116484230938967.1264860.67210.5048030.252402
M922.505276992488867.0701320.33550.7387050.369352
M10-45.753778523727467.113441-0.68170.4987510.249375
M11-109.47455541773167.261988-1.62760.1102990.05515
t8.382804504963390.9638288.697400


Multiple Linear Regression - Regression Statistics
Multiple R0.937311753740401
R-squared0.878553323699907
Adjusted R-squared0.844961689829668
F-TEST (value)26.1539324670445
F-TEST (DF numerator)13
F-TEST (DF denominator)47
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation105.977470162103
Sum Squared Residuals527867.536552091


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1785.81046.45475436124-260.654754361239
2819.3927.60377875877-108.30377875877
3849.4921.229803581025-71.8298035810251
4880.4979.196382859-98.7963828590005
5900.11049.24027799257-149.140277992571
6937.21027.15962145913-89.9596214591257
7948.9928.5899056587520.3100943412503
8952.61007.77304218115-55.1730421811506
9947.3974.279577392027-26.9795773920271
10974.2961.1899056587513.0100943412507
111000.8933.37345049204867.426549507952
121032.8866.836645025075165.963354974925
131050.7981.91930508677368.7806949132266
141057.31074.98401209631-17.6840120963064
151075.4966.78042319591108.619576804091
161118.41008.23409214048110.165907859519
171179.81114.0559596630965.7440403369086
1812271202.06137201924.9386279810000
191257.81202.5691182190455.2308817809581
201251.51061.58011696274189.919883037264
211236.31165.6942382853070.6057617146957
221170.61309.47721471936-138.877214719356
231213.11215.60911821904-2.50911821904183
241265.51333.46647814174-67.9664781417357
251300.81321.95015898068-21.1501589806779
261348.41222.36424543384126.035754566158
271371.91251.76824264514120.131757354863
281403.31246.43533231173156.864667688266
291451.81396.2916273900955.5083726099149
301474.21412.7410949679161.4589050320859
311438.21385.7273239456252.4726760543826
321513.61594.26159141301-80.661591413009
331562.21552.511671457189.6883285428162
341546.21437.59238600125108.607613998746
351527.51371.24580672328156.254193276721
361418.71489.10316664597-70.4031666459729
371448.51422.5438130402425.9561869597616
381492.11422.0353614938270.0646385061792
391395.41434.92644837171-39.5264483717124
401403.71437.84999320501-34.1499932050108
411316.61386.79921256029-70.1992125602924
421274.51284.90615608207-10.4061560820662
431264.41387.24351600476-122.84351600476
441323.91400.37501119355-76.4750111935489
451332.11339.36002918209-7.2600291820873
461250.21224.4407437261625.7592562738425
471096.71251.66732300413-154.967323004133
481080.8995.23204870302585.5679512969751
491039.2917.664088208355121.535911791645
50792862.11260221726-70.1126022172607
51746.6863.995082206217-117.395082206217
52688.8822.884199483774-134.084199483774
53715.8617.7129223939698.0870776060394
54672.9658.93175547189413.968244528106
55629.5634.670136171831-5.17013617183116
56681.2658.81023824955522.3897617504446
57755.4801.454483683398-46.0544836833976
58760.6769.099749894483-8.49974989448316
59765.9832.104301561498-66.2043015614982
60836.8949.961661484192-113.161661484192
61904.9839.36788032271665.5321196772839


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.00929966007930340.01859932015860680.990700339920697
180.004536800101479770.009073600202959540.99546319989852
190.001312350394471050.00262470078894210.99868764960553
200.000701030729157860.001402061458315720.999298969270842
210.0001424304635517360.0002848609271034710.999857569536448
220.001331016923700860.002662033847401720.998668983076299
230.0007982030348929020.001596406069785800.999201796965107
240.0004478442875746430.0008956885751492860.999552155712425
250.001030408763738380.002060817527476750.998969591236262
260.0005019233463877680.001003846692775540.999498076653612
270.0002181078319600380.0004362156639200760.99978189216804
289.0415740734423e-050.0001808314814688460.999909584259266
293.94271370946234e-057.88542741892467e-050.999960572862905
301.19423373520128e-052.38846747040255e-050.999988057662648
311.63354133621231e-053.26708267242461e-050.999983664586638
321.62294634663001e-053.24589269326002e-050.999983770536534
336.13657403089166e-050.0001227314806178330.99993863425969
340.0001050288507071210.0002100577014142430.999894971149293
350.0002973425879007480.0005946851758014970.9997026574121
360.005013467775904590.01002693555180920.994986532224095
370.03885963520862860.07771927041725720.961140364791371
380.1198130553900550.2396261107801110.880186944609945
390.4048569346625770.8097138693251540.595143065337423
400.8173809143157450.3652381713685100.182619085684255
410.9061919302859130.1876161394281740.0938080697140869
420.8987913736157940.2024172527684130.101208626384206
430.864922875023170.2701542499536590.135077124976830
440.7607939233243380.4784121533513240.239206076675662


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level180.642857142857143NOK
5% type I error level200.714285714285714NOK
10% type I error level210.75NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/10jrkd1258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/10jrkd1258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/1i6771258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/1i6771258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/2r9i11258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/2r9i11258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/3myaz1258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/3myaz1258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/49b011258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/49b011258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/5uudb1258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/5uudb1258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/6i1o31258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/6i1o31258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/7v5y91258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/7v5y91258554697.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/8xqte1258554697.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/18/t1258554808ou9noef5dsgbnm7/8xqte1258554697.ps (open in new window)


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