Skip to content

Add option to specify direction of alternative hypothesis #45

@jepusto

Description

@jepusto

For effect sizes encoded so that negative values correspond to therapeutic improvements, the one-sided p-values should be calculated for the null hypothesis $H_0: \mu \geq 0$ versus the alternative $H_A: \mu < 0$. We should include an option in selection_model() that allows the user to control the direction of the one-sided hypothesis. (Maya also suggested including a warning that gets thrown if the unadjusted average effect size is in the opposite direction of the specified alternative hypothesis, such as if alternative = "greater" but the average effect size is negative.)

Following metafor::selmodel(), we could also use this argument to allow for models based on two-sided p-values, although this would require some bigger changes in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions