envelope                package:pgam                R Documentation

_N_o_r_m_a_l _p_l_o_t _w_i_t_h _s_i_m_u_l_a_t_e_d _e_n_v_e_l_o_p_e _o_f _t_h_e _r_e_s_i_d_u_a_l_s.

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

     A normal plot with simulated envelope of the residual is produced.

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

     envelope(object, type = "deviance", size = 0.95, rep = 19, optim.method=NULL, 
     epsilon = 0.001, maxit = 100, plot = TRUE, verbose = FALSE, ...)

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

  object: object of class 'pgam' holding the fitted model

    type: type of residuals to be extracted. Default is 'deviance'.
          Options are described in 'residuals.pgam'

    size: value giving the size of the envelope. Default is '.95' which
          is equivalent to a 95% band

     rep: number of replications for envelope construction. Default is
          '19'

optim.method: optimization method to be passed to 'pgam' and therefore
          to 'optim'

 epsilon: convergence control to be passed to 'pgam'

   maxit: convergence control to be passed to 'pgam'

    plot: if 'TRUE' a plot of the envelope is produced

 verbose: if 'TRUE' a sort of information is printed during the running
          time

     ...: further arguments to 'plot' function

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

     Sometimes the usual Q-Q plot shows an unsatisfactory pattern of
     the residuals of a model fitted and we are led to think that the
     model is badly specificated. The normal plot with simulated
     envelope indicates that under the distribution of the response
     variable the model is OK if only a few points fall off the
     envelope.

     If 'object' is of class 'pgam' the envelope is estimated and
     optionally plotted, else if is of class 'envelope' then it is only
     plotted.

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

     An object of class 'envelope' holding the information needed to
     plot the envelope.

_A_u_t_h_o_r(_s):

     Washington Leite Junger 
      wjunger@ims.uerj.br

_R_e_f_e_r_e_n_c_e_s:

     Atkinson, A. C. (1985) Plots, transformations and regression : an
     introduction to graphical methods of diagnostic regression
     analysis. Oxford Science Publications, Oxford.

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

     'pgam', 'predict.pgam', 'residuals.pgam'

