rtma_qqplot: Diagnostic quantile-quantile plot for a right-truncated...

View source: R/diagnostics.R

rtma_qqplotR Documentation

Diagnostic quantile-quantile plot for a right-truncated meta-analysis

Description

To assess the fit of right-truncated meta-analysis and possible violations of its distributional assumptions, plots the fitted cumulative distribution function (CDF) of the published nonaffirmative estimates versus their empirical CDF. If the points do not adhere fairly closely to a 45-degree line, the right-truncated meta-analysis may not fit adequately.

Usage

rtma_qqplot(rtma)

Arguments

rtma

Output of phacking_meta().

Value

A ggplot2 object representing quantile-quantile plot.

Examples


money_priming_rtma <- phacking_meta(money_priming_meta$yi,
                                    money_priming_meta$vi,
                                    parallelize = FALSE)
rtma_qqplot(money_priming_rtma)


phacking documentation built on July 26, 2023, 5:22 p.m.