Closed xiaobaaaa closed 1 year ago
I want to get the dof of a model, but there is an ERROR: type FixedEffectModel has no field dof.
using DataFrames, RDatasets, FixedEffectModels df = dataset("plm", "Cigar") result = reg(df, @formula(Sales ~ NDI + fe(State) + fe(Year)), Vcov.cluster(:State), weights = :Pop) result.dof
Sorry, I update the package, problem solved.
The function dof will be exported to avoid having to access internal fields like this
I want to get the dof of a model, but there is an ERROR: type FixedEffectModel has no field dof.