##### Child pages
• Means and Values of Nodes

## Key

• This line was added.
• This line was removed.
• Formatting was changed.

...

Example

Localtab Group

Localtab
active true Categorical Variable

Let's take a discrete node Age with three categorical states:

• Young Adult
• Adult
• Senior

The Node Editor allows associating numerical values with these states.

LaTeX Formatting
block-align left
v$$v = 0.23 \times 25 + 0.415 \times 45 + 0.355 \times 80 = 52.825825$$

Localtab
title Discrete Numerical Variable

Let's suppose now that the variable Age has three numerical states.

As it's a numerical node, its monitor will have a Mean value, a Standard Deviation and an Expected Value.

LaTeX Formatting
block-align left
When the states do not have any associated values, $V_s$ is automatically set to the numerical value of the state.

Otherwise, the state values defined by the user are used:

LaTeX Formatting
block-align left
The Mean value $m$ is computed with the following equation: $$m = \sum_{s \in S} p_s \times c_s$$ where $c_s$ is the numerical value of the state.

Localtab
title Continuous Numerical Variable

Let's consider now a continuous variable Age defined on the domain [15 ; 99],  discretized into three states:

• Young Adult: [15 ; 30]
• Adult: ]30 ; 60]
• Senior: ]60 ; 99]

Since it's a numerical node, its monitor has a Mean value, a Standard Deviation and an Expected Value as well.

LaTeX Formatting
block-align left
The Mean value $m$ is computed with the following equation: $$m = \sum_{s \in S} p_s \times c_s$$ where $c_s$ is the central tendency of the state defined as:
• the mid-range of the state when no data is associated,
• the arithmetic mean of the data points that are associated with the state.

LaTeX Formatting
block-align left
When the states do not have any associated values, $V_s$ is automatically set to the central tendency of the state.

Tip

LaTeX Formatting
block-align left
When a dataset is associated with a continuous variable, clicking on the Generate Values buttons sets the values $V_s$ to the current arithmetic means.

...