public class FixedEffectsModel extends Object implements PanelRegression
| Constructor and Description |
|---|
FixedEffectsModel(PanelData panel,
String yHeader,
String[] XHeaders)
Constructs a "within" fixed effects model from a panel of data.
|
FixedEffectsModel(PanelData panel,
String yHeader,
String[] XHeaders,
PanelData.Transformation[] transformations)
Constructs a "within" fixed effects model from a panel of data.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Object,Double> |
alpha()
Gets the individual/subject specific terms.
|
LinearModel |
getLinearModel(Object subject)
Gets the linear model for a particular subject/individual.
|
public FixedEffectsModel(PanelData panel, String yHeader, String[] XHeaders, PanelData.Transformation[] transformations)
panel - a panel of datayHeader - the header name of the dependent variables, the
regressandsXHeaders - the header names of the factorstransformations - any transformation that may be applied to the datapublic FixedEffectsModel(PanelData panel, String yHeader, String[] XHeaders)
panel - a panel of datayHeader - the header name of the dependent variables, the
regressandsXHeaders - the header names of the factorspublic LinearModel getLinearModel(Object subject)
PanelRegressiongetLinearModel in interface PanelRegressionsubject - the subjectCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.