Revision 4cb3d258dde61065ad3370c2663b90bae42c721f authored by Roger Koenker on 08 August 1977, 00:00:00 UTC, committed by Gabor Csardi on 08 August 1977, 00:00:00 UTC
1 parent a9193f0
Raw File
bandwidth.rq.Rd
\name{bandwidth.rq}
\alias{bandwidth.rq}
\title{ bandwidth selection for rq functions }
\description{
 function to compute bandwidth for sparsity estimation 
}
\usage{
bandwidth.rq(p, n, hs=T, alpha=0.05)
}
\arguments{
  \item{p}{ quantile(s) of interest }
  \item{n}{ sample size }
  \item{hs}{ flag for hall-sheather method }
  \item{alpha}{ alpha level for intended confidence intervals }
}
\details{ If hs=T (default) then the Hall-Sheather(1988) rule \eqn{O(n^{-1/3})}
is used, if hs=F then the Bofinger \eqn{O(n^{-1/5})} is used.
}
\value{
returns a vector of bandwidths corresponding to the argument p.
}
\references{ Hall and Sheather(1988, JRSS(B)),Bofinger (1975, Aus. J. Stat)}
\author{ Roger Koenker rkoenker@uiuc.edu}
\keyword{ regression }
back to top