Learn R Programming

nivm (version 0.5)

getimaxpower: Get i that maiximizes power when F1=F2 for a specified g function

Description

Usually not directly called, called by nicqTest.

Usage

getimaxpower(n1, n2, g, alpha = 0.05, rdig = 5, maxprop=1, alt="less", ...)

Value

the i value

Arguments

n1

number in control group

n2

number in test group

g

function

alpha

alpha level

rdig

number of rounding digits

...

for passing arguments