skewness             package:fUtilities             R Documentation

_S_k_e_w_n_e_s_s

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

     Functions to compute skewness.

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

     skewness(x, ...)

     ## Default S3 method:
     skewness(x, na.rm = FALSE, method = c("moment", "fisher"), ...)
     ## S3 method for class 'data.frame':
     skewness(x, ...)
     ## S3 method for class 'POSIXct':
     skewness(x, ...)
     ## S3 method for class 'POSIXlt':
     skewness(x, ...)

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

   na.rm: a logical. Should missing values be removed? 

  method: a character string which specifies the method of computation.
           These are either '"moment"' or '"fisher"' The '"moment"'
          method is based on the definitions of  skewnessfor
          distributions; these forms should  be used when resampling
          (bootstrap or jackknife). The  '"fisher"' method correspond
          to the usual "unbiased"  definition of sample variance,
          although in the case of skewness  exact unbiasedness is not
          possible.  

       x: a numeric vector or object.       

     ...: arguments to be passed. 

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

     'skewness'


     returns the value of the statistics, a numeric value. An 
     attribute which reports the used method is added.

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

     'link{kurtosis}'.

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

        
     ## mean -
     ## var -
        # Mean, Variance:
        r = rnorm(100)
        mean(r)
        var(r)
        
     ## skewness -
        skewness(r)  

