diamond                package:UsingR                R Documentation

_P_r_i_c_e _b_y _s_i_z_e _f_o_r _d_i_a_m_o_n_d _r_i_n_g_s

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

     A data set on 48 diamond rings containing price in Singapore
     dollars and size of diamond in carats.

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

     data(diamond)

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

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

     _c_a_r_a_t A measurement of a diamond's size

     _p_r_i_c_e Price in Singapore dollars

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

     This data comes from a collection of the _Journal of Statistics
     Education_. The accompanying documentation says:

     "Data presented in a newspaper advertisement suggest the use of
     simple linear regression to relate the prices of diamond rings to
     the weights of their diamond stones.  The intercept of the
     resulting regression line is negative and significantly different
     from zero.  This finding raises questions about an assumed pricing
     mechanism and motivates consideration of remedial actions."

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

     This comes from <URL:
     http://www.amstat.org/publications/jse/datasets/diamond.txt>. Data
     set is contributed by Singfat Chu.

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

     data(diamond)
     plot(price ~ carat, diamond, pch=5)

