Home » date » 2009 » Nov » 19 »

Workshop7 Multiple regression

*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: Thu, 19 Nov 2009 13:07:34 -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/19/t12586613480qc9yzjiefy0gyp.htm/, Retrieved Thu, 19 Nov 2009 21:09:20 +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/19/t12586613480qc9yzjiefy0gyp.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 «
562325 0 560854 0 555332 0 543599 0 536662 0 542722 0 593530 0 610763 0 612613 0 611324 0 594167 0 595454 0 590865 0 589379 0 584428 0 573100 0 567456 0 569028 0 620735 0 628884 0 628232 0 612117 0 595404 0 597141 0 593408 0 590072 0 579799 0 574205 0 572775 0 572942 0 619567 0 625809 0 619916 0 587625 0 565742 0 557274 0 560576 0 548854 0 531673 0 525919 0 511038 0 498662 1 555362 1 564591 1 541657 1 527070 1 509846 1 514258 1 516922 1 507561 1 492622 1 490243 1 469357 1 477580 1 528379 1 533590 1 517945 1 506174 1 501866 1 516141 1 528222 1 532638 1 536322 1 536535 1 523597 1 536214 1 586570 1 596594 1 580523 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 time7 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = + 580812.390243902 -54846.6402439024X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)580812.3902439024715.637085123.167300
X-54846.64024390247402.627635-7.409100


