mydisc function

Evaluates discriminant of the cubic equation

Evaluates discriminant of the cubic equation

mydisc(parameters, mydelta, Rmax)

Arguments

  • parameters: A vector of parameters (real numbers) that is generated by estimating the short, intermediate and auxiliary regressions.
  • mydelta: The value of delta (real number).
  • Rmax: The value of Rmax (real number)

Returns

Returns a value of 0 or 1; 0 (if discriminant is positive) and 1 (if discriminant is nonpositive)

  • Maintainer: Deepankar Basu
  • License: MIT + file LICENSE
  • Last published: 2022-03-28