linearmodels.panel.utility.PanelModelData¶
- class linearmodels.panel.utility.PanelModelData(data: pandas.DataFrame, weights: pandas.DataFrame, other_effects: pandas.DataFrame, clusters: pandas.DataFrame)[source]¶
Typed namedtuple to hold simulated panel data
- Parameters:¶
- data: pandas.DataFrame¶
DataFrame containing the panel model’s data
- weights: pandas.DataFrame¶
DataFrame containing the panel model’s weights
- other_effects: pandas.DataFrame¶
DataFrame containing the panel model’s effects, excluding time and entity effects.
- clusters: pandas.DataFrame¶
DataFrame containing cluster ids.
Methods
count
(value, /)Return number of occurrences of value.
index
(value[, start, stop])Return first index of value.
Properties
Alias for field number 3
Alias for field number 0
Alias for field number 2
Alias for field number 1