Skip to content

Commit 0072106

Browse files
committed
update
1 parent e641f86 commit 0072106

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/fit.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,7 @@ function regife(
6767
Symbol(fesymbol(a)) factor_vars && error("FixedEffect should correspond to id or time dimension of the factor model")
6868
end
6969
end
70-
formula, formula_fes = FixedEffectModels.parse_fe(formula)
71-
fes, ids, fekeys = FixedEffectModels.parse_fixedeffect(df, formula_fes)
72-
70+
fes, ids, fekeys, formula = parse_fixedeffect(df, formula)
7371
has_fes = !isempty(fes)
7472
has_fes_intercept = false
7573
## Compute factors, an array of AbtractFixedEffects

test/factormodel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
using DataFrames, InteractiveFixedEffectModels,Test, CSV
2-
df = df = DataFrame(CSV.File(joinpath(dirname(pathof(InteractiveFixedEffectModels)), "../dataset/Cigar.csv")))
2+
df = DataFrame(CSV.File(joinpath(dirname(pathof(InteractiveFixedEffectModels)), "../dataset/Cigar.csv")))
33

44
for method in [:gauss_seidel, :dogleg, :levenberg_marquardt]
55
println(method)

0 commit comments

Comments
 (0)