QuadraticEstimatingEquations/R/gammaf.Crowder.Mod.R

18 lines
440 B
R
Raw Normal View History

2014-02-24 02:05:36 +00:00
# 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
#'
#' @author Francois Pelletier
gammaf.Crowder.Mod <- function(Y)
{
moments::kurtosis(Y)-1-moments::skewness(Y)^2
}