Skip to content
This repository was archived by the owner on May 8, 2026. It is now read-only.
This repository was archived by the owner on May 8, 2026. It is now read-only.

Define linear model for fractional values of linear.years #22

Description

@rplzzz

Right now when running samples we round our sample values of linear.years to the nearest integer. In the long run that is going to create some problems for doing inference with these samples. We can (relatively) easily define the model for fractional values by interpreting a fractional number of years as a weighted average of the two surrounding integer values. Thus, linear.years==3.4 is a 40% weighting of a 3-year model averaged with a 60% weighting of a 4-year model. This will allow us to avoid having to do inference with a mixture of discrete and continuous parameters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions