Home » date » 2009 » Nov » 17 »

*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, 17 Nov 2009 12:05:28 -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/17/t1258485084dbphva40sfuqztu.htm/, Retrieved Tue, 17 Nov 2009 20:11:36 +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/17/t1258485084dbphva40sfuqztu.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 «
344744 492865 338653 480961 327532 461935 326225 456608 318672 441977 317756 439148 337302 488180 349420 520564 336923 501492 330758 485025 321002 464196 320820 460170 327032 467037 324047 460070 316735 447988 315710 442867 313427 436087 310527 431328 330962 484015 339015 509673 341332 512927 339092 502831 323308 470984 325849 471067 330675 476049 332225 474605 331735 470439 328047 461251 326165 454724 327081 455626 346764 516847 344190 525192 343333 522975 345777 518585 344094 509239 348609 512238 354846 519164 356427 517009 353467 509933 355996 509127 352487 500857 355178 506971 374556 569323 375021 579714 375787 577992 372720 565464 364431 547344 370490 554788 376974 562325 377632 560854 378205 555332 370861 543599 369167 536662 371551 542722 382842 593530 381903 610763 384502 612613 392058 611324 384359 594167 388884 595454 386586 590865 387495 589379 385705 584428 378670 573100 377367 567456 376911 569028 389827 620735 387820 628884 3872 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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 129826.971818701 + 0.425980889008533X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)129826.9718187016686.6618519.415800
X0.4259808890085330.01267833.600800


