STR {boutliers}R Documentation

Studentized residuals by leave-one-out analysis

Description

Calculating the studentized residuals by leave-one-out analysis (studentized deleted residuals) and the percentiles of their bootstrap distributions.

Usage

STR(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 y

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.

Examples

require(metafor)
data(PPI)

edat1 <- escalc(ai=d1,n1i=n1,ci=d2,n2i=n2,measure="OR",data=PPI)

STR(edat1$yi,edat1$vi,B=10)   # This is an example command for illustration. B should be >= 1000.

[Package boutliers version 1.1-2 Index]