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:38:46 +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/t1291660600f3wgln58m8epdas.htm/, Retrieved Mon, 06 Dec 2010 19:36:50 +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/t1291660600f3wgln58m8epdas.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 time8 seconds
R Server'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
BEL_20[t] = -2101.09115636333 + 0.192421203520586Nikkei[t] + 0.301255385502806DJ_Indust[t] + 0.0119317373319972Goudprijs[t] -8.47433649695562Conjunct_Seizoenzuiver[t] -8.59705875060859Cons_vertrouw[t] + 27.737341113729Alg_consumptie_index_BE[t] -259.760301077346Gem_rente_kasbon_5j[t] + 111.420983877044M1[t] + 147.196762063619M2[t] + 143.318245880678M3[t] + 78.5931152743392M4[t] + 68.8461761572716M5[t] + 46.0649034733881M6[t] + 77.6007840575795M7[t] + 97.83209496903M8[t] + 117.535120245602M9[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.09115636333310.359456-6.769900
Nikkei0.1924212035205860.0162311.855700
DJ_Indust0.3012553855028060.0363368.290800
Goudprijs0.01193173733199720.0090281.32160.1919790.09599
Conjunct_Seizoenzuiver-8.474336496955627.250353-1.16880.2477080.123854
Cons_vertrouw-8.597058750608599.855071-0.87230.3869530.193477
Alg_consumptie_index_BE27.73734111372920.1481951.37670.1744030.087202
Gem_rente_kasbon_5j-259.76030107734664.403705-4.03330.0001778.9e-05
M1111.420983877044103.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.0649034733881100.3630710.4590.6481240.324062
M777.6007840575795100.8119330.76980.4448610.22243
M897.83209496903102.1222010.9580.3424170.171209
M9117.535120245602100.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.101067153973
F-TEST (DF numerator)18
F-TEST (DF denominator)53
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation167.911044300261
Sum Squared Residuals1494288.29629422


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
12350.442641.39845917013-290.958459170134
22440.252616.92159422002-176.671594220021
32408.642726.85128534376-318.21128534376
42472.812848.67839698914-375.868396989143
52407.62555.27875871935-147.678758719351
62454.622648.07394855203-193.453948552026
72448.052555.18101653486-107.131016534862
82497.842493.127347385744.71265261425887
92645.642573.1296101906772.5103898093345
102756.762617.18842554128139.571574458719
112849.272701.88921051192147.380789488082
122921.442682.08741134108239.352588658924
132981.852827.57150213297154.278497867026
143080.582990.5014574318690.0785425681443
153106.223038.8537335850967.3662664149116
163119.312820.97426345955298.335736540447
173061.262840.30835845013220.951641549869
183097.312955.34744355393141.962556446074
193161.693099.7968226386961.893177361309
203257.163183.4193552625973.7406447374147
213277.013365.00605759133-87.9960575913268
223295.323369.21931312572-73.8993131257242
233363.993579.75137323752-215.761373237519
243494.173682.24303552564-188.073035525643
253667.033835.91295714123-168.882957141232
263813.063940.46332432876-127.403324328765
273917.963988.71832487628-70.7583248762801
283895.514056.70603718522-161.196037185224
293801.063903.07056246709-102.010562467087
303570.123441.34162636562128.778373634377
313701.613476.62356237362224.986437626382
323862.273686.12983968646176.140160313543
333970.13829.7789676863140.321032313696
344138.524090.2342765897448.2857234102573
354199.754058.9205168308140.829483169199
364290.894183.75209115137107.137908848633
374443.914350.5739530460693.3360469539443
384502.644437.4536068342665.1863931657415
394356.984227.81174766188129.168252338122
404591.274340.59763863395250.672361366051
414696.964539.19373638599157.766263614013
424621.44519.12703337337102.272966626632
434562.844586.51564534514-23.6756453451413
444202.524220.40753184759-17.887531847587
454296.494330.73253508512-34.2425350851151
464435.234665.27894660937-230.048946609371
474105.184246.95871906507-141.778719065070
484116.684182.39911961097-65.7191196109733
493844.493694.88104502548149.608954974522
503720.983688.8750823304132.1049176695874
513674.43540.07672057885134.323279421153
523857.623824.4788069052033.1411930947961
533801.063939.72518592325-138.665185923247
543504.373617.25030258715-112.880302587152
553032.63175.59865467915-142.998654679154
563047.033180.83366935079-133.80366935079
572962.343036.39078338201-74.0507833820098
582197.822058.23787204851139.582127951488
592014.451876.18410773924138.265892260758
601862.831829.9657087483632.8642912516415
611905.411842.7920834841362.6179165158736
621810.991694.28493485469116.705065145312
631670.071611.9581879541558.1118120458536
641864.441909.52485682693-45.0848568269278
652052.022042.383398054209.63660194580364
662029.62096.27964556790-66.6796455679041
672070.832083.90429842853-13.0742984285343
682293.412396.31225646684-102.902256466841
692443.272459.81204606458-16.5420460645794
702513.172536.66116608537-23.4911660853690
712466.922535.85607261545-68.9360726154506
722502.662628.22263362258-125.562633622581


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
220.9690332433839920.06193351323201630.0309667566160081
230.9774720096251880.0450559807496240.022527990374812
240.972129787650170.0557404246996590.0278702123498295
250.9937558586683580.01248828266328310.00624414133164155
260.9956018875743460.00879622485130740.0043981124256537
270.9995435702324840.0009128595350317040.000456429767515852
280.9998357126818390.0003285746363225880.000164287318161294
290.9999758376385994.83247228021483e-052.41623614010742e-05
300.999992512237511.49755249784545e-057.48776248922723e-06
310.9999816713758523.66572482950834e-051.83286241475417e-05
320.9999915324521861.69350956282700e-058.46754781413499e-06
330.9999891372722922.17254554164629e-051.08627277082314e-05
340.9999783415056374.33169887260622e-052.16584943630311e-05
350.9999491057669170.0001017884661663105.08942330831549e-05
360.9998830553738880.0002338892522250080.000116944626112504
370.9996842213281330.0006315573437342210.000315778671867110
380.9996569637707260.0006860724585484550.000343036229274227
390.9998175469035150.0003649061929705120.000182453096485256
400.9994922001899660.001015599620068230.000507799810034113
410.9987538189915130.002492362016972990.00124618100848650
420.9975179225946150.004964154810770250.00248207740538512
430.9949853982027050.01002920359458890.00501460179729446
440.9929267373089360.01414652538212800.00707326269106401
450.9936192114458760.0127615771082480.006380788554124
460.9939763882681570.01204722346368600.00602361173184298
470.9880801042112750.02383979157744990.0119198957887249
480.9703545034593320.05929099308133650.0296454965406683
490.9795839726410740.04083205471785210.0204160273589260
500.963036887747570.07392622450485820.0369631122524291


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/t1291660600f3wgln58m8epdas/10uvyk1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/10uvyk1291660717.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/2ncjq1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/2ncjq1291660717.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/3gm0b1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/3gm0b1291660717.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/4gm0b1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/4gm0b1291660717.ps (open in new window)


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


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/69v0e1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/69v0e1291660717.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/79v0e1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/79v0e1291660717.ps (open in new window)


http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/814zz1291660717.png (open in new window)
http://www.freestatistics.org/blog/date/2010/Dec/06/t1291660600f3wgln58m8epdas/814zz1291660717.ps (open in new window)


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