Multiple Linear Regression - Regression Statistics
Multiple R0.97037045137043
R-squared0.941618812892852
Adjusted R-squared0.940784795934178
F-TEST (value)1129.01638641790
F-TEST (DF numerator)1
F-TEST (DF denominator)70
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6012.05901187784
Sum Squared Residuals2530139749.36111


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1344744339778.0426798924965.95732010811
2338653334707.1661771343945.83382286567
3327532326602.453782858929.546217141979
4326225324333.2535871101891.74641289044
5318672318100.727200026571.272799974277
6317756316895.627265021860.372734979423
7337302337782.322214887-480.322214886969
8349420351577.287324539-2157.2873245393
9336923343452.979809369-6529.97980936856
10330758336438.352510065-5680.35251006505
11321002327565.596572906-6563.59657290631
12320820325850.597513758-5030.59751375796
13327032328775.808278580-1743.80827857956
14324047325807.999424857-1760.99942485711
15316735320661.298323856-3926.29832385601
16315710318479.850191243-2769.85019124331
17313427315591.699763765-2164.69976376547
18310527313564.456712974-3037.45671297386
19330962336008.111812166-5046.11181216643
20339015346937.929462347-7922.92946234737
21341332348324.071275181-6992.07127518114
22339092344023.368219751-4931.36821975099
23323308330457.154847496-7149.15484749624
24325849330492.511261284-4643.51126128395
25330675332614.748050324-1939.74805032445
26332225331999.631646596225.368353403866
27331735330224.9952629871510.00473701342
28328047326311.0828547761735.91714522382
29326165323530.7055922182634.29440778251
30327081323914.9403541033166.05964589682
31346764349993.916360095-3229.91636009458
32344190353548.726878871-9358.72687887079
33343333352604.327247939-9271.32724793887
34345777350734.271145191-4957.27114519141
35344094346753.053756518-2659.05375651767
36348609348030.570442654578.429557345744
37354846350980.9140799273865.08592007264
38356427350062.9252641146364.07473588603
39353467347048.6844934906418.31550651041
40355996346705.3438969499290.65610305129
41352487343182.4819448489304.51805515186
42355178345786.9291002469391.07089975369
43374556372347.6894917062208.31050829364
44375021376774.056909394-1753.05690939403
45375787376040.517818521-253.517818521334
46372720370703.8292410222016.17075897757
47364431362985.0555321881445.94446781218
48370490366156.0572699674333.94273003267
49376974369366.6752304257607.32476957535
50377632368740.0573426938891.9426573069
51378205366387.79087358811817.2091264120
52370861361389.7571028519471.24289714914
53369167358434.72767579910732.2723242013
54371551361016.1718631910534.8281368096
55382842382659.408871936182.591128064085
56381903390000.33753222-8097.33753221997
57384502390788.402176886-6286.40217688576
58392058390239.3128109541818.68718904625
59384359382930.7586982341428.24130176565
60388884383478.9961023885405.00389761167
61386586381524.1698027285061.83019727182
62387495380891.1622016626603.8377983385
63385705378782.130820186922.86917981975
64378670373956.6193094924713.38069050841
65377367371552.3831719275814.61682807257
66376911372222.0251294494688.97487055116
67389827394248.218957413-4421.21895741306
68387820397719.537221944-9899.5372219436
69387267397441.79768231-10174.7976823100
70380575390577.115655938-10002.1156559375
71372402383457.697057938-11055.6970579379
72376740384197.625862146-7457.62586214573


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.002080236794878130.004160473589756250.997919763205122
60.0003338901089036230.0006677802178072470.999666109891096
70.006335472870718830.01267094574143770.993664527129281
80.01164368225981620.02328736451963240.988356317740184
90.04312549673280360.08625099346560720.956874503267196
100.05365141467324360.1073028293464870.946348585326756
110.08392743525499890.1678548705099980.916072564745001
120.07598086048178240.1519617209635650.924019139518218
130.04518909535069260.09037819070138530.954810904649307
140.02599471672689420.05198943345378830.974005283273106
150.01849571609230670.03699143218461330.981504283907693
160.01090716771336860.02181433542673710.989092832286631
170.005950172357846230.01190034471569250.994049827642154
180.003423938974884770.006847877949769540.996576061025115
190.002656382743336330.005312765486672670.997343617256664
200.003848238109939560.007696476219879110.99615176189006
210.003452992759596360.006905985519192720.996547007240404
220.002227291053261010.004454582106522010.99777270894674
230.003084349162148960.006168698324297910.996915650837851
240.002462630513736350.00492526102747270.997537369486264
250.001590045855963440.003180091711926880.998409954144037
260.001170647268141500.002341294536282990.998829352731859
270.001009276457268620.002018552914537240.99899072354273
280.0008488302670611470.001697660534122290.99915116973294
290.0007903945769820580.001580789153964120.999209605423018
300.0008094806644765950.001618961328953190.999190519335523
310.0006342884511898150.001268576902379630.99936571154881
320.001910600900046380.003821201800092750.998089399099954
330.007065371624956870.01413074324991370.992934628375043
340.012964924427560.025929848855120.98703507557244
350.02789512723611370.05579025447222740.972104872763886
360.05867192593139890.1173438518627980.941328074068601
370.1241073197864970.2482146395729940.875892680213503
380.2392668548943460.4785337097886910.760733145105654
390.3697660876509880.7395321753019750.630233912349012
400.5349611222439090.9300777555121820.465038877756091
410.6942391983059070.6115216033881860.305760801694093
420.8164421711760730.3671156576478530.183557828823927
430.7784162194094870.4431675611810270.221583780590513
440.7491909949774140.5016180100451710.250809005022586
450.7039118517240320.5921762965519360.296088148275968
460.6677311557698780.6645376884602440.332268844230122
470.7545692565208420.4908614869583170.245430743479158
480.7533021278344980.4933957443310030.246697872165502
490.7309031927762630.5381936144474740.269096807223737
500.7161103677714570.5677792644570860.283889632228543
510.7450496060722050.5099007878555890.254950393927795
520.7242121853464690.5515756293070630.275787814653531
530.7219478333830180.5561043332339640.278052166616982
540.7048335456300860.5903329087398290.295166454369914
550.6389487610341490.7221024779317020.361051238965851
560.6680854398029430.6638291203941130.331914560197057
570.630263340989760.7394733180204790.369736659010239
580.6522056924641060.6955886150717870.347794307535894
590.5695423544701850.8609152910596310.430457645529816
600.5976884056247480.8046231887505050.402311594375252
610.5894580463600120.8210839072799760.410541953639988
620.665060068987770.6698798620244610.334939931012231
630.7534198786691470.4931602426617060.246580121330853
640.6831580356643030.6336839286713940.316841964335697
650.6466184943833950.706763011233210.353381505616605
660.8992907899551630.2014184200896750.100709210044838
670.9721258150464660.0557483699070690.0278741849535345


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.26984126984127NOK
5% type I error level240.380952380952381NOK
10% type I error level290.46031746031746NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/10bhz71258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/10bhz71258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/1zr841258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/1zr841258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/2lidu1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/2lidu1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/391qq1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/391qq1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/48xiu1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/48xiu1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/5pxk41258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/5pxk41258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/6fbjy1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/6fbjy1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/7k5es1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/7k5es1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/8glcc1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/8glcc1258484720.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/9pohb1258484720.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/17/t1258485084dbphva40sfuqztu/9pohb1258484720.ps (open in new window)


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