Home » date » 2008 » Dec » 07 »

invoer - werkloosheid

*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, 07 Dec 2008 07:22:03 -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/07/t12286598558uzb3woqki8j0pk.htm/, Retrieved Sun, 07 Dec 2008 14:24:15 +0000
 
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/07/t12286598558uzb3woqki8j0pk.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},
}
 
Family? (F = Feedback message, R = changed R code, M = changed R Module, P = changed Parameters, D = changed Data)
 
Feedback Forum:
2008-11-27 13:41:43 [a2386b643d711541400692649981f2dc] [reply
test

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
11554.5 7.5 13182.1 7.2 14800.1 6.9 12150.7 6.7 14478.2 6.4 13253.9 6.3 12036.8 6.8 12653.2 7.3 14035.4 7.1 14571.4 7.1 15400.9 6.8 14283.2 6.5 14485.3 6.3 14196.3 6.1 15559.1 6.1 13767.4 6.3 14634 6.3 14381.1 6 12509.9 6.2 12122.3 6.4 13122.3 6.8 13908.7 7.5 13456.5 7.5 12441.6 7.6 12953 7.6 13057.2 7.4 14350.1 7.3 13830.2 7.1 13755.5 6.9 13574.4 6.8 12802.6 7.5 11737.3 7.6 13850.2 7.8 15081.8 8 13653.3 8.1 14019.1 8.2 13962 8.3 13768.7 8.2 14747.1 8 13858.1 7.9 13188 7.6 13693.1 7.6 12970 8.2 11392.8 8.3 13985.2 8.4 14994.7 8.4 13584.7 8.4 14257.8 8.6 13553.4 8.9 14007.3 8.8 16535.8 8.3 14721.4 7.5 13664.6 7.2 16805.9 7.5 13829.4 8.8 13735.6 9.3 15870.5 9.3 15962.4 8.7 15744.1 8.2 16083.7 8.3 14863.9 8.5 15533.1 8.6 17473.1 8.6 15925.5 8.2 15573.7 8.1 17495 8 14155.8 8.6 14913.9 8.7 17250.4 8.8 15879.8 8.5 17647.8 8.4 17749.9 8.5 17111.8 8.7 16934.8 8.7 20280 8.6 16238.2 8.5 17896.1 8.3 18089.3 8.1 15660 8.2 16162.4 8.1 17850.1 8.1 18520.4 7.9 18524.7 7.9 16843.7 7.9
 
Output produced by software:

Enter (or paste) a matrix (table) containing all data (time) series. Every column represents a different variable and must be delimited by a space or Tab. Every row represents a period in time (or category) and must be delimited by hard returns. The easiest way to enter data is to copy and paste a block of spreadsheet cells. Please, do not use commas or spaces to seperate groups of digits!


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time8 seconds
R Server'Herman Ole Andreas Wold' @ 193.190.124.10:1001


Multiple Linear Regression - Estimated Regression Equation
Invoer[t] = + 6897.17140456182 + 1032.35252100840Werkloosheid[t] -1057.36721488596M1[t] -625.726926770708M2[t] + 1417.79064825930M3[t] -239.643061224490M4[t] + 352.341728691476M5[t] + 1012.16690876351M6[t] -1481.77738895558M7[t] -1866.39075030012M8[t] -62.506680672269M9[t] + 389.1462484994M10[t] + 377.529393757503M11[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)6897.171404561821771.6781873.8930.0002210.000111
Werkloosheid1032.35252100840211.191574.88826e-063e-06
M1-1057.36721488596806.19446-1.31160.1938960.096948
M2-625.726926770708806.37509-0.7760.4403410.22017
M31417.79064825930807.9989381.75470.0836260.041813
M4-239.643061224490812.671828-0.29490.7689440.384472
M5352.341728691476819.075750.43020.6683750.334187
M61012.16690876351821.8770031.23150.2221880.111094
M7-1481.77738895558807.125398-1.83590.0705640.035282
M8-1866.39075030012806.177524-2.31510.0235020.011751
M9-62.506680672269806.448459-0.07750.9384370.469218
M10389.1462484994806.3130030.48260.6308470.315424
M11377.529393757503806.2226860.46830.6410260.320513


Multiple Linear Regression - Regression Statistics
Multiple R0.645875073329462
R-squared0.417154610348338
Adjusted R-squared0.318645530407212
F-TEST (value)4.23468182423032
F-TEST (DF numerator)12
F-TEST (DF denominator)71
p-value5.16180924434728e-05
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation1508.20948232195
Sum Squared Residuals161503404.822176


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
111554.513582.4480972389-2027.9480972389
213182.113704.3826290516-522.282629051621
314800.115438.1944477791-638.094447779111
412150.713574.2902340936-1423.59023409364
514478.213856.5692677071621.630732292918
613253.914413.1591956783-1159.25919567827
712036.812435.3911584634-398.591158463385
812653.212566.954057623086.2459423769529
914035.414164.3676230492-128.967623049219
1014571.414616.0205522209-44.6205522208887
1115400.914294.69794117651106.20205882353
1214283.213607.4627911164675.737208883554
1314485.312343.62507202882141.67492797119
1414196.312568.79485594241627.50514405762
1515559.114612.3124309724946.787569027612
1613767.413161.3492256903606.050774309723
171463413753.3340156062880.665984393758
1814381.114103.4534393758277.64656062425
1912509.911815.9796458583693.920354141656
2012122.311637.8367887155484.463211284513
2113122.313854.6618667467-732.361866746699
2213908.715028.9615606242-1120.26156062425
2313456.515017.3447058824-1560.84470588235
2412441.614743.0505642257-2301.45056422569
251295313685.6833493397-732.683349339734
2613057.213910.8531332533-853.653133253301
2714350.115851.1354561825-1501.03545618247
2813830.213987.231242497-157.031242496998
2913755.514372.7455282113-617.245528211285
3013574.414929.3354561825-1354.93545618247
3112802.613158.0379231693-355.437923169267
3211737.312876.6598139256-1139.35981392557
3313850.214887.0143877551-1036.81438775510
3415081.815545.1378211285-463.337821128452
3513653.315636.7562184874-1983.45621848740
3614019.115362.4620768307-1343.36207683073
371396214408.3301140456-446.330114045618
3813768.714736.7351500600-968.035150060023
3914747.116573.7822208884-1826.68222088835
4013858.114813.1132593037-955.013259303722
411318815095.3922929172-1907.39229291717
4213693.115755.2174729892-2062.11747298920
431297013880.6846878751-910.68468787515
4411392.813599.3065786315-2206.50657863145
4513985.215506.4259003601-1521.22590036014
4614994.715958.0788295318-963.378829531812
4713584.715946.4619747899-2361.76197478992
4814257.815775.4030852341-1517.60308523409
4913553.415027.7416266507-1474.34162665066
5014007.315356.1466626651-1348.84666266507
5116535.816883.4879771909-347.687977190878
5214721.414400.1722509004321.227749099639
5313664.614682.4512845138-1017.85128451381
5416805.915651.98222088841153.91777911165
5513829.414500.0962004802-670.696200480193
5613735.614631.6590996399-896.059099639857
5715870.516435.5431692677-565.043169267708
5815962.416267.7845858343-305.384585834333
5915744.115739.99147058824.10852941176618
6016083.715465.6973289316618.002671068427
6114863.914614.8006182473249.099381752702
6215533.115149.6761584634383.423841536615
6317473.117193.1937334934279.906266506601
6415925.515122.8190156062802.680984393758
6515573.715611.5685534214-37.8685534213672
661749516168.15848139261326.84151860744
6714155.814293.6256962785-137.825696278512
6814913.914012.2475870348901.652412965186
6917250.415919.36690876351331.03309123649
7015879.816061.3140816327-181.514081632654
7117647.815946.46197478991701.33802521008
7217749.915672.16783313332077.73216686675
7317111.814821.27112244902290.52887755102
7416934.815252.91141056421681.88858943577
752028017193.19373349343086.8062665066
7616238.215432.5247719088805.675228091237
7717896.115818.03905762302078.06094237695
7818089.316271.39373349341817.90626650660
791566013880.68468787511779.31531212485
8016162.413392.83607442982769.56392557023
8117850.115196.72014405762653.37985594238
8218520.415441.90256902763078.49743097239
8318524.715430.28571428573094.41428571429
8416843.715052.75632052821790.94367947179


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
160.09167459419060730.1833491883812150.908325405809393
170.03165864070613570.06331728141227140.968341359293864
180.01294788339839270.02589576679678540.987052116601607
190.005223811993022090.01044762398604420.994776188006978
200.01372358276362680.02744716552725350.986276417236373
210.01085747959592820.02171495919185630.989142520404072
220.004456812966275410.008913625932550820.995543187033725
230.002896023243486070.005792046486972140.997103976756514
240.001342332082812440.002684664165624880.998657667917188
250.0008296275267628590.001659255053525720.999170372473237
260.0003305939110389940.0006611878220779870.999669406088961
270.0001284515614547010.0002569031229094020.999871548438545
280.0002300372128573450.000460074425714690.999769962787143
298.82879579311043e-050.0001765759158622090.999911712042069
304.13622935642553e-058.27245871285105e-050.999958637706436
315.92153714761074e-050.0001184307429522150.999940784628524
322.36555022732584e-054.73110045465168e-050.999976344497727
331.74385337319129e-053.48770674638259e-050.999982561466268
341.90458459751631e-053.80916919503262e-050.999980954154025
351.08590778238173e-052.17181556476346e-050.999989140922176
361.52902749566242e-053.05805499132485e-050.999984709725043
372.25566410002336e-054.51132820004671e-050.999977443359
381.41394796174414e-052.82789592348828e-050.999985860520383
391.15919852463778e-052.31839704927556e-050.999988408014754
409.26250008857476e-061.85250001771495e-050.999990737499911
418.26509226910683e-061.65301845382137e-050.99999173490773
421.22565212568905e-052.45130425137810e-050.999987743478743
439.46324089004295e-061.89264817800859e-050.99999053675911
441.7885793696141e-053.5771587392282e-050.999982114206304
452.99175051394807e-055.98350102789613e-050.99997008249486
462.40923930576598e-054.81847861153196e-050.999975907606942
477.18296284716723e-050.0001436592569433450.999928170371528
480.0001293650477927680.0002587300955855360.999870634952207
490.0001663322370966530.0003326644741933060.999833667762903
500.0002155106278791660.0004310212557583330.99978448937212
510.0009422464918349820.001884492983669960.999057753508165
520.001407897680564050.002815795361128100.998592102319436
530.01466439395394200.02932878790788400.985335606046058
540.0874840169386240.1749680338772480.912515983061376
550.0724428351290980.1448856702581960.927557164870902
560.06603541097047070.1320708219409410.93396458902953
570.06497696235461010.1299539247092200.93502303764539
580.05164211459697930.1032842291939590.94835788540302
590.1042527982382820.2085055964765630.895747201761718
600.1252475397420630.2504950794841270.874752460257937
610.2006766349170910.4013532698341820.799323365082909
620.2131065431970460.4262130863940930.786893456802954
630.4435407221351860.8870814442703720.556459277864814
640.3918540296595760.7837080593191510.608145970340424
650.6684363578692710.6631272842614580.331563642130729
660.6288133797469230.7423732405061540.371186620253077
670.5385863628145170.9228272743709660.461413637185483
680.408533547403510.817067094807020.59146645259649


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level310.584905660377358NOK
5% type I error level360.679245283018868NOK
10% type I error level370.69811320754717NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/105lhm1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/105lhm1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/12z6o1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/12z6o1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/21x2c1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/21x2c1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/3vt9i1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/3vt9i1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/4brwd1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/4brwd1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/5n8fu1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/5n8fu1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/6udyv1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/6udyv1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/72ffs1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/72ffs1228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/89xt91228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/89xt91228659710.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/9lc0g1228659710.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/07/t12286598558uzb3woqki8j0pk/9lc0g1228659710.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by