qqnorm             package:compositions             R Documentation

_N_o_r_m_a_l _q_u_a_n_t_i_l_e _p_l_o_t_s _f_o_r _c_o_m_p_o_s_i_t_i_o_n_s _a_n_d _a_m_o_u_n_t_s

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

     The plots allow to check the normal distribution of multiple
     univaritate marginals by normal quantile-quantile plots.  For the
     different interpretations of amount data a different type of
     normality is assumed and checked. When an alpha-level is given the
     marginal displayed in each panel is checked for normality.

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

     ## S3 method for class 'acomp':
     qqnorm(y,fak=NULL,...,panel=vp.qqnorm,alpha=NULL)
     ## S3 method for class 'rcomp':
     qqnorm(y,fak=NULL,...,panel=vp.qqnorm,alpha=NULL)
     ## S3 method for class 'aplus':
     qqnorm(y,fak=NULL,...,panel=vp.qqnorm,alpha=NULL)
     ## S3 method for class 'rplus':
     qqnorm(y,fak=NULL,...,panel=vp.qqnorm,alpha=NULL)
     vp.qqnorm(x,y,...,alpha=NULL)
               

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

       y: a dataset

     fak: a factor to split the dataset, not yet implemented in aplus
          and rplus

   panel: the panel function to be used or a list of multiple panel
          functions

   alpha: the alpha level of a test for normality to be performed for
          each of the displayed marginals. The levels are adjusted for
          multiple testing with a Bonferroni-correction (i.e. dividing
          each of the alpha-level by the number of test performed)

     ...: further graphical parameters

       x: used by pairs only. Internal use

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

     'qqnorm.rplus' and 'qqnorm.rcomp' display qqnorm plots of
     individual amounts (on the diagonal), of pairwise differences of
     amounts  (above the diagonal) and of pairwise sums of amounts
     (below the diagonal). 
      'qqnorm.aplus'  displays qqnorm-plots of individual log-amounts
     (on the diagonal), of pairwise log-ratios of amounts (above the
     diagonal) and of pairwise sums of log amount (below the diagonal). 
      'qqnorm.acomp' displays qqnorm-plots of pairwise log-ratios of
     amounts in all of diagonal panels. Nothing is displayed on the
     diagonal. 
      In all cases a joint normality of the original data in the
     selected framework would imply normality in all displayed marginal
     distributions (although the reciprocal is in general not true!). 
      The marginal normality can be checked in each of the plots using
     a 'shapiro.test', by specifying an alpha level. The alpha level is
     corrected for multiple testing. Plots displaying a marginal
     distribution significantly deviating from a normal distribution at
     that alpha level are marked by a red exclamation mark. 
      'vp.qqnorm' is internally used as a panel function to make high
     dimensional plots.

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

     K.Gerald v.d. Boogaart <URL: http://www.stat.boogaart.de>

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

     'plot.acomp', 'boxplot.acomp', 'rnorm.acomp', 'rnorm.rcomp', 
     'rnorm.aplus', 'rnorm.rplus'

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

     data(SimulatedAmounts)
     qqnorm(acomp(sa.lognormals),alpha=0.05)
     qqnorm(rcomp(sa.lognormals),alpha=0.05)
     qqnorm(aplus(sa.lognormals),alpha=0.05)
     qqnorm(rplus(sa.lognormals),alpha=0.05)

