Home » date » 2008 » Dec » 16 »

Multiple Regression Bouwaanvragen

*Unverified author*
R Software Module: rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Tue, 16 Dec 2008 13:13:56 -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/16/t1229458492hm23d7lqyq2qdqc.htm/, Retrieved Tue, 16 Dec 2008 21:15:01 +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/16/t1229458492hm23d7lqyq2qdqc.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 «
28.24 1969.6 111.5 3796 29.58 2061.41 112 3711 26.95 2093.48 111.9 3949 29.08 2120.88 111.8 3740 28.76 2174.56 112.2 3243 29.59 2196.72 112.5 4407 30.7 2350.44 114.3 4814 30.52 2440.25 116.9 3908 32.67 2408.64 124.5 5250 33.19 2472.81 130.3 3937 37.13 2407.6 133.4 4004 35.54 2454.62 134.4 5560 37.75 2448.05 134.5 3922 41.84 2497.84 136.3 3759 42.94 2645.64 138 4138 49.14 2756.76 138.8 4634 44.61 2849.27 138.3 3996 40.22 2921.44 138.3 4308 44.23 2981.85 141.2 4142 45.85 3080.58 142.4 4429 53.38 3106.22 141.5 5219 53.26 3119.31 140.9 4929 51.8 3061.26 140.5 5754 55.3 3097.31 140 5592 57.81 3161.69 139.3 4163 63.96 3257.16 138.7 4962 63.77 3277.01 139.1 5208 59.15 3295.32 138.4 4755 56.12 3363.99 138.4 4491 57.42 3494.17 138.5 5732 63.52 3667.03 140.4 5730 61.71 3813.06 140.7 5024 63.01 3917.96 142.2 6056 68.18 3895.51 144.2 4901 72.03 3801.06 145.6 5353 69.75 3570.12 147.5 5578 74.41 3701.61 149.7 4618 74.33 3862.27 151.5 4724 64.24 3970.1 153.8 5011 60.03 4138.52 153.9 5298 59.44 4199.75 154.3 4143 62.5 4290.89 154.9 4617 55.04 4443.91 156.3 4736 58.34 4502.64 156.2 4214 61.92 4356.98 157.7 5112 67.65 4591.27 158.6 4197 67.68 4696.96 159.8 4119 70.3 4621.4 160.2 5104 75.26 4562.84 159.9 4194 71.44 4202.52 160.1 4583 76.36 4296.49 159.2 3790 81.71 4435.23 160.7 5557 92.6 4105.18 158.7 4304 90.6 4116.68 158.6 3838 92.23 3844.49 159 4277 94.09 3720.98 159.7 4951 102.79 3674.4 164.1 4479 109.65 3857.62 165.9 4677 124.05 3801.06 170.4 4274 132.69 3504.37 174.5 4782
 
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'George Udny Yule' @ 72.249.76.132


Multiple Linear Regression - Estimated Regression Equation
olie[t] = + 47.950868525666 -0.0223120146777083Bel20[t] + 0.0211610369424831Metaal[t] + 0.00437910398233475bouwaanvragen[t] + 4.14482496021094M1[t] + 2.82658129900088M2[t] + 0.823853361633086M3[t] + 0.114628069556997M4[t] + 1.60986689727842M5[t] -1.65009307396808M6[t] -2.19996647120571M7[t] -1.12002279828299M8[t] -2.17769483427941M9[t] + 4.47415130022531M10[t] + 4.98715599900658M11[t] + 2.08941443458687t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)47.95086852566622.2953892.15070.0370320.018516
Bel20-0.02231201467770830.002459-9.075400
Metaal0.02116103694248310.1733270.12210.9033860.451693
bouwaanvragen0.004379103982334750.0016392.6710.010560.00528
M14.144824960210944.4115050.93950.3525780.176289
M22.826581299000884.2490830.66520.5093810.25469
M30.8238533616330864.2303040.19480.8464850.423242
M40.1146280695569974.0820930.02810.9777250.488862
M51.609866897278424.5656530.35260.7260690.363034
M6-1.650093073968084.24273-0.38890.6992090.349605
M7-2.199966471205714.135717-0.53190.5974410.298721
M8-1.120022798282994.264154-0.26270.7940390.397019
M9-2.177694834279413.903831-0.55780.5797840.289892
M104.474151300225314.1578831.07610.2877630.143882
M114.987155999006584.0147841.24220.2207440.110372
t2.089414434586870.16972312.310700


Multiple Linear Regression - Regression Statistics
Multiple R0.975007393121551
R-squared0.950639416641684
Adjusted R-squared0.933811945042258
F-TEST (value)56.493300911238
F-TEST (DF numerator)15
F-TEST (DF denominator)44
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation6.06149239613482
Sum Squared Residuals1616.63436300961


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
128.2429.2218981472794-0.981898147279352
229.5827.58295953306821.99704046693175
326.9527.9942103636747-1.04421036367473
429.0827.84570146801411.23429853198591
528.7628.06469551797960.69530448202037
629.5931.5033410825824-1.91334108258238
730.731.433464410981-0.733464410981009
830.5228.68653096834081.83346903165922
932.6736.4611375759497-3.7911375759497
1033.1938.1436066486336-4.9536066486336
1137.1342.5599914404732-5.42999144047323
1235.5445.448185779363-9.90818577936302
1337.7544.6581588912233-6.9081588912233
1441.8443.6427103711729-1.80271037117291
1542.9442.12733527113380.812664728866192
1649.1443.21717774744965.92282225255036
1744.6141.93329767272232.67670232727766
1840.2240.5187744792609-0.298774479260949
1944.2340.04488245599544.18511754400454
2045.8542.29357144163593.55642855836405
2153.3846.19368099668627.18631900331381
2253.2653.360240516604-0.100240516603996
2351.860.8621684726623-9.06216847266227
2455.356.4400834155017-1.14008341550171
2557.8154.96532298873262.84467701126744
2663.9657.09257318054856.86742681945147
2763.7757.82209018084645.94790981915357
2859.1556.7951995047512.35480049524899
2956.1257.6916032678047-1.57160326780471
3057.4259.0530638061727-1.63306380617267
3163.5256.76719774855936.75280225144071
3261.7153.59303325223768.11696674776244
3363.0156.83522217631966.1747778236804
3468.1861.0618444492147.11815555078595
3572.0367.78061382062654.24938617937348
3669.7571.0611132920928-1.31111329209281
3774.4170.20416033515084.20583966484915
3874.3367.8929577190316.437042280969
3964.2466.8792129014506-2.63921290145057
4060.0365.760531478566-5.73053147856603
4159.4462.9296193973386-3.48961939733861
4262.561.81394875274480.686051247255202
4355.0460.4900441297284-5.45004412972844
4458.3460.0610092327432-1.72100923274321
4561.9268.306896620839-6.386896620839
4667.6567.8328400605022-0.18284006050222
4767.6867.7609254962922-0.080925496292241
4870.370.8709615982969-0.570961598296917
4975.2674.4204596376140.839540362386068
5071.4484.9387991961793-13.4987991961793
5176.3679.4371512828945-3.07715128289446
5281.7185.4913898012192-3.78138980121923
5392.690.91078414415471.68921585584528
5490.687.44087187923923.1591281207608
5592.2396.9844112547358-4.75441125473581
5694.09105.875855105043-11.7858551050425
57102.79105.973062630206-3.18306263020552
58109.65111.531468325046-1.88146832504615
59124.05113.72630076994610.3236992300543
60132.69119.75965591474612.9303440852545


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
190.0003159367837260730.0006318735674521470.999684063216274
206.16936279098246e-050.0001233872558196490.99993830637209
210.01787473086263850.03574946172527690.982125269137362
220.006779400064550640.01355880012910130.99322059993545
230.01529267193899660.03058534387799310.984707328061003
240.009927714643038330.01985542928607670.990072285356962
250.004823739173613150.00964747834722630.995176260826387
260.001978913530640590.003957827061281190.99802108646936
270.0009143689604806530.001828737920961310.99908563103952
280.0008988235548556570.001797647109711310.999101176445144
290.0009270393353447290.001854078670689460.999072960664655
300.000716605520707140.001433211041414280.999283394479293
310.0003707499677198040.0007414999354396080.99962925003228
320.0005266926927748870.001053385385549770.999473307307225
330.004935569409567850.00987113881913570.995064430590432
340.00505427305940270.01010854611880540.994945726940597
350.004204970313388990.008409940626777970.995795029686611
360.002464188548581000.004928377097162010.99753581145142
370.001148635327780980.002297270655561950.99885136467222
380.1965934877947170.3931869755894350.803406512205283
390.6514415388826920.6971169222346160.348558461117308
400.8584123139552360.2831753720895290.141587686044764
410.8451324461984870.3097351076030260.154867553801513


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level140.608695652173913NOK
5% type I error level190.826086956521739NOK
10% type I error level190.826086956521739NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/10cs0h1229458429.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/10cs0h1229458429.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/1bkea1229458428.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/1bkea1229458428.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/2oidj1229458428.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/2oidj1229458428.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/3wpp31229458428.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/3wpp31229458428.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/4nr1a1229458428.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/4nr1a1229458428.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/5exqf1229458428.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/5exqf1229458428.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/6lf4z1229458429.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/6lf4z1229458429.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/7p1nv1229458429.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/7p1nv1229458429.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/899jg1229458429.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/899jg1229458429.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/9ftgr1229458429.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/16/t1229458492hm23d7lqyq2qdqc/9ftgr1229458429.ps (open in new window)


 
Parameters (Session):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
Parameters (R input):
par1 = 1 ; par2 = Include Monthly Dummies ; par3 = Linear Trend ;
 
