| function(f/g) --> |
(f’ g − g’ f )/g2 |
as you can see the Y noise is lognormal/gamma like (tested)
If I try to transform to log before doing the regression
log(y) ~ normal(mu + proportion_1 * x, ..) ; + Jacobian
OR (equivalent?)
y ~ lognormal(mu + proportion_1 * x, ..)
the data looks like this, the noise starts as normal but goes to a gamma-like straight away
While if I regress first and do the log,
log(y - proportion_1 * x) ~ normal(mu, ..)
yes the noise now becomes normal
But now the problem of impossibility of constrain for
y - proportion_1 * x > 0 && x > 0
when proportion_1 and x are parameters, with
x ~ lognormal(.. , ..)
arises (according to few previous discussions in the forum).
What do you think? I imagine there are two solutions
1) the one propose above
2) use y - proportion_1 * x ~ lognormal(mu, ..) with a proper Jacobian tranformation and with a proper control somehow that the left side stays positive.
Thank