Home » date » 2008 » Dec » 09 »

unemployment stap 4

*The author of this computation has been verified*
R Software Module: rwasp_arimabackwardselection.wasp (opens new window with default values)
Title produced by software: ARIMA Backward Selection
Date of computation: Tue, 09 Dec 2008 07:45:24 -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/09/t1228834008rltsd6pjgszdfth.htm/, Retrieved Tue, 09 Dec 2008 14:46:56 +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/09/t1228834008rltsd6pjgszdfth.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:
k_vanderheggen
 
Dataseries X:
» Textbox « » Textfile « » CSV «
235.1 280.7 264.6 240.7 201.4 240.8 241.1 223.8 206.1 174.7 203.3 220.5 299.5 347.4 338.3 327.7 351.6 396.6 438.8 395.6 363.5 378.8 357 369 464.8 479.1 431.3 366.5 326.3 355.1 331.6 261.3 249 205.5 235.6 240.9 264.9 253.8 232.3 193.8 177 213.2 207.2 180.6 188.6 175.4 199 179.6 225.8 234 200.2 183.6 178.2 203.2 208.5 191.8 172.8 148 159.4 154.5 213.2 196.4 182.8 176.4 153.6 173.2 171 151.2 161.9 157.2 201.7 236.4 356.1 398.3 403.7 384.6 365.8 368.1 367.9 347 343.3 292.9 311.5 300.9 366.9 356.9 329.7 316.2 269 289.3 266.2 253.6 233.8 228.4 253.6 260.1 306.6 309.2 309.5 271 279.9 317.9 298.4 246.7 227.3 209.1 259.9 266 320.6 308.5 282.2 262.7 263.5 313.1 284.3 252.6 250.3 246.5 312.7 333.2 446.4 511.6 515.5 506.4 483.2 522.3 509.8 460.7 405.8 375 378.5 406.8 467.8 469.8 429.8 355.8 332.7 378 360.5 334.7 319.5 323.1 363.6 352.1 411.9 388.6 416.4 360.7 338 417.2 388.4 371.1 331.5 353.7 396.7 447 533.5 565.4 542.3 488.7 467.1 531.3 496.1 444 403.4 386.3 394.1 404.1 462.1 448.1 432.3 386.3 395.2 421.9 382.9 384.2 345.5 323.4 372.6 376 462.7 487 444.2 399.3 394.9 455.4 414 375.5 347 339.4 385.8 378.8 451.8 446.1 422.5 383.1 352.8 445.3 367.5 355.1 326.2 319.8 331.8 340.9 394.1 417.2 369.9 349.2 321.4 405.7 342.9 316.5 284.2 270.9 288.8 278.8 324.4 310.9 299 273 279.3 359.2 305 282.1 250.3 246.5 257.9 266.5 315.9 318.4 295.4 266.4 245.8 362.8 324.9 294.2 289.5 295.2 290.3 272 307.4 328.7 292.9 249.1 230.4 361.5 321.7 277.2 260.7 251 257.6 241.8 287.5 292.3 274.7 254.2 230 339 318.2 287 295.8 284 271 262.7 340.6 379.4 373.3 355.2 338.4 466.9 451 422 429.2 425.9 460.7 463.6 541.4 544.2 517.5 469.4 439.4 549 533 506.1 484 457 481.5 469.5 544.7 541.2 521.5 469.7 434.4 542.6 517.3 485.7 465.8 447 426.6 411.6 467.5 484.5 451.2 417.4 379.9 484.7 455 420.8 416.5 376.3 405.6 405.8 500.8 514 475.5 430.1 414.4 538 526 488.5 520.2 504.4 568.5 610.6 818 830.9 835.9 782 762.3 856.9 820.9 769.6 752.2 724.4 723.1 719.5 817.4 803.3 752.5 689 630.4 765.5 757.7 732.2 702.6 683.3 709.5 702.2 784.8 810.9 755.6 656.8 615.1 745.3 694.1 675.7 643.7 622.1 634.6 588 689.7 673.9 647.9 568.8 545.7 632.6 643.8 593.1 579.7 546 562.9 572.5
 
