VariabilityLevel#

class pharmpy.model.VariabilityLevel(name, reference=False, group=None)[source]#

Bases: Immutable

A variability level

Parameters:
  • name (str) – A unique identifying name

  • reference (bool) – Is this the reference level? Normally IIV would be the reference level

  • group (str) – Name of data column to group this level. None for no grouping (default)

Attributes Summary

group

Group variable for variability level

name

Name of the variability level

reference

Is this the reference level

Methods Summary

create(name[, reference, group])

from_dict(d)

replace(**kwargs)

to_dict()

Attributes Documentation

group#

Group variable for variability level

name#

Name of the variability level

reference#

Is this the reference level

Methods Documentation

classmethod create(name, reference=False, group=None)[source]#
classmethod from_dict(d)[source]#
replace(**kwargs)[source]#
to_dict()[source]#