mvmeta function, inheriting from class "mvmeta", and representing a fitted univariate or multivariate meta-analytical model.
"mvmeta" are lists with defined components. Dimensions of such components may refer to $k$ outcome parameters, $p$ predictors and $m$ studies used for fitting the model (the latter can be different from those originally selected due to missing). The following components needs to be included in a legitimate mvmeta object:coefficients NA for non-likelihood models.(co)variance structure. See also the optimizations algorithms for details.par above, only returned if hessian=TRUE in mvmeta.control. See the related optimizations algorithms for details.mvmeta.control.mvmeta.m (number of studies included in estimation, which could be lower than the total number in the presence of missing values), k (number of outcome parameters), p (number of coefficients for each outcome parameter).nall (number of observations used for estimation, excluding missing values), nobs (equal to nall, minus the number of fixed-effects coefficients in REML models), fixed (number of estimated fixed-effects coefficients), random (number of estimated (co)variance terms).m for the $m$ studies, k for the $k$ outcome parameters, p for the $p$ predictors (including intercept). The first two are derived from the vector/matrix of outcome parameters in formula, the third from the design matrix derived from model.matrix.model=TRUE in mvmeta. See model.frame.model.frame on the special handling of NAs. See info on missing values.terms object representing the fitted model.mvmeta objects, most of them common to other regression functions. Specifically-written method functions are defined for predict (standard predictions) and blup (best linear unbiased predictions). The method function simulate produces simulated outcomes from a fitted model, while qtest performs the Cochran Q test for heterogeneity. Other methods have been produced for summary, logLik, coef, and vcov. Specific methods are also available for model.frame and model.matrix. In particular, the former produces the model frame (a data frame with special attributes storing the variables used for fitting) with the additional class "data.frame.mvmeta". Methods na.omit and na.exclude for this class are useful for the handling of missing values in mvmeta objects. Printing functions for the objects of classes defined above are also provided. anova methods for performing tests in mvmeta objects are in development. All the methods above are visible (exported from the namespace) and documented. In additions, several default method functions for regression are also applicable to objects of class "mvmeta", such as fitted, residuals, AIC, BIC and update, among others.mvmeta. See lm or glm for standard regression functions. See mvmeta-package for an overview of this modelling framework.
# RUN THE MODEL
model <- mvmeta(cbind(PD,AL)~pubyear,S=berkey98[5:7],data=berkey98)
# INSPECT THE OBJECT
names(model)
# LABELS
model$lab
# FORMULA
model$formula
# CONVERGED?
model$converged
Run the code above in your browser using DataLab