Home » date » 2010 » Nov » 29 »

Workshop 8 - Model 2

*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: Mon, 29 Nov 2010 20:09:40 +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/Nov/29/t1291061338ku0fed9ftvkorjt.htm/, Retrieved Mon, 29 Nov 2010 21:09:08 +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/Nov/29/t1291061338ku0fed9ftvkorjt.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 «
9700 0 9081 0 9084 0 9743 0 8587 0 9731 0 9563 0 9998 0 9437 0 10038 0 9918 0 9252 0 9737 0 9035 0 9133 0 9487 0 8700 0 9627 0 8947 0 9283 0 8829 0 9947 1 9628 1 9318 1 9605 1 8640 1 9214 1 9567 1 8547 1 9185 1 9470 1 9123 1 9278 1 10170 1 9434 1 9655 1 9429 1 8739 1 9552 1 9687 1 9019 1 9672 1 9206 1 9069 1 9788 1 10312 1 10105 1 9863 1 9656 1 9295 1 9946 1 9701 1 9049 1 10190 1 9706 1 9765 1 9893 1 9994 1 10433 1 10073 1 10112 1 9266 1 9820 1 10097 1 9115 1 10411 1 9678 1 10408 1 10153 1 10368 1 10581 1 10597 1 10680 1 9738 1 9556 1
 
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 time13 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Monthly_births[t] = + 9394.56324695302 -401.305821796236Dummy[t] + 92.0419582635944M1[t] -657.549905336646M2[t] -316.284626079755M3[t] -6.62558530689533M4[t] -901.574591764287M5[t] + 47.4764017783186M6[t] -344.305938012408M7[t] -182.421611136468M8[t] -244.537284260528M9[t] + 380.064679581452M10[t] + 240.949006457393M11[t] + 17.4490064573931t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)9394.56324695302126.03059474.541900
Dummy-401.305821796236110.821847-3.62120.0005980.000299
M192.0419582635944149.1340460.61720.5394160.269708
M2-657.549905336646149.133792-4.40914.3e-052.1e-05
M3-316.284626079755149.168548-2.12030.0380540.019027
M4-6.62558530689533155.004069-0.04270.9660450.483022
M5-901.574591764287154.963297-5.81800
M647.4764017783186154.9562160.30640.7603540.380177
M7-344.305938012408154.98283-2.22160.0300330.015016
M8-182.421611136468155.043122-1.17660.2439320.121966
M9-244.537284260528155.137054-1.57630.1201370.060068
M10380.064679581452154.5875412.45860.0168030.008401
M11240.949006457393154.5368651.55920.124130.062065
t17.44900645739312.2851087.63600


