Displaying 1 result from an estimated 1 matches for "longtermunempdata".
2012 Feb 08
1
Fitting polynomial (power greater than 2)
...ter than 2
to my forecast. I'll upload my R code at the bottom. Any help is very much
appreciated! Thank You!
(a) Produce a time-series plot of your data.
(b) Fit linear, polynomial (use a power greater than 2), and R?s best fit
models to your series.
rm(list=ls(all=TRUE))
z=read.table("longtermunempdata.txt")
names(z)= c("Unemployment")
attach(z)
TIME=seq(1,769,by=1)
Unemployment_ts<-ts(Unemployment,start=1948,freq=12)
#quartz()
#plot(stl(Unemployment_ts,s.window="periodic"))
#1A
quartz()
plot(TIME, Unemployment, xlab="Year", ylab="Long Term
Unemploymen...