attitude                package:base                R Documentation

_T_h_e _C_h_a_t_t_e_r_j_e_e-_P_r_i_c_e _A_t_t_i_t_u_d_e _D_a_t_a

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

     From a survey of the clerical employees of a large financial
     organization, the data are aggregated from the questionnaires of
     the approximately 35 employees for each of 30 (randomly selected)
     departments.  The numbers give the percent proportion of
     favourable responses to seven questions in each department.

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

     data(attitude)

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

     A dataframe with 30 observations on 7 variables. The first column
     are the short names from the reference, the second one the
     variable names in the data frame:

          Y  rating      numeric  Overall rating
       X[1]  complaints  numeric  Handling of employee complaints
       X[2]  privileges  numeric  Does not allow special privileges
       X[3]  learning    numeric  Opportunity to learn
       X[4]  raises      numeric  Raises based on performance
       X[5]  critical    numeric  Too critical
       X[6]  advancel    numeric  Advancement

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

     Chatterjee, S. and Price, B. (1977) _Regression Analysis by
     Example_. New York: Wiley. (Section 3.7, p.68ff of 2nd ed.(1991).)

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

     require(stats)
     data(attitude)
     pairs(attitude, main = "attitude data")
     summary(attitude)
     summary(fm1 <- lm(rating ~ ., data = attitude))
     opar <- par(mfrow = c(2, 2), oma = c(0, 0, 1.1, 0),
                 mar = c(4.1, 4.1, 2.1, 1.1))
     plot(fm1)
     summary(fm2 <- lm(rating ~ complaints, data = attitude))
     plot(fm2)
     par(opar)

