View source: R/describe_studies.R
describe_studies | R Documentation |
This function performs some descriptive analyses for meta-analyzing studies reporting sample medians. 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.
describe_studies(data, method = "qe", group_labels = c("Group 1", "Group 2"))
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 |
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.
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. (2024). metamedian: An R package for meta-analyzing studies reporting medians. Research Synthesis Methods. 15(2):332-346.
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. 32(7):1338-1360.
describe_studies(data = dat.age, group_labels = c("Nonsurvivors", "Survivors"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.