How to fix a parameter

I’d like to fix a parameter (ka) in order to fit my model.
how would one fix a parameter?

hi -
picking this up directly from the documentation here Estimating Parameters of Pumas Models · Pumas

It is possible to fix one or more parameters of the fit by passing a NamedTuple as the constantcoef argument with keys and values corresponding to the names and values of the fixed parameters, e.g. constantcoef=(σ=0.1,). Example syntax

myfit = fit(mymodel, drug_x_population, drug_x_parameters, Pumas.FOCE(),
            constantcoef = (tvcl = 4, ))
1 Like