Home » date » 2009 » Nov » 21 »

WS7(4)

*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: Sat, 21 Nov 2009 03:55:20 -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/21/t1258800966zkrb8i1kzkp5zkb.htm/, Retrieved Sat, 21 Nov 2009 11:56:18 +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/21/t1258800966zkrb8i1kzkp5zkb.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 «
9,5 7,8 9,2 9,2 10 10,9 9,6 7,8 9,5 9,2 9,2 10 9,5 7,8 9,6 9,5 9,2 9,2 9,1 7,5 9,5 9,6 9,5 9,2 8,9 7,5 9,1 9,5 9,6 9,5 9 7,1 8,9 9,1 9,5 9,6 10,1 7,5 9 8,9 9,1 9,5 10,3 7,5 10,1 9 8,9 9,1 10,2 7,6 10,3 10,1 9 8,9 9,6 7,7 10,2 10,3 10,1 9 9,2 7,7 9,6 10,2 10,3 10,1 9,3 7,9 9,2 9,6 10,2 10,3 9,4 8,1 9,3 9,2 9,6 10,2 9,4 8,2 9,4 9,3 9,2 9,6 9,2 8,2 9,4 9,4 9,3 9,2 9 8,2 9,2 9,4 9,4 9,3 9 7,9 9 9,2 9,4 9,4 9 7,3 9 9 9,2 9,4 9,8 6,9 9 9 9 9,2 10 6,6 9,8 9 9 9 9,8 6,7 10 9,8 9 9 9,3 6,9 9,8 10 9,8 9 9 7 9,3 9,8 10 9,8 9 7,1 9 9,3 9,8 10 9,1 7,2 9 9 9,3 9,8 9,1 7,1 9,1 9 9 9,3 9,1 6,9 9,1 9,1 9 9 9,2 7 9,1 9,1 9,1 9 8,8 6,8 9,2 9,1 9,1 9,1 8,3 6,4 8,8 9,2 9,1 9,1 8,4 6,7 8,3 8,8 9,2 9,1 8,1 6,6 8,4 8,3 8,8 9,2 7,7 6,4 8,1 8,4 8,3 8,8 7,9 6,3 7,7 8,1 8,4 8,3 7,9 6,2 7,9 7,7 8,1 8,4 8 6,5 7,9 7,9 7,7 8,1 7,9 6,8 8 7,9 7,9 7,7 7,6 6,8 7,9 8 7,9 7,9 7,1 6,4 7,6 7,9 8 7,9 6,8 6,1 7,1 7,6 7,9 8 6,5 5,8 6,8 7,1 7,6 7,9 6,9 6,1 6,5 6,8 7,1 7,6 8,2 7,2 6,9 6,5 6,8 7,1 8,7 7,3 8,2 6, 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t][t] = + 0.896550866003112 + 0.0673089460667498`X[t]`[t] + 1.40499954314054Y1[t] -0.52400110570065Y2[t] -0.374098836785457Y3[t] + 0.366078798454609Y4[t] -0.223823163888711M1[t] -0.429401490852397M2[t] -0.320995317768826M3[t] -0.266240827611457M4[t] -0.340227919439894M5[t] -0.113023296599354M6[t] + 0.486610505980998M7[t] -0.457802485721289M8[t] -0.434078057541609M9[t] + 0.0287063053531581M10[t] -0.170539719028066M11[t] -0.00408144041800594t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)0.8965508660031120.6965651.28710.2058430.102922
`X[t]`0.06730894606674980.0519761.2950.2031360.101568
Y11.404999543140540.1561828.995900
Y2-0.524001105700650.275272-1.90360.0645590.03228
Y3-0.3740988367854570.272264-1.3740.1774830.088742
Y40.3660787984546090.1451392.52230.0159690.007985
M1-0.2238231638887110.136939-1.63450.1104170.055209
M2-0.4294014908523970.141424-3.03630.0043110.002155
M3-0.3209953177688260.140445-2.28560.0279480.013974
M4-0.2662408276114570.139002-1.91540.0629930.031497
M5-0.3402279194398940.131747-2.58240.0137880.006894
M6-0.1130232965993540.129688-0.87150.3889520.194476
M70.4866105059809980.1359153.58030.0009590.00048
M8-0.4578024857212890.179057-2.55670.0146830.007342
M9-0.4340780575416090.191835-2.26280.0294480.014724
M100.02870630535315810.178020.16130.8727480.436374
M11-0.1705397190280660.142509-1.19670.2388380.119419
t-0.004081440418005940.003494-1.16820.2500080.125004


