R/tools.R

Defines functions root_x2_p

## PALEY-ZYGMUND-------
# P(Z> a*E(Z))>=(1-a^2)E(Z)^2/E(Z^2).    Z>=0  y  a in [0,1]

root_x2_p = function(a, b, c){(-b + sqrt(b^2-4*a*c))/(2*a)}

Try the rcens package in your browser

Any scripts or data that you put into this service are public.

rcens documentation built on May 29, 2024, 3:11 a.m.