Home » date » 2010 » Dec » 06 »

*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: Mon, 06 Dec 2010 18:17:17 +0000
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c.htm/, Retrieved Mon, 06 Dec 2010 19:15: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/2010/Dec/06/t1291659334j6i2of8oxfg7g6c.htm/},
    year = {2010},
}
@Manual{R,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Development Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2010},
    note = {{ISBN} 3-900051-07-0},
    url = {http://www.R-project.org},
}
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
2350.44 10892.76 10540.05 10570 -4.9 -3 1.6 3.38 2440.25 10631.92 10601.61 10297 -4 -1 1.3 3.35 2408.64 11441.08 10323.73 10635 -3.1 -3 1.1 3.22 2472.81 11950.95 10418.4 10872 -1.3 -4 1.9 3.06 2407.6 11037.54 10092.96 10296 0 -6 2.6 3.17 2454.62 11527.72 10364.91 10383 -0.4 0 2.3 3.19 2448.05 11383.89 10152.09 10431 3 -4 2.4 3.35 2497.84 10989.34 10032.8 10574 0.4 -2 2.2 3.24 2645.64 11079.42 10204.59 10653 1.2 -2 2 3.23 2756.76 11028.93 10001.6 10805 0.6 -6 2.9 3.31 2849.27 10973 10411.75 10872 -1.3 -7 2.6 3.25 2921.44 11068.05 10673.38 10625 -3.2 -6 2.3 3.2 2981.85 11394.84 10539.51 10407 -1.8 -6 2.3 3.1 3080.58 11545.71 10723.78 10463 -3.6 -3 2.6 2.93 3106.22 11809.38 10682.06 10556 -4.2 -2 3.1 2.92 3119.31 11395.64 10283.19 10646 -6.9 -5 2.8 2.9 3061.26 11082.38 10377.18 10702 -8 -11 2.5 2.87 3097.31 11402.75 10486.64 11353 -7.5 -11 2.9 2.76 3161.69 11716.87 10545.38 11346 -8.2 -11 3.1 2.67 3257.16 12204.98 10554.27 11451 -7.6 -10 3.1 2.75 3277.01 12986.62 10532.54 11964 -3.7 -14 3.2 2 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 time6 seconds
R Server'RServer@AstonUniversity' @ vre.aston.ac.uk


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -2101.09115636334 + 0.192421203520586Nikkei[t] + 0.301255385502806DJ_Indust[t] + 0.011931737331997Goudprijs[t] -8.47433649695565Conjunct_Seizoenzuiver[t] -8.59705875060859Cons_vertrouw[t] + 27.7373411137287Alg_consumptie_index_BE[t] -259.760301077345Gem_rente_kasbon_5j[t] + 111.420983877046M1[t] + 147.196762063619M2[t] + 143.318245880678M3[t] + 78.5931152743392M4[t] + 68.8461761572716M5[t] + 46.0649034733879M6[t] + 77.6007840575792M7[t] + 97.8320949690298M8[t] + 117.535120245601M9[t] + 186.991868973947M10[t] + 126.132735266924M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)-2101.09115636334310.359456-6.769900
Nikkei0.1924212035205860.0162311.855700
DJ_Indust0.3012553855028060.0363368.290800
Goudprijs0.0119317373319970.0090281.32160.1919790.09599
Conjunct_Seizoenzuiver-8.474336496955657.250353-1.16880.2477080.123854
Cons_vertrouw-8.597058750608599.855071-0.87230.3869530.193477
Alg_consumptie_index_BE27.737341113728720.1481951.37670.1744030.087202
Gem_rente_kasbon_5j-259.76030107734564.403705-4.03330.0001778.9e-05
M1111.420983877046103.784361.07360.2878740.143937
M2147.196762063619108.980291.35070.1825390.09127
M3143.318245880678105.4372941.35930.1798150.089908
M478.5931152743392103.6986080.75790.4518680.225934
M568.846176157271698.0148980.70240.48550.24275
M646.0649034733879100.3630710.4590.6481240.324062
M777.6007840575792100.8119330.76980.4448610.22243
M897.8320949690298102.1222010.9580.3424170.171209
M9117.535120245601100.0547581.17470.2453630.122681
M10186.991868973947101.0938861.84970.0699380.034969
M11126.13273526692497.9679031.28750.2035170.101759


