linearmodels.panel.utility.PanelModelData

class PanelModelData(data: DataFrame, weights: DataFrame, other_effects: DataFrame, clusters: DataFrame)[source]

Typed namedtuple to hold simulated panel data

Parameters:
dataDataFrame

DataFrame containing the panel model’s data

weightsDataFrame

DataFrame containing the panel model’s weights

other_effectsDataFrame

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

clustersDataFrame

DataFrame containing cluster ids.

Attributes:
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

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