Rev 7915 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
\name{EEF.profile}\alias{EEF.profile}\alias{EL.profile}\title{ Empirical Likelihoods}\description{Construct the empirical log likelihood or empirical exponentialfamily log likelihood for a mean.}\usage{EEF.profile(y, tmin = min(y) + 0.1, tmax = max(y) - 0.1, n.t = 25,u = function(y, t) y - t)EL.profile(y, tmin = min(y) + 0.1, tmax = max(y) - 0.1, n.t = 25,u = function(y, t) y - t)}\arguments{\item{y}{A vector or matrix of data}\item{tmin}{ The minimum value of the range over which thelikelihood should be computed. This must be larger than\code{min(y)}.}\item{tmax}{ The maximum value of the range over which thelikelihood should be computed. This must be smaller than\code{max(y)}.}\item{n.t}{ The number of points between \code{tmin} and\code{tmax} at which the value of the log-likelihood should becomputed.}\item{u}{A function of the data and the parameter.}}\details{These functions calculate the log likelihood for a mean using eitheran empirical likelihood or an empirical exponential family likelihood.They are supplied as part of the package \code{boot} for demonstrationpurposes with the practicals in chapter 10 of Davison and Hinkley (1997).The functions are not intended for general use and are not supportedas part of the \code{boot}package. For more general and more robustcode to calculate empirical likelihoods see Professor A. B. Owen'sempirical likelihood home page at the URL\url{https://artowen.su.domains/empirical/}}\value{A matrix with \code{n.t} rows. The first column contains thevalues of the parameter used. The second column of the outputof \code{EL.profile} contains the values of the empiricallog likelihood. The second and third columns of the output of\code{EEF.profile} contain two versions of the empiricalexponential family log-likelihood. The final column of theoutput matrix contains the values of the Lagrange multiplierused in the optimization procedure.}\references{Davison, A. C. and Hinkley, D. V. (1997)\emph{Bootstrap Methods and Their Application}. Cambridge UniversityPress.}\author{Angelo J. Canty}\keyword{htest}