Home » date » 2009 » Dec » 14 »

*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, 14 Dec 2009 08:04:18 -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/Dec/14/t1260803138nvh8wzwoggg7tl1.htm/, Retrieved Mon, 14 Dec 2009 16:05:50 +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/Dec/14/t1260803138nvh8wzwoggg7tl1.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 «
101.9 436 443 448 460 467 106.2 431 436 443 448 460 81 484 431 436 443 448 94.7 510 484 431 436 443 101 513 510 484 431 436 109.4 503 513 510 484 431 102.3 471 503 513 510 484 90.7 471 471 503 513 510 96.2 476 471 471 503 513 96.1 475 476 471 471 503 106 470 475 476 471 471 103.1 461 470 475 476 471 102 455 461 470 475 476 104.7 456 455 461 470 475 86 517 456 455 461 470 92.1 525 517 456 455 461 106.9 523 525 517 456 455 112.6 519 523 525 517 456 101.7 509 519 523 525 517 92 512 509 519 523 525 97.4 519 512 509 519 523 97 517 519 512 509 519 105.4 510 517 519 512 509 102.7 509 510 517 519 512 98.1 501 509 510 517 519 104.5 507 501 509 510 517 87.4 569 507 501 509 510 89.9 580 569 507 501 509 109.8 578 580 569 507 501 111.7 565 578 580 569 507 98.6 547 565 578 580 569 96.9 555 547 565 578 580 95.1 562 555 547 565 578 97 561 562 555 547 565 112.7 555 561 562 555 547 102.9 544 555 561 562 555 97.4 537 544 555 561 562 111.4 543 537 544 555 561 87.4 594 543 537 544 555 96.8 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 time5 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -92.3660600861995 + 0.362630771674071X[t] + 1.14703119955930`Y(t-1)`[t] -0.110653706293974`Y(t-2)`[t] -0.103815643244524`Y(t-3)`[t] + 0.183897872205844`Y(t-4)`[t] + 1.43317238272469M1[t] + 6.22529402508988M2[t] + 67.9438754681637M3[t] + 15.8729539109853M4[t] + 2.56701819620161M5[t] -2.37172747838859M6[t] -13.0528345870745M7[t] + 9.09459620655353M8[t] + 6.3060061917542M9[t] + 2.08728280715477M10[t] -2.22348237189695M11[t] -0.410683199025563t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-92.366060086199540.930368-2.25670.0284320.014216
X0.3626307716740710.2404011.50840.1377350.068867
`Y(t-1)`1.147031199559300.139918.198400
`Y(t-2)`-0.1106537062939740.21447-0.51590.6081710.304085
`Y(t-3)`-0.1038156432445240.236329-0.43930.6623490.331174
`Y(t-4)`0.1838978722058440.1696141.08420.283470.141735
M11.433172382724693.4300560.41780.6778620.338931
M26.225294025089884.0443691.53920.1300490.065024
M367.94387546816375.70561811.908200
M415.87295391098539.3953971.68940.0973620.048681
M52.567018196201619.3545120.27440.7848960.392448
M6-2.371727478388598.773154-0.27030.7880120.394006
M7-13.05283458707453.919804-3.330.0016370.000819
M89.094596206553534.4691412.0350.0471720.023586
M96.30600619175424.9766331.26710.2109820.105491
M102.087282807154774.9600150.42080.6756880.337844
M11-2.223482371896953.888194-0.57190.5699830.284991
t-0.4106831990255630.162294-2.53050.0145850.007292


