GMMStuff/R/optim.GMM.R

16 lines
621 B
R
Raw Normal View History

#' Optimization with constraints for GMM methos
#'
#' @param start Starting values for the parameters and lagrangian
#' @param conditions.vector Vector of moment conditions
2014-03-03 01:20:34 +00:00
#' @param sample Individual data sample
#' @param ... Functions of the vector of moment conditions
#' @param W Weighting matrix
#' @param R Linear constraint matrix of coefficients
#' @param r Linear constraint constants
#' @return une liste contenant le résultat de l'optimisation
2014-03-03 01:20:34 +00:00
#'
#' @author François Pelletier
2014-03-03 01:20:34 +00:00
optim.GMM <- function(start,conditions.vector,sample,...,W,R,r)
{
2014-03-03 01:20:34 +00:00
optim(start,objective.GMM,conditions.vector,sample,...,W,R,r)
}