confint                package:stats                R Documentation

_C_o_n_f_i_d_e_n_c_e _I_n_t_e_r_v_a_l_s _f_o_r _M_o_d_e_l _P_a_r_a_m_e_t_e_r_s

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

     Computes confidence intervals for one or more parameters in a
     fitted model.  Base has a method for objects inheriting from class
     '"lm"'.

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

     confint(object, parm, level = 0.95, ...)

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

  object: a fitted model object. 

    parm: a specification of which parameters are to be given
          confidence intervals, either a vector of numbers or a vector
          of names. If missing, all parameters are considered. 

   level: the confidence level required. 

     ...: additional argument(s) for methods 

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

     'confint' is a generic function with no default method. For
     objects of class '"lm"' the direct formulae based on t values are
     used.

     Package 'MASS' contains methods for '"glm"' and '"nls"' objects.

_V_a_l_u_e:

     A matrix (or vector) with columns giving lower and upper
     confidence limits for each parameter. These will be labelled as
     (1-level)/2 and 1 - (1-level)/2 in % (by default 2.5% and 97.5%).

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

     'confint.nls'

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

     data(mtcars)
     fit <- lm(100/mpg ~ disp + hp + wt + am, data=mtcars)
     confint(fit)
     confint(fit, "wt")