Output produced by software:


Summary of computational transaction
Raw Inputview raw input (R code)
Raw Outputview raw output of R engine
Computing time6 seconds
R Server'George Udny Yule' @ 72.249.76.132


ARIMA Parameter Estimation and Backward Selection
Iterationar1ar2sma1
Estimates ( 1 )0.1350.2464-0.6953
(p-val)(0.0089 )(0 )(0 )
Estimates ( 2 )00.2692-0.702
(p-val)(NA )(0 )(0 )
Estimates ( 3 )NANANA
(p-val)(NA )(NA )(NA )
Estimates ( 4 )NANANA
(p-val)(NA )(NA )(NA )
Estimates ( 5 )NANANA
(p-val)(NA )(NA )(NA )


Estimated ARIMA Residuals
Value
-0.535786963714226
1.80232112488605
5.24489171824546
9.68135983392685
49.0053535718707
-5.08842240412705
21.0144638234966
-27.0118159601881
-17.3706750346329
45.2851451306179
-43.4383050449931
-7.95210258504816
25.2537644607040
-30.8484416270465
-31.569128937331
-32.6987069935648
-17.9295088083264
2.66756277081007
-33.2550462300501
-27.667512787222
27.4773388438775
-27.234937442699
27.5659102238607
-4.49956520051818
-65.8743079811373
-33.1893458855733
25.2209939040614
7.6260142162146
1.72041804569458
-0.51204276016893
-10.4349962120350
20.9151570167707
26.9289263870704
-0.92034082710751
2.05502742805397
-33.6677896031342
-15.0183031272156
-0.240370495282850
-3.49597052668210
23.5909134263639
12.4476246430830
-18.2121784304542
2.92909550816093
24.8467415051754
-12.8038456194691
-10.8727694592800
-2.58591613421625
-3.66035800700743
3.35027174786420
-30.2088985892629
17.9924430804955
29.5890326973036
-15.1213289246103
-17.9186574666126
-0.47531721524053
16.148137823334
23.028632308535
9.32071071136695
21.1422778911755
27.41838464103
49.482021347359
20.1896635324917
8.48373476473438
-9.34138640738326
-9.37592873125267
-26.9914765772585
3.01385686911496
14.0001673131127
1.15852854038552
-36.9129568169007
-1.56255912404223
-11.5375601518876
-6.98772896262699
-19.7894608205079
-6.43740689157526
16.3638986286004
-27.5764436513286
1.74666779951206
-16.2182516703407
16.629961877119
-10.7596312364854
19.5131973480499
3.39925518497493
-2.8826417886115
-28.2427550927808
-2.71732549863357
26.1041696201817
-20.4422184694275
33.5302829766072
17.4854499457227
-23.8527475053488
-32.3784119290001
-2.67517765672246
10.3177888879320
29.5671855926924
-2.70215912696334
-17.7403786864563
-17.5774638935884
-8.47453141883664
12.0066478821353
19.1771729837651
20.1521415893433
-25.4323657421659
-4.09624321604489
14.8270814049462
14.3254521495158
29.7719892553953
6.89036621767248
40.5196198237366
53.6173979462422
-0.56143069573651
-4.37866149266857
-19.5133905939143
4.18300992994134
5.95432657443367
-19.8563340529952
-43.9538359267654
-5.652627455926
-25.3959908491671
27.7055902797765
-9.63760267143216
-20.8005214053342
-22.8940552405449
-46.4402296754192
6.11360525813723
25.0839593647287
-1.72236140062413
8.6432141354079
7.2309077133957
19.3677374063128
4.91859309295144
-34.0095415550541
-11.6436714094485
-29.7910225996803
55.5923208986466
-16.9046867350220
-14.5260488409552
46.7736778709995
-17.1718949235944
7.68093763892189
-17.7353093135387
33.2629766078929
9.42042282901149
33.2333674548185
9.64605691897131
15.6552566118127
-26.2799759823574
-16.3826716342420
3.25927271751452
16.8532246914448
-16.5844549347428
-24.8991583647668
-7.05523152759126
-7.46366119381796
-23.0978984550137
-2.75830589024182
-7.67935807967946
-21.2374412557762
2.24759780738338
6.5341481652276
29.9409716552112
-31.7724945935995
-17.7832393818155
45.8412388985597
-9.27804630346038
-23.6036794315872
25.5473491813882
-12.8748366611862
14.0503968178963
21.2857062858068
-37.6796049986882
-0.149257727562391
14.0216301155024
13.2338170500308
-16.0500792344760
-15.9322026190114
9.71368554080392
6.51888890151616
10.4914733443254
-22.5463079774642
-1.83716478245882
-10.7883111923243
0.428075485863538
10.1963402353790
-21.6245474671799
43.3424480048006
-45.497349668706
12.0517630768201
11.7993077809592
-0.644780871103841
-27.1688863109854
4.77245266271424
-14.7744714267396
20.0049935716841
-22.4116027713296
21.8923559281115
-9.21983431881164
16.9898095287354
-16.1423790731903
-5.62515864694488
2.99776946646064
-3.43958681261176
-11.2206694924644
-14.8780990946037
-16.7476171693802
-16.9585000571968
26.6314480890120
14.1606990757470
19.6823230594176
4.11502069858109
-10.4319496312052
-0.487907825697163
-0.00732147892953763
6.17858933171391
-15.7072504148861
6.79218886486224
-8.75371850481143
-0.887116850088622
4.31994323702677
4.4016999106255
-10.0751126043157
44.3319084061223
10.6665659835773
-19.4814910038149
24.1314975973077
12.0592290582964
-35.1811183381878
-22.3178170469788
-12.4382597296868
26.7016003635016
-8.88479479978183
-14.6439812729122
0.0470243746681944
48.3134758493606
3.14454144110713
-30.5629525980979
7.30941300155531
-2.02197668805964
-7.9741257457212
-10.7750421527878
-1.51928463800012
0.0585797043609965
11.7121324012690
14.7269535662996
-13.0974997931021
6.49271612369839
25.5251625960422
-5.06933969293785
23.9048164562636
-10.1986517045549
-31.0948530417377
3.17183750116994
34.9607172604976
27.8455549089802
7.11879838457298
2.70900038756475
-4.86414368902573
22.4238622619127
18.1911961057966
-6.7910754793983
13.5161815864825
1.08297324829945
25.4270321529252
4.85768190869747
10.9172526995340
-19.3857489923298
-10.765652478002
-16.4647497847759
-7.45585292173380
5.86516566681945
18.3521524257861
2.04888200597096
-20.1613110159975
-19.5088729264666
17.7982694944093
-4.292156150672
9.54011610010891
-15.7560848812094
1.00601902439744
-14.5403037947214
-11.7092547613138
4.30516931125403
4.95488147126439
-1.67494469909041
-8.89169078013934
-4.50306077331346
-34.174311942596
-1.94312768234424
-1.19824238959296
12.8898732677369
-10.9124540485959
4.67509677934023
-9.4201642581576
-4.54501244711762
0.0461475601491071
-2.33275819725446
10.8529692964856
-25.9962966754133
24.9843505100953
12.4124028622996
23.9683962220651
-3.86193859951866
-21.9087329198153
-6.71112360564228
18.0976906694697
15.5551751494575
9.82234127365084
-11.9439434747251
39.6299804047911
2.27825414794508
40.0064206859208
39.8196560651161
114.833168739238
-28.4840131685796
0.611603638839946
-18.9648637778146
-0.988178417406115
-15.5502936186054
-12.2699670324457
-11.7185129086356
-13.7691716866720
-0.386869580687963
-23.8656293488065
-6.2279845849926
-7.37388587847283
-20.7607050215799
-24.7480896473733
-8.59972634000535
-24.5415130654956
37.3053162872634
23.7864965083056
3.86573889794004
-32.2052312461533
3.52076046448877
12.7652944546912
-13.8372679826704
-26.7036092497355
28.7427214704238
-23.3640213221347
-50.5772804535568
5.71119485525767
27.4543159390589
-30.3644407305684
16.8543356532044
-15.0561743925449
-1.2775600949894
-3.92263650527638
-46.5045140629361
9.2148884336286
-14.8104811363946
14.0057018963776
-9.09662123126838
12.6915897682241
-31.5768002826729
42.5506458990186
-18.3362947035377
-2.88346399886576
-7.54038645242152
-1.27696382020256
26.2537627825186
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/1ujd71228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/1ujd71228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/2cf7p1228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/2cf7p1228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/374181228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/374181228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/4b5qs1228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/4b5qs1228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/5n5h51228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/5n5h51228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/6dkuj1228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/6dkuj1228833918.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/7qrx01228833918.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/09/t1228834008rltsd6pjgszdfth/7qrx01228833918.ps (open in new window)


 
Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 0 ; par7 = 1 ; par8 = 0 ; par9 = 1 ;
 
