https://github.com/cran/grplasso
Tip revision: 1f47271430a8556ddf1f06142a5bc2954fb41917 authored by Lukas Meier on 15 April 2013, 00:00:00 UTC
version 0.4-3
version 0.4-3
Tip revision: 1f47271
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}