major                  package:ineq                  R Documentation

_M_a_j_o_r_i_z_a_t_i_o_n

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

     tests whether a vector `x' majorizes another vector `y'

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

     major(x,y)

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

     x,y: vectors containing non-negative elements (with same length
          and same mean)

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

     even if `x' and `y' are comparable (i.e. have same length and same
     mean) it is possible that neither x majorizes y nor y majorizes x.

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

     logical. TRUE if x majorizes y (x >=(M) y), FALSE if not.

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

     Achim Zeileis zeileis@ci.tuwien.ac.at

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

     Marshall / Olkin: Inequalities: Theory of Majorization and Its
     Applications, New York 1979 (Academic Press)

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

     `Lc'

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

     # generate vectors (of incomes)
     x <- c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261)
     y <- c(841, 2063, 2445, 3438, 4437, 5401, 6392, 8304, 11304, 21961)
     # test whether x majorizes y (TRUE, because y is result of
     # Pigou-Dalton-transfers)
     major(x,y)

