Home » date » 2010 » Dec » 24 »

autoregressie

*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: Fri, 24 Dec 2010 13:28:49 +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/Dec/24/t1293197225mwanlz3njiqst8m.htm/, Retrieved Fri, 24 Dec 2010 14:27: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/Dec/24/t1293197225mwanlz3njiqst8m.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 «
98.1 102.8 104.7 95.9 94.6 113.9 98.1 102.8 104.7 95.9 80.9 113.9 98.1 102.8 104.7 95.7 80.9 113.9 98.1 102.8 113.2 95.7 80.9 113.9 98.1 105.9 113.2 95.7 80.9 113.9 108.8 105.9 113.2 95.7 80.9 102.3 108.8 105.9 113.2 95.7 99 102.3 108.8 105.9 113.2 100.7 99 102.3 108.8 105.9 115.5 100.7 99 102.3 108.8 100.7 115.5 100.7 99 102.3 109.9 100.7 115.5 100.7 99 114.6 109.9 100.7 115.5 100.7 85.4 114.6 109.9 100.7 115.5 100.5 85.4 114.6 109.9 100.7 114.8 100.5 85.4 114.6 109.9 116.5 114.8 100.5 85.4 114.6 112.9 116.5 114.8 100.5 85.4 102 112.9 116.5 114.8 100.5 106 102 112.9 116.5 114.8 105.3 106 102 112.9 116.5 118.8 105.3 106 102 112.9 106.1 118.8 105.3 106 102 109.3 106.1 118.8 105.3 106 117.2 109.3 106.1 118.8 105.3 92.5 117.2 109.3 106.1 118.8 104.2 92.5 117.2 109.3 106.1 112.5 104.2 92.5 117.2 109.3 122.4 112.5 104.2 92.5 117.2 113.3 122.4 112.5 104.2 92.5 100 113.3 122.4 112.5 104.2 110.7 100 113.3 122.4 112.5 112.8 110.7 100 113.3 122.4 109.8 112.8 110.7 100 113.3 117.3 109. 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'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
y[t] = + 60.5979205836162 + 0.27766008955589y1[t] -0.0968386935292209y2[t] + 0.223192273494244y3[t] + 0.00965031680418547y4[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)60.597920583616220.8856042.90140.0052140.002607
y10.277660089555890.1301952.13260.0371250.018563
y2-0.09683869352922090.136263-0.71070.4800870.240043
y30.2231922734942440.1381481.61560.1115150.055758
y40.009650316804185470.1349560.07150.9432360.471618


