Skip to content
Back to formatted view

Raw Message

Message-ID: <CAJPWc4E+a0gk_DnEvwcr+iMFNcObbuPjgxWqyksq4UCeQUTQrA@mail.gmail.com>
Date: 2017-06-30T16:16:14Z
From: Shiner Yang
Subject: 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!

-- 
Regards,

Shiner Yang
B. Sc Statistics & Economics, Commerce Minor | UBC
Co-President, Science Co-op Students Association

	[[alternative HTML version deleted]]