Home » date » 2010 » Dec » 14 »

regression PS

*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: Tue, 14 Dec 2010 18:55:16 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir.htm/, Retrieved Tue, 14 Dec 2010 19:57:14 +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/2010/Dec/14/t1292353034o0sfsdpbvcspwir.htm/},
    year = {2010},
}
@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 = {2010},
    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 «
6654000 5712000 -999.0 3.3 38.6 645.0 3 5 3 1000 6600 2.0 8.3 4.5 42.0 3 1 3 3385 44500 -999.0 12.5 14.0 60.0 1 1 1 .920 5700 -999.0 16.5 -999.0 25.0 5 2 3 2547000 4603000 1.8 3.9 69.0 624.0 3 5 4 10550 179500 .7 9.8 27.0 180.0 4 4 4 .023 .300 3.9 19.7 19.0 35.0 1 1 1 160000 169000 1.0 6.2 30.4 392.0 4 5 4 3300 25600 3.6 14.5 28.0 63.0 1 2 1 52160 440000 1.4 9.7 50.0 230.0 1 1 1 .425 6400 1.5 12.5 7.0 112.0 5 4 4 465000 423000 .7 3.9 30.0 281.0 5 5 5 .550 2400 2.7 10.3 -999.0 -999.0 2 1 2 187100 419000 -999.0 3.1 40.0 365.0 5 5 5 .075 1200 2.1 8.4 3.5 42.0 1 1 1 3000 25000 .0 8.6 50.0 28.0 2 2 2 .785 3500 4.1 10.7 6.0 42.0 2 2 2 .200 5000 1.2 10.7 10.4 120.0 2 2 2 1410 17500 1.3 6.1 34.0 -999.0 1 2 1 60000 81000 6.1 18.1 7.0 -999.0 1 1 1 529000 680000 .3 -999.0 28.0 400.0 5 5 5 27660 115000 .5 3.8 20.0 148.0 5 5 5 .120 1000 3.4 14.4 3.9 16.0 3 1 2 207000 406000 -999.0 12.0 39.3 252.0 1 4 1 85000 325000 1.5 6.2 41.0 310.0 1 3 1 36330 119500 -999.0 13.0 16.2 63.0 1 1 1 .101 4000 3.4 13 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 time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
PS[t] = -244.529665049594 -0.000242637461065961bowgth[t] + 0.000196998343894375brwght[t] + 0.301538779457337TS[t] + 0.184093912577121LIFESPAN[t] -0.157429661772659DRAAGTIJD[t] -30.6168396497268PRED[t] -103.669940902568Exposure[t] + 160.603410887734OverallD[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-244.529665049594116.124698-2.10580.039980.01999
bowgth-0.0002426374610659610.000159-1.5280.1324570.066229
brwght0.0001969983438943750.0001591.23510.2222380.111119
TS0.3015387794573370.2068671.45760.1508390.07542
LIFESPAN0.1840939125771210.2091860.880.3828060.191403
DRAAGTIJD-0.1574296617726590.187617-0.83910.4051820.202591
PRED-30.616839649726895.92979-0.31920.7508610.37543
Exposure-103.66994090256861.459279-1.68680.0975190.048759
OverallD160.603410887734122.574621.31030.1957610.097881


Multiple Linear Regression - Regression Statistics
Multiple R0.437155435075075
R-squared0.191104874415678
Adjusted R-squared0.0690074969689877
F-TEST (value)1.56518410478651
F-TEST (DF numerator)8
F-TEST (DF denominator)53
p-value0.157740646773758
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation384.691125735455
Sum Squared Residuals7843324.89763942


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1-999-955.615810302327-43.3841896976729
2239.5368080521380-37.5368080521380
3-999-213.367166403626-785.632833596374
4-999-304.891015454242-694.108984545758
51.8-7.888109088306899.6881090883069
60.7-126.873489633856127.573489633856
73.9-214.284921063081218.184921063081
81-302.708790302711303.708790302711
93.6-318.031648471931321.631648471931
101.4-168.268933787950169.668933787950
111.5-181.193527064841182.693527064841
120.7-179.981549641668180.681549641668
132.7-111.285538026651113.985538026651
14-999-124.964976073713-874.035023926287
152.1-221.411446252281223.511446252281
160-180.309459561999180.309459561999
174.1-193.488118024287197.588118024287
181.2-204.661978968459205.861978968459
191.3-153.406811725476154.706811725476
206.1-52.795675115563858.8956751155638
210.3-466.397332262899466.697332262899
220.5-115.474920326501115.974920326501
233.4-116.105083803601119.505083803601
24-999-528.286402890337-470.713597109663
251.5-421.538443245452423.038443245452
26-999-206.502494754286-792.497505245714
273.4-17.275552828329220.6755528283292
280.8-72.212379796489573.0123797964895
290.8-153.880299253587154.680299253587
30-999-219.910684546733-779.089315453267
31-999-513.208337581271-485.791662418729
321.437.2978341518032-35.8978341518032
332-215.665595366524217.665595366524
341.95.56923844040173-3.66923844040173
352.4-433.675306389444436.075306389444
362.8-144.588685339426147.388685339426
371.312.7215901662120-11.4215901662120
38210.6483158240167-8.64831582401667
395.6-243.120102538073248.720102538073
403.1-259.999697581963263.099697581963
411-443.238365651673444.238365651673
421.8-203.547912960806205.347912960806
430.9-138.792281541852139.692281541852
441.8-82.525757150745684.3257571507456
451.9-160.990784048345162.890784048345
460.9-110.203130405062111.103130405062
47-999-188.841246077261-810.15875392274
482.643.6738670574933-41.0738670574933
492.4-212.739029859733215.139029859733
501.2-279.538545242627280.738545242627
510.9-221.6163672933222.5163672933
520.5-91.335163793079591.8351637930795
53-999-116.900441475076-882.099558524924
540.6-110.882335594233111.482335594233
55-999-198.287367821307-800.712632178693
562.242.3760908930892-40.1760908930892
572.3-92.321377488716994.6213774887169
580.515.2209938684948-14.7209938684948
592.6-224.074809130191226.674809130191
600.6-50.720075463258151.3200754632581
616.6-244.712693142038251.312693142038
62-999-581.906770846459-417.093229153541


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
120.7383380795595270.5233238408809460.261661920440473
130.7061522297028040.5876955405943920.293847770297196
140.9315395624635060.1369208750729870.0684604375364935
150.9050518050927750.189896389814450.094948194907225
160.8527027083629630.2945945832740740.147297291637037
170.7906649401451310.4186701197097370.209335059854869
180.7286533575181120.5426932849637760.271346642481888
190.7051034881204350.5897930237591310.294896511879565
200.6639530605172050.6720938789655890.336046939482794
210.6072212395781750.785557520843650.392778760421825
220.5184376107002730.9631247785994540.481562389299727
230.4635001289035530.9270002578071060.536499871096447
240.5215836406461140.9568327187077720.478416359353886
250.5419154980840730.9161690038318540.458084501915927
260.7732643875180160.4534712249639680.226735612481984
270.7121848430380330.5756303139239330.287815156961967
280.6349682381405170.7300635237189650.365031761859483
290.5700932235420020.8598135529159950.429906776457998
300.8545142002334320.2909715995331360.145485799766568
310.8724250348995890.2551499302008220.127574965100411
320.8221442006239330.3557115987521340.177855799376067
330.7828586844142240.4342826311715520.217141315585776
340.7852611267856050.4294777464287890.214738873214395
350.790416055275930.4191678894481390.209583944724069
360.733189876405670.5336202471886590.266810123594329
370.6623726414607260.6752547170785480.337627358539274
380.6013232009479070.7973535981041850.398676799052093
390.5218455327329930.9563089345340140.478154467267007
400.4389334110809060.8778668221618110.561066588919094
410.3942322568782510.7884645137565020.605767743121749
420.3502266361355750.700453272271150.649773363864425
430.2782231013959080.5564462027918160.721776898604092
440.2046691132473420.4093382264946840.795330886752658
450.1395208737551760.2790417475103520.860479126244824
460.3995833469618280.7991666939236560.600416653038172
470.5730129997394440.8539740005211120.426987000260556
480.4498349445892860.8996698891785730.550165055410714
490.3144338625223830.6288677250447650.685566137477617
500.2058304085780580.4116608171561160.794169591421942


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level00OK
5% type I error level00OK
10% type I error level00OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/109ki1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/109ki1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/10pthc1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/10pthc1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/209ki1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/209ki1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/3t1jl1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/3t1jl1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/4t1jl1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/4t1jl1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/5t1jl1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/5t1jl1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/6la061292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/6la061292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/7ejzr1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/7ejzr1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/8ejzr1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/8ejzr1292352907.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/9ejzr1292352907.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/14/t1292353034o0sfsdpbvcspwir/9ejzr1292352907.ps (open in new window)


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