Skip to content
Prev 370179 / 398503 Next

Questions regarding to JohnSonFit() in the R package Johnson {SuppDists}

Hello,

I was trying to fit a Johnson curve by first figuring out the parameter
estimates using JohosnFit of a vector by a group ID using the aggregate
function. I.E.

aggregate(x, by = list(ID), JohnsonFit)

where x is the variable I am trying to perform JohnsonFit on. It is a
continuous random variable. However, I keep getting the following error:

Error in JohnsonFit(x) :
Unbounded solution intermediate values out of range

When I run the fit individually by group ID, it works fine. However I do
not want to do that manually as there are a large number of groups that
would be too laborious to do so.

If possible, could you shed some light on this error?

Thanks!