R code (references can be found in the software module):
library(lattice)
library(lmtest)
n25 <- 25 #minimum number of obs. for Goldfeld-Quandt test
par1 <- as.numeric(par1)
x <- t(y)
k <- length(x[1,])
n <- length(x[,1])
x1 <- cbind(x[,par1], x[,1:k!=par1])
mycolnames <- c(colnames(x)[par1], colnames(x)[1:k!=par1])
colnames(x1) <- mycolnames #colnames(x)[par1]
x <- x1
if (par3 == 'First Differences'){
x2 <- array(0, dim=c(n-1,k), dimnames=list(1:(n-1), paste('(1-B)',colnames(x),sep='')))
for (i in 1:n-1) {
for (j in 1:k) {
x2[i,j] <- x[i+1,j] - x[i,j]
}
}
x <- x2
}
if (par2 == 'Include Monthly Dummies'){
x2 <- array(0, dim=c(n,11), dimnames=list(1:n, paste('M', seq(1:11), sep ='')))
for (i in 1:11){
x2[seq(i,n,12),i] <- 1
}
x <- cbind(x, x2)
}
if (par2 == 'Include Quarterly Dummies'){
x2 <- array(0, dim=c(n,3), dimnames=list(1:n, paste('Q', seq(1:3), sep ='')))
for (i in 1:3){
x2[seq(i,n,4),i] <- 1
}
x <- cbind(x, x2)
}
k <- length(x[1,])
if (par3 == 'Linear Trend'){
x <- cbind(x, c(1:n))
colnames(x)[k+1] <- 't'
}
x
k <- length(x[1,])
df <- as.data.frame(x)
(mylm <- lm(df))
(mysum <- summary(mylm))
if (n > n25) {
kp3 <- k + 3
nmkm3 <- n - k - 3
gqarr <- array(NA, dim=c(nmkm3-kp3+1,3))
numgqtests <- 0
numsignificant1 <- 0
numsignificant5 <- 0
numsignificant10 <- 0
for (mypoint in kp3:nmkm3) {
j <- 0
numgqtests <- numgqtests + 1
for (myalt in c('greater', 'two.sided', 'less')) {
j <- j + 1
gqarr[mypoint-kp3+1,j] <- gqtest(mylm, point=mypoint, alternative=myalt)$p.value
}
if (gqarr[mypoint-kp3+1,2] < 0.01) numsignificant1 <- numsignificant1 + 1
if (gqarr[mypoint-kp3+1,2] < 0.05) numsignificant5 <- numsignificant5 + 1
if (gqarr[mypoint-kp3+1,2] < 0.10) numsignificant10 <- numsignificant10 + 1
}
gqarr
}
bitmap(file='test0.png')
plot(x[,1], type='l', main='Actuals and Interpolation', ylab='value of Actuals and Interpolation (dots)', xlab='time or index')
points(x[,1]-mysum$resid)
grid()
dev.off()
bitmap(file='test1.png')
plot(mysum$resid, type='b', pch=19, main='Residuals', ylab='value of Residuals', xlab='time or index')
grid()
dev.off()
bitmap(file='test2.png')
hist(mysum$resid, main='Residual Histogram', xlab='values of Residuals')
grid()
dev.off()
bitmap(file='test3.png')
densityplot(~mysum$resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test4.png')
qqnorm(mysum$resid, main='Residual Normal Q-Q Plot')
qqline(mysum$resid)
grid()
dev.off()
(myerror <- as.ts(mysum$resid))
bitmap(file='test5.png')
dum <- cbind(lag(myerror,k=1),myerror)
dum
dum1 <- dum[2:length(myerror),]
dum1
z <- as.data.frame(dum1)
z
plot(z,main=paste('Residual Lag plot, lowess, and regression line'), ylab='values of Residuals', xlab='lagged values of Residuals')
lines(lowess(z))
abline(lm(z))
grid()
dev.off()
bitmap(file='test6.png')
acf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Autocorrelation Function')
grid()
dev.off()
bitmap(file='test7.png')
pacf(mysum$resid, lag.max=length(mysum$resid)/2, main='Residual Partial Autocorrelation Function')
grid()
dev.off()
bitmap(file='test8.png')
opar <- par(mfrow = c(2,2), oma = c(0, 0, 1.1, 0))
plot(mylm, las = 1, sub='Residual Diagnostics')
par(opar)
dev.off()
if (n > n25) {
bitmap(file='test9.png')
plot(kp3:nmkm3,gqarr[,2], main='Goldfeld-Quandt test',ylab='2-sided p-value',xlab='breakpoint')
grid()
dev.off()
}
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Estimated Regression Equation', 1, TRUE)
a<-table.row.end(a)
myeq <- colnames(x)[1]
myeq <- paste(myeq, '[t] = ', sep='')
for (i in 1:k){
if (mysum$coefficients[i,1] > 0) myeq <- paste(myeq, '+', '')
myeq <- paste(myeq, mysum$coefficients[i,1], sep=' ')
if (rownames(mysum$coefficients)[i] != '(Intercept)') {
myeq <- paste(myeq, rownames(mysum$coefficients)[i], sep='')
if (rownames(mysum$coefficients)[i] != 't') myeq <- paste(myeq, '[t]', sep='')
}
}
myeq <- paste(myeq, ' + e[t]')
a<-table.row.start(a)
a<-table.element(a, myeq)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable1.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,hyperlink('http://www.xycoon.com/ols1.htm','Multiple Linear Regression - Ordinary Least Squares',''), 6, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Variable',header=TRUE)
a<-table.element(a,'Parameter',header=TRUE)
a<-table.element(a,'S.D.',header=TRUE)
a<-table.element(a,'T-STAT<br />H0: parameter = 0',header=TRUE)
a<-table.element(a,'2-tail p-value',header=TRUE)
a<-table.element(a,'1-tail p-value',header=TRUE)
a<-table.row.end(a)
for (i in 1:k){
a<-table.row.start(a)
a<-table.element(a,rownames(mysum$coefficients)[i],header=TRUE)
a<-table.element(a,mysum$coefficients[i,1])
a<-table.element(a, round(mysum$coefficients[i,2],6))
a<-table.element(a, round(mysum$coefficients[i,3],4))
a<-table.element(a, round(mysum$coefficients[i,4],6))
a<-table.element(a, round(mysum$coefficients[i,4]/2,6))
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable2.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Regression Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple R',1,TRUE)
a<-table.element(a, sqrt(mysum$r.squared))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'R-squared',1,TRUE)
a<-table.element(a, mysum$r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Adjusted R-squared',1,TRUE)
a<-table.element(a, mysum$adj.r.squared)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (value)',1,TRUE)
a<-table.element(a, mysum$fstatistic[1])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF numerator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[2])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'F-TEST (DF denominator)',1,TRUE)
a<-table.element(a, mysum$fstatistic[3])
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'p-value',1,TRUE)
a<-table.element(a, 1-pf(mysum$fstatistic[1],mysum$fstatistic[2],mysum$fstatistic[3]))
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Residual Statistics', 2, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Residual Standard Deviation',1,TRUE)
a<-table.element(a, mysum$sigma)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Sum Squared Residuals',1,TRUE)
a<-table.element(a, sum(myerror*myerror))
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable3.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a, 'Multiple Linear Regression - Actuals, Interpolation, and Residuals', 4, TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a, 'Time or Index', 1, TRUE)
a<-table.element(a, 'Actuals', 1, TRUE)
a<-table.element(a, 'Interpolation<br />Forecast', 1, TRUE)
a<-table.element(a, 'Residuals<br />Prediction Error', 1, TRUE)
a<-table.row.end(a)
for (i in 1:n) {
a<-table.row.start(a)
a<-table.element(a,i, 1, TRUE)
a<-table.element(a,x[i])
a<-table.element(a,x[i]-mysum$resid[i])
a<-table.element(a,mysum$resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable4.tab')
if (n > n25) {
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'p-values',header=TRUE)
a<-table.element(a,'Alternative Hypothesis',3,header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'breakpoint index',header=TRUE)
a<-table.element(a,'greater',header=TRUE)
a<-table.element(a,'2-sided',header=TRUE)
a<-table.element(a,'less',header=TRUE)
a<-table.row.end(a)
for (mypoint in kp3:nmkm3) {
a<-table.row.start(a)
a<-table.element(a,mypoint,header=TRUE)
a<-table.element(a,gqarr[mypoint-kp3+1,1])
a<-table.element(a,gqarr[mypoint-kp3+1,2])
a<-table.element(a,gqarr[mypoint-kp3+1,3])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable5.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity',4,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Description',header=TRUE)
a<-table.element(a,'# significant tests',header=TRUE)
a<-table.element(a,'% significant tests',header=TRUE)
a<-table.element(a,'OK/NOK',header=TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'1% type I error level',header=TRUE)
a<-table.element(a,numsignificant1)
a<-table.element(a,numsignificant1/numgqtests)
if (numsignificant1/numgqtests < 0.01) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'5% type I error level',header=TRUE)
a<-table.element(a,numsignificant5)
a<-table.element(a,numsignificant5/numgqtests)
if (numsignificant5/numgqtests < 0.05) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'10% type I error level',header=TRUE)
a<-table.element(a,numsignificant10)
a<-table.element(a,numsignificant10/numgqtests)
if (numsignificant10/numgqtests < 0.1) dum <- 'OK' else dum <- 'NOK'
a<-table.element(a,dum)
a<-table.row.end(a)
a<-table.end(a)
table.save(a,file='mytable6.tab')
}
 





