Below is Fixed Effect Estimation python code by linearmodels module from here.
from linearmodels import PanelOLS
mod = PanelOLS(y_train, x_train, entity_effects=True)
res = mod.fit(cov_type='clustered', cluster_entity=True)
How can we do predict(x_test)
operation as sklearn
after mod.fit()
?