Description Usage Arguments Details Value See Also
Estimate LCx from survival data in the presence of additional stressors and non-ignorable control mortality.
1 2 3 4 5 6 | lcx(formula, concentration, group, data, start = NULL, link = c("probit",
"logit"), lethal = 50, quasi = FALSE, common.background = FALSE,
rate.shrink = 0, optim.control = list())
lcx.fit(X, Y, conc, group, alpha, beta, gamma, link, lethal, quasi = FALSE,
common.background = FALSE, rate.shrink = 0, optim.control = list())
|
formula |
A formula relating log LCx to covariates describing the additional stressors. |
concentration |
The name of variable that is the concentration of the toxin. |
group |
A factor distinguishing treatment groups for the additional stressors. |
data |
Dataframe containing the variables in the model. |
start |
Starting values used to initialize the model. If
|
link |
The link function for survival fractions. |
lethal |
The level of lethality (ie "x") to be estimated. |
quasi |
Should a quasibinomial model be fitted? |
common.background |
Should a common background survival be estimated for each treatment group? |
rate.shrink |
The shrinkage penalty for the rate parameters. |
optim.control |
Control parameters for |
X |
A design matrix. |
Y |
A two column matrix of responses. |
conc |
A vector of toxin concentrations. |
alpha |
The vector of starting rate parameters. |
beta |
The vector of starting coefficients. |
gamma |
The vector of background survival parameters. |
The details of the model are described in the package vignette.
lcx.fit
is the workhorse function: it is not normally
called directly but can be more efficient when the response
vector, design matrix and family have already been calculated.
lcx
returns an object of class inheriting from
"lcx". See later in this section.
The function summary
(i.e.,
link{summary.lcx}
) can be used to obtain or print a
summary of the results and the function anova
(i.e.,
anova.lcx
) to produce an analysis of deviance table
for the tests of additional stressor effects.
An LCx model has several sets of coefficients, the generic
accessor function coef
returns only the beta
coefficients.
An object of class "lcx" is a list containing at least the following components:
|
the maximized log likelihood. |
|
Akaike's information criteria. |
|
a vector of rate coefficients. |
|
covariance of the rate coefficients. |
|
a named vector of lcx model coefficients. |
|
covariance of the lcx model coefficients. |
|
a vector of background survival coefficients. |
|
covariance of the background survival coefficients. |
|
a named vector of lcx model coefficients. |
|
covariance of the lcx model coefficients. |
|
a named vector of log lcxs for the treatment groups. |
|
covariance of the lcxs for the treatment groups. |
|
a vector of toxin concentrations. |
|
a factor distinguishing treatment groups. |
|
a design matrix relating log lcx to factors describing the additional stressors. |
|
a two column matrix of responses, giving the survivals and mortalities. |
|
the fitted probability of survival. |
|
the deviance residuals for the fit. |
|
the deviance for the fit. |
|
the residual degrees of freedom. |
|
the dispersion. |
|
the deviance of the null model, which fits a single mortality rate to all data. |
|
the degrees of freedom for the null model. |
|
the result of the call to |
|
the link function. |
|
the modelled level of lethality. |
|
is the dispersion estimated. |
|
is background mortality common. |
|
the shrinkage penalty. |
|
a record of the levels of the factors used in fitting. |
|
the contrasts used. |
|
the matched call. |
|
the terms object used. |
|
the model frame. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.