Displaying 1 result from an estimated 1 matches for "unemployment_t".
Did you mean:
unemployment_ts
2012 Feb 08
1
Fitting polynomial (power greater than 2)
...ed! 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
Unemployment",type='l')
#1B Linear
quartz()
plot(TIME,Unemployment,type="l", xlab=&...