Multiple Linear Regression - Regression Statistics
Multiple R0.87560757853449
R-squared0.766688631587034
Adjusted R-squared0.716966536679353
F-TEST (value)15.4194756478089
F-TEST (DF numerator)13
F-TEST (DF denominator)61
p-value1.13242748511766e-14
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation267.636437453185
Sum Squared Residuals4369385.02181058


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
197009504.05421167407195.945788325931
290818771.91135453116309.08864546884
390849130.62564024545-46.6256402454448
497439457.7336874757285.266312524301
585878580.23368747576.76631252430321
697319546.7336874757184.266312524302
795639172.40035414237390.599645857634
899989351.7336874757646.266312524301
994379307.06702080903129.932979190968
10100389949.117991108488.8820088915959
1199189827.4513244417490.5486755582625
1292529603.95132444174-351.951324441737
1397379713.4422891627323.5577108372739
1490358981.2994320198853.7005679801232
1591339340.01371773416-207.013717734163
1694879667.12176496441-180.121764964415
1787008789.62176496441-89.6217649644153
1896279756.12176496441-129.121764964415
1989479381.78843163108-434.788431631081
2092839561.12176496441-278.121764964415
2188299516.45509829775-687.455098297748
2299479757.20024680088189.799753199114
2396289635.53358013422-7.5335801342187
2493189412.03358013422-94.0335801342194
2596059521.5245448552183.4754551447925
2686408789.38168771236-149.381687712359
2792149148.0959734266565.9040265733554
2895679475.204020656991.7959793431038
2985478597.7040206569-50.7040206568965
3091859564.2040206569-379.204020656896
3194709189.87068732356280.129312676437
3291239369.2040206569-246.204020656896
3392789324.53735399023-46.5373539902296
34101709966.5883242896203.411675710398
3594349844.92165762294-410.921657622936
3696559621.4216576229433.5783423770639
3794299730.91262234392-301.912622343924
3887398998.76976520108-259.769765201076
3995529357.48405091536194.515949084639
4096879684.592098145612.4079018543869
4190198807.09209814561211.907901854387
4296729773.59209814561-101.592098145613
4392069399.25876481228-193.258764812280
4490699578.59209814561-509.592098145613
4597889533.92543147895254.074568521054
461031210175.9764017783136.023598221681
471010510054.309735111750.6902648883475
4898639830.8097351116532.1902648883470
4996569940.30069983264-284.300699832641
5092959208.1578426897986.8421573102074
5199469566.87212840408379.127871595922
5297019893.98017563433-192.98017563433
5390499016.4801756343332.5198243656698
54101909982.98017563433207.01982436567
5597069608.64684230197.3531576990037
5697659787.98017563433-22.9801756343301
5798939743.31350896766149.686491032337
58999410385.3644792670-391.364479267036
591043310263.6978126004169.302187399631
601007310040.197812600432.8021873996302
611011210149.6887773214-37.688777321358
6292669417.54592017851-151.545920178510
6398209776.260205892843.7397941072049
641009710103.3682531230-6.3682531230469
6591159225.86825312305-110.868253123047
661041110192.3682531230218.631746876953
6796789818.03491978971-140.034919789713
68104089997.36825312305410.631746876953
69101539952.70158645638200.29841354362
701036810594.7525567558-226.752556755753
711058110473.0858900891107.914109910914
721059710249.5858900891347.414109910913
731068010359.0768548101320.923145189925
7497389626.93399766723111.066002332773
7595569985.6482833815-429.648283381512


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1292099095228890.2584198190457790.87079009047711
180.05839429852741690.1167885970548340.941605701472583
190.3320658647615550.6641317295231110.667934135238444
200.5766587596578130.8466824806843750.423341240342187
210.5854660428365420.8290679143269160.414533957163458
220.4958270549004490.9916541098008980.504172945099551
230.4034130013268750.8068260026537490.596586998673125
240.3391891625540080.6783783251080160.660810837445992
250.2698921352668880.5397842705337770.730107864733112
260.2235399196085080.4470798392170160.776460080391492
270.2274405852349700.4548811704699400.77255941476503
280.1809673203166900.3619346406333810.81903267968331
290.1268736909858110.2537473819716220.873126309014189
300.1590520393455350.3181040786910690.840947960654465
310.228731133553830.457462267107660.77126886644617
320.2385994142765010.4771988285530030.761400585723499
330.2327630973704460.4655261947408930.767236902629554
340.3229424159926550.645884831985310.677057584007345
350.3278783182616760.6557566365233520.672121681738324
360.4200428419612980.8400856839225950.579957158038702
370.3649283931159110.7298567862318220.635071606884089
380.3133256988831860.6266513977663710.686674301116814
390.4419721245855520.8839442491711050.558027875414448
400.3947190084921810.7894380169843630.605280991507819
410.4729935203079280.9459870406158560.527006479692072
420.4391075787860230.8782151575720460.560892421213977
430.3642892026449120.7285784052898250.635710797355088
440.5806249308786980.8387501382426040.419375069121302
450.6450528582076860.7098942835846280.354947141792314
460.7171927939825260.5656144120349490.282807206017474
470.68008081067390.63983837865220.3199191893261
480.6387350972699150.7225298054601710.361264902730085
490.6815200478377350.636959904324530.318479952162265
500.6153057446026490.7693885107947020.384694255397351
510.8607012524673850.2785974950652300.139298747532615
520.7987938713758850.4024122572482310.201206128624115
530.7445624759980560.5108750480038880.255437524001944
540.6720214188293370.6559571623413260.327978581170663
550.6580059645112270.6839880709775460.341994035488773
560.6279941629877210.7440116740245570.372005837012279
570.4905398429427820.9810796858855640.509460157057218
580.3535629350201450.707125870040290.646437064979855


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/Nov/29/t1291061338ku0fed9ftvkorjt/102ls61291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/102ls61291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/1vkwu1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/1vkwu1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/2vkwu1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/2vkwu1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/3vkwu1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/3vkwu1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/46bvf1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/46bvf1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/56bvf1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/56bvf1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/66bvf1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/66bvf1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/7z2ui1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/7z2ui1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/8rutl1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/8rutl1291061366.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/9rutl1291061366.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Nov/29/t1291061338ku0fed9ftvkorjt/9rutl1291061366.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