In order to combine pooled and unpooled parameter fitting please follow the steps below:
1. Load your .sbproj file
2. Load your data
3. If you have several measurement repeats for each drug (e.g. several persons) create a vector specifying to which group a person belongsĀ
4. Create a vector with initial values for the parameters. For each unpooled parameter the number of entriesĀ in the vector must be the same as the number of groups. E.g. if you have 2 drugs, 3 pooled and 1 unpooled parameter the number of entries in the vector will be 3+2*1 = 5;
5. Create your regression function
5.1. For each repeat select the correct parameters out of the parameter list using your vector containing the information to which group a measurement repeat belongs to
5.2. Call SIMULATE to simulate the model for this parameter set
5.3. Create a matrix out of all simulation results
6. Perform your fitting, e.g. using NonLinearModel.fit
Please find an example attached.
An enhancement request has been forwarded to our development department to include this functionality directly in Simbiology Desktop.
Best Answer