Home » date » 2009 » Dec » 21 »

*Unverified author*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Mon, 21 Dec 2009 07:16:30 -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/21/t1261405057qw9o2x7mp1sdv5y.htm/, Retrieved Mon, 21 Dec 2009 15:17:48 +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/21/t1261405057qw9o2x7mp1sdv5y.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 «
2350.44 0 1 0 2440.25 0 2 0 2408.64 0 3 0 2472.81 0 4 0 2407.6 0 5 0 2454.62 0 6 0 2448.05 0 7 0 2497.84 0 8 0 2645.64 0 9 0 2756.76 0 10 0 2849.27 0 11 0 2921.44 0 12 0 2981.85 0 13 0 3080.58 0 14 0 3106.22 0 15 0 3119.31 0 16 0 3061.26 0 17 0 3097.31 0 18 0 3161.69 0 19 0 3257.16 0 20 0 3277.01 0 21 0 3295.32 0 22 0 3363.99 0 23 0 3494.17 0 24 0 3667.03 0 25 0 3813.06 0 26 0 3917.96 0 27 0 3895.51 0 28 0 3801.06 0 29 0 3570.12 0 30 0 3701.61 0 31 0 3862.27 0 32 0 3970.1 0 33 0 4138.52 0 34 0 4199.75 0 35 0 4290.89 0 36 0 4443.91 0 37 0 4502.64 1 38 38 4356.98 1 39 39 4591.27 1 40 40 4696.96 1 41 41 4621.4 1 42 42 4562.84 1 43 43 4202.52 1 44 44 4296.49 1 45 45 4435.23 1 46 46 4105.18 1 47 47 4116.68 1 48 48 3844.49 1 49 49 3720.98 1 50 50 3674.4 1 51 51 3857.62 1 52 52 3801.06 1 53 53 3504.37 1 54 54 3032.6 1 55 55 3047.03 1 56 56 2962.34 1 57 57 2197.82 1 58 58 2014.45 1 59 59
 
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 time8 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
X[t] = + 2265.76895251738 + 6702.57359475699Dummy[t] + 56.2740308416929Trend[t] -160.319856371451Extradummy[t] + 15.5441499291209M1[t] -76.7917201666513M2[t] -87.5998084597628M3[t] + 14.7181032471253M4[t] -11.1439850459874M5[t] -107.3140733391M6[t] -167.666161632212M7[t] -167.806249925324M8[t] -103.000338218437M9[t] -160.732426511549M10[t] -211.080514804662M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)2265.76895251738137.97435716.421700
Dummy6702.57359475699385.11139717.404200
Trend56.27403084169293.52424215.967700
Extradummy-160.3198563714518.380617-19.129800
M115.5441499291209150.0753950.10360.9179770.458988
M2-76.7917201666513152.300485-0.50420.6166280.308314
M3-87.5998084597628151.713518-0.57740.566610.283305
M414.7181032471253151.222830.09730.9229090.461454
M5-11.1439850459874150.829361-0.07390.9414370.470718
M6-107.3140733391150.533872-0.71290.4796780.239839
M7-167.666161632212150.336942-1.11530.2707890.135395
M8-167.806249925324150.238958-1.11690.2700870.135043
M9-103.000338218437150.240113-0.68560.496580.24829
M10-160.732426511549150.340406-1.06910.2908440.145422
M11-211.080514804662150.539638-1.40220.1678840.083942


