Skip to content

Commit 77007ba

Browse files
committed
DOC: Fix typos in docs
Use entity_effects and EntityEffects
1 parent aebabda commit 77007ba

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/source/panel/introduction.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ man is married and a dummy indicating if the man is a union member.
6767
data = data.set_index(['nr','year'])
6868
dependent = data.lwage
6969
exog = sm.add_constant(data[['expersq','married','union']])
70-
mod = PanelOLS(dependent, exog, entity_effect=True)
70+
mod = PanelOLS(dependent, exog, entity_effects=True)
7171
res = mod.fit(cov_type='unadjusted')
7272
res
7373
@@ -115,9 +115,9 @@ result is a summary table.
115115

116116

117117
Like statsmodels, panel models can be specified using a R-like formula. This model
118-
is identical to the previous. Note the use of the *special* variable ``EntityEffect``
118+
is identical to the previous. Note the use of the *special* variable ``EntityEffects``
119119
to include the fixed effects.
120120

121121
.. code-block:: python
122122
123-
mod = PanelOLS.from_formula('lwage ~ 1 + expersq + union + married + EntityEffect',data)
123+
mod = PanelOLS.from_formula('lwage ~ 1 + expersq + union + married + EntityEffects',data)

doc/source/panel/pandas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ investment.
6464
data.year = data.year.astype(np.int64)
6565
from linearmodels import PanelOLS
6666
etdata = data.set_index(['firm','year'])
67-
PanelOLS(etdata.invest,etdata[['value','capital']],entity_effect=True).fit(debiased=True)
67+
PanelOLS(etdata.invest,etdata[['value','capital']],entity_effects=True).fit(debiased=True)
6868
6969
7070
::

0 commit comments

Comments
 (0)