Home » date » 2008 » Dec » 18 »

verband tussen invoer en transport

*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: Wed, 17 Dec 2008 16:40:07 -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/18/t1229557319b1ydsu679mbqvvm.htm/, Retrieved Thu, 18 Dec 2008 00:41:59 +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/18/t1229557319b1ydsu679mbqvvm.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 «
124.9 1487.6 132 1320.9 151.4 1514 108.9 1290.9 121.3 1392.5 123.4 1288.2 90.3 1304.4 79.3 1297.8 117.2 1211 116.9 1454 120.8 1405.7 96.1 1160.8 100.8 1492.1 105.3 1263 116.1 1376.3 112.8 1368.6 114.5 1427.6 117.2 1339.8 77.1 1248.3 80.1 1309.8 120.3 1424 133.4 1590.5 109.4 1423.1 93.2 1355.3 91.2 1515 99.2 1385.6 108.2 1430 101.5 1494.2 106.9 1580.9 104.4 1369.8 77.9 1407.5 60 1388.3 99.5 1478.5 95 1630.4 105.6 1413.5 102.5 1493.8 93.3 1641.3 97.3 1465 127 1725.1 111.7 1628.4 96.4 1679.8 133 1876 72.2 1669.4 95.8 1712.4 124.1 1768.8 127.6 1820.5 110.7 1776.2 104.6 1693.7 112.7 1799.1 115.3 1917.5 139.4 1887.2 119 1787.8 97.4 1803.8 154 2196.4 81.5 1759.5 88.8 2002.6 127.7 2056.8 105.1 1851.1 114.9 1984.3 106.4 1725.3 104.5 2096.6 121.6 1792.2 141.4 2029.9 99 1785.3 126.7 2026.5 134.1 1930.8 81.3 1845.5 88.6 1943.1 132.7 2066.8 132.9 2354.4 134.4 2190.7 103.7 1929.6
 
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'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
transport[t] = + 12.4559752563566 + 0.0802653330259121Import[t] -15.0993762276999M1[t] + 4.86050178500652M2[t] + 13.5842789517794M3[t] + 0.812432578842404M4[t] -4.03685302338478M5[t] + 12.7811355727339M6[t] -23.7290083861327M7[t] -26.4189243286871M8[t] + 7.89414472530005M9[t] -2.29929218091119M10[t] + 2.84244365127035M11[t] -0.870630835956898t + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)12.455975256356610.5579651.17980.2429080.121454
Import0.08026533302591210.0093138.618200
M1-15.09937622769995.266853-2.86690.0057690.002884
M24.860501785006524.8089791.01070.3163510.158176
M313.58427895177945.123562.65130.010320.00516
M40.8124325788424044.8187470.16860.8666990.43335
M5-4.036853023384785.008944-0.80590.4235760.211788
M612.78113557273395.0151552.54850.0134880.006744
M7-23.72900838613274.74077-5.00536e-063e-06
M8-26.41892432868714.810629-5.49181e-060
M97.894144725300054.9094531.60790.1132770.056639
M10-2.299292180911195.255409-0.43750.6633670.331683
M112.842443651270354.92640.5770.5661850.283092
t-0.8706308359568980.121532-7.163800