Multiple Linear Regression - Regression Statistics
Multiple R0.96331215525516
R-squared0.927970308462342
Adjusted R-squared0.905051770245815
F-TEST (value)40.4899431061072
F-TEST (DF numerator)14
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation222.805240997540
Sum Squared Residuals2184255.71830277


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442337.5871332882012.852866711805
22440.252301.52529403412138.724705965879
32408.642346.9912365827061.6487634173034
42472.812505.58317913128-32.7731791312767
52407.62535.99512167986-128.395121679859
62454.622496.09906422844-41.4790642284385
72448.052492.02100677702-43.971006777019
82497.842548.1549493256-50.3149493255997
92645.642669.23489187418-23.5948918741802
102756.762667.7768344227688.9831655772394
112849.272673.70277697134175.567223028659
122921.442941.05732261770-19.6173226176957
132981.853012.87550338851-31.0255033885097
143080.582976.81366413443103.766335865570
153106.223022.2796066830183.9403933169882
163119.313180.87154923159-61.5615492315926
173061.263211.28349178017-150.023491780172
183097.313171.38743432875-74.0774343287531
193161.693167.30937687733-5.61937687733370
203257.163223.4433194259133.7166805740856
213277.013344.52326197449-67.5132619744944
223295.323343.06520452307-47.745204523075
233363.993348.9911470716614.9988529283441
243494.173616.34569271801-122.17569271801
253667.033688.16387348882-21.1338734888238
263813.063652.10203423474160.957965765255
273917.963697.56797678333220.392023216674
283895.513856.1599193319139.3500806680933
293801.063886.57186188049-85.5118618804872
303570.123846.67580442907-276.555804429068
313701.613842.59774697765-140.987746977648
323862.273898.73168952623-36.4616895262287
333970.14019.81163207481-49.7116320748092
344138.524018.35357462339120.166425376611
354199.754024.27951717197175.47048282803
364290.894291.63406281832-0.744062818324361
374443.914363.4522435891480.4577564108615
384502.644937.8094569769-435.169456976902
394356.984822.95554315403-465.975543154033
404591.274821.22762933116-229.957629331162
414696.964691.319715508295.64028449170894
424621.44491.10380168542130.296198314579
434562.844326.70588786255236.13411213745
444202.524222.51997403968-19.9999740396787
454296.494183.28006021681113.209939783192
464435.234021.50214639394413.727853606062
474105.183867.10823257107238.071767428933
484116.683974.14292184597142.537078154030
493844.493885.64124624533-41.1512462453329
503720.983689.259550619831.7204493801979
513674.43574.4056367969399.9943632030678
523857.623572.67772297406284.942277025938
533801.063442.76980915119358.290190848809
543504.373242.55389532832261.81610467168
553032.63078.15598150545-45.5559815054496
563047.032973.9700676825873.0599323174215
572962.342934.7301538597127.6098461402922
582197.822772.95224003684-575.132240036837
592014.452618.55832621397-604.108326213966


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
180.0006663558959275170.001332711791855030.999333644104073
190.0001931462104956160.0003862924209912310.999806853789504
200.0001377923575399750.0002755847150799510.99986220764246
212.10584594415713e-054.21169188831426e-050.999978941540558
222.24137812100874e-054.48275624201749e-050.99997758621879
231.84343245107032e-053.68686490214063e-050.99998156567549
244.5195309058326e-069.0390618116652e-060.999995480469094
258.6537854185872e-071.73075708371744e-060.999999134621458
263.60956966126119e-077.21913932252237e-070.999999639043034
271.63215390134351e-063.26430780268702e-060.999998367846099
287.69669899563964e-071.53933979912793e-060.9999992303301
291.80100132401275e-073.60200264802549e-070.999999819899868
307.38530195790277e-071.47706039158055e-060.999999261469804
312.73111936025378e-075.46223872050757e-070.999999726888064
325.68598719859657e-081.13719743971931e-070.999999943140128
331.48086595428652e-082.96173190857304e-080.99999998519134
346.10595251552454e-091.22119050310491e-080.999999993894047
352.33602538147325e-094.67205076294651e-090.999999997663975
365.34928924784169e-101.06985784956834e-090.99999999946507
371.40124018066601e-102.80248036133202e-100.999999999859876
385.43811403237742e-111.08762280647548e-100.999999999945619
395.90718616341904e-111.18143723268381e-100.999999999940928
407.27372675911688e-101.45474535182338e-090.999999999272627
415.09055983828414e-091.01811196765683e-080.99999999490944


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level241NOK
5% type I error level241NOK
10% type I error level241NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/10rcch1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/10rcch1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/1z5ry1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/1z5ry1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/2zswp1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/2zswp1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/39nr11261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/39nr11261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/4jnbz1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/4jnbz1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/50r0l1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/50r0l1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/6ot5l1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/6ot5l1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/76jbb1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/76jbb1261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/8vq921261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/8vq921261404980.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/99rik1261404980.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/21/t1261405057qw9o2x7mp1sdv5y/99rik1261404980.ps (open in new window)


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