Multiple Linear Regression - Regression Statistics
Multiple R0.671076763329065
R-squared0.450344022280214
Adjusted R-squared0.442140201717233
F-TEST (value)54.894426178981
F-TEST (DF numerator)1
F-TEST (DF denominator)67
p-value2.79369416489317e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation30194.8101167264
Sum Squared Residuals61085679385.0061


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1562325580812.390243903-18487.3902439027
2560854580812.390243903-19958.3902439026
3555332580812.390243902-25480.3902439024
4543599580812.390243902-37213.3902439024
5536662580812.390243902-44150.3902439024
6542722580812.390243902-38090.3902439024
7593530580812.39024390212717.6097560976
8610763580812.39024390229950.6097560976
9612613580812.39024390231800.6097560976
10611324580812.39024390230511.6097560976
11594167580812.39024390213354.6097560976
12595454580812.39024390214641.6097560976
13590865580812.39024390210052.6097560976
14589379580812.3902439028566.60975609757
15584428580812.3902439023615.60975609757
16573100580812.390243902-7712.39024390243
17567456580812.390243902-13356.3902439024
18569028580812.390243902-11784.3902439024
19620735580812.39024390239922.6097560976
20628884580812.39024390248071.6097560976
21628232580812.39024390247419.6097560976
22612117580812.39024390231304.6097560976
23595404580812.39024390214591.6097560976
24597141580812.39024390216328.6097560976
25593408580812.39024390212595.6097560976
26590072580812.3902439029259.60975609757
27579799580812.390243902-1013.39024390243
28574205580812.390243902-6607.39024390243
29572775580812.390243902-8037.39024390243
30572942580812.390243902-7870.39024390243
31619567580812.39024390238754.6097560976
32625809580812.39024390244996.6097560976
33619916580812.39024390239103.6097560976
34587625580812.3902439026812.60975609757
35565742580812.390243902-15070.3902439024
36557274580812.390243902-23538.3902439024
37560576580812.390243902-20236.3902439024
38548854580812.390243902-31958.3902439024
39531673580812.390243902-49139.3902439024
40525919580812.390243902-54893.3902439024
41511038580812.390243902-69774.3902439024
42498662525965.75-27303.75
43555362525965.7529396.25
44564591525965.7538625.25
45541657525965.7515691.25
46527070525965.751104.25
47509846525965.75-16119.75
48514258525965.75-11707.75
49516922525965.75-9043.75
50507561525965.75-18404.75
51492622525965.75-33343.75
52490243525965.75-35722.75
53469357525965.75-56608.75
54477580525965.75-48385.75
55528379525965.752413.25
56533590525965.757624.25
57517945525965.75-8020.75
58506174525965.75-19791.75
59501866525965.75-24099.75
60516141525965.75-9824.75
61528222525965.752256.25
62532638525965.756672.25
63536322525965.7510356.25
64536535525965.7510569.25
65523597525965.75-2368.75
66536214525965.7510248.25
67586570525965.7560604.25
68596594525965.7570628.25
69580523525965.7554557.25


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.09437545282947830.1887509056589570.905624547170522
60.04277807465399200.08555614930798390.957221925346008
70.2134126587582880.4268253175165760.786587341241712
80.4837493502605410.9674987005210820.516250649739459
90.6207252323039110.7585495353921780.379274767696089
100.6725870224746540.6548259550506920.327412977525346
110.6093692621344080.7812614757311840.390630737865592
120.5454331472741050.909133705451790.454566852725895
130.4647266633342530.9294533266685060.535273336665747
140.3827738894298800.7655477788597590.61722611057012
150.3000363580192580.6000727160385160.699963641980742
160.2289877852089660.4579755704179310.771012214791034
170.1761108705150500.3522217410301010.82388912948495
180.1304372068638770.2608744137277540.869562793136123
190.1843010502541910.3686021005083810.81569894974581
200.2858844130756310.5717688261512630.714115586924369
210.3831172738760770.7662345477521550.616882726123923
220.3802682575438920.7605365150877840.619731742456108
230.3231549466955480.6463098933910960.676845053304452
240.2747833438442250.549566687688450.725216656155775
250.2256504065738680.4513008131477370.774349593426132
260.1796344196728020.3592688393456030.820365580327198
270.1378663155693520.2757326311387040.862133684430648
280.1054454639012370.2108909278024750.894554536098763
290.07956175850055250.1591235170011050.920438241499447
300.05865208172762730.1173041634552550.941347918272373
310.08303442407532890.1660688481506580.916965575924671
320.1527193576476010.3054387152952010.8472806423524
330.2512306696836450.5024613393672910.748769330316355
340.2488664472824690.4977328945649380.751133552717531
350.2334225819201170.4668451638402340.766577418079883
360.2271999810550030.4543999621100060.772800018944997
370.2240904524833910.4481809049667820.775909547516609
380.2359305231817290.4718610463634580.76406947681827
390.2808098766863310.5616197533726630.719190123313669
400.3338683308097950.667736661619590.666131669190205
410.4247741074583120.8495482149166230.575225892541688
420.3877350645697120.7754701291394230.612264935430288
430.4008503301182090.8017006602364170.599149669881791
440.4278018946885710.8556037893771420.572198105311429
450.3708769378059960.7417538756119910.629123062194004
460.3063213166229010.6126426332458020.693678683377099
470.2650602338439780.5301204676879560.734939766156022
480.2157591155688950.4315182311377910.784240884431105
490.1679790560009040.3359581120018070.832020943999096
500.1372532413382850.274506482676570.862746758661715
510.1404035618628050.2808071237256100.859596438137195
520.1528963730437510.3057927460875020.847103626956249
530.3030022954012480.6060045908024950.696997704598752
540.4770633111097670.9541266222195330.522936688890233
550.3989477202393390.7978954404786780.601052279760661
560.320220557985880.640441115971760.67977944201412
570.2689858213179610.5379716426359230.731014178682039
580.2749596404122030.5499192808244070.725040359587797
590.3403113519169000.6806227038338000.6596886480831
600.3434275077095430.6868550154190860.656572492290457
610.2980077758578950.596015551715790.701992224142105
620.2453571180323400.4907142360646790.75464288196766
630.1906843376803860.3813686753607730.809315662319614
640.1492152030063490.2984304060126980.850784796993651


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 level10.0166666666666667OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/10jnpn1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/10jnpn1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/1smwt1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/1smwt1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/2bwbj1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/2bwbj1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/3pj5o1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/3pj5o1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/45zb31258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/45zb31258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/5i60x1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/5i60x1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/6o67z1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/6o67z1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/7cvlj1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/7cvlj1258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/83re91258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/83re91258661246.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/91dhn1258661246.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t12586613480qc9yzjiefy0gyp/91dhn1258661246.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