Skip to content

correct likelihoods #54

@marcusrosenblatt

Description

@marcusrosenblatt

Hi,

there is another conceptual thing that we came across when comparing likelihood values between the frameworks. It concerns log(or log10)-transformed observables. In this case we have a sigma for the observed data point (sth like obs_a = log(A)) and assume log-normally distribution. In the calculation of the likelihood we add the term log(2 pi sigma^2) to chi2. But for the correct likelihood (to be consistent in the definition), the sigma would have to be rescaled such that one has to add log(2 pi (sigma * exp(datapoint))) for log-transformation and log(2 pi (sigma * 10^(datapoint) * log(10)) for log10-transformation.

This is again just a constant in the objective value. We are thinking of adding it to normL2. But this means to add another column "scale" or "transformation" to the datalist, so we wanted to have your confirmation first.

Best,
Marcus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions