FixedEffects / FixedEffectModels.jl

Fast Estimation of Linear Models with IV and High Dimensional Categorical Variables
Other
225 stars 46 forks source link

Demeaning #232

Closed friosavila closed 1 year ago

friosavila commented 1 year ago

Hi there Is there any way to use the package to obtain demeaned variables? for example, in Stata you have the hdfe utility (used to be part of reghdfe), in R you have demean function within fixest. Is there an equivalent in Julia and this package? Thank you

matthieugomez commented 1 year ago

Yes, you should look at https://github.com/FixedEffects/FixedEffects.jl

matthieugomez commented 1 year ago

Actually if you want to have a similar syntax as the package, you can also use partial_out (type ?partial_out to learn more about it).

friosavila commented 1 year ago

Thank you! Yes this is what I needed

On Wed, May 31, 2023 at 10:11 AM Matthieu Gomez @.***> wrote:

Actually if you want to have a similar syntax as the package, you can also use partial_out (type ?partial_out to learn more about it).

— Reply to this email directly, view it on GitHub https://github.com/FixedEffects/FixedEffectModels.jl/issues/232#issuecomment-1570316956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASZKKFVMEZSS74V7OXRGFD3XI5GRRANCNFSM6AAAAAAYOFOOYY . You are receiving this because you authored the thread.Message ID: @.***>