Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For identifiable analysis, provide information on transforming confidence intervalls #242

Open
sebapersson opened this issue Oct 12, 2024 · 0 comments
Milestone

Comments

@sebapersson
Copy link
Owner

If a confidence interval is computed using FIM (or ideally profile-likelihood), for a parameter on log10 or log scale, it can be relevant for users to get the interval on linear scale. This is not a trivial computation, as in a sense we are making a change of distribution, for example for log10 we have for the mean μ and sd σ:

function convert_log10_to_linear(μ_log, σ_log)
    μ_log = log(10) * μ_log
    σ_log = log(10) * σ_log
    μ_lin = exp(μ_log + 0.5 * σ_log^2)
    σ_lin = sqrt(exp(2 * μ_log + σ_log^2) * (exp(σ_log^2) - 1))
    return μ_lin, σ_lin
end
@sebapersson sebapersson added this to the 4.0 milestone Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant