tisane.variable.Numeric¶
- class tisane.variable.Numeric(name, data=None)¶
Bases:
tisane.variable.Measure
Represents numeric variables
Numeric variables take on values that are integers, real numbers, ratios, etc. You never instantiate this class directly, and instead you should create instances via the
Unit.numeric()
method.- Parameters
name (str) – The name of the numeric variable. If you have data, this should correspond to the column’s name in the data.
data (DataVector, optional) – For internal use only.
- properties¶
Description of attribute properties.
- Type
dict
- data¶
- Type
tisane.data.DataVector
See also
tisane.Unit.numeric
create a Numeric variable attributed to a given tisane.Unit
Methods
associates_with
(variable)Adds a correlation relationship to a data variable.
causes
(effect)Adds a causes relationship to a data variable.
get_unit
()moderates
(moderator, on)Adds an interaction relationship to a data variable
add_data
get_cardinality
get_number_of_instances