Home » date » 2008 » Dec » 08 »

Q5 unemployment data

*Unverified author*
R Software Module: rwasp_arimabackwardselection.wasp (opens new window with default values)
Title produced by software: ARIMA Backward Selection
Date of computation: Mon, 08 Dec 2008 11:31:32 -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/08/t1228762141i9lrzhio5cnc6a1.htm/, Retrieved Mon, 08 Dec 2008 18:49:01 +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/08/t1228762141i9lrzhio5cnc6a1.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 «
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 time8 seconds
R Server'Sir Ronald Aylmer Fisher' @ 193.190.124.24


ARIMA Parameter Estimation and Backward Selection
Iterationar1ma1sar1sma1
Estimates ( 1 )0.7796-0.6025-0.0938-0.6521
(p-val)(0 )(0 )(0.2135 )(0 )
Estimates ( 2 )0.7756-0.59780-1.4276
(p-val)(0 )(0 )(NA )(0 )
Estimates ( 3 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 4 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 5 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 6 )NANANANA
(p-val)(NA )(NA )(NA )(NA )
Estimates ( 7 )NANANANA
(p-val)(NA )(NA )(NA )(NA )


Estimated ARIMA Residuals
Value
-0.53578561016269
1.78557986591926
5.1717471792907
9.37643859531793
48.0168309049312
-5.84959680495998
26.7370999101881
-30.5064981333521
-13.4858606696744
38.6737026893333
-45.6785866344532
0.265240389171126
17.7067288013390
-31.1243534047246
-27.7125877652758
-35.3178439187809
-16.5114656206799
0.625042228462152
-31.2819085475170
-24.4379609362214
25.9721335004402
-26.1304887231785
33.6493649112402
-7.75795926899031
-57.3396269701023
-33.7122348939804
17.9801960575309
3.20827617680468
5.54515155291552
2.09057587021156
-10.9111087584682
21.5340134549652
27.3127751091077
-0.98229560307779
8.11948856401396
-35.2143605956149
-18.1948576645473
-6.69983713506633
-2.79680660006658
25.2087676052437
12.1132041004561
-14.3562486468892
4.60905081602029
24.2763133472060
-11.9914126573948
-7.49010912544635
-4.97471820489834
-6.24385547566712
3.16967876601379
-29.8522152403197
19.7615511619209
26.5831695294038
-11.7207463028454
-14.7102450367015
-1.76095291151124
15.5693622175409
21.0193985553957
10.3343128631000
22.9820331743780
27.7362853682013
51.2667974004104
18.6616995110916
12.4648692918578
-10.9567513142471
-13.0661212037452
-32.4379708565412
0.207475925099741
8.5045778109593
2.15795288437343
-34.8956410846255
1.17286569243166
-14.0590726328393
-1.61439806203269
-18.1436003425203
-4.57805053958183
13.6432390652267
-27.4197991054022
5.69783934605338
-19.1743590274702
19.7761478603889
-13.8354184641124
22.3984945452356
0.38234439045087
0.218721192667180
-29.9388625157827
-2.40794566352818
21.1164846712448
-20.1089979159893
37.162103358074
14.5998351488219
-19.5849822450595
-30.8349545946563
-6.59564007439543
8.33190738546262
29.3754085130044
-1.53763027019087
-15.180325611062
-17.3719062109656
-9.23831631024134
8.41163878793536
21.3647641294429
23.2654792097224
-23.7771189949693
-3.41561454704257
10.1556806117695
13.9789807942471
31.8057112470948
7.11064178323479
43.1496643899926
50.2827234041746
-0.382621206030374
-0.533720360231604
-23.9507308828892
2.23458586655615
-0.530161359175633
-20.7560649055124
-43.4341179403395
-6.93961132581936
-30.1933270310782
30.8512065162111
-9.90749690964374
-9.6751273358768
-23.2826091370945
-46.1339067028893
4.47903853411164
20.4566643143345
3.56471944308606
13.1960926091295
5.65891599033449
20.7121549222483
1.79467492364475
-30.2682726703296
-12.4562294121523
-36.3962339842814
54.715914911467
-25.4002886846762
-3.37031069765894
43.7107588114445
-18.0258056104915
16.2031384306186
-20.7384234232672
36.7323225409599
4.11928218215444
35.4528320056164
6.44953197652303
17.146614119857
-25.4142924549552
-14.8330201368161
-2.99271611412324
15.3166165396347
-17.9438248012941
-21.3506576806251
-9.53366278887688
-8.63571059215393
-22.6366032731
0.615003918847832
-8.45000710853497
-16.9014395413652
0.781217026787463
6.61036799623204
32.3838403117215
-32.0888121651777
-11.1221227176015
39.992887760543
-11.0112860645237
-18.6135015650932
22.2868319901240
-17.3574819922162
17.9088173485528
16.7940988984752
-35.5490953357533
4.91262411493251
9.62719773050251
10.5739835712465
-14.6388231073844
-11.0144390300700
7.97173602953215
2.93201923710049
13.7569244163087
-23.6491714556702
1.83061904799490
-12.8081862733871
-0.241518529228452
9.63419761860892
-21.3628970333040
46.5744825415567
-49.6813948809159
19.5552639026474
4.42729409753712
3.57330706987516
-26.6862636535951
5.24154717184493
-19.2321676485239
21.7648727019073
-24.1697943379267
28.1029286950407
-15.69269083942
24.0549337507521
-20.5631089364455
-0.702910516440699
0.348844336761034
-3.30679390125459
-12.8329627010245
-13.5038898455041
-18.4807382574102
-15.9126582509339
25.7046096927489
13.8985544938387
24.1984194474278
4.49621183858592
-6.11496233247904
-1.67738127556547
-2.03085436373208
5.19468896583525
-16.7875502676118
7.56627230890861
-12.2034135527238
-0.307324301011619
5.25096782911358
4.69608305493416
-7.82748350298647
43.8734749481684
9.18588850810062
-13.9643029552163
23.8928228538602
7.80878698025476
-33.2932912468767
-20.5032323331050
-17.3167619000022
25.0974651125259
-11.000348562519
-9.91983588694779
-1.79169529943589
48.6702134515137
4.00093081085408
-24.5465035573114
8.34726729647743
-6.55726882485273
-7.44695713888187
-12.5723251029887
-1.80681095941358
0.337940311866273
11.6578950339831
13.5368097371883
-11.5188536969589
8.87256237157144
23.8521809939767
-5.87473749611779
26.3817909328911
-14.0651427361599
-26.5128084296147
0.926709206998774
31.4560467358456
26.4800927555227
11.3311942516537
5.36348674159367
-6.28857087191496
18.5833131031006
16.3602703065607
-5.10682556650962
14.5199638875991
-3.0879420300755
25.8657289949075
2.67781914885146
15.4018295727345
-20.8992007123203
-9.54919802013872
-21.2642952964321
-8.31417265413772
2.25762682617641
18.3953931029611
3.35139855694953
-17.753846453939
-18.3596277588374
19.0555354612227
-6.24974194032322
13.4134145442423
-19.2397230978147
3.00343498365715
-18.7693560443673
-9.83594964414922
0.736924739951026
4.716350955088
0.553932947612899
-9.59744723026049
-4.37500446692179
-33.5222883563451
-0.401016230601938
-5.15505514660424
14.2228836855040
-10.3771807016598
8.07167506280717
-10.6352821527815
-3.49155713729943
-1.83691702842375
-1.52929356299036
10.7792762790832
-25.5408023479983
26.0433984640711
8.05678587241153
27.3100850585568
-3.19338760631049
-19.2907509270032
-7.14612626929912
14.9086870549560
12.5315341108666
10.6042165063932
-10.9070669681683
41.2840129901194
-2.82834933635319
47.3171548406307
36.0932266616973
118.681077492909
-32.4453130259704
12.6506592141491
-32.5778640085367
-1.58003419880277
-24.3501354243393
-13.7865568374819
-16.2789522588754
-13.3262239623751
-0.160257099751350
-22.6952820467177
-2.05893796855989
-4.42552746707688
-20.3348204842148
-21.9050067421292
-9.48917602441676
-25.1177358889559
38.0068693217483
19.9728767545044
11.1113725358298
-31.5080746715511
6.62246867683806
4.87133472546089
-14.1335615886835
-29.935725271541
28.0426381764469
-28.4967382711278
-43.3638550940219
2.69486956704513
24.8435231128738
-26.8363602684920
24.5208206576313
-21.1032109716102
5.24299871025954
-6.21589832573289
-45.8527366041016
6.97836864594163
-17.6488500135982
18.3693057578395
-12.1365931408536
18.8901974334796
-32.9720038178994
45.3172049494618
-23.2690872902734
5.62090423588369
-11.5434198210680
-0.352057739963313
22.4155374122629
 
Charts produced by software:
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/120o81228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/120o81228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/2mfbu1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/2mfbu1228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/35o3d1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/35o3d1228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/4l3ya1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/4l3ya1228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/5vodg1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/5vodg1228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/6mfdi1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/6mfdi1228761080.ps (open in new window)


http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/7i3vk1228761080.png (open in new window)
http://127.0.0.1/wessadotnet/public_html/freestatisticsdotorg/blog/date/2008/Dec/08/t1228762141i9lrzhio5cnc6a1/7i3vk1228761080.ps (open in new window)


 
Parameters (Session):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 1 ; par7 = 1 ; par8 = 1 ; par9 = 1 ;
 
Parameters (R input):
par1 = FALSE ; par2 = 1 ; par3 = 1 ; par4 = 1 ; par5 = 12 ; par6 = 1 ; par7 = 1 ; par8 = 1 ; 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