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:36: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/18/t1229557091n8mn5owsv84wt7i.htm/, Retrieved Thu, 18 Dec 2008 00:38:20 +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/t1229557091n8mn5owsv84wt7i.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 time3 seconds
R Server'Gwilym Jenkins' @ 72.249.127.135


Multiple Linear Regression - Estimated Regression Equation
transport[t] = + 71.8518914312245 + 0.0187411071659618Import[t] + 1.3805811093125M1[t] + 11.3693698776109M2[t] + 27.6133952119599M3[t] + 7.74364094227462M4[t] + 7.72394403001493M5[t] + 24.5931397743116M6[t] -20.6463294703562M7[t] -19.9063328612569M8[t] + 17.1445012034594M9[t] + 13.2069896234022M10[t] + 12.2751959194037M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)71.85189143122458.897688.075400
Import0.01874110716596180.0049053.82110.0003220.000161
M11.38058110931256.4492380.21410.8312310.415616
M211.36936987761096.4281051.76870.0821140.041057
M327.61339521195996.4446584.28476.8e-053.4e-05
M47.743640942274626.4257181.20510.2329760.116488
M57.723944030014936.4415751.19910.2352920.117646
M624.59313977431166.4471463.81460.0003290.000164
M7-20.64632947035626.426515-3.21270.0021320.001066
M8-19.90633286125696.430256-3.09570.0030020.001501
M917.14450120345946.4474732.65910.010070.005035
M1013.20698962340226.5187422.0260.0472940.023647
M1112.27519591940376.4618681.89960.0623720.031186


Multiple Linear Regression - Regression Statistics
Multiple R0.844722581779279
R-squared0.713556240167851
Adjusted R-squared0.65529649240538
F-TEST (value)12.2478429374097
F-TEST (DF numerator)12
F-TEST (DF denominator)59
p-value5.71576119767769e-12
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation11.1296685048460
Sum Squared Residuals7308.30174063787


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
1124.9101.11174356062123.7882564393787
2132107.97638976435424.0236102356457
3151.4127.83932289245023.5606771075496
4108.9103.7884276140395.11157238596088
5121.3105.67282718984115.6271728101588
6123.4120.5873254567282.81267454327200
790.375.651462148148814.6485378518512
879.376.26776744995273.03223255004734
9117.2111.6918734126645.50812658733642
10116.9112.3084508739354.59154912606494
11120.8110.47146169382110.3285383061794
1296.193.60656862947292.49343137052709
13100.8101.196078542869-0.396078542868528
14105.3106.891279659445-1.59127965944512
15116.1125.258672435697-9.1586724356975
16112.8105.2446116408347.55538835916564
17114.5106.3306400513668.16935994863359
18117.2121.554366586492-4.35436658649164
1977.174.60008603613832.49991396386167
2080.176.49266073594423.60733926405575
21120.3115.6837292390134.61627076098659
22133.4114.86661200208918.5333879979112
23109.4110.797556958508-1.39755695850831
2493.297.2517139732524-4.05171397325245
2591.2101.625249896969-10.4252498969690
2699.2109.188939397992-9.98893939799202
27108.2126.265069890510-18.0650698905096
28101.5107.598494700879-6.09849470087915
29106.9109.203651779908-2.30365177990835
30104.4122.116599801470-17.7165998014705
3177.977.58367029695940.316329703040578
326077.9638376484722-17.9638376484723
3399.5116.705119579558-17.2051195795583
3495115.614382178011-20.6143821780107
35105.6110.617642329715-5.01764232971509
36102.599.84735731573822.65264268426185
3793.3103.99225173203-10.6922517320300
3897.3110.676983306969-13.3769833069694
39127131.795570615185-4.79557061518496
40111.7110.1135512825511.58644871744878
4196.4111.057147278622-14.6571472786220
42133131.6033482488801.39665175111965
4372.282.4919662637248-10.2919662637248
4495.884.037830480960511.7621695190395
45124.1122.1456629898371.95433701016297
46127.6119.177066650268.42293334973998
47110.7117.415041898809-6.71504189880941
48104.6103.5937046382141.00629536178609
49112.7106.9495984428195.75040155718123
50115.3119.157334299567-3.85733429956709
51139.4134.8335040867874.56649591321264
52119113.1008837648065.89911623519447
5397.4113.381044567201-15.9810445672012
54154137.60799898485516.3920010151455
5581.584.180540019378-2.68054001937798
5688.889.4764997805225-0.676499780522547
57127.7127.5431018536340.156898146365985
58105.1119.750544529538-14.6505445295385
59114.9121.315066300046-6.41506630004606
60106.4104.1859236246582.21407637534171
61104.5112.525077824692-8.0250778246924
62121.6116.8090735716724.79092642832791
63141.4137.507860079373.8921399206299
6499113.054030996891-14.0540309968906
65126.7117.5546891330619.1453108669391
66134.1132.6303609215751.46963907842495
6781.385.7922752356507-4.49227523565069
6888.688.36140390414780.238596095852162
69132.7127.7305129252944.96948707470636
70132.9129.1829437661673.71705623383301
71134.4125.1832308191019.21676918089944
72103.7108.014731818664-4.31473181866428


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.8574558319672430.2850883360655130.142544168032757
170.857525847174960.2849483056500800.142474152825040
180.8531770101267640.2936459797464720.146822989873236
190.789154391764370.421691216471260.21084560823563
200.7155267958690170.5689464082619660.284473204130983
210.8492060954720450.3015878090559110.150793904527955
220.9106000054873740.1787999890252520.0893999945126261
230.9080238546480870.1839522907038260.091976145351913
240.9174482820001970.1651034359996060.0825517179998032
250.9547248564050030.0905502871899940.045275143594997
260.9737842755604990.05243144887900220.0262157244395011
270.9863200949588420.02735981008231630.0136799050411581
280.9829199372381820.03416012552363670.0170800627618184
290.9821202305605430.03575953887891340.0178797694394567
300.98299719490230.03400561019539900.0170028050976995
310.9817076003076230.03658479938475380.0182923996923769
320.9854495106241470.02910097875170550.0145504893758528
330.9864373718414050.02712525631718910.0135626281585946
340.9939506715986780.01209865680264420.0060493284013221
350.9906505581231640.01869888375367170.00934944187683587
360.9887516287091520.02249674258169600.0112483712908480
370.9828057907376870.03438841852462630.0171942092623131
380.9776240295626940.04475194087461120.0223759704373056
390.9686465809698970.06270683806020680.0313534190301034
400.958214112371630.0835717752567420.041785887628371
410.9498014075360940.1003971849278120.0501985924639060
420.9509690051458610.09806198970827750.0490309948541387
430.9297494048785940.1405011902428120.070250595121406
440.9489042275508270.1021915448983450.0510957724491726
450.9241130202221810.1517739595556370.0758869797778187
460.9531828676691620.09363426466167550.0468171323308377
470.9226988667881580.1546022664236830.0773011332118417
480.885508371746720.2289832565065610.114491628253280
490.9400992369732730.1198015260534550.0599007630267273
500.9358186540201260.1283626919597480.0641813459798738
510.9031476730463980.1937046539072040.0968523269536022
520.9515481265669810.09690374686603790.0484518734330189
530.9770811531622410.04583769367551730.0229188468377586
540.9617469167236520.07650616655269660.0382530832763483
550.9170961541826570.1658076916346870.0829038458173435
560.8169788547741020.3660422904517970.183021145225898


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


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


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


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


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


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


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


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


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


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


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