linearmodels.panel.utility.PanelModelData

class linearmodels.panel.utility.PanelModelData(data: DataFrame, weights: DataFrame, other_effects: DataFrame, clusters: DataFrame)[source]

Typed namedtuple to hold simulated panel data

Parameters:
data: DataFrame

DataFrame containing the panel model’s data

weights: DataFrame

DataFrame containing the panel model’s weights

other_effects: DataFrame

DataFrame containing the panel model’s effects, excluding time and entity effects.

clusters: DataFrame

DataFrame containing cluster ids.

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Properties

clusters

Alias for field number 3

data

Alias for field number 0

other_effects

Alias for field number 2

weights

Alias for field number 1