Learn R Programming

randomizeR (version 3.0.1)

get_p_values_new: Calculating p values

Description

Computes the p values based on the noncentrality parameters delta and lambda for the doubly noncentral t-distribution

Usage

get_p_values_new(delta, lambda, N, alpha = 0.05, df = sum(N - 2))

Value

a p value

Arguments

delta

The first noncentrality parameter

lambda

The second noncentrality parameter

N

the amount of patients in the trial

alpha

significance level

df

degrees of freedom