STR_FE {boutliers} | R Documentation |
Studentized residuals by leave-one-out analysis for the fixed-effect model
Description
Calculating the studentized residuals by leave-one-out analysis (studentized deleted residuals) for the fixed-effect model and the percentiles of their bootstrap distributions.
Usage
STR_FE(y, v, B=2000, alpha=0.95)
Arguments
y |
A vector of the outcome measure estimates (e.g., MD, SMD, log OR, log RR, RD) |
v |
A vector of the variance estimate of |
B |
The number of bootstrap resampling (default: 2000) |
alpha |
The bootstrap percentiles to be outputted; 0.5(1-alpha)th and (1-0.5(1-alpha))th pecentiles. Default is 0.95; 2.5th and 97.5th percentiles are calculated. |
Value
The studentized residuals by leave-one-out analysis. The outputs are ordered by the sizes of the studentized residuals.
-
id
: ID of the study. -
psi
: The studentized residuals by leave-one-out analysis (studentized deleted residuals). -
Q1
: 0.5(1-alpha)th percentile for the bootstrap distribution of the studentized residual (default: 2.5th percentile). -
Q2
: 1-0.5(1-alpha)th percentile for the bootstrap distribution of the studentized residual (default: 97.5th percentile).
Examples
require(metafor)
data(PPI)
edat1 <- escalc(ai=d1,n1i=n1,ci=d2,n2i=n2,measure="OR",data=PPI)
STR_FE(edat1$yi,edat1$vi)