roomwidth               package:HSAUR               R Documentation

_S_t_u_d_e_n_t_s _E_s_t_i_m_a_t_e_s _o_f _L_e_c_t_u_r_e _R_o_o_m _W_i_d_t_h

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

     Lecture room width estimated by students in two different units.

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

     data("roomwidth")

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

     A data frame with 113 observations on the following 2 variables.

     _u_n_i_t a factor with levels 'feet' and 'metres'.

     _w_i_d_t_h the estimated width of the lecture room.

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

     Shortly after metric units of length were officially introduced in
     Australia, each of a group of 44 students was asked to guess, to
     the nearest metre, the width of the lecture hall in which  they
     were sitting. Another group of 69 students in the same room    was
     asked to guess the width in feet, to the nearest foot. The data
     were collected by Professor T. Lewis and are taken  from Hand et
     al (1994). The main question is whether estimation in feet and  in
     metres gives different results.

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

     D. J. Hand, F. Daly, A. D. Lunn, K. J. McConway and E. Ostrowski
     (1994). _A Handbook of Small Datasets_, Chapman and Hall/CRC,
     London.

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

       data("roomwidth", package = "HSAUR")
       convert <- ifelse(roomwidth$unit == "feet", 1, 3.28)
       boxplot(I(width * convert) ~ unit, data = roomwidth)

