describe_studies {metamedian} | R Documentation |
Descriptive statistics for meta-analyzing studies reporting medians
Description
This function performs some descriptive analyses. Specifically, this function describes: (i) the number of studies reporting various summary statistics, (ii) the Bowley skewness (Bowley, 1901) in the primary studies, and (iii) the results of a skewness test (Shi et al., 2023) applied to the summary statistics reported in the primary studies.
Usage
describe_studies(data, method = "qe", group_labels = c("Group 1", "Group 2"))
Arguments
data |
data frame containing the study-specific summary data. For one-group studies, this data frame can contain the following columns:
For two group studies, this data frame can also contain the following columns for the summary data of the second group: | ||||||||||||||||||||||||||
method |
character string specifying the sets of summary statistics to consider. If this argument is set to | ||||||||||||||||||||||||||
group_labels |
vector of character strings specifying the names corresponding to groups 1 and 2, respectively. This argument is only applicable when the meta-analysis consists of two-group studies. By default, this argument is set to |
Value
an object of class "describe_studies"
. The object is a list with the following components:
description |
data frame containing the results of the descriptive analyses. |
bowley_g1 |
vector containing the study-specific Bowley skewness values in group 1. |
bowley_g2 |
vector containing the study-specific Bowley skewness values in group 2. |
skew_test_g1 |
data frame containing the results of the skewness test of Shi et al. (2023) based on the group 1 data. The data frame contains the test statistic values, critical values at the 0.05 level, and indicators of statistical significance at the 0.05 level. |
skew_test_g2 |
data frame containing the results of the skewness test of Shi et al. (2023) based on the group 2 data. The data frame contains the test statistic values, critical values at the 0.05 level, and indicators of statistical significance at the 0.05 level. |
The results are printed with the print.describe_studies
function.
References
Bowley, A.L. (1901). Elements of Statistics. London: P.S. King & Son.
McGrath S., Zhao X., Ozturk O., Katzenschlager S., Steele R., and Benedetti A. (in press). metamedian: An R package for meta-analyzing studies reporting medians. Research Synthesis Methods.
Shi J., Luo D., Wan X., Yue L., Liu J., Bian Z., Tong T. (2023). Detecting the skewness of data from the five-number summary and its application in meta-analysis. Statistical Methods in Medical Research. 0(0).
Examples
describe_studies(data = dat.age, group_labels = c("Nonsurvivors", "Survivors"))