home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / UNIX / Educational / R-0.49-MI / R-0.49-I / help / base / lm.influence < prev    next >
Encoding:
Text File  |  1997-04-23  |  1.6 KB  |  63 lines

  1.     
  2.     _R_e_g_r_e_s_s_i_o_n _D_i_a_g_n_o_s_t_i_c_s
  3.     
  4.          lm.influence(z)
  5.     
  6.          rstudent(z)
  7.          dfbetas(z)
  8.          dffits(z)
  9.          covratio(z)
  10.     
  11.     _A_r_g_u_m_e_n_t_s:
  12.     
  13.                z : the results returned by lm.
  14.     
  15.     _D_e_s_c_r_i_p_t_i_o_n:
  16.     
  17.          This suite of functions can be used to compute some of
  18.          the regression diagnostics discussed in Belsley, Kuh
  19.          and Welsch (1980).
  20.     
  21.          The primary function is lm.influence which is used by
  22.          the other functions to compute the basic statistics of
  23.          interest.  The other functions produce particular diag-
  24.          nostic quantities from the fundamental quantities pro-
  25.          duced by lm.influence.
  26.     
  27.     _V_a_l_u_e_s:
  28.     
  29.          A list containing the following components:
  30.     
  31.         hat : a vector containing the diagonal of the ``hat''
  32.               matrix.
  33.     
  34.        coef : the change in the estimated coefficients which
  35.               results when the i-th case is dropped from the
  36.               regression is contained in the i-th row of this
  37.               matrix.
  38.     
  39.       sigma : a vector whose i-th element contains the estimate
  40.               of the residual standard deviation obtained when
  41.               the i-th case is dropped from the regression.
  42.     
  43.     _R_e_f_e_r_e_n_c_e_s:
  44.     
  45.          Belsley, D. A., E. Kuh and R. E. Welsch (1980).
  46.          Regression Diagnostics.  New York: Wiley.
  47.     
  48.     _S_e_e _A_l_s_o:
  49.     
  50.          lm.
  51.     
  52.     _E_x_a_m_p_l_e_s:
  53.     
  54.          # Analysis of the life-cycle savings data
  55.          # given in Belsley, Kuh and Welsch.
  56.          data(savings)
  57.          z <- lm(sr ~ pop15 + pop75 + dpi + ddpi, data=savings)
  58.          rstudent(z)
  59.          dfbetas(z)
  60.          dffits(z)
  61.          covratio(z)
  62.     
  63.