Multiple Linear Regression - Regression Statistics
Multiple R0.340153663156316
R-squared0.115704514558661
Adjusted R-squared0.0557522782575528
F-TEST (value)1.92994493112049
F-TEST (DF numerator)4
F-TEST (DF denominator)59
p-value0.117323585280604
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation9.8710825815571
Sum Squared Residuals5748.85800858327


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
198.1101.319425575226-3.21942557522621
2113.9102.17505409061411.7249459093861
380.9106.678082833422-25.778082833422
495.794.9179092329650.78209076703493
5113.2105.7040368770867.49596312291408
6105.9101.9170057602783.9829942397224
7108.8101.1801951629357.61980483706507
8102.3106.741021360262-4.44102136026155
999103.194975514479-4.19497551447878
10100.7103.484959007347-2.78495900734703
11115.5102.85378498925812.646215010742
12100.7105.999266973927-5.29926697392731
13109.9100.8042658037549.09573419624593
14114.6108.1116024781836.48839752181733
1585.4105.365267959614-19.9652679596136
16100.598.71299571243941.78700428756058
17114.8106.8711395158087.92886048419194
18116.5102.90755662711413.5924433728862
19112.9105.0831995409727.81680045902818
20102107.256366734282-5.25636673428184
21106105.0959174500680.904082549932102
22105.3106.475012921748-1.17501292174781
23118.8103.42575916335915.3742408366405
24106.1108.029538098646-1.9295380986458
25109.3103.0782992744126.22170072558772
26117.2108.2030034392228.9969965607784
2792.5107.382371730899-14.8823717308992
28104.2100.3507980917563.84920190824368
29112.5107.785436844114.71456315589008
30122.4103.52039122057718.8796087794229
31113.3107.8384517257075.46154827429279
32100106.318446421421-6.31844642142051
33110.7105.7965004785114.90349952148915
34112.8108.1199065082614.68009349173868
35109.8104.6105435551745.18945644482551
36117.3105.83401014298811.4659898570118
37109.1108.7789390593880.321060940612258
38115.9105.12652496836610.7734750316337
3996109.45368196508-13.4536819650803
4099.8101.511943800298-1.71194380029795
41116.8105.93271700380810.8672829961916
42115.7105.909047402589.79095259741955
4399.4104.613452848947-5.21345284894706
4494.3104.025055805326-9.72505580532626
4591104.106003937945-13.106003937945
4693.2100.034953572969-6.8349535729688
47103.199.66979269990933.43020730009068
4894.1101.419831342516-7.319831342516
4991.898.4213644268072-6.62136442680722
50102.7100.8851286671541.81487133284612
5182.6102.221160313344-19.6211603133435
5289.194.9844556735272-5.88445567352721
53104.5101.1463040480153.35369595198453
54105.1100.4118416751684.68815832483245
5595.1100.3439002585-5.24390025849954
5688.7101.009084217862-12.3090842178617
5786.3100.482976822877-14.1829768228772
5891.898.2102277016701-6.41022770167014
59111.598.444837340292713.0551626597074
6099.7102.7847048062-3.08470480619999
6197.598.8049902308031-1.30499023080314
62111.7103.7867991476857.91320085231538
6386.2105.499059958953-19.2990599589529
6495.496.438721487186-1.03872148718605


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
80.829914805195940.340170389608120.17008519480406
90.7980404429839340.4039191140321310.201959557016066
100.6869967231930650.6260065536138690.313003276806935
110.7578005650838790.4843988698322420.242199434916121
120.6612943325907110.6774113348185780.338705667409289
130.6540172505093730.6919654989812530.345982749490627
140.6633095004359140.6733809991281720.336690499564086
150.7051270699480460.5897458601039080.294872930051954
160.6280531238465230.7438937523069540.371946876153477
170.5752312698556980.8495374602886050.424768730144302
180.6965387052075610.6069225895848780.303461294792439
190.6834852452468390.6330295095063230.316514754753162
200.6181175508394150.763764898321170.381882449160585
210.5793534739459140.8412930521081730.420646526054086
220.5024398885241760.9951202229516470.497560111475824
230.6270073837676450.745985232464710.372992616232355
240.5501704681706040.8996590636587930.449829531829396
250.5159112935033910.9681774129932190.484088706496609
260.5223645131996220.9552709736007550.477635486800378
270.5733126749487860.8533746501024280.426687325051214
280.510195383666590.979609232666820.48980461633341
290.4467127306129080.8934254612258150.553287269387092
300.6454124244083680.7091751511832630.354587575591632
310.6030700584994360.7938598830011280.396929941500564
320.5395235045118140.9209529909763730.460476495488186
330.4975065069199470.9950130138398950.502493493080053
340.4486620317428910.8973240634857810.55133796825711
350.4048315242364070.8096630484728140.595168475763593
360.4632408699275060.9264817398550120.536759130072494
370.3963171192243670.7926342384487340.603682880775633
380.5173244545965690.9653510908068610.482675545403431
390.5080107686070090.9839784627859830.491989231392991
400.4691969845446060.9383939690892130.530803015455394
410.5709774163735080.8580451672529830.429022583626492
420.8133168204880180.3733663590239640.186683179511982
430.8089815175044650.382036964991070.191018482495535
440.7833602959355480.4332794081289040.216639704064452
450.7710710969885740.4578578060228510.228928903011426
460.7475405914910660.5049188170178670.252459408508934
470.699007463525730.601985072948540.30099253647427
480.6570659600557830.6858680798884340.342934039944217
490.5997674570166620.8004650859666770.400232542983338
500.5044079320551550.991184135889690.495592067944845
510.6346663073387150.730667385322570.365333692661285
520.581682824397320.836634351205360.41831717560268
530.4653304905467690.9306609810935380.534669509453231
540.4271235445145920.8542470890291850.572876455485408
550.3380769575622470.6761539151244930.661923042437753
560.4692556934207740.9385113868415480.530744306579226


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/Dec/24/t1293197225mwanlz3njiqst8m/10sczj1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/10sczj1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/14b2p1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/14b2p1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/24b2p1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/24b2p1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/3ek1a1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/3ek1a1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/4ek1a1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/4ek1a1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/5ek1a1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/5ek1a1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/6pujv1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/6pujv1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/7pujv1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/7pujv1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/8iliy1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/8iliy1293197319.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/9iliy1293197319.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/24/t1293197225mwanlz3njiqst8m/9iliy1293197319.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