dncd: Probability Mass Function for Noncentral Hypergeometric...

Description Usage Arguments Value

View source: R/prop.R

Description

Computes the probability mass function for the noncentral hypergeometric distribution.

Usage

1
dncd(y2, n1, n2, z, rho)

Arguments

y2

the number of successes in the second group

n1

the sample size for the first group

n2

the sample size for the second group

z

the total number of successes in both groups

rho

the odds ratio

Value

The probability of y2 successes in the second group, conditional on z successes overall, with an odds ratio of rho.


ddarmon/clp documentation built on Jan. 25, 2021, 6:22 p.m.