Multiple Linear Regression - Regression Statistics
Multiple R0.920883307634184
R-squared0.848026066279275
Adjusted R-squared0.81396294320394
F-TEST (value)24.8957226970574
F-TEST (DF numerator)13
F-TEST (DF denominator)58
p-value0
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation8.17634311139641
Sum Squared Residuals3877.45002716621


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1124.9115.8886776020479.01132239795325
2132121.59769376337710.4023062366233
3151.4144.9500759014966.44992409850368
4108.9113.400402894521-4.5004028945214
5121.3115.835444291775.46455570823002
6123.4123.411127817329-0.0111278173290963
790.387.33065141752542.96934858247461
879.383.2403534410431-3.94035344104311
9117.2109.7157607524247.48423924757582
10116.9118.156168935553-1.25616893555268
11120.8118.5504583466262.24954165337423
1296.195.18040380135260.919596198647349
13100.8105.802301569181-5.00230156918054
14105.3106.502760949694-1.20276094969357
15116.1123.449969512345-7.34996951234545
16112.8109.1894492391523.61055076084801
17114.5108.2051874494976.29481255050329
18117.2117.1052489699830.0947510300166271
1977.172.3801962032894.71980379671107
2080.173.75596740587136.34403259412873
21120.3116.3647066554613.93529334453932
22133.4118.66481686210714.7351831378931
23109.4109.499505109794-0.09950510979384
2493.2100.344441043410-7.14444104340977
2591.297.1928076639911-5.99280766399115
2699.2105.895720747188-6.69572074718761
27108.2117.312647864354-9.11264786435413
28101.5108.823205035724-7.32320503572377
29106.9110.062292970886-3.16229297088627
30104.4109.065638929278-4.66563892927796
3177.974.71086718953143.18913281046865
326069.6092260169226-9.60922601692258
3399.5110.29159727389-10.7915972738901
3495111.419833618358-16.4198336183580
35105.698.28138788126237.31861211873768
36102.5101.0136196360161.48638036398419
3793.396.882749193681-3.58274919368107
3897.3101.821218157962-4.52121815796227
39127130.551377608818-3.55137760881802
40111.7109.1472426963182.5527573036816
4196.4107.552964375666-11.1529643756662
42133139.248380475512-6.24838047551189
4372.285.284787877535-13.0847878775350
4495.885.17565041913810.6243495808621
45124.1123.1450534198300.954946580170384
46127.6116.23070339510111.3692966048989
47110.7116.946054138278-6.24605413827786
48104.6106.611089676413-2.01108967641288
49112.799.101048713687213.5989512863128
50115.3127.693711320705-12.3937113207047
51139.4133.1148180608366.2851819391644
52119111.4939667491667.506033250834
5397.4107.058295639397-9.6582956393965
54154154.517823145531-0.517823145531363
5581.582.0691243516869-0.56912435168686
5688.898.0210800317748-9.22108003177483
57127.7135.813899299810-8.11389929980953
58105.1108.239252554211-3.13925255421125
59114.9123.201699909487-8.30169990948737
60106.498.69990416854897.7000958314511
61104.5112.532415257413-8.03241525741329
62121.6107.18889506107514.4111049389249
63141.4134.1211110521507.27888894784952
6499100.845733385118-1.84573338511844
65126.7114.48581527278412.2141847272156
66134.1122.75178066236611.3482193376337
6781.378.52437296043252.77562703956749
6888.682.79772268525035.80227731474972
69132.7126.1689825985866.53101740141411
70132.9138.18922463467-5.28922463467003
71134.4129.3208946145535.07910538544716
72103.7104.65054167426-0.950541674259964


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
170.1982157426559460.3964314853118910.801784257344054
180.08818521927987110.1763704385597420.911814780720129
190.1150494177470370.2300988354940740.884950582252963
200.1491421212749910.2982842425499830.850857878725009
210.2002614086052090.4005228172104180.799738591394791
220.3372849089827710.6745698179655420.662715091017229
230.2518720119104060.5037440238208120.748127988089594
240.2948721394591660.5897442789183320.705127860540834
250.2247457810109150.449491562021830.775254218989085
260.2036828146726940.4073656293453890.796317185327306
270.1548812964196020.3097625928392040.845118703580398
280.1140744396318650.2281488792637310.885925560368135
290.09287721171069720.1857544234213940.907122788289303
300.06628106371035330.1325621274207070.933718936289647
310.05701755293685940.1140351058737190.94298244706314
320.05095284205667260.1019056841133450.949047157943327
330.07465668717989220.1493133743597840.925343312820108
340.1801037749598260.3602075499196510.819896225040174
350.2213658438837460.4427316877674910.778634156116254
360.2124321093025050.424864218605010.787567890697495
370.1694189035859120.3388378071718240.830581096414088
380.1342930783270650.2685861566541290.865706921672935
390.1085500297066340.2171000594132680.891449970293366
400.1002853896184780.2005707792369550.899714610381522
410.1039876708359300.2079753416718590.89601232916407
420.08441401624023270.1688280324804650.915585983759767
430.09575903145836770.1915180629167350.904240968541632
440.1656553969392880.3313107938785760.834344603060712
450.1176288287400310.2352576574800630.882371171259969
460.2450089480657150.4900178961314290.754991051934286
470.1902763843003940.3805527686007870.809723615699606
480.1342774890906230.2685549781812460.865722510909377
490.3707674733636410.7415349467272830.629232526636359
500.4587925855296720.9175851710593450.541207414470328
510.4004833251995370.8009666503990730.599516674800463
520.591767050469130.816465899061740.40823294953087
530.7603311130422240.4793377739155530.239668886957776
540.6552775319939180.6894449360121640.344722468006082
550.5246350727844940.9507298544310120.475364927215506


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


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/18hp71229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/18hp71229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/22gds1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/22gds1229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/3o41t1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/3o41t1229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/4r35y1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/4r35y1229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/5xcat1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/5xcat1229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/6rx2c1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/6rx2c1229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/73ji01229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/73ji01229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/8f6t11229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/8f6t11229557196.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/9yhgi1229557196.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/18/t1229557319b1ydsu679mbqvvm/9yhgi1229557196.ps (open in new window)


 
Parameters (Session):
par1 = 12 ;
 
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