Skip to content

Commit 607f48d

Browse files
committed
Update README.md
1 parent 8933892 commit 607f48d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,18 @@ regife(df, @formula(Sales ~ Price + fe(State) + ife(State, Year, 2)))
2626
#Price -0.425372 0.0141163 -30.1334 0.000 -0.453068 -0.397677
2727
#================================================================
2828
```
29-
A typical formula is composed of one dependent variable and a set of regressors.
3029
31-
Interactive fixed effects are indicated with the function `ife`. For instance, to specify a factor model with id variable `State`, time variable `Year`, and rank 2, use `ife(State, Year, 2)`.
3230
33-
High-dimensional Fixed effects can be used, as in `fe(State)` but only for the variables specified in the factor model. See [FixedEffectModels.jl](https://github.com/matthieugomez/FixedEffectModels.jl) for more information
31+
- Interactive fixed effects are indicated with the function `ife`. For instance, to specify a factor model with id variable `State`, time variable `Year`, and rank 2, use `ife(State, Year, 2)`.
3432
35-
```julia
36-
regife(df, @formula(Sales ~ Price + ife(State, Year, 2)))
37-
regife(df, @formula(Sales ~ Price + ife(State, Year, 2) + fe(State)))
38-
```
33+
- High-dimensional Fixed effects can be used, as in `fe(State)` but only for the variables specified in the factor model. See [FixedEffectModels.jl](https://github.com/matthieugomez/FixedEffectModels.jl) for more information
34+
35+
```julia
36+
regife(df, @formula(Sales ~ Price + ife(State, Year, 2)))
37+
regife(df, @formula(Sales ~ Price + ife(State, Year, 2) + fe(State)))
38+
```
3939
40-
To construct formula programatically, you can use
40+
To construct formula programatically, use
4141
```julia
4242
regife(df, Term(:Sales) ~ Term(:Price) + ife(Term(:State), Term(:Year), 2) + fe(Term(:State)))
4343
```

0 commit comments

Comments
 (0)