https://github.com/cran/grplasso
Raw File
Tip revision: 5acccd304fe4271f87d46552ef2cc4918bff6963 authored by Lukas Meier on 01 April 2009, 00:00:00 UTC
version 0.4-2
Tip revision: 5acccd3
grpl.model.Rd
\name{grpl.model}
\alias{grpl.model}
\alias{LogReg}
\alias{LinReg}
\alias{PoissReg}
\title{Group Lasso models}
\description{Generates models to be used for the Group Lasso algorithm.}
\usage{
grpl.model(invlink, link, nloglik, ngradient, nhessian, check,
           name = "user-specified", comment = "user-specified")
LogReg()
LinReg()
PoissReg()
}
\arguments{
  \item{invlink}{a function with arguments \code{eta}
    implementing the inverse link function.}
  \item{link}{a function with arguments \code{mu}
    implementing the link function.}
  \item{nloglik}{a function with arguments \code{y}, \code{mu} and
    \code{weights} implementing the \emph{negative} log-likelihood function.}
  \item{ngradient}{a function with arguments \code{x}, \code{y},
    \code{mu} and \code{weights} 
    implementing the \emph{negative} gradient of the log-likelihood function.}
  \item{nhessian}{a function with arguments \code{x}, \code{mu} and
    \code{weights} implementing the \emph{negative} hessian of the
    log-likelihood function.}
  \item{check}{a function with argument \code{y} to check whether the
    response has the correct format.}
  \item{name}{a character name}
  \item{comment}{a character comment}
}
\value{
  An object of class \code{grpl.model}.
}
\examples{
    LogReg()
}
\keyword{misc}
back to top