Home » date » 2009 » Nov » 19 »

Multiple Regression

*The author of this computation has been verified*
R Software Module: /rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Thu, 19 Nov 2009 08:52:15 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l.htm/, Retrieved Thu, 19 Nov 2009 16:56:04 +0100
 
BibTeX entries for LaTeX users:
@Manual{KEY,
    author = {{YOUR NAME}},
    publisher = {Office for Research Development and Education},
    title = {Statistical Computations at FreeStatistics.org, URL http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l.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 «
1.4 1.9 -0.7 -0.7 -2.9 -0.8 1 1 1.6 1.5 -0.7 -0.7 -2.9 -0.8 -0.8 0 3 1.5 -0.7 -0.7 -2.9 -2.9 -1.3 3.2 3 1.5 -0.7 -0.7 -0.7 -0.4 3.1 3.2 3 1.5 -0.7 -0.7 -0.3 3.9 3.1 3.2 3 1.5 1.5 1.4 1 3.9 3.1 3.2 3 3 2.6 1.3 1 3.9 3.1 3.2 3.2 2.8 0.8 1.3 1 3.9 3.1 3.1 2.6 1.2 0.8 1.3 1 3.9 3.9 3.4 2.9 1.2 0.8 1.3 1 1 1.7 3.9 2.9 1.2 0.8 1.3 1.3 1.2 4.5 3.9 2.9 1.2 0.8 0.8 0 4.5 4.5 3.9 2.9 1.2 1.2 0 3.3 4.5 4.5 3.9 2.9 2.9 1.6 2 3.3 4.5 4.5 3.9 3.9 2.5 1.5 2 3.3 4.5 4.5 4.5 3.2 1 1.5 2 3.3 4.5 4.5 3.4 2.1 1 1.5 2 3.3 3.3 2.3 3 2.1 1 1.5 2 2 1.9 4 3 2.1 1 1.5 1.5 1.7 5.1 4 3 2.1 1 1 1.9 4.5 5.1 4 3 2.1 2.1 3.3 4.2 4.5 5.1 4 3 3 3.8 3.3 4.2 4.5 5.1 4 4 4.4 2.7 3.3 4.2 4.5 5.1 5.1 4.5 1.8 2.7 3.3 4.2 4.5 4.5 3.5 1.4 1.8 2.7 3.3 4.2 4.2 3 0.5 1.4 1.8 2.7 3.3 3.3 2.8 -0.4 0.5 1.4 1.8 2.7 2.7 2.9 0.8 -0.4 0.5 1.4 1.8 1.8 2.6 0.7 0.8 -0.4 0.5 1.4 1.4 2.1 1.9 0.7 0.8 -0.4 0.5 0.5 1.5 2 1.9 0.7 0.8 -0.4 -0.4 1.1 1.1 2 1.9 0.7 0.8 0.8 1.5 0.9 1.1 2 1.9 0.7 0.7 1.7 0.4 0.9 1.1 2 1.9 1.9 2.3 0.7 0.4 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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
bbp[t] = -0.729216595290699 + 0.771547876570157dnst[t] + 0.259590756245638y1[t] -0.324288162170647y2[t] -0.107507909542879y3[t] + 0.144420397190849y4[t] + 0.443964966435733y5[t] + 0.0983821269698033M1[t] + 0.165757665776796M2[t] + 0.616461506665139M3[t] + 0.527372688535687M4[t] + 0.806866310733002M5[t] + 0.530453908871542M6[t] + 0.516266033363936M7[t] + 0.463812304639643M8[t] + 0.469250583288777M9[t] + 0.639151419026464M10[t] + 0.504141234618875M11[t] -0.00444541894845899t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-0.7292165952906990.444382-1.6410.1086450.054323
dnst0.7715478765701570.1287775.991400
y10.2595907562456380.106782.43110.0196290.009814
y2-0.3242881621706470.15824-2.04930.0470260.023513
y3-0.1075079095428790.137156-0.78380.4377540.218877
y40.1444203971908490.1434991.00640.3202640.160132
y50.4439649664357330.1278993.47120.0012570.000629
M10.09838212696980330.4260310.23090.8185490.409274
M20.1657576657767960.4222580.39260.6967360.348368
M30.6164615066651390.4292991.4360.1587850.079393
M40.5273726885356870.4333251.2170.2307220.115361
M50.8068663107330020.4216671.91350.0628580.031429
M60.5304539088715420.4325431.22640.2272340.113617
M70.5162660333639360.4301481.20020.2371190.11856
M80.4638123046396430.4354681.06510.2932230.146611
M90.4692505832887770.4360261.07620.2882870.144144
M100.6391514190264640.4257671.50120.1411630.070582
M110.5041412346188750.421891.1950.2391410.11957
t-0.004445418948458990.005431-0.81850.4179080.208954


Multiple Linear Regression - Regression Statistics
Multiple R0.94277800551632
R-squared0.88883036768533
Adjusted R-squared0.838804033143728
F-TEST (value)17.7672495062812
F-TEST (DF numerator)18
F-TEST (DF denominator)40
p-value1.05693231944315e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.616571628980764
Sum Squared Residuals15.2064229465597


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.41.51615084871885-0.116150848718851
210.5797790946673160.420220905332684
3-0.8-1.147088464007200.347088464007197
4-2.9-1.93794350746888-0.962056492531122
5-0.7-0.9028559138600210.202855913860021
6-0.70.305394414236960-1.00539441423696
71.51.291731107147350.208268892852651
833.16734693446111-0.167346934461113
93.23.47848030148526-0.27848030148526
103.13.65970697497630-0.559706974976296
113.93.258660364890770.641339635109231
1211.16471932922785-0.164719329227850
131.30.3573706199764310.942629380023569
140.8-0.3845368570957541.18453685709575
151.20.584868751755230.61513124824477
162.92.308106133425260.59189386657474
173.93.96471512959917-0.0647151295991742
184.54.222745331127590.277254668872406
194.54.139365003641540.360634996358457
203.32.515067193784540.784932806215458
2121.762720930838750.237279069161248
221.51.57525127711698-0.0752512771169794
2311.58846572794806-0.588465727948059
242.12.70247193849348-0.602471938493483
2533.71316950190142-0.71316950190142
2644.80909483753591-0.809094837535908
275.15.080501283384020.0194987166159812
284.54.204779111514520.295220888485478
294.23.600673371207410.599326628792594
303.32.870379466899910.429620533100088
312.73.1716897034693-0.471689703469303
321.82.25741409713870-0.457414097138697
331.41.55801442355075-0.158014423550746
340.50.681841193208814-0.181841193208814
35-0.40.357012370938903-0.757012370938903
360.80.5151432517352450.284856748264755
370.71.34240890741249-0.642408907412486
381.92.04420878225251-0.144208782252515
3922.38190921982621-0.381909219826208
401.11.51421036970784-0.41421036970784
410.91.59579404154382-0.695794041543819
420.40.805886298537762-0.405886298537762
430.70.823349514499889-0.123349514499889
442.12.30560720091432-0.205607200914316
452.82.92296942632349-0.122969426323488
463.93.347407461054160.552592538945842
473.52.812998592677760.687001407322235
4821.517665480543420.482334519456579
4921.470900121990810.529099878009188
501.52.15145414264002-0.651454142640015
512.53.09980920904174-0.59980920904174
523.12.610847892821260.489152107178743
532.72.74167337150962-0.041673371509623
542.82.095594489197770.704405510802226
552.52.473864671241920.0261353287580837
5632.954564573701330.0454354262986676
573.22.877814917801760.322185082198245
582.82.535793093643750.264206906356247
592.42.382862943544500.017137056455496


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.5999296461191630.8001407077616730.400070353880837
230.8124834962989360.3750330074021270.187516503701064
240.8326925178924480.3346149642151030.167307482107552
250.981578640066730.03684271986654060.0184213599332703
260.9965862190890010.006827561821998290.00341378091099914
270.9916481341034950.01670373179301010.00835186589650504
280.98687623019150.02624753961700110.0131237698085005
290.9854927702385830.02901445952283370.0145072297614169
300.9762131400298530.0475737199402930.0237868599701465
310.9889686325297270.02206273494054580.0110313674702729
320.9792702081844430.04145958363111310.0207297918155566
330.9572650693588840.08546986128223270.0427349306411164
340.9342452894397330.1315094211205340.0657547105602668
350.8870595010823860.2258809978352290.112940498917614
360.843935906935890.3121281861282200.156064093064110
370.7730834503555510.4538330992888990.226916549644449


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level10.0625NOK
5% type I error level80.5NOK
10% type I error level90.5625NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/10qia61258645931.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/10qia61258645931.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/4trie1258645931.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/4trie1258645931.ps (open in new window)


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


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


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


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/8ytyu1258645931.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/8ytyu1258645931.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/967bc1258645931.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Nov/19/t1258646152iyrmjile4cx9m5l/967bc1258645931.ps (open in new window)


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