Home » date » 2008 » Nov » 24 »

seatbeltlaw Q3 werkzoekende zonder dummy

*Unverified author*
R Software Module: rwasp_multipleregression.wasp (opens new window with default values)
Title produced by software: Multiple Regression
Date of computation: Mon, 24 Nov 2008 10:49:22 -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/Nov/24/t1227549055sm03g05q59ar3jn.htm/, Retrieved Mon, 24 Nov 2008 17:50:55 +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/Nov/24/t1227549055sm03g05q59ar3jn.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:

Post a new message
 
Original text written by user:
 
IsPrivate?
No (this computation is public)
 
User-defined keywords:
 
Dataseries X:
» Textbox « » Textfile « » CSV «
7,3 0 7,1 0 6,9 0 6,8 0 7,5 0 7,6 0 7,8 0 8 0 8,1 0 8,2 0 8,3 0 8,2 0 8 0 7,9 0 7,6 0 7,6 0 8,2 0 8,3 0 8,4 0 8,4 0 8,4 0 8,6 0 8,9 0 8,8 0 8,3 0 7,5 0 7,2 0 7,5 0 8,8 0 9,3 0 9,3 0 8,7 0 8,2 0 8,3 0 8,5 0 8,6 0 8,6 0 8,2 0 8,1 0 8 0 8,6 0 8,7 0 8,8 0 8,5 0 8,4 0 8,5 0 8,7 0 8,7 0 8,6 0 8,5 0 8,3 0 8,1 0 8,2 0 8,1 0 8,1 0 7,9 0 7,9 0 7,9 0 8 0 8 0 7,9 0 8 0 7,7 1 7,2 1 7,5 1 7,3 1 7 1 7 1 7 1 7,2 1 7,3 1 7,1 1 6,8 1 6,6 1 6,2 1 6,2 1 6,8 1 6,9 1 6,8 1
 
Output produced by software:

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


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


Multiple Linear Regression - Estimated Regression Equation
y[t] = + 8.16774193548387 -1.19127134724858x[t] + e[t]


Multiple Linear Regression - Ordinary Least Squares
VariableParameterS.D.T-STAT
H0: parameter = 0
2-tail p-value1-tail p-value
(Intercept)8.167741935483870.063063129.516700
x-1.191271347248580.135946-8.762800


Multiple Linear Regression - Regression Statistics
Multiple R0.706618073433049
R-squared0.499309101702234
Adjusted R-squared0.492806622503562
F-TEST (value)76.7874969602648
F-TEST (DF numerator)1
F-TEST (DF denominator)77
p-value3.43725048423948e-13
Multiple Linear Regression - Residual Statistics
Residual Standard Deviation0.496560535097573
Sum Squared Residuals18.9860721062619


Multiple Linear Regression - Actuals, Interpolation, and Residuals
Time or IndexActualsInterpolation
Forecast
Residuals
Prediction Error
17.38.16774193548387-0.867741935483866
27.18.16774193548387-1.06774193548387
36.98.16774193548387-1.26774193548387
46.88.16774193548387-1.36774193548387
57.58.16774193548387-0.667741935483871
67.68.16774193548387-0.567741935483871
77.88.16774193548387-0.367741935483871
888.16774193548387-0.167741935483871
98.18.16774193548387-0.0677419354838714
108.28.167741935483870.0322580645161282
118.38.167741935483870.132258064516130
128.28.167741935483870.0322580645161282
1388.16774193548387-0.167741935483871
147.98.16774193548387-0.267741935483871
157.68.16774193548387-0.567741935483871
167.68.16774193548387-0.567741935483871
178.28.167741935483870.0322580645161282
188.38.167741935483870.132258064516130
198.48.167741935483870.232258064516129
208.48.167741935483870.232258064516129
218.48.167741935483870.232258064516129
228.68.167741935483870.432258064516129
238.98.167741935483870.73225806451613
248.88.167741935483870.63225806451613
258.38.167741935483870.132258064516130
267.58.16774193548387-0.667741935483871
277.28.16774193548387-0.96774193548387
287.58.16774193548387-0.667741935483871
298.88.167741935483870.63225806451613
309.38.167741935483871.13225806451613
319.38.167741935483871.13225806451613
328.78.167741935483870.532258064516128
338.28.167741935483870.0322580645161282
348.38.167741935483870.132258064516130
358.58.167741935483870.332258064516129
368.68.167741935483870.432258064516129
378.68.167741935483870.432258064516129
388.28.167741935483870.0322580645161282
398.18.16774193548387-0.0677419354838714
4088.16774193548387-0.167741935483871
418.68.167741935483870.432258064516129
428.78.167741935483870.532258064516128
438.88.167741935483870.63225806451613
448.58.167741935483870.332258064516129
458.48.167741935483870.232258064516129
468.58.167741935483870.332258064516129
478.78.167741935483870.532258064516128
488.78.167741935483870.532258064516128
498.68.167741935483870.432258064516129
508.58.167741935483870.332258064516129
518.38.167741935483870.132258064516130
528.18.16774193548387-0.0677419354838714
538.28.167741935483870.0322580645161282
548.18.16774193548387-0.0677419354838714
558.18.16774193548387-0.0677419354838714
567.98.16774193548387-0.267741935483871
577.98.16774193548387-0.267741935483871
587.98.16774193548387-0.267741935483871
5988.16774193548387-0.167741935483871
6088.16774193548387-0.167741935483871
617.98.16774193548387-0.267741935483871
6288.16774193548387-0.167741935483871
637.76.97647058823530.723529411764706
647.26.97647058823530.223529411764706
657.56.97647058823530.523529411764706
667.36.97647058823530.323529411764706
6776.97647058823530.0235294117647059
6876.97647058823530.0235294117647059
6976.97647058823530.0235294117647059
707.26.97647058823530.223529411764706
717.36.97647058823530.323529411764706
727.16.97647058823530.123529411764706
736.86.9764705882353-0.176470588235294
746.66.9764705882353-0.376470588235294
756.26.9764705882353-0.776470588235294
766.26.9764705882353-0.776470588235294
776.86.9764705882353-0.176470588235294
786.96.9764705882353-0.0764705882352937
796.86.9764705882353-0.176470588235294


