Calculates derSimonian-Laird estimate of location, with standard error, assuming a random-effects model
1 2 3 4
numeric vector of mean values for groups, or (if
numeric vector of length
integer giving the number of observations in each group. May be a vector
factor, or vetor which can be coerced to factor, of groups. If
Further parameters passed to other methods.
dsl implements the derSimonian-Laird random-effects estimate of location,
using the implementation described by Jackson (2010).
The estimator assumes a model of the form
in which b[i] is drawn from N(0, tau^2) and e[i] is drawn from N(0, sigma[i]^2).
The estimator forms a direct calculation of tau, and uses this to
form revised estimates of standard error sqrt(s[i]^2+tau^2)
x, calculates weights as the inverse of these and in turn calculates a
weighted mean, allowing for any calculated excess variance tau^2.
This implementation permits input in the form of:
x and standard errors
s, in which case neither
groups are supplied;
x, standard deviations
s and group size(s)
standard errors then being calculated as
x with a groupinf factor
which case standard errors are calculated from the groups using
A loc.est object; see loc.est for details. In the returned object, individual
xi are always input means (calculated from groups and
method.details is returned as a list containing:
The estimated location.
The standard error in the location.
The excess variance (as a standard deviation).
S L R Ellison firstname.lastname@example.org
Jackson et al. (2010) J Stat Plan Inf 140, 961-970
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.