UPSgraph                package:USPS                R Documentation

_D_i_s_p_l_a_y _S_e_n_s_i_t_i_v_i_t_y _A_n_a_l_y_s_i_s _G_r_a_p_h_i_c _i_n _U_n_s_u_p_e_r_v_i_s_e_d _P_r_o_p_e_n_s_i_y _S_c_o_r_i_n_g

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

     Plot summary of results from multiple calls to UPSnnltd() and/or
     UPSivadj() after an initial setup call to UPSaccum().  The
     UPSgraph() plot displays any sensitivity of the LTD and LATE
     Distributions to choice of Number of Clusters in X-space.

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

       UPSgraph(nncol = "red", nwcol = "green3", ivcol = "blue", ...)

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

   nncol: optional; string specifying color for display of the Mean of
          the LTD distribution when weighted by cluster size from any
          calls to UPSnnltd().

   nwcol: optional; string specifying color for display of the Mean of
          the LTD distribution when weighted inversely proportional to
          variance from any calls to UPSnnltd().

   ivcol: optional; string specifying color for display of the
          Difference in LATE prediction, at PS = 100% minus that at PS
          = 0%, from any calls to UPSivadj().

     ...: Optional parameter(s) passed on to plot().

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

     The third phase of Unsupervised Propensity Scoring is a graphical
     Sensitivity Analysis that depicts how the Overall Means of the LTD
     and LATE distributions change with the number of clusters.

_V_a_l_u_e:

     NULL

_A_u_t_h_o_r(_s):

     Bob Obenchain <sunsetstats@earthlink.net>

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

     Kaufman L, Rousseeuw PJ. (1990) *Finding Groups in Data.  An
     Introduction to Cluster Analysis*.  _New York: John Wiley and
     Sons_.

     Obenchain RL. (2004) Unsupervised Propensity Scoring: NN and IV
     Plots. _Proceedings of the American Statistical Association (on
     CD)_ 8 pages.

     Obenchain RL. (2005) *USPSinR.pdf*  ../R_HOME/library/USPS  40
     pages.

     Rubin DB. (1980) Bias reduction using Mahalanobis metric matching.
     _Biometrics_ *36*: 293-298.

_S_e_e _A_l_s_o:

     'UPSnnltd', 'UPSivadj' and 'UPSaccum'.

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

       data(lindner)
       UPSxvars <- c("stent", "height", "female", "diabetic", "acutemi", "ejecfrac", "ves1proc")
       UPSharch <- UPShclus(lindner, UPSxvars)
       UPSaccum(UPSharch, lindner, abcix, lifepres, faclev=1, scedas="homo", accobj="ABClife")
       lif001nn <- UPSnnltd(1)
       lif020nn <- UPSnnltd(20)
       lif070nn <- UPSnnltd(70)
       lif120nn <- UPSnnltd(120)

       UPSgraph()

       ABClife

