simNA               package:meanscore               R Documentation

_S_i_m_u_l_a_t_e_d _d_a_t_a_s_e_t _f_o_r _i_l_l_u_s_t_r_a_t_i_n_g _t_h_e _m_e_a_n_s_c_o_r_e _f_u_n_c_t_i_o_n

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

     For this dataset, we generated 1000 observations of the  predictor
     variable (X) from the standard normal distribution. The response
     variable(Y) was then generated as a Bernoulli random variable with
     *p=exp(x)/(1+exp(x))*

     A dichotomous surrogate variable for X, called Z, was  generated
     as follows: 

     Z=1, X >0 
      0, otherwise

     We randomly deleted 500 of the X values (replacing them with NA),
     and stored the data in the matrix simNA, described below.

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

     data(simNA)

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

     There are 3 columns in the dataset. 

     Column 1 is the response variable (Y), 

     Column 2 is the surrogate variable (Z) 

     Column 3 is the predictor variable (X) 

