gasprice              package:expsmooth              R Documentation

_U_S _g_a_s_o_l_i_n_e _p_r_i_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     Monthly US retail gasoline price (the average price per gallon, in
     dollars) and the spot price of  a barrel of West Texas
     Intermediate (WTI) oil in dollars as traded at Cushing, Oklahoma. 
     Jan 1991 - Nov 2006.

_U_s_a_g_e:

     data(gasprice)

_F_o_r_m_a_t:

     bivariate time series

_S_o_u_r_c_e:

     Hyndman, R.J., Koehler, A.B., Ord, J.K., and Snyder, R.D., (2008)
     _Forecasting with exponential smoothing: the state space
     approach_, Springer.

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://www.exponentialsmoothing.net>. These series are
     available from the US Energy Information Administration website
     <URL: http://www.eia.doe.gov>.

_E_x_a_m_p_l_e_s:

     par(mar=c(5,4,2,5))
     plot(gasprice[,1],xlab="Year",ylab="Average retail price per gallon (dollars)",main="Gasoline and oil prices")
     par(new=TRUE)
     plot(gasprice[,2],col="blue",xaxt="n",yaxt="n",xlab="",ylab="")
     axis(4)
     mtext("Spot price per barrel (dollars)",side=4,line=3)
     legend("topleft",col=c("black","blue"),lty=1,legend=c("Ave retail price of gasoline","Spot price of WTI oil"))

