QuadraticEstimatingEquations/R/b.gauss.R
2014-02-23 21:05:36 -05:00

20 lines
659 B
R

# Second weighting vector of the quadratic estimating equation (gaussian)
#
# Author: Francois Pelletier
#
# LGPL-3.0
###############################################################################
#' Second weighting vector of the quadratic estimating equation (gaussian)
#' @param param Vector of parameters of the distribution function
#' @param variancef Variance function of the distribution
#' @param dsd Derivative in respect to the parameter vector of the standard deviation function of the distribution
#' @return Second weighting vector
#'
#' @author Francois Pelletier
b.gauss <- function(param,variancef,dsd)
{
dsd(param)/variancef(param)
}