Parameters (R input):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 2 ; par7 = 0 ; par8 = 0 ; par9 = 1 ;
 
R code (references can be found in the software module):
library(lattice)
if (par1 == 'TRUE') par1 <- TRUE
if (par1 == 'FALSE') par1 <- FALSE
par2 <- as.numeric(par2) #Box-Cox lambda transformation parameter
par3 <- as.numeric(par3) #degree of non-seasonal differencing
par4 <- as.numeric(par4) #degree of seasonal differencing
par5 <- as.numeric(par5) #seasonal period
par6 <- as.numeric(par6) #degree (p) of the non-seasonal AR(p) polynomial
par7 <- as.numeric(par7) #degree (q) of the non-seasonal MA(q) polynomial
par8 <- as.numeric(par8) #degree (P) of the seasonal AR(P) polynomial
par9 <- as.numeric(par9) #degree (Q) of the seasonal MA(Q) polynomial
armaGR <- function(arima.out, names, n){
try1 <- arima.out$coef
try2 <- sqrt(diag(arima.out$var.coef))
try.data.frame <- data.frame(matrix(NA,ncol=4,nrow=length(names)))
dimnames(try.data.frame) <- list(names,c('coef','std','tstat','pv'))
try.data.frame[,1] <- try1
for(i in 1:length(try2)) try.data.frame[which(rownames(try.data.frame)==names(try2)[i]),2] <- try2[i]
try.data.frame[,3] <- try.data.frame[,1] / try.data.frame[,2]
try.data.frame[,4] <- round((1-pt(abs(try.data.frame[,3]),df=n-(length(try2)+1)))*2,5)
vector <- rep(NA,length(names))
vector[is.na(try.data.frame[,4])] <- 0
maxi <- which.max(try.data.frame[,4])
continue <- max(try.data.frame[,4],na.rm=TRUE) > .05
vector[maxi] <- 0
list(summary=try.data.frame,next.vector=vector,continue=continue)
}
arimaSelect <- function(series, order=c(13,0,0), seasonal=list(order=c(2,0,0),period=12), include.mean=F){
nrc <- order[1]+order[3]+seasonal$order[1]+seasonal$order[3]
coeff <- matrix(NA, nrow=nrc*2, ncol=nrc)
pval <- matrix(NA, nrow=nrc*2, ncol=nrc)
mylist <- rep(list(NULL), nrc)
names <- NULL
if(order[1] > 0) names <- paste('ar',1:order[1],sep='')
if(order[3] > 0) names <- c( names , paste('ma',1:order[3],sep='') )
if(seasonal$order[1] > 0) names <- c(names, paste('sar',1:seasonal$order[1],sep=''))
if(seasonal$order[3] > 0) names <- c(names, paste('sma',1:seasonal$order[3],sep=''))
arima.out <- arima(series, order=order, seasonal=seasonal, include.mean=include.mean, method='ML')
mylist[[1]] <- arima.out
last.arma <- armaGR(arima.out, names, length(series))
mystop <- FALSE
i <- 1
coeff[i,] <- last.arma[[1]][,1]
pval [i,] <- last.arma[[1]][,4]
i <- 2
aic <- arima.out$aic
while(!mystop){
mylist[[i]] <- arima.out
arima.out <- arima(series, order=order, seasonal=seasonal, include.mean=include.mean, method='ML', fixed=last.arma$next.vector)
aic <- c(aic, arima.out$aic)
last.arma <- armaGR(arima.out, names, length(series))
mystop <- !last.arma$continue
coeff[i,] <- last.arma[[1]][,1]
pval [i,] <- last.arma[[1]][,4]
i <- i+1
}
list(coeff, pval, mylist, aic=aic)
}
arimaSelectplot <- function(arimaSelect.out,noms,choix){
noms <- names(arimaSelect.out[[3]][[1]]$coef)
coeff <- arimaSelect.out[[1]]
k <- min(which(is.na(coeff[,1])))-1
coeff <- coeff[1:k,]
pval <- arimaSelect.out[[2]][1:k,]
aic <- arimaSelect.out$aic[1:k]
coeff[coeff==0] <- NA
n <- ncol(coeff)
if(missing(choix)) choix <- k
layout(matrix(c(1,1,1,2,
3,3,3,2,
3,3,3,4,
5,6,7,7),nr=4),
widths=c(10,35,45,15),
heights=c(30,30,15,15))
couleurs <- rainbow(75)[1:50]#(50)
ticks <- pretty(coeff)
par(mar=c(1,1,3,1))
plot(aic,k:1-.5,type='o',pch=21,bg='blue',cex=2,axes=F,lty=2,xpd=NA)
points(aic[choix],k-choix+.5,pch=21,cex=4,bg=2,xpd=NA)
title('aic',line=2)
par(mar=c(3,0,0,0))
plot(0,axes=F,xlab='',ylab='',xlim=range(ticks),ylim=c(.1,1))
rect(xleft = min(ticks) + (0:49)/50*(max(ticks)-min(ticks)),
xright = min(ticks) + (1:50)/50*(max(ticks)-min(ticks)),
ytop = rep(1,50),
ybottom= rep(0,50),col=couleurs,border=NA)
axis(1,ticks)
rect(xleft=min(ticks),xright=max(ticks),ytop=1,ybottom=0)
text(mean(coeff,na.rm=T),.5,'coefficients',cex=2,font=2)
par(mar=c(1,1,3,1))
image(1:n,1:k,t(coeff[k:1,]),axes=F,col=couleurs,zlim=range(ticks))
for(i in 1:n) for(j in 1:k) if(!is.na(coeff[j,i])) {
if(pval[j,i]<.01) symb = 'green'
else if( (pval[j,i]<.05) & (pval[j,i]>=.01)) symb = 'orange'
else if( (pval[j,i]<.1) & (pval[j,i]>=.05)) symb = 'red'
else symb = 'black'
polygon(c(i+.5 ,i+.2 ,i+.5 ,i+.5),
c(k-j+0.5,k-j+0.5,k-j+0.8,k-j+0.5),
col=symb)
if(j==choix) {
rect(xleft=i-.5,
xright=i+.5,
ybottom=k-j+1.5,
ytop=k-j+.5,
lwd=4)
text(i,
k-j+1,
round(coeff[j,i],2),
cex=1.2,
font=2)
}
else{
rect(xleft=i-.5,xright=i+.5,ybottom=k-j+1.5,ytop=k-j+.5)
text(i,k-j+1,round(coeff[j,i],2),cex=1.2,font=1)
}
}
axis(3,1:n,noms)
par(mar=c(0.5,0,0,0.5))
plot(0,axes=F,xlab='',ylab='',type='n',xlim=c(0,8),ylim=c(-.2,.8))
cols <- c('green','orange','red','black')
niv <- c('0','0.01','0.05','0.1')
for(i in 0:3){
polygon(c(1+2*i ,1+2*i ,1+2*i-.5 ,1+2*i),
c(.4 ,.7 , .4 , .4),
col=cols[i+1])
text(2*i,0.5,niv[i+1],cex=1.5)
}
text(8,.5,1,cex=1.5)
text(4,0,'p-value',cex=2)
box()
residus <- arimaSelect.out[[3]][[choix]]$res
par(mar=c(1,2,4,1))
acf(residus,main='')
title('acf',line=.5)
par(mar=c(1,2,4,1))
pacf(residus,main='')
title('pacf',line=.5)
par(mar=c(2,2,4,1))
qqnorm(residus,main='')
title('qq-norm',line=.5)
qqline(residus)
residus
}
if (par2 == 0) x <- log(x)
if (par2 != 0) x <- x^par2
(selection <- arimaSelect(x, order=c(par6,par3,par7), seasonal=list(order=c(par8,par4,par9), period=par5)))
bitmap(file='test1.png')
resid <- arimaSelectplot(selection)
dev.off()
resid
bitmap(file='test2.png')
acf(resid,length(resid)/2, main='Residual Autocorrelation Function')
dev.off()
bitmap(file='test3.png')
pacf(resid,length(resid)/2, main='Residual Partial Autocorrelation Function')
dev.off()
bitmap(file='test4.png')
cpgram(resid, main='Residual Cumulative Periodogram')
dev.off()
bitmap(file='test5.png')
hist(resid, main='Residual Histogram', xlab='values of Residuals')
dev.off()
bitmap(file='test6.png')
densityplot(~resid,col='black',main='Residual Density Plot', xlab='values of Residuals')
dev.off()
bitmap(file='test7.png')
qqnorm(resid, main='Residual Normal Q-Q Plot')
qqline(resid)
dev.off()
ncols <- length(selection[[1]][1,])
nrows <- length(selection[[2]][,1])-1
load(file='createtable')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'ARIMA Parameter Estimation and Backward Selection', ncols+1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Iteration', header=TRUE)
for (i in 1:ncols) {
a<-table.element(a,names(selection[[3]][[1]]$coef)[i],header=TRUE)
}
a<-table.row.end(a)
for (j in 1:nrows) {
a<-table.row.start(a)
mydum <- 'Estimates ('
mydum <- paste(mydum,j)
mydum <- paste(mydum,')')
a<-table.element(a,mydum, header=TRUE)
for (i in 1:ncols) {
a<-table.element(a,round(selection[[1]][j,i],4))
}
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'(p-val)', header=TRUE)
for (i in 1:ncols) {
mydum <- '('
mydum <- paste(mydum,round(selection[[2]][j,i],4),sep='')
mydum <- paste(mydum,')')
a<-table.element(a,mydum)
}
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable.tab')
a<-table.start()
a<-table.row.start(a)
a<-table.element(a,'Estimated ARIMA Residuals', 1,TRUE)
a<-table.row.end(a)
a<-table.row.start(a)
a<-table.element(a,'Value', 1,TRUE)
a<-table.row.end(a)
for (i in (par4*par5+par3):length(resid)) {
a<-table.row.start(a)
a<-table.element(a,resid[i])
a<-table.row.end(a)
}
a<-table.end(a)
table.save(a,file='mytable1.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