Home » date » 2008 » Dec » 14 »

Paper: Multiple Regression met dummy: Toetreding van Slovenië tot de EU zonder seasonal dummies en linear trend

*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: Sun, 14 Dec 2008 06:58:55 -0700
 
Cite this page as follows:
Statistical Computations at FreeStatistics.org, Office for Research Development and Education, URL http://www.freestatistics.org/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68.htm/, Retrieved Sun, 14 Dec 2008 15:00:31 +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/2008/Dec/14/t12292632210b664cjxb0npe68.htm/},
    year = {2008},
}
@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 = {2008},
    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 «
17.3 0 15.4 0 16.9 0 20.8 0 16.4 0 11.3 0 17.5 0 16.6 0 17.5 0 19.5 0 18.8 0 20.2 0 19.2 0 14.4 0 24.5 0 25.7 0 27.1 0 21 0 18.6 0 20 0 21.8 0 20.4 0 18 1 21.5 1 19.1 1 19.7 1 26 1 26.3 1 24.6 1 22.4 1 32 1 24 1 30 1 24.1 1 26.3 1 29.8 1 21.9 1 22.8 1 29.2 1 27.5 1 27.4 1 31 1 26.1 1 22.2 1 34 1 26.9 1 31.9 1 34.2 1 31.2 1 28.5 1 37.1 1 36 1 34.8 1 32.1 1 37.2 1 36.3 1 39.5 1 37.1 1 35.6 1 36.2 1 35.9 1 32.5 1 39.2 1 39.4 1 42.8 1 34.5 1 43.7 1 46.3 1 40.8 1 48.4 1 43.2 1 48.1 1 42.8 1
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
Aantal_werklozen[t] = + 19.1318181818182 + 12.9877896613191Dummyvariabele[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)19.13181818181821.46277113.079200
Dummyvariabele12.98778966131911.7500597.421300


