get_p_values_new function

Calculating p values

Calculating p values

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

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

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

Returns

a p value

  • Maintainer: Ralf-Dieter Hilgers
  • License: GPL (>= 3)
  • Last published: 2023-09-18

Useful links