pPearson {twotrials}R Documentation

Combined p-value from Pearson's method

Description

This function computes the combined p-value based on two parameter estimates using Pearson's method

Usage

pPearson(mu = 0, t1, t2, se1, se2, alternative = "greater")

Arguments

mu

Null value. Defaults to 0

t1

Parameter estimate from trial 1

t2

Parameter estimate from trial 2

se1

Standard error of the parameter estimate from trial 1

se2

Standard error of the parameter estimate from trial 2

alternative

One-sided alternative hypothesis. Can be either "greater" or "less". Defaults to "greater"

Value

The combined p-value based on Pearson's method

Author(s)

Samuel Pawel

See Also

muPearson

Examples

## p-value for H0: logRR = 0 in RESPIRE trials
pPearson(mu = 0, t1 = -0.4942, t2 = -0.1847, se1 = 0.1833, se2 = 0.1738,
         alternative = "less")


[Package twotrials version 0.6 Index]