Multiple Linear Regression - Regression Statistics
Multiple R0.66094575496907
R-squared0.436849291011634
Adjusted R-squared0.428917590885037
F-TEST (value)55.076375056942
F-TEST (DF numerator)1
F-TEST (DF denominator)71
p-value1.96981209121816e-10
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.8610023899415
Sum Squared Residuals3342.20811942959


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
117.319.1318181818180-1.83181818181804
215.419.1318181818182-3.73181818181822
316.919.1318181818182-2.23181818181819
420.819.13181818181821.66818181818181
516.419.1318181818182-2.73181818181819
611.319.1318181818182-7.83181818181819
717.519.1318181818182-1.63181818181819
816.619.1318181818182-2.53181818181819
917.519.1318181818182-1.63181818181819
1019.519.13181818181820.368181818181813
1118.819.1318181818182-0.331818181818186
1220.219.13181818181821.06818181818181
1319.219.13181818181820.0681818181818123
1414.419.1318181818182-4.73181818181819
1524.519.13181818181825.36818181818181
1625.719.13181818181826.56818181818181
1727.119.13181818181827.96818181818181
182119.13181818181821.86818181818181
1918.619.1318181818182-0.531818181818186
202019.13181818181820.868181818181813
2121.819.13181818181822.66818181818181
2220.419.13181818181821.26818181818181
231832.1196078431373-14.1196078431373
2421.532.1196078431373-10.6196078431373
2519.132.1196078431373-13.0196078431373
2619.732.1196078431373-12.4196078431373
272632.1196078431373-6.11960784313725
2826.332.1196078431373-5.81960784313725
2924.632.1196078431373-7.51960784313725
3022.432.1196078431373-9.71960784313726
313232.1196078431373-0.119607843137254
322432.1196078431373-8.11960784313725
333032.1196078431373-2.11960784313725
3424.132.1196078431373-8.01960784313725
3526.332.1196078431373-5.81960784313725
3629.832.1196078431373-2.31960784313725
3721.932.1196078431373-10.2196078431373
3822.832.1196078431373-9.31960784313725
3929.232.1196078431373-2.91960784313726
4027.532.1196078431373-4.61960784313725
4127.432.1196078431373-4.71960784313726
423132.1196078431373-1.11960784313725
4326.132.1196078431373-6.01960784313725
4422.232.1196078431373-9.91960784313726
453432.11960784313731.88039215686275
4626.932.1196078431373-5.21960784313726
4731.932.1196078431373-0.219607843137256
4834.232.11960784313732.08039215686275
4931.232.1196078431373-0.919607843137255
5028.532.1196078431373-3.61960784313725
5137.132.11960784313734.98039215686275
523632.11960784313733.88039215686275
5334.832.11960784313732.68039215686274
5432.132.1196078431373-0.0196078431372529
5537.232.11960784313735.08039215686275
5636.332.11960784313734.18039215686274
5739.532.11960784313737.38039215686275
5837.132.11960784313734.98039215686275
5935.632.11960784313733.48039215686275
6036.232.11960784313734.08039215686275
6135.932.11960784313733.78039215686274
6232.532.11960784313730.380392156862746
6339.232.11960784313737.08039215686275
6439.432.11960784313737.28039215686274
6542.832.119607843137310.6803921568627
6634.532.11960784313732.38039215686275
6743.732.119607843137311.5803921568627
6846.332.119607843137314.1803921568627
6940.832.11960784313738.68039215686274
7048.432.119607843137316.2803921568627
7143.232.119607843137311.0803921568627
7248.132.119607843137315.9803921568627
7342.832.119607843137310.6803921568627


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.0471507173301940.0943014346603880.952849282669806
60.08440859111366450.1688171822273290.915591408886336
70.03575484280203190.07150968560406380.964245157197968
80.01349530996530190.02699061993060390.986504690034698
90.00498511937279750.0099702387455950.995014880627203
100.002685658939572830.005371317879145660.997314341060427
110.001110104307211150.002220208614422290.998889895692789
120.0006561070292868130.001312214058573630.999343892970713
130.0002674195602714040.0005348391205428080.999732580439729
140.0001727364993362870.0003454729986725750.999827263500664
150.0007748284344847360.001549656868969470.999225171565515
160.002529293287885210.005058586575770430.997470706712115
170.007454687678126490.01490937535625300.992545312321873
180.004203029807920100.008406059615840190.99579697019208
190.002101775903201410.004203551806402810.997898224096799
200.001038124064323300.002076248128646610.998961875935677
210.0005898573922467850.001179714784493570.999410142607753
220.0002806542581933690.0005613085163867390.999719345741807
230.0002122453401725680.0004244906803451370.999787754659827
240.0001595670819893790.0003191341639787580.99984043291801
250.0001293009449725260.0002586018899450530.999870699055027
260.0001081260402709820.0002162520805419650.999891873959729
270.0001571438033004650.0003142876066009300.9998428561967
280.0001741521654355660.0003483043308711330.999825847834564
290.0001376551614171480.0002753103228342960.999862344838583
300.0001161106909345020.0002322213818690030.999883889309066
310.0004379046340791340.0008758092681582690.999562095365921
320.0003619470203772210.0007238940407544410.999638052979623
330.0004615227917885850.000923045583577170.999538477208211
340.0004122659698204590.0008245319396409170.99958773403018
350.0003468016157429140.0006936032314858270.999653198384257
360.0003738784916502290.0007477569833004570.99962612150835
370.0006316411829167920.001263282365833580.999368358817083
380.001015880547851260.002031761095702510.998984119452149
390.001133876287244580.002267752574489160.998866123712755
400.001222000460841660.002444000921683330.998777999539158
410.001398645274899220.002797290549798440.9986013547251
420.001790609620846160.003581219241692330.998209390379154
430.002651635689400010.005303271378800020.9973483643106
440.01307908188191940.02615816376383880.98692091811808
450.02228626053200970.04457252106401930.97771373946799
460.04268797317871460.08537594635742920.957312026821285
470.0579550896604550.115910179320910.942044910339545
480.07834518616834310.1566903723366860.921654813831657
490.1039860088503500.2079720177007000.89601399114965
500.1956847249335960.3913694498671930.804315275066404
510.2519911881368120.5039823762736250.748008811863188
520.2859664080456060.5719328160912120.714033591954394
530.3145151225977180.6290302451954350.685484877402282
540.3978775990324490.7957551980648980.602122400967551
550.4193087316153790.8386174632307570.580691268384621
560.4345261641049860.8690523282099710.565473835895014
570.4444556829955520.8889113659911050.555544317004448
580.4365777980123840.8731555960247680.563422201987616
590.4482002747988210.8964005495976420.551799725201179
600.454448329913610.908896659827220.54555167008639
610.4771832986541760.9543665973083530.522816701345824
620.7055771738487640.5888456523024720.294422826151236
630.6922009839074110.6155980321851790.307799016092589
640.6745267494394730.6509465011210530.325473250560527
650.6087766967743420.7824466064513170.391223303225658
660.899410795998850.2011784080023020.100589204001151
670.8344927093444570.3310145813110860.165507290655543
680.7390337864755020.5219324270489960.260966213524498


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level340.53125NOK
5% type I error level380.59375NOK
10% type I error level410.640625NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/1090wm1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/1090wm1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/1tmd01229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/1tmd01229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/2qg911229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/2qg911229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/3xmrb1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/3xmrb1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/45umg1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/45umg1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/5kwet1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/5kwet1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/6yabg1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/6yabg1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/7o25j1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/7o25j1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/8elxk1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/8elxk1229263130.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/9dc8k1229263130.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/14/t12292632210b664cjxb0npe68/9dc8k1229263130.ps (open in new window)


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