tscsPlot               package:Amelia               R Documentation

_P_l_o_t _o_b_s_e_r_v_e_d _a_n_d _i_m_p_u_t_e_d _t_i_m_e-_s_e_r_i_e_s _f_o_r _a _s_i_n_g_l_e _c_r_o_s_s-_s_e_c_t_i_o_n

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

     Plots a time series for a given variable in a given cross-section
     and provides confidence intervals for the imputed values.

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

     tscsPlot(output, var, cs, draws = 100, conf = .90,
              misscol = "red", obscol = "black", xlab, ylab, main,
              pch, ylim, xlim, ...)

_A_r_g_u_m_e_n_t_s:

  output: output from the function 'amelia'.

     var: the column number or variable name of the variable to plot.

      cs: the name of the cross-section to plot.

   draws: the number of imputations on which to base the confidence
          intervals.

    conf: the confidence level of the confidence intervals to plot for
          the imputated values.

 misscol: the color of the imputed values and their confidence
          intervals.

  obscol: the color of the points for observed units.

xlab,ylab,main,pch,ylim,xlim: various graphical parameters.

     ...: further graphical parameters for the plot.

_D_e_t_a_i_l_s:

     The 'cs' argument should be a value from the variable set to the
     'cs' argument in the 'amelia' function for this output. This
     function will not work if the 'ts' and 'cs' arguments were not set
     in the 'amelia' function.