Multiple Linear Regression - Regression Statistics
Multiple R0.985174578486878
R-squared0.970568950096798
Adjusted R-squared0.960573499186276
F-TEST (value)97.1010671539735
F-TEST (DF numerator)18
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation167.91104430026
Sum Squared Residuals1494288.29629421


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442641.39845917012-290.958459170123
22440.252616.92159422002-176.671594220024
32408.642726.85128534376-318.211285343761
42472.812848.67839698914-375.868396989144
52407.62555.27875871935-147.678758719351
62454.622648.07394855203-193.453948552026
72448.052555.18101653486-107.131016534862
82497.842493.127347385744.71265261425865
92645.642573.1296101906772.5103898093341
102756.762617.18842554128139.571574458718
112849.272701.88921051192147.380789488082
122921.442682.08741134108239.352588658922
132981.852827.57150213298154.278497867023
143080.582990.5014574318690.078542568144
153106.223038.8537335850967.3662664149108
163119.312820.97426345955298.335736540447
173061.262840.30835845013220.951641549868
183097.312955.34744355393141.962556446073
193161.693099.7968226386961.8931773613089
203257.163183.4193552625973.7406447374149
213277.013365.00605759133-87.9960575913262
223295.323369.21931312572-73.8993131257238
233363.993579.75137323752-215.761373237518
243494.173682.24303552564-188.073035525642
253667.033835.91295714123-168.882957141233
263813.063940.46332432876-127.403324328763
273917.963988.71832487628-70.7583248762794
283895.514056.70603718522-161.196037185223
293801.063903.07056246709-102.010562467086
303570.123441.34162636562128.778373634377
313701.613476.62356237362224.986437626383
323862.273686.12983968646176.140160313544
333970.13829.7789676863140.321032313697
344138.524090.2342765897448.2857234102575
354199.754058.9205168308140.829483169199
364290.894183.75209115137107.137908848633
374443.914350.5739530460693.3360469539419
384502.644437.4536068342665.1863931657418
394356.984227.81174766188129.168252338122
404591.274340.59763863395250.672361366051
414696.964539.19373638599157.766263614012
424621.44519.12703337337102.272966626631
434562.844586.51564534514-23.6756453451422
444202.524220.40753184759-17.8875318475878
454296.494330.73253508512-34.242535085116
464435.234665.27894660937-230.048946609371
474105.184246.95871906507-141.778719065071
484116.684182.39911961097-65.7191196109737
493844.493694.88104502548149.60895497452
503720.983688.8750823304132.1049176695879
513674.43540.07672057885134.323279421154
523857.623824.478806905233.1411930947961
533801.063939.72518592325-138.665185923247
543504.373617.25030258715-112.880302587152
553032.63175.59865467915-142.998654679153
563047.033180.83366935079-133.80366935079
572962.343036.39078338201-74.0507833820095
582197.822058.23787204851139.582127951488
592014.451876.18410773924138.265892260758
601862.831829.9657087483632.8642912516409
611905.411842.7920834841362.6179165158713
621810.991694.28493485469116.705065145313
631670.071611.9581879541558.1118120458538
641864.441909.52485682693-45.0848568269274
652052.022042.38339805429.63660194580358
662029.62096.2796455679-66.679645567904
672070.832083.90429842853-13.0742984285344
682293.412396.31225646684-102.90225646684
692443.272459.81204606458-16.5420460645794
702513.172536.66116608537-23.491166085369
712466.922535.85607261545-68.93607261545
722502.662628.22263362258-125.56263362258


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.969033243383990.06193351323201740.0309667566160087
230.9774720096251880.04505598074962480.0225279903748124
240.972129787650170.05574042469966130.0278702123498306
250.9937558586683590.01248828266328270.00624414133164135
260.9956018875743460.00879622485130770.00439811242565385
270.9995435702324840.0009128595350317580.000456429767515879
280.9998357126818390.0003285746363225580.000164287318161279
290.9999758376385994.83247228021442e-052.41623614010721e-05
300.999992512237511.49755249784547e-057.48776248922733e-06
310.9999816713758523.6657248295076e-051.8328624147538e-05
320.9999915324521861.69350956282712e-058.4675478141356e-06
330.9999891372722922.17254554164641e-051.0862727708232e-05
340.9999783415056374.33169887260594e-052.16584943630297e-05
350.9999491057669170.0001017884661663045.08942330831522e-05
360.9998830553738880.0002338892522249940.000116944626112497
370.9996842213281330.0006315573437342170.000315778671867109
380.9996569637707260.0006860724585485110.000343036229274256
390.9998175469035150.0003649061929704890.000182453096485245
400.9994922001899660.001015599620068270.000507799810034137
410.9987538189915130.002492362016973090.00124618100848654
420.9975179225946150.004964154810770250.00248207740538513
430.9949853982027050.01002920359458910.00501460179729456
440.9929267373089360.01414652538212840.0070732626910642
450.9936192114458760.01276157710824790.00638078855412396
460.9939763882681570.0120472234636860.006023611731843
470.9880801042112750.02383979157744990.011919895788725
480.9703545034593320.05929099308133580.0296454965406679
490.9795839726410730.04083205471785320.0204160273589266
500.963036887747570.07392622450485840.0369631122524292


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level170.586206896551724NOK
5% type I error level250.862068965517241NOK
10% type I error level291NOK
 
Charts produced by software:
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/10161a1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/10161a1291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/1u5my1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/1u5my1291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/25w3j1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/25w3j1291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/35w3j1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/35w3j1291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/45w3j1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/45w3j1291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/5fo241291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/5fo241291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/6fo241291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/6fo241291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/7qx271291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/7qx271291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/8qx271291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/8qx271291659423.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/9161a1291659423.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291659334j6i2of8oxfg7g6c/9161a1291659423.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