Home » date » 2009 » Nov » 20 »

Workshop 3

*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, 20 Nov 2009 07:02:04 -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/20/t12587259863agj88yjb6uc4s2.htm/, Retrieved Fri, 20 Nov 2009 15:06:37 +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/20/t12587259863agj88yjb6uc4s2.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:
Multivariate
 
Dataseries X:
» Textbox « » Textfile « » CSV «
108.2 108.5 108.8 112.3 110.2 116.6 109.5 115.5 109.5 120.1 116 132.9 111.2 128.1 112.1 129.3 114 132.5 119.1 131 114.1 124.9 115.1 120.8 115.4 122 110.8 122.1 116 127.4 119.2 135.2 126.5 137.3 127.8 135 131.3 136 140.3 138.4 137.3 134.7 143 138.4 134.5 133.9 139.9 133.6 159.3 141.2 170.4 151.8 175 155.4 175.8 156.6 180.9 161.6 180.3 160.7 169.6 156 172.3 159.5 184.8 168.7 177.7 169.9 184.6 169.9 211.4 185.9 215.3 190.8 215.9 195.8 244.7 211.9 259.3 227.1 289 251.3 310.9 256.7 321 251.9 315.1 251.2 333.2 270.3 314.1 267.2 284.7 243 273.9 229.9 216 187.2 196.4 178.2 190.9 175.2 206.4 192.4 196.3 187 199.5 184 198.9 194.1 214.4 212.7 214.2 217.5 187.6 200.5 180.6 205.9 172.2 196.5
 
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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Y[t] = -54.694704417963 + 1.38126912837142X[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-54.6947044179637.547577-7.246700
X1.381269128371420.04303432.097100


Multiple Linear Regression - Regression Statistics
Multiple R0.972986203223003
R-squared0.946702151662315
Adjusted R-squared0.9457832232427
F-TEST (value)1030.22404297680
F-TEST (DF numerator)1
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation14.7658230603976
Sum Squared Residuals12645.7127777562


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1108.295.17299601033613.0270039896641
2108.8100.4218186981478.37818130185281
3110.2106.3612759501443.83872404985563
4109.5104.8418799089364.65812009106418
5109.5111.195717899444-1.69571789944433
6116128.875962742598-12.8759627425985
7111.2122.245870926416-11.0458709264157
8112.1123.903393880461-11.8033938804614
9114128.32345509125-14.3234550912499
10119.1126.251551398693-7.1515513986928
11114.1117.825809715627-3.72580971562716
12115.1112.1626062893042.93739371069566
13115.4113.820129243351.57987075664997
14110.8113.958256156187-3.15825615618717
15116121.278982536556-5.2789825365557
16119.2132.052881737853-12.8528817378527
17126.5134.953546907433-8.45354690743275
18127.8131.776627912178-3.97662791217847
19131.3133.15789704055-1.85789704054988
20140.3136.4729429486413.82705705135871
21137.3131.3622471736675.93775282633298
22143136.4729429486416.5270570513587
23134.5130.257231870974.24276812903008
24139.9129.84285113245810.0571488675415
25159.3140.34049650808118.9595034919188
26170.4154.98194926881815.4180507311817
27175159.95451813095515.0454818690446
28175.8161.61204108500114.1879589149989
29180.9168.51838672685812.3816132731418
30180.3167.27524451132413.0247554886761
31169.6160.7832796079788.81672039202175
32172.3165.6177215572786.6822784427218
33184.8178.3253975382956.47460246170478
34177.7179.982920492341-2.28292049234097
35184.6179.9829204923414.61707950765903
36211.4202.0832265462849.31677345371636
37215.3208.8514452753046.44855472469642
38215.9215.7577909171610.14220908283931
39244.7237.9962238839416.70377611605949
40259.3258.9915146351860.308485364813961
41289292.418227541774-3.41822754177437
42310.9299.8770808349811.0229191650200
43321293.24698901879727.7530109812028
44315.1292.28010062893722.8198993710628
45333.2318.66234098083114.5376590191687
46314.1314.38040668288-0.280406682879869
47284.7280.9536937762923.74630622370839
48273.9262.85906819462611.0409318053739
49216203.87887641316612.1211235868335
50196.4191.4474542578244.9525457421763
51190.9187.3036468727093.59635312729055
52206.4211.061475880698-4.66147588069786
53196.3203.602622587492-7.30262258749218
54199.5199.4588152023780.0411847976220543
55198.9213.409633398929-14.5096333989292
56214.4239.101239186638-24.7012391866376
57214.2245.731331002820-31.5313310028204
58187.6222.249755820506-34.6497558205063
59180.6229.708609113712-49.108609113712
60172.2216.724679307021-44.5246793070207


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
55.32633432902799e-050.0001065266865805600.99994673665671
63.67566274439432e-057.35132548878864e-050.999963243372556
71.26819185214159e-052.53638370428317e-050.999987318081479
81.29560165374478e-062.59120330748957e-060.999998704398346
99.9033352498121e-081.98066704996242e-070.999999900966647
101.37164895890241e-062.74329791780481e-060.99999862835104
112.17683158923165e-074.35366317846331e-070.99999978231684
121.06374520001497e-072.12749040002995e-070.99999989362548
133.68644907866256e-087.37289815732512e-080.99999996313551
146.22716377146135e-091.24543275429227e-080.999999993772836
151.22441854958749e-092.44883709917498e-090.999999998775581
163.01303856864222e-106.02607713728445e-100.999999999698696
173.25135899330630e-096.50271798661261e-090.99999999674864
181.64477215476875e-083.2895443095375e-080.999999983552278
198.66746283068959e-081.73349256613792e-070.999999913325372
202.38028094233192e-064.76056188466385e-060.999997619719058
217.54636980244194e-061.50927396048839e-050.999992453630198
222.07946122459713e-054.15892244919427e-050.999979205387754
231.53563995989539e-053.07127991979079e-050.9999846436004
242.64764940408655e-055.29529880817309e-050.999973523505959
250.0003043149734141540.0006086299468283090.999695685026586
260.0006170575572124140.001234115114424830.999382942442788
270.0006800998422548270.001360199684509650.999319900157745
280.0005582544659162140.001116508931832430.999441745534084
290.000363642306174760.000727284612349520.999636357693825
300.000251714372710540.000503428745421080.99974828562729
310.0001518206936093040.0003036413872186080.99984817930639
328.99472904022848e-050.0001798945808045700.999910052709598
335.59921379925886e-050.0001119842759851770.999944007862007
344.56150396589783e-059.12300793179565e-050.999954384960341
352.86814370405655e-055.7362874081131e-050.99997131856296
362.00398841299929e-054.00797682599859e-050.99997996011587
371.34093529289311e-052.68187058578621e-050.999986590647071
389.67818202034328e-061.93563640406866e-050.99999032181798
395.39636822420693e-061.07927364484139e-050.999994603631776
403.26235697250277e-066.52471394500555e-060.999996737643027
412.51278327933808e-065.02556655867617e-060.99999748721672
421.06542646860194e-062.13085293720389e-060.999998934573531
434.70746855102879e-069.41493710205758e-060.999995292531449
448.70510066233932e-061.74102013246786e-050.999991294899338
457.74823863091375e-061.54964772618275e-050.99999225176137
468.71832825284645e-061.74366565056929e-050.999991281671747
472.3531303258829e-054.7062606517658e-050.99997646869674
480.01591116442439680.03182232884879360.984088835575603
490.03644762215564260.07289524431128530.963552377844357
500.02302441792028180.04604883584056370.976975582079718
510.01252010936808530.02504021873617070.987479890631915
520.01470547163778280.02941094327556560.985294528362217
530.01152536573248460.02305073146496910.988474634267515
540.04351330736379580.08702661472759170.956486692636204
550.3969943209502790.7939886419005590.603005679049720


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level430.843137254901961NOK
5% type I error level480.941176470588235NOK
10% type I error level500.980392156862745NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/10bza01258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/10bza01258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/18vyn1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/18vyn1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/2trxe1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/2trxe1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/3c5xy1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/3c5xy1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/4fuvw1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/4fuvw1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/5wb7s1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/5wb7s1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/6daat1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/6daat1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/7hchq1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/7hchq1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/88p8m1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/88p8m1258725719.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/9kvro1258725719.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/20/t12587259863agj88yjb6uc4s2/9kvro1258725719.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