Copyright

Creative Commons License

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.

Software written by Ed van Stee & Patrick Wessa


Disclaimer

Information provided on this web site is provided "AS IS" without warranty of any kind, either express or implied, including, without limitation, warranties of merchantability, fitness for a particular purpose, and noninfringement. We use reasonable efforts to include accurate and timely information and periodically update the information, and software without notice. However, we make no warranties or representations as to the accuracy or completeness of such information (or software), and we assume no liability or responsibility for errors or omissions in the content of this web site, or any software bugs in online applications. Your use of this web site is AT YOUR OWN RISK. Under no circumstances and under no legal theory shall we be liable to you or any other person for any direct, indirect, special, incidental, exemplary, or consequential damages arising from your access to, or use of, this web site.


Privacy Policy

We may request personal information to be submitted to our servers in order to be able to:

  • personalize online software applications according to your needs
  • enforce strict security rules with respect to the data that you upload (e.g. statistical data)
  • manage user sessions of online applications
  • alert you about important changes or upgrades in resources or applications

We NEVER allow other companies to directly offer registered users information about their products and services. Banner references and hyperlinks of third parties NEVER contain any personal data of the visitor.

We do NOT sell, nor transmit by any means, personal information, nor statistical data series uploaded by you to third parties.

We carefully protect your data from loss, misuse, alteration, and destruction. However, at any time, and under any circumstance you are solely responsible for managing your passwords, and keeping them secret.

We store a unique ANONYMOUS USER ID in the form of a small 'Cookie' on your computer. This allows us to track your progress when using this website which is necessary to create state-dependent features. The cookie is used for NO OTHER PURPOSE. At any time you may opt to disallow cookies from this website - this will not affect other features of this website.

We examine cookies that are used by third-parties (banner and online ads) very closely: abuse from third-parties automatically results in termination of the advertising contract without refund. We have very good reason to believe that the cookies that are produced by third parties (banner ads) do NOT cause any privacy or security risk.

FreeStatistics.org is safe. There is no need to download any software to use the applications and services contained in this website. Hence, your system's security is not compromised by their use, and your personal data - other than data you submit in the account application form, and the user-agent information that is transmitted by your browser - is never transmitted to our servers.

As a general rule, we do not log on-line behavior of individuals (other than normal logging of webserver 'hits'). However, in cases of abuse, hacking, unauthorized access, Denial of Service attacks, illegal copying, hotlinking, non-compliance with international webstandards (such as robots.txt), or any other harmful behavior, our system engineers are empowered to log, track, identify, publish, and ban misbehaving individuals - even if this leads to ban entire blocks of IP addresses, or disclosing user's identity.


FreeStatistics.org is powered by