Description Usage Arguments Details Value Note See Also
Fits a rsm
model without computing the model matrix of the
response vector.
1 2 |
X |
the model matrix (design matrix). |
Y |
the response vector. |
dispersion |
if |
score.dispersion |
must default to |
offset |
optional offset added to the linear predictor. |
family |
a |
maxit |
maximum number of iterations allowed. |
epsilon |
convergence threshold. |
trace |
if |
... |
not used, but do absorb any redundant argument. |
The rsm.fit
function is called internally by the
rsm
routine to do the actual model fitting. Although
it is not intended to be used directly by the user, it may be useful
when the same data frame is used over and over again. It might save
computational time, since the model matrix is not created. No
formula needs to be specified as an argument. As no weights
argument is available, the response Y
and the model matrix
X
must already include the weights if weighting is desired.
an object which is a subset of a rsm
object.
The rsm.fit
function is the workhorse of the rsm
fitting routine for the student
(with df
less or equal 2), Huber
and user-defined error
distributions. It receives X
and Y
data rather than a
formula, but still uses the family.rsm
object to define the
IRLS steps. Users can write
their own versions of rsm.fit
, and pass the name of their
function via the method
argument to rsm
. Care should
be taken to include as many of the arguments as feasible, but
definitely the ...
argument, which will absorb any
additional argument given in the call from rsm
.
rsm
, rsm.surv
, rsm.null
,
rsm.object
, rsm.families
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.