Description Usage Arguments Details Value Author(s) See Also Examples
These functions are all methods for class jmdem or summary.jmdem objects.
1 2 3 4 5 6 7 |
object |
an object of class " |
x |
an object of class " |
correlation |
logical; if |
digits |
the number of significant digits to use when printing. |
scientific |
logical; if |
symbolic.cor |
logical. If |
signif.stars |
logical. If |
... |
further arguments passed to or from other methods. |
print.summary.jmdem tries to be smart about formatting the coefficients, standard errors, etc. and additionally gives 'significance stars' if signif.stars is TRUE. The coefficients, mean.coefficients and dispersion.coefficients components of the result give the estimated coefficients and their estimated standard errors, together with their ratio. This third column is labelled t-ratio and a fourth column gives the two-tailed p-value corresponding to the t-ratio based on a Student t distribution.
Aliased coefficients are omitted in the returned object but restored by the print method.
Correlations are printed to the same decimal places specified in digits (or symbolically): to see the actual correlations print summary(object)$correlation directly.
For more details, see summary.glm.
call |
the component from |
mean.family |
the component from |
dispersion.family |
the component from |
deviance |
the component from |
mean.terms |
the component from |
dispersion.terms |
the component from |
aic |
the component from |
mean.contrasts |
the component from |
dispersion.contrasts |
the component from |
df.residual |
the component from |
null.deviance |
the component from |
df.null |
the component from |
information.type |
the component from |
iter |
the component from |
mean.na.action |
the component from |
dispersion.na.action |
the component from |
deviance.resid |
the deviance residuals. |
pearson.resid |
the pearson residuals. |
resid |
the working residuals depends on the setting of |
coefficients |
the matrix of coefficients, standard errors, z-values and p-values. Aliased coefficients are omitted. |
mean.coefficients |
the matrix of coefficients, standard errors, z-values and p-values of the mean submodel. |
dispersion.coefficients |
the matrix of coefficients, standard errors, z-values and p-values of the dispersion submodel. |
deviance.type |
the type of redidual deviance specified, it is either " |
aliased |
named logical vector showing if the original coefficients are aliased. |
df |
a 3-vector of the rank of the model and the number of residual degrees of freedom, plus number of coefficients (including aliased ones). |
covariance |
the estimated covariance matrix of the estimated coefficients. |
digits |
the number of significant digits to use when printing. |
scientific |
logical value of using scientific notation when printing. |
covmat.method |
named method used to invert the covariance matrix. |
correlation |
(only if correlation is true.) The estimated correlations of the estimated coefficients. |
symbolic.cor |
(only if correlation is true.) The value of the argument symbolic.cor. |
Karl Wu Ka Yui (karlwuky@suss.edu.sg)
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Example in jmdem(...)
MyData <- simdata.jmdem.sim(mformula = y ~ x, dformula = ~ z,
mfamily = poisson(),
dfamily = Gamma(link = "log"),
beta.true = c(0.5, 4),
lambda.true = c(2.5, 3), n = 100)
fit <- jmdem(mformula = y ~ x, dformula = ~ z, data = MyData,
mfamily = poisson, dfamily = Gamma(link = "log"),
dev.type = "deviance", method = "CG")
## Summarise fit with correlation matrix
summary(fit, correlation = TRUE, digits = 4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.