Values
State values
The Values tab in the Node Editor manages numerical values associated with a node’s states. These values allow BayesiaLab to compute an expected numerical value even when the state names are symbolic. It is not necessary to assign values to all states. States without an associated value are excluded from the calculation of the expected value.
Double-click a node in Modeling Mode to open the Node Editor, then select Values. You can also open Node Contextual Menu > Edit, then select Values in the Node Editor.
The example below uses the node . The state is assigned the value 17, and the state is assigned the value 18.

Choosing numerical values
Assign values using domain knowledge. For example, if a survey is given only to 16- to 18-year-olds, a fairly uniform age distribution among those responding could justify assigning that state a representative value of 17.
These state values are separate from the probabilities of the states. With both states at 50 percent probability in this example, the expected value is . The Monitor displays this as “Value: 17.500”.
Generating values from data
If the node is continuous and has associated data, the Generate Values button lets you compute the values associated with the states from the dataset. Any weights assigned to the dataset are taken into account in this calculation.