Last chance! 50% off unlimited learning
Sale ends in
locfit(formula, data, weights, cens, base, subset, geth, ..., lfproc)y~x for a regression model; ~x for a
density estimation model1 (or TRUE) denotes a censored observation.
0 (or FALSE) denotes uncensored.base is equivalent to using y-base as the reponse. But base
also works for local likelihood.locfit.raw() (or the lfproc).locfit.raw(). Other choices include locfit.robust(),
locfit.censor() and locfit.quasi()."locfit". A standard set of methods for printing,
ploting, etc. these objects is provided.
locfit() is a model-formula based front end to locfit.raw().locfit.rawdata(ethanol)
locfit(NOx~E,data=ethanol)Run the code above in your browser using DataLab