Print and summary method functions for dose-response models represented in objects of class "dosresmeta".
## S3 method for class 'dosresmeta'print(x, digits =4,...)## S3 method for class 'dosresmeta'summary(object, ci.level =0.95,...)## S3 method for class 'summary.dosresmeta'print(x, digits =4,...)
Arguments
x: an object of class dosresmeta or summary.dosresmeta produced by dosresmeta or summary.dosresmeta, respectively.
digits: an integer specifying the number of digits to which printed results must be rounded.
...: further arguments passed to or from other methods.
object: an object of class dosresmeta produced by dosresmeta.
ci.level: the confidence level used for defining the confidence intervals for the estimates of the (fixed-effects) coefficients.
Returns
The summary method function for dosresmeta objects produces a list of class "summary.dosresmeta". The components of the lists are some of those stored in the related dosresmeta object, plus the following:
AIC
the value of the Akaike information criterion for the fitted dosresmeta model, obtained through a call to AIC .
BIC
the value of the Bayesian information criterion for the fitted dosresmeta model, obtained through a call to BIC
corFixed
the pxp correlation matrix of the fixed-effects coefficients, obtained from the (co)variance matrix vcov
corRandom
the pxp correlation matrix of the random effects, obtained from the between-study (co)variance matrix Ψ
qstat
results from the Cochran Q test for heterogeneity.
ci.level
the confidence level used for defining the confidence intervals for the estimates of the fixed-effects coefficients.
chisq
overall test similar to anova.
As usual, the print method functions for classes "dosresmeta" and "summary.dosresmeta" do not return any value.
Details
the print method for class dosresmeta only returns basic information of the fitted model, namely the call, estimated (fixed-effects) coefficients, dimensions, and fit statistics (log-likelihood, AIC, BIC).
The summary method function computes additional statistics and tests, and produces a list object of class summary.dosresmeta. The print method function for this class, depending on the number of studies included in the analysis, shows additional information, such as tables reporting the estimates for the fixed and random-effects parts of the model, Chi-square test for model significance, Cochran Q test for heterogeneity and I-square.
Examples
## Load data and run the modeldata("alcohol_cvd")model <- dosresmeta(formula = logrr ~ dose + I(dose^2), type = type, id = id, se = se, cases = cases, n = n, data = alcohol_cvd)## Defult printmodel
## Specify digitsprint(model, digit =2)## summary with 90th confidence intervalssummary(model, ci.level =.8)