Skip to content

setScale and priors #112

@jballet

Description

@jballet

When priors are used on a particular parameter, a rescaling (by setScale) wrecks the fit completely, because suddenly the priors will pull toward a different goal in natural units (value*scale).
Of course the user can handle this by changing the priors manually, but it would be much safer if it was done internally, so that mean is multiplied by oldscale/newscale and sigma by abs(oldscale/newscale) as soon as setScale is applied.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions