Skip to content

Estimation of vector elements outside the tranformation, when only some elements of that vector are transformed, is not allowed #409

@alistairdunn1

Description

@alistairdunn1

Describe the bug

When estimating a subset of elements of a vector using a transformation (i.e., YCS using the simplex method), estimation of the elements that are not part of the transofmration is not currently allowed.

For example, if a model has year classes 2000-2020, and simplex transformation is used to standardise years 2000-2015 using the simplex parameter transformation, we are not allowed to estimate the 2016, 2017, etc., year classes. It would be useful to sometimes estimate year classes outside the standardisation range.

Release version(s) and/or repository branch(es) affected?

All versions

Operating system type and version (and build tools types and versions, if applicable)

All versions

Steps to reproduce the bug

Apply a transformation to YCS using simplex. Attempt to estimate a parameter outside the range supplied to the simplex method. The following error will be generated "There is an @estimate block for <parameter_name> this is not allowed for parameters with a @parameter_transformation block"

Expected behavior
Model runs and estimates the parameters required

Actual behavior
The error "There is an @estimate block for <parameter_name> this is not allowed for parameters with a @parameter_transformation block" is received

Screenshots

Additional context

Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read the Contributors Manual and the Contributors Guidelines before starting any work).

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