Home » date » 2009 » Dec » 11 »

Paper statistiek: Multiple Regression Analysis

*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, 11 Dec 2009 09:03:36 -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/11/t1260547571ri7eqkh41tshrd1.htm/, Retrieved Fri, 11 Dec 2009 17:06:23 +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/11/t1260547571ri7eqkh41tshrd1.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:
ETP(35)
 
Dataseries X:
» Textbox « » Textfile « » CSV «
1.43 0 0 0 0 0.51 1.43 0 0 0 0 0.51 1.43 0 0 0 0 0.51 1.43 0 0 0 0 0.51 1.43 0 0 0 0 0.52 1.43 0 0 0 0 0.52 1.44 0 0 0 0 0.52 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.52 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.54 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.48 1 0 0 0 0.53 1.57 1 1 0 0 0.54 1.58 1 1 0 0 0.55 1.58 1 1 0 0 0.55 1.58 1 1 0 0 0.55 1.58 1 1 0 0 0.55 1.59 1 1 1 1 0.55 1.6 1 1 1 2 0.55 1.6 1 1 1 3 0.55 1.61 1 1 1 4 0.55 1.61 1 1 1 5 0.56 1.61 1 1 1 6 0.56 1.62 1 1 1 7 0.56 1.63 1 1 1 8 0.56 1.63 1 1 1 9 0.56 1.64 1 1 1 10 0.55 1.64 1 1 1 11 0.56 1.64 1 1 1 12 0.5 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 time4 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
Broodprijzen[t] = + 1.37674903761831 + 0.0476820908725279Dummy1[t] + 0.0968243660889128Dummy2[t] + 0.0149811800172971Dummy3[t] + 0.00364815973913286Dummy4[t] + 0.106652028005743Bakmeel[t] -4.25201481723485e-05t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)1.376749037618310.04039934.078500
Dummy10.04768209087252790.00196324.286100
Dummy20.09682436608891280.00213245.425400
Dummy30.01498118001729710.00236.512400
Dummy40.003648159739132860.00017920.397900
Bakmeel0.1066520280057430.0788841.3520.1821110.091056
t-4.25201481723485e-058.5e-05-0.49870.6200830.310042


Multiple Linear Regression - Regression Statistics
Multiple R0.999089522014467
R-squared0.998179872999095
Adjusted R-squared0.997973820885786
F-TEST (value)4844.30786447532
F-TEST (DF numerator)6
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.0033811833505616
Sum Squared Residuals0.000605917245056093


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
11.431.43109905175307-0.00109905175307049
21.431.43105653160489-0.00105653160489032
31.431.43101401145672-0.00101401145671809
41.431.43097149130855-0.000971491308545764
51.431.43199549144043-0.00199549144043077
61.431.43195297129226-0.00195297129225846
71.441.431910451144090.00808954885591388
81.481.4806165421485-0.000616542148499051
91.481.48057402200033-0.000574022000326703
101.481.479464981572100.000535018427903076
111.481.479422461423920.000577538576075424
121.481.479379941275750.000620058724247772
131.481.479337421127580.000662578872420121
141.481.479294900979410.000705099020592469
151.481.479252380831240.000747619168764818
161.481.479209860683060.000790139316937166
171.481.479167340534890.000832659465109514
181.481.479124820386720.000875179613281863
191.481.479082300238550.000917699761454211
201.481.48010630037043-0.000106300370430871
211.481.48006378022226-6.37802222585223e-05
221.481.48002126007409-2.12600740861740e-05
231.481.48104526020597-0.00104526020597126
241.481.4810027400578-0.00100274005779891
251.481.48096021990963-0.00096021990962656
261.481.48091769976145-0.00091769976145421
271.481.48087517961328-0.000875179613281862
281.481.48083265946511-0.000832659465109514
291.481.48079013931694-0.000790139316937166
301.481.48074761916876-0.000747619168764817
311.481.48070509902059-0.000705099020592469
321.481.48066257887242-0.00066257887242012
331.481.479553538444190.000446461555809658
341.481.479511018296020.000488981703982006
351.481.479468498147850.000531501852154354
361.481.479425977999670.000574022000326703
371.481.47938345785150.000616542148499051
381.571.5772318240723-0.00723182407229876
391.581.578255824204180.00174417579581617
401.581.578213304056010.00178669594398852
411.581.578170783907840.00182921609216086
421.581.578128263759670.00187173624033321
431.591.59671508336792-0.00671508336792435
441.61.60032072295888-0.000320722958884853
451.61.60392636254985-0.00392636254984536
461.611.607532002140810.00246799785919413
471.611.61220416201182-0.00220416201182380
481.611.61580980160278-0.00580980160278431
491.621.619415441193740.000584558806255193
501.631.623021080784710.00697891921529447
511.631.626626720375670.00337327962433396
521.641.629165839686570.0108341603134309
531.641.633837999557590.00616200044241296
541.641.636377118868490.00362288113150988
551.641.639982758459451.72415405493680e-05
561.641.64465491833047-0.00465491833046857
571.651.647194037641370.00280596235862836
581.651.65079967723233-0.000799677232332149
591.651.65440531682329-0.00440531682329266
601.651.65801095641425-0.00801095641425316


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
100.7739180696886990.4521638606226030.226081930311301
110.6432323218519690.7135353562960610.356767678148031
120.5105203789750680.9789592420498650.489479621024932
130.389162207489990.778324414979980.61083779251001
140.2857981949037080.5715963898074160.714201805096292
150.2023856939342800.4047713878685610.79761430606572
160.1382340571729120.2764681143458230.861765942827088
170.09122407570236390.1824481514047280.908775924297636
180.0585448736016780.1170897472033560.941455126398322
190.037372241739650.07474448347930.96262775826035
200.02954007348549210.05908014697098420.970459926514508
210.02007019617481580.04014039234963160.979929803825184
220.01326481905767650.02652963811535310.986735180942323
230.00841173269725450.0168234653945090.991588267302746
240.004733299465470610.009466598930941220.99526670053453
250.002495822349729560.004991644699459120.99750417765027
260.001250505470524840.002501010941049670.998749494529475
270.000597824803303810.001195649606607620.999402175196696
280.0002727144522704780.0005454289045409550.99972728554773
290.0001184383650154380.0002368767300308760.999881561634985
304.88151434487691e-059.76302868975382e-050.999951184856551
311.90910209652536e-053.81820419305071e-050.999980908979035
327.21299868379037e-061.44259973675807e-050.999992787001316
332.75396185755998e-065.50792371511996e-060.999997246038142
341.01473542438012e-062.02947084876023e-060.999998985264576
353.52732125553602e-077.05464251107204e-070.999999647267874
361.13701449030775e-072.2740289806155e-070.99999988629855
373.41751354709079e-086.83502709418157e-080.999999965824865
381.79021519541505e-083.58043039083009e-080.999999982097848
398.58522447591033e-071.71704489518207e-060.999999141477552
409.57314447626582e-071.91462889525316e-060.999999042685552
415.56025034460861e-071.11205006892172e-060.999999443974966
422.47800894435532e-074.95601788871065e-070.999999752199106
433.35096191529875e-076.7019238305975e-070.999999664903809
441.17036784044181e-072.34073568088362e-070.999999882963216
458.8004149935026e-071.76008299870052e-060.9999991199585
466.79646240553768e-071.35929248110754e-060.99999932035376
472.54632883548039e-065.09265767096078e-060.999997453671164
480.002784042807335890.005568085614671780.997215957192664
490.03794769834171060.07589539668342120.96205230165829
500.02893882386138170.05787764772276340.971061176138618


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level250.609756097560976NOK
5% type I error level280.682926829268293NOK
10% type I error level320.780487804878049NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/10mpav1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/10mpav1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/1hnwq1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/1hnwq1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/2whpo1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/2whpo1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/3fqoq1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/3fqoq1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/4ce971260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/4ce971260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/5mywu1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/5mywu1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/6bvbh1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/6bvbh1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/7ffv51260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/7ffv51260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/8xq9i1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/8xq9i1260547412.ps (open in new window)


http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/9mjgn1260547412.png (open in new window)
http://www.freestatistics.org/blog/date/2009/Dec/11/t1260547571ri7eqkh41tshrd1/9mjgn1260547412.ps (open in new window)


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