powered by
Evaluates whether a parameter vector is feasible (for instance, are scale parameters >0 ?)
GetParFeas(dist, par)
A logical.
character, distribution name
numeric vector, parameter vector
# Feasible GetParFeas('Normal',c(0,1)) # Not feasible because second parameter (standard deviation) is negative GetParFeas('Normal',c(0,-1))
Run the code above in your browser using DataLab