In Simbiology, should the categorical variables be assigned as group variable or covariate in the dataset?

2 Ansichten (letzte 30 Tage)
I am using Simbiology for population pharmacokinetic model development. I use non-linear mixed effect modelling approach. I have a doubt in the intial assignment of data type in the dataset.
Suppose I have age and gender in the dataset. Clearly, I will assign age as covariate. Now gender is also a covariate. But there is a option in the dataset type which is group variable.
Now I am confused on whether I should assign gender as covariate or group variable.?
I am attaching a screenshot for the reference.

Akzeptierte Antwort

Jeremy Huard
Jeremy Huard am 17 Jun. 2019
Group variable defines an index for a subject/experiment. In your dataset, ID is a group variable. Gender and age can be both covariates.

Weitere Antworten (1)

Praveen Kumar M
Praveen Kumar M am 17 Jun. 2019
Oh. That's a clear answer. I have a logical query. Among the covariate, one is a categorical variable (gender) and another is a continuous variable (age). How do I incorporate this information in the dataset / modelling?
  2 Kommentare
Jeremy Huard
Jeremy Huard am 17 Jun. 2019
It is not necessary to define it as categorical. But covariates require numerical data in SimBiology. In your case, since you have a binary covariate, you could set gender to 1 for female, 0 for male.

Melden Sie sich an, um zu kommentieren.

Communitys

Weitere Antworten in  SimBiology Community

Kategorien

Mehr zu Extend Modeling Environment finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by