profile-methods            package:stats4            R Documentation

_M_e_t_h_o_d_s _f_o_r _F_u_n_c_t_i_o_n _p_r_o_f_i_l_e _i_n _P_a_c_k_a_g_e '_s_t_a_t_s_4'

_D_e_s_c_r_i_p_t_i_o_n:

     Profile likelihood for '"mle"' objects.

_U_s_a_g_e:

     ## S4 method for signature 'mle':
     profile(fitted, which = 1:p, maxsteps = 100, alpha = 0.01,
             zmax = sqrt(qchisq(1 - alpha, 1L)), del = zmax/5,
             trace = FALSE, ...)

_A_r_g_u_m_e_n_t_s:

  fitted: Object to be profiled

   which: Optionally select subset of parameters to profile.

maxsteps: Maximum number of steps to bracket 'zmax'.

   alpha: Significance level corresponding to 'zmax', based on a
          Scheffe-style multiple testing interval.  Ignored if 'zmax'
          is specified.

    zmax: Cutoff for the profiled value of the signed root-likelihood.

     del: Initial stepsize on root-likelihood scale.

   trace: Logical. Print intermediate results.

     ...: Currently unused.

_D_e_t_a_i_l_s:

     The profiling algoritm tries to find an approximately evenly
     spaced set of at least five parameter values (in each direction
     from the optimum) to cover   the root-likelihood function. Some
     care is taken to try and get sensible results in cases of high
     parameter curvature. Notice that it may not always be possible to
     obtain the cutoff value, since the likelihood might level off.

_V_a_l_u_e:

     An object of class '"profile.mle"', see  '"profile.mle-class"'.

_M_e_t_h_o_d_s:


     _f_i_t_t_e_d = "_A_N_Y" Generic function: see 'profile'.

     _f_i_t_t_e_d = "_m_l_e" Profile the likelihood in the vicinity of the
          optimum of an '"mle"' object.

