https://github.com/cran/grplasso
Raw File
Tip revision: 4aa9c8aef3fbd34e15d7e1ab26d5f96d7992b62c authored by Lukas Meier on 07 May 2020, 15:20:02 UTC
version 0.4-7
Tip revision: 4aa9c8a
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