4. Parameters
4. Parameters
Models require several types of parameters: probabilities, costs, utilities... Apart from the numeric value, parameters require the definition of many other properties to be appropriately used or to allow for inference. For example, the risk of suffering some kind of manifestation could be 0.3, but the utilization of this value in a model would be completely different depending on whether it is a probability, a ratio, a proportion, an odd... Besides, parameters have some kind of uncertainty associated to their values. Such uncertainty would represent variability among individuals (first-order uncertainty) or the degree of confidence on your estimates (second-order uncertainty).
Instead of using data properties to define the quantifiable values required by a model, we have created a more complex set of concepts to wrap them. Individuals representing parameters have to be able to represent, at the same time, specific types (costs, utilities...) and nature of the parameter (osdi:ParameterNature), i.e., whether it is deterministic, calculated or involves uncertainty. Hence, multiple inheritance is expected to model some specific individuals. Parameters (osdi:Parameter) also define a Data Item Type (osdi:DataItemType) by means of the osdi:hasDataItemType property.

We will use a number of simple examples to illustrate how to properly define parameters.
4.1. Defining a simple deterministic value
In the original reference study, sensitivity of the screening test was assumed to be 100%. This is a good example of a deterministic parameter. As seen in the code below, the individual is a Deterministic Parameter. There is a specific Data Item Type for sensitivity (osdi:DI_Sensitivity); otherwise, a more generic type might be used (osdi:DI_Probability). It is important always to add the source of the parameter, even when it comes from an assumption. Information on the year the parameter applies to (osdi:hasYear) or the geographical context (osdi:hasGeographicalContext) may be added.
TTL Example (Constant sensitivity):
osdi:BD_ScreeningSensitivity
a owl:NamedIndividual , osdi:DeterministicParameter ;
rdfs:label "Sensitivity of the screening test"@en ;
osdi:hasDescription "Sensitivity of the screening test for BD" ;
osdi:hasDataItemType osdi:DI_Sensitivity ;
osdi:hasExpectedValue "1.0"^^xsd:double ;
osdi:hasSource "Assumption based on the estimated from Galicia" .
4.2. Adding uncertainty to parameters
Deterministic parameters are treated as constants but, in general, we can add uncertainty by changing the nature of the parameter to first- or second- order uncertainty, ie.e. by inheriting osdi:FirstOrderUncertaintyParameter or osdi:SecondOrderUncertaintyParameter, respectively. Both natures define a osdi:hasUncertaintyCharacterization property to describe the uncertainty itself. The most straightforward approach is creating an individual based on the predefined Probability Distribution Expressions (osdi:ProbabilityDistributionExpression).
Let's suppose the proportion of individuals with profound BD who present seizures, as described in the reference study. Since its expected value comes from a meta-analysis of several studies, we should include second-order uncertainty when modeling this parameter. We would start by creating the individual for the parameter, that includes the expected value obtained from the meta-analysis (0.564).
TTL Example (Base proportion of seizures):
osdi:BD_Proportion_Seizures_PBD
a owl:NamedIndividual , osdi:SecondOrderUncertaintyParameter ;
rdfs:label "Proportion of seizures PBD"@en ;
osdi:hasDescription "Proportion of seizures in clinically diagnosed profound BD" ;
osdi:hasDataItemType osdi:DI_Proportion ;
osdi:hasExpectedValue "0.564"^^xsd:double ;
osdi:hasUncertaintyCharacterization osdi:BD_Proportion_Seizures_PBD_Uncertainty
osdi:hasSource "Meta-analysis from several studies as described in DOI:0.1542/peds.2014-3399" .
The uncertainty on the expected value of the proportion of seizures can be characterized by means of a beta distribution with parameters alfa = 65 and beta = 50.
TTL Example (Modeling of uncertainty in the proportion of seizures):
osdi:BD_Proportion_Seizures_PBD_Uncertainty
a owl:NamedIndividual , osdi:BetaDistributionExpression ;
rdfs:label "Uncertainty on proportion of seizures PBD"@en ;
osdi:hasDescription "Characterization of the uncertainty on the proportion of seizures in clinically diagnosed profound BD" ;
osdi:hasAlfaParameter "65.0"^^xsd:double ;
osdi:hasBetaParameter "50.0"^^xsd:double .
osdi:hasSource "Meta-analysis from several studies as described in DOI:0.1542/peds.2014-3399" .
Once defined, you can link the parameter with the manifestation already defined by means of the osdi:hasRiskCharacterization property, to numerically characterize the progression.
TTL Example (Including the parameter in the manifestation):
osdi:BD_Seizures
a osdi:AcuteManifestation ;
rdfs:label "Seizures due to BD"@en ,
"Crisis epilépticas debidas a DB"@es ;
osdi:hasDescription "Acute seizures occurring in untreated or late-treated profound biotinidase deficiency, usually within the first year of life."@en ;
osdi:hasRiskCharacterization osdi:BD_Proportion_Seizures_PBD .
Uncertainty can also be expressed as a combination of parameters. For example, you could express the lower and upper values of a confidence interval or add a standard deviation.
4.2. Costs and utilities
Cost (osdi:Cost) parameters require a year and a can only use data item types that are subclass of osdi:Currency. With this information, the applications that use the knowledge stored in an ontological repository may automatically update and/or convert costs.
Utility (osdi:Utility) models health-related quality of life (QoL) measures (QALYs). If it represents a decrement in QoL, the osdi:isDisutility property is set to true; false otherwise.
Both costs and utilities can be define to be used just once (osdi:appliesOneTime is set to true), or anually (osdi:appliesOneTime is set to false).
For example, the unit cost for the screening test is $0.13 (expressed in 2013 US dollars).
TTL Example (Unit Cost):
osdi:BD_Cost_ScreeningTest
a owl:NamedIndividual , osdi:DeterministicParameter , osdi:Cost ;
rdfs:label "Unit cost per BD screening test"@en ;
osdi:hasDescription "Unit cost per BD screening test expressed in 2013 US dollars" ;
osdi:hasDataItemType osdi:Currency_Dollar ;
osdi:hasExpectedValue "0.13"^^xsd:double ;
osdi:hasYear "2013"^^xsd:short ;
osdi:appliesOneTime "true"^^xsd:boolean .
The disutility for seizures is applied anually as a decrement of the base utility of the individual.
TTL Example (Disutility for Seizures):
osdi:BD_Disutility_MildSeizureDisorder
a owl:NamedIndividual , osdi:DeterministicParameter , osdi:Utility ;
rdfs:label "Disutility of seizures"@en ;
osdi:hasDescription "Utility decrement for mild seizure disorder" ;
osdi:hasDataItemType osdi:DI_EQ5D_Utility ;
osdi:hasExpectedValue "0.040"^^xsd:double ;
osdi:isDisutility "true"^^xsd:boolean ; # This is a QALY decrement (disutility)
osdi:appliesOneTime "false"^^xsd:boolean .
4.3. Calculated Parameters
Correctly modeling the correlation among parameters is a key aspect to consider, especially when dealing with sensitivity analyses. Hence, you should explicitly state such correlations instead of using the final values of the parameters as much as you can. Calculated Parameters (osdi:CalculatedParameter) model values derived from an explicit formula involving other parameters. The formula can be expressed in different languages (currently, Excel osdi:Exp_Excel, Java osdi:Exp_Java, Javaluator osdi:Exp_Javaluator and Java Expression Language osdi:Exp_JEXL are supported by the applications using OSDi). The string representing the formula literal (osdi:hasExpressionValue) should use the names of the individuals defined in OSDi, which at the same time, should be linked to the formula by means of the osdi:dependsOn property.
The example illustrates an annual cost calculation for follow-up.
TTL Example (Annual Cost Calculation):
osdi:BD_Cost_TreatedBD_NoComplications
a owl:NamedIndividual , osdi:CalculatedParameter , osdi:Cost ;
rdfs:label "Annual cost of treated BD patient without complications"@en ;
osdi:hasDataItemType osdi:Currency_Dollar ;
osdi:hasYear "2013"^^xsd:short ;
osdi:hasExpressionValue "BD_Cost_Biotin_Pack_5mg40Tablets*(365/30) + BD_Cost_SpecialistVisit*4 + BD_Cost_Audiometry + BD_Cost_VisualAcuityTest"^^xsd:string ;
osdi:dependsOn BD_Cost_Biotin_Pack_5mg40Tablets , BD_Cost_SpecialistVisit , BD_Cost_Audiometry , BD_Cost_VisualAcuityTest ;
osdi:hasExpressionLanguage osdi:Exp_Excel .