

hatmatrix(locfit)                            R Documentation

_W_e_i_g_h_t _d_i_a_g_r_a_m_s _a_n_d _t_h_e _h_a_t _m_a_t_r_i_x _f_o_r _a _l_o_c_a_l _r_e_g_r_e_s_s_i_o_n
_m_o_d_e_l_.

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

     `hatmatrix()' computes the weight diagrams (also known
     as equivalent or effective kernels) for a local regres-
     sion smooth.  Essentially, `hatmatrix()' is a front-end
     to `locfit()', setting a flag to compute and return
     weight diagrams, rather than the fit.

_U_s_a_g_e_:

     hatmatrix(formula, ...)

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

 formula: model formula.

     ...: Other arguments to `locfit' and `locfit.raw'.

_V_a_l_u_e_:

     A matrix with n rows and p columns; each column being
     the weight diagram for the corresponding `locfit' fit
     point.  If `ev="data"', this is the transpose of the
     hat matrix.

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

     `locfit', `plot.locfit.1d', `plot.locfit.2d',
     `plot.locfit.3d', `lines.locfit', `predict.locfit'

