JanaJarecki / cognitivemodels

Cognitivemodels is an open-source R library to create, fit, test, and compare computational cognitive models based on machine-learning principles.
25 stars 4 forks source link

check get_par("free") for a = b #51

Closed todo[bot] closed 4 years ago

todo[bot] commented 4 years ago

If we have equality-constraints, with the RHS of the constraint being a parameter, that is free, should the contrained parameter on the LSH be counted as free or as fixed? Technically it is fixed, but it would need to be included in the free parameters in the model to be fitted (solnp)...


https://github.com/JanaJarecki/cognitivemodels/blob/4030f5f310d780c4a4e7940f54e883cce86f2814/tests/testthat/test_cm-class.R#L170-L175


This issue was generated by todo based on a todo comment in 4030f5f310d780c4a4e7940f54e883cce86f2814.