# model-syntax

**URL:** https://discourse.pumas.ai/c/basic-usage/model-syntax/22.md

[Latest](https://discourse.pumas.ai/latest.md) · [Categories](https://discourse.pumas.ai/categories.md)

---

## [About the model-syntax category](https://discourse.pumas.ai/t/about-the-model-syntax-category/323)

<div class="topic-metadata">

**Author:** [@vijay](https://discourse.pumas.ai/u/vijay)\
**Replies:** 0

</div>

---

## [How to use regressors?](https://discourse.pumas.ai/t/how-to-use-regressors/803)

<div class="topic-metadata">

**Author:** [@pascalschulthess](https://discourse.pumas.ai/u/pascalschulthess)\
**Replies:** 2\
**Last updated:** [December 5, 2022, 2:48pm UTC](https://discourse.pumas.ai/t/how-to-use-regressors/803 "2022-12-05T14:48:54Z")

</div>

How do I make use of regressors? To be more specific: I have a dataset with PD measurements after a number of different doses described by the :dosegrp column. Now, I’m trying to set up a simple turnover model such as d…

---

## [MLJScikitLearn Interface Import Error](https://discourse.pumas.ai/t/mljscikitlearn-interface-import-error/739)

<div class="topic-metadata">

**Author:** [@albertc100](https://discourse.pumas.ai/u/albertc100)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 1:03pm UTC](https://discourse.pumas.ai/t/mljscikitlearn-interface-import-error/739 "2022-08-04T13:03:43Z")

</div>

Hello, I am rather new to the forums, and I came across an interesting error in Pumas while trying to fit a model: import MLJScikitLearnInterface\[ Info: Installing sklearn via the Conda scikit-learn package... \[ Info: …

---

## [T optimal experimental designs](https://discourse.pumas.ai/t/t-optimal-experimental-designs/574)

<div class="topic-metadata">

**Author:** [@ArnoStrouwen](https://discourse.pumas.ai/u/ArnoStrouwen)\
**Replies:** 3\
**Last updated:** [January 17, 2022, 11:48am UTC](https://discourse.pumas.ai/t/t-optimal-experimental-designs/574 "2022-01-17T11:48:15Z")

</div>

What kind of measure of the FIM do T optimal designs optimize? I do not think this is documented currently?

---

## [Bioavailability clarification](https://discourse.pumas.ai/t/bioavailability-clarification/440)

<div class="topic-metadata">

**Author:** [@sai\_matcha](https://discourse.pumas.ai/u/sai_matcha)\
**Replies:** 4\
**Last updated:** [November 28, 2020, 5:12pm UTC](https://discourse.pumas.ai/t/bioavailability-clarification/440 "2020-11-28T17:12:37Z")

</div>

I have two drugs which were administered in two different compartments. Both have different bioavailability values. can I use bioav1 = (Depot1 = tvbio1, Central = 1-tvbio1) bioav2 = (Depot2 = tvbio2, Central = 1-tvbio…

---

## [EVID=4 in Dataset](https://discourse.pumas.ai/t/evid-4-in-dataset/366)

<div class="topic-metadata">

**Author:** [@PavanVaddady](https://discourse.pumas.ai/u/PavanVaddady)\
**Replies:** 3\
**Last updated:** [June 21, 2020, 5:21pm UTC](https://discourse.pumas.ai/t/evid-4-in-dataset/366 "2020-06-21T17:21:06Z")

</div>

Hi all, I was wondering if we need to restructure data when we have EVID=4 in the NONMEM datasets for estimating using Pumas. I am getting the following error when I use read\_pumas function to read such a NONMEM dataset…

---

## [Categorical Covariates](https://discourse.pumas.ai/t/categorical-covariates/345)

<div class="topic-metadata">

**Author:** [@PavanVaddady](https://discourse.pumas.ai/u/PavanVaddady)\
**Replies:** 2\
**Last updated:** [May 17, 2020, 9:17pm UTC](https://discourse.pumas.ai/t/categorical-covariates/345 "2020-05-17T21:17:33Z")

</div>

Hi, Can you help me understand the syntax on how to set up categorical covariates as part of the model? For example, I am looking for conditional statements: IF(GENDER=MALE) xxx IF(GENDER=FEMALE) xxx etc Thanks, Pav…

---

## [@covariates not working](https://discourse.pumas.ai/t/covariates-not-working/322)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.pumas.ai/u/alewolf)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 4:37pm UTC](https://discourse.pumas.ai/t/covariates-not-working/322 "2020-04-17T16:37:03Z")

</div>

I have a model I define the @covariates begin CLS V1S kshd end and then use CLS in my dynamic section I get message that: Unknown symbol CLS detected If I define CLS =1 in @pre, model lo…

---

## [Error in Simulation using specific obstimes](https://discourse.pumas.ai/t/error-in-simulation-using-specific-obstimes/321)

<div class="topic-metadata">

**Author:** [@parssh.mehta](https://discourse.pumas.ai/u/parssh.mehta)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 3:26am UTC](https://discourse.pumas.ai/t/error-in-simulation-using-specific-obstimes/321 "2020-04-17T03:26:52Z")

</div>

Hi All, Please can you help me with this issue. I am trying to simulate specific obstimes for a 3 subjects with different values of the covariate. But I see that the when I try to simulate specific obstimes it gives ou…
