pvalue_calculator: compute p value for exact coreTDT

Description Usage Arguments Value

View source: R/pvalue_calculator.R

Description

compute all kinds of p values for exact coreTDT

Usage

1
2
3
pvalue_calculator(y1, y2, n1, n2, theta1 = 0.25, theta2 = 0.5)
loglr_comp(x1, x2, n1, n2, theta1 = 0.25, theta2 = 0.5)
loglr_comp_2side(x1, x2, n1, n2, theta1 = 0.25, theta2 = 0.5)

Arguments

y1

integer, N112

y2

integer, N122

n1

integer, N11

n2

integer, N12

theta1

float, probaliblity of N112 given N11

theta2

float, probaliblity of N122 given N12

x1

integer, N112

x2

integer, N122

Value

pvalue_pr

pvalues computed from probabaility model

pvalue_lr

pvalues from likelihood ratio test with restricted alternative hypothesis

pvalue_lr2

pvalues from likelihood ratio test


coreTDT documentation built on May 1, 2019, 10:30 p.m.