sweverett / CluStR

Calculates various scaling relations from cluster catalogs.
5 stars 4 forks source link

Censored Data #4

Open sweverett opened 7 years ago

sweverett commented 7 years ago

While linmix can handle censored data, this feature has not yet been implemented in CluStR. This will likely be done with a masking array from the inputted catalog.

jjobel commented 3 years ago

Able to pass an argument parameter delta to LinMix. Below is a copy of the description of delta.

delta(array_like): Array indicating whether a data point is censored (i.e., not detected),
            or not.  If delta[i] == 1, then the ith source is detected.  If delta[i] == 0, then
            the ith source is not detected and y[i] will be interpreted as an upper limit.  Note
            that if there are censored data points, then the maximum-likelihood estimate
            (alpha, beta, sigsqr) is not valid.  By default, all data points are assumed to be
            detected.