Goldfeld-Quandt test for Heteroskedasticity
p-valuesAlternative Hypothesis
breakpoint indexgreater2-sidedless
50.3959551027264880.7919102054529750.604044897273512
60.4411752346898270.8823504693796540.558824765310173
70.5548245980545380.8903508038909240.445175401945462
80.6973109311545210.6053781376909580.302689068845479
90.7889813539586020.4220372920827960.211018646041398
100.8518097521897310.2963804956205380.148190247810269
110.8966649606817850.2066700786364310.103335039318215
120.9004817370734340.1990365258531320.0995182629265662
130.8765192757760760.2469614484478480.123480724223924
140.8422274131330830.3155451737338330.157772586866917
150.8168656932953860.3662686134092270.183134306704614
160.7940653812513880.4118692374972250.205934618748612
170.790749866532310.4185002669353780.209250133467689
180.7992666111603430.4014667776793130.200733388839657
190.8187896533499090.3624206933001820.181210346650091
200.8273570079047030.3452859841905950.172642992095297
210.8283105454968940.3433789090062110.171689454503106
220.8595970636220250.2808058727559490.140402936377975
230.9294260818265380.1411478363469240.0705739181734622
240.9535971046182720.09280579076345580.0464028953817279
250.939652209253590.1206955814928200.0603477907464102
260.9522295327234820.0955409345530360.047770467276518
270.9844697284239570.03106054315208610.0155302715760431
280.9906481536945030.01870369261099340.0093518463054967
290.994252261617040.01149547676592010.00574773838296006
300.9995392320633840.0009215358732326690.000460767936616334
310.999976835474634.63290507383082e-052.31645253691541e-05
320.9999791269936424.17460127160139e-052.08730063580070e-05
330.99995944967548.11006492007647e-054.05503246003823e-05
340.9999238661223470.000152267755305097.6133877652545e-05
350.9998860687512560.0002278624974872170.000113931248743609
360.9998608501473290.0002782997053421270.000139149852671064
370.9998308682770150.0003382634459691560.000169131722984578
380.99968782824710.0006243435057987380.000312171752899369
390.9994634355280950.001073128943809370.000536564471904685
400.9991915611152750.001616877769449750.000808438884724877
410.999013247710140.001973504579718700.000986752289859349
420.9990600713017570.001879857396485390.000939928698242696
430.9993719619492830.001256076101433810.000628038050716907
440.9991240408509260.001751918298148160.000875959149074079
450.998614704377430.002770591245139370.00138529562256969
460.998156078752230.003687842495540790.00184392124777040
470.9985677547948720.002864490410255270.00143224520512763
480.999030805889210.00193838822157930.00096919411078965
490.9992105011920130.001578997615974580.00078949880798729
500.9992238364863840.001552327027231640.00077616351361582
510.9988536124245840.002292775150831250.00114638757541563
520.9979515173432480.004096965313503290.00204848265675164
530.9967400045765540.006519990846891160.00325999542344558
540.9945278700641210.01094425987175710.00547212993587853
550.9911200105905220.0177599788189560.008879989409478
560.9856568279026910.02868634419461720.0143431720973086
570.9773856448575020.04522871028499620.0226143551424981
580.9652545369284230.06949092614315380.0347454630715769
590.94681577865350.1063684426930000.0531842213465002
600.9209598783296380.1580802433407240.0790401216703622
610.887542644040940.224914711918120.11245735595906
620.8415870885120960.3168258229758080.158412911487904
630.9026939993749470.1946120012501060.097306000625053
640.876953832853830.2460923342923410.123046167146170
650.9083810030132520.1832379939734970.0916189969867483
660.9080766233827480.1838467532345030.0919233766172517
670.8683354899691410.2633290200617180.131664510030859
680.8157492775741620.3685014448516760.184250722425838
690.7498266702578630.5003466594842750.250173329742137
700.7351204153725060.5297591692549880.264879584627494
710.805650536888310.3886989262233790.194349463111689
720.8205527077336050.358894584532790.179447292266395
730.7300172495302120.5399655009395750.269982750469788
740.5709598871327020.8580802257345970.429040112867298


Meta Analysis of Goldfeld-Quandt test for Heteroskedasticity
Description# significant tests% significant testsOK/NOK
1% type I error level240.342857142857143NOK
5% type I error level310.442857142857143NOK
10% type I error level340.485714285714286NOK
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/10mfan1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/10mfan1227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/1spjt1227548950.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/1spjt1227548950.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/2spxv1227548950.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/2spxv1227548950.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/32lki1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/32lki1227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/4m6ta1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/4m6ta1227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/5arsw1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/5arsw1227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/6yczw1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/6yczw1227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/765i71227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/765i71227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/82y651227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/82y651227548951.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/9l7qi1227548951.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Nov/24/t1227549055sm03g05q59ar3jn/9l7qi1227548951.ps (open in new window)


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





Copyright

Creative Commons License

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

Software written by Ed van Stee & Patrick Wessa


Disclaimer

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


Privacy Policy

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

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

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

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

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

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

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

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

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


FreeStatistics.org is powered by