*! version 3.3 David Fisher 25nov2020

Title

admetani -- Immediate form of admetan

NOTE: As of November 2020, this command is no longer maintained. Please use metani from the latest version of metan instead.

(The commands ipdmetan and ipdover continue to be maintained under the package name ipdmetan, available from SSC.)

Syntax

matrix define-like syntax:

admetani ( #, # [, #...]
\ #, # [, #...] [\ [...]] )
[, options]

tabi-like syntax:

admetani # # [#...] \ # # [#...] [\ [...]] )
[, options]

Using a previously-defined matrix:

admetani A [, options]

npts(numlist) specify participant numbers for each row of data (study)

rownames use matrix rownames to label studies in the table and forest plot

rowfullnames use matrix rowfullnames to label studies in the table and forest plot

roweq use matrix roweqnames to label studies in the table and forest plot

rowtitle(string) specify variable label for studies in the table and forest plot

variances specify that variances are supplied instead of standard errors

admetan_options any admetan options except npts()
and others requiring a varname

Description

admetani performs meta-analysis on figures supplied directly to the command,
and is intended for situations where a quick calculation of the pooled effect of a small number of studies
is desired, without the relevant data being entered into variables.
It may also be useful for constructing a forest plot of estimates from a regression or from margins,
by passing to admetani a matrix derived from a coefficient vector and variance-covariance matrix.
admetani is not a true immediate command (see immed) since by default it leaves behind
the same new variables as does admetan (although this may be suppressed with nokeepvars).
However, the functionality is otherwise similar.

Data may be supplied in any of the structures accepted by admetan.
In other words, each row of data (assumed to represent a study or trial) must contain two, three, four or six elements.
If two or three elements, participant numbers may be supplied in the form of a numlist to the npts() option.

Options

npts(numlist) specifies the number of participants associated with each study, for display in tables and forest plots.

rownames, rowfullnames, roweq extract the row names, fullnames (defined as roweqname:rowname)
or equation names from matrix A to form the study names (c.f. study(varname) in admetan).
In the absence of one of these options, or if row names are not set, the default names r1, r2 etc. will be used.

rowtitle(string) specifies a title for the study names extracted from matrix row names,
equivalent to the variable label of study(varname) in admetan.
If not supplied, the default variable label "Matrix rowname" is used.

variances specifies that the second of two columns supplied to admetani contains variances rather than standard errors.
This may be useful if passing a matrix to admetani which was derived from a coefficient vector and variance-covariance matrix.

Saved results

By default, admetani adds the same same new variables to the data set
and saves the same information in r() as does admetan.

Author

David Fisher, MRC Clinical Trials Unit at UCL, London, UK.

Email d.fisher@ucl.ac.uk