QuadraticEstimatingEquations/R/gammaf.Crowder.Mod.R
2014-03-05 21:57:44 -05:00

17 lines
466 B
R

# Gamma function used in Modified Crowder Estimating Equations
#
# Author: Francois Pelletier
#
# LGPL-3.0
###############################################################################
#' Gamma function used in Modified Crowder Estimating Equations
#' @param Y Individual data sample
#' @return Gamma function value
#' @export gammaf.Crowder.Mod
#' @author Francois Pelletier
gammaf.Crowder.Mod <- function(Y)
{
moments::kurtosis(Y)-1-moments::skewness(Y)^2
}