Learn R Programming

MAMA (version 2.2.1)

plotQvsChi: Function to plot quantiles of Cochran's Q statistic and Chi-square quantiles.

Description

Function plots quantiles of Cochran's Q statistic and Chi-square quantiles as a scatter plot with diagonal line. Plot can help to decide between random-effect and fixed-effect model. It is a wrapper function to provide a complete plot.

Usage

plotQvsChi(Q, num.studies)

Arguments

Q
A vector of Cochran's Q statistic used to test between-study variability.
num.studies
Number of studies involved in meta-analysis.