Multiple Linear Regression - Regression Statistics
Multiple R0.985302965025289
R-squared0.970821932887626
Adjusted R-squared0.957768587074195
F-TEST (value)74.3734171118595
F-TEST (DF numerator)17
F-TEST (DF denominator)38
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.187914623193336
Sum Squared Residuals1.34185241317596


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
19.59.54811220076473-0.0481122007647298
29.69.72976044714444-0.129760447144436
39.59.52452176365017-0.0245217636501714
49.19.24987241364975-0.149872413649753
58.98.7346179305750.165382069425006
698.933435831746990.0665641682530137
710.19.914243602658940.185756397341062
810.310.3872368053984-0.0872368053984253
910.210.00758373675470.192416263245295
109.69.85281653776541-0.252816537765412
119.29.18675636859490.0132436314050998
129.39.229702925951950.0702970740480514
139.49.55321192967871-0.153211929678711
149.49.36837515628910.0316248437109006
159.29.23645837532421-0.0364583753242111
1699.00532951260238-0.00532951260237865
1798.76747648889340.232523511106605
1899.1298342921731-0.1298342921731
199.89.700067083574910.0999329164250862
20109.782163842456110.217836157543888
219.89.670336748892050.129663251107952
229.39.45742226138556-0.157422261385556
2398.881169412169460.118830587830545
2499.04289480234236-0.0428948023423637
259.19.092755083054320.00724491694567558
269.18.946054627188340.153945372811657
279.18.874693820534110.225306179465889
289.28.89468788120160.305312118798396
298.88.98026539390133-0.180265393901325
308.38.56206507007088-0.262065070070878
318.48.64750090308469-0.24750090308469
328.18.28102349808174-0.181023498081745
337.77.85392262212873-0.153922622128725
347.97.680645881546940.219354118453061
357.98.1100254039305-0.210025403930501
3688.23169204039826-0.231692040398255
377.97.94322878748668-0.0432287874866822
387.67.6138847149118-0.0138847149117937
397.17.28477623310001-0.184776233100014
406.86.84397492268328-0.0439749226832812
416.56.66183616771515-0.161836167715152
426.96.718078281582090.181921718417913
438.28.03606088519260.163939114807396
448.78.71360232298069-0.0136023229806874
458.38.46815689222452-0.168156892224523
467.97.70911531930210.190884680697906
477.57.422048815305140.0779511846948565
487.87.595710231307430.204289768692568
498.38.062691999015550.237308000984447
508.48.44192505446633-0.0419250544663281
518.28.17954980739150.0204501926085077
527.77.80613526986298-0.106135269862983
537.27.25580401891513-0.0558040189151345
547.37.156586524426950.143413475573052
558.18.30212752548885-0.202127525488854
568.58.435973531083030.0640264689169696


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.1289722099230090.2579444198460190.87102779007699
220.06774859368522140.1354971873704430.932251406314779
230.03669329969670690.07338659939341380.963306700303293
240.02086116406943610.04172232813887210.979138835930564
250.007653725613802470.01530745122760490.992346274386197
260.002951050543712470.005902101087424950.997048949456288
270.006215278023862440.01243055604772490.993784721976138
280.2221768224733490.4443536449466990.77782317752665
290.2442669374991250.4885338749982490.755733062500875
300.1892973284495880.3785946568991760.810702671550412
310.7264183596966510.5471632806066980.273581640303349
320.7684784720757140.4630430558485720.231521527924286
330.8634948426316060.2730103147367880.136505157368394
340.8583238295904470.2833523408191070.141676170409553
350.7969548914274270.4060902171451460.203045108572573


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0666666666666667NOK
5% type I error level40.266666666666667NOK
10% type I error level50.333333333333333NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/10alti1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/10alti1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/1e3sc1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/1e3sc1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/2rlhu1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/2rlhu1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/3wt0h1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/3wt0h1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/46e321258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/46e321258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/57fho1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/57fho1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/6bdzy1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/6bdzy1258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/7tu591258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/7tu591258800914.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/8j6nq1258800914.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/21/t1258800966zkrb8i1kzkp5zkb/8j6nq1258800914.ps (open in new window)


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