Multiple Linear Regression - Regression Statistics
Multiple R0.996010944770597
R-squared0.992037802102818
Adjusted R-squared0.989330654817775
F-TEST (value)366.451359179527
F-TEST (DF numerator)17
F-TEST (DF denominator)50
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation5.39666594775882
Sum Squared Residuals1456.20016758498


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1436442.295576143808-6.29557614380812
2431440.718879653393-9.71887965339332
3484486.240206147269-2.24020614726883
4510499.87978521279510.1202147872049
5513511.6376980262761.36230197372448
6503503.476746416768-0.476746416767555
7471485.055385018247-14.0553850182473
8471471.457052086091-0.457052086090865
9476475.3830167669430.616983233056703
10475477.935624965714-2.93562496571377
11470469.2191895855940.78081041440638
12461463.836779012885-2.83677901288505
13455455.713667087453-0.713667087452525
14456455.5230851176190.476914882381125
15517511.8755927968575.12440720314337
16525530.432098224303-5.43209822430274
17523523.301585367332-0.301585367332146
18519510.6910034770788.30899652292194
19509501.666965431077.33303456892982
20512510.5373116341531.46268836584718
21519513.8913420775525.10865792244803
22517517.116705406912-0.116705406912436
23510510.222291515929-0.222291515928921
24509503.0730607348595.92693926514102
25501503.549909505286-2.54990950528584
26507501.5455027554595.45449724454095
27569563.2363621893925.76363781060809
28580582.759973771037-2.75997377103660
29578579.922443781353-1.92244378135339
30565566.41757755764-1.41757755764060
31547546.1449219603880.85507803961171
32555550.2876417136524.71235828634762
33562558.5854570383473.41454296165276
34561561.267046907192-0.267046907191797
35555556.176607655119-1.17660765511894
36544548.408565249458-4.40856524945765
37537536.8742649802460.125735019753701
38543539.9595025866033.0404974133972
39594600.259610294342-6.25961029434169
40611607.7252366400823.27476335991787
41613612.2281424828420.771857517158244
42611601.722455496759.2775445032501
43594593.4083839859590.591616014041096
44595597.951490366801-2.95149036680107
45591595.817372988715-4.8173729887153
46589588.357678094480.642321905519389
47584581.7458534624492.25414653755141
48573577.954966029115-4.95496602911459
49567564.6810557199292.31894428007122
50569569.278346399407-0.278346399407539
51621621.799896529754-0.799896529754448
52629632.709559424026-3.70955942402556
53628627.4502173639760.549782636023795
54612612.390705302925-0.39070530292505
55595592.8408629551612.15913704483890
56597596.0664380629690.933561937031172
57593597.322811128442-4.3228111284422
58590587.3229446257012.67705537429862
59580581.63605778091-1.63605778090994
60574567.7266289736846.27337102631626
61573565.8855265632787.11447343672159
62573571.9746834875181.02531651248158
63620621.588332042386-1.58833204238650
64626627.493346727758-1.49334672775785
65620620.459912978221-0.459912978220981
66588603.301511748839-15.3015117488388
67566562.8834806491743.11651935082574
68557560.700066136334-3.70006613633404


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
210.958922484653780.08215503069243880.0410775153462194
220.962281361527310.07543727694537980.0377186384726899
230.9280019568360390.1439960863279230.0719980431639614
240.9007061403433390.1985877193133230.0992938596566614
250.8702987527915650.2594024944168690.129701247208435
260.82632925153860.3473414969227990.173670748461399
270.8079947318649860.3840105362700290.192005268135014
280.7981641077256070.4036717845487850.201835892274393
290.7719140478739330.4561719042521340.228085952126067
300.7575011897682810.4849976204634380.242498810231719
310.6969125968134770.6061748063730460.303087403186523
320.6151818369206940.7696363261586120.384818163079306
330.564287531841880.871424936316240.43571246815812
340.4937318944642990.9874637889285980.506268105535701
350.4093359922909080.8186719845818150.590664007709092
360.3707188224810430.7414376449620860.629281177518957
370.395946674145850.79189334829170.60405332585415
380.3000499139271940.6000998278543880.699950086072806
390.3797601080444190.7595202160888380.620239891955581
400.2828763537457880.5657527074915760.717123646254212
410.2135179439909790.4270358879819580.786482056009021
420.6843466716175920.6313066567648160.315653328382408
430.5797384789716330.8405230420567330.420261521028367
440.4950931424718130.9901862849436260.504906857528187
450.4206032969429680.8412065938859360.579396703057032
460.2845372597395420.5690745194790840.715462740260458
470.1656596595730570.3313193191461140.834340340426943


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 level20.0740740740740741OK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/10al4d1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/10al4d1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/1hyar1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/1hyar1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/28bu21260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/28bu21260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/3c8hf1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/3c8hf1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/4hxgk1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/4hxgk1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/5i7hn1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/5i7hn1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/6bdi21260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/6bdi21260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/7976y1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/7976y1260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/8ak411260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/8ak411260803053.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/9gxdm1260803053.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/14/t1260803138nvh8wzwoggg7tl1/9gxdm1260803053.ps (open in new window)


 
Parameters (Session):
par1 = 2 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 2 ; 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