Skip to content

Help understanding how to use the update functionality #825

Answered by s3alfisc
DTchebotarev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @DTchebotarev , thanks for reaching out about this!

I've tried to use the update() method the other day and also stumbled over a couple of shortcomings. I think @apoorvalal's and my long term plan was to brush it up and some point and implement anytime-valid inference for linear models as described here, but we never really got there.

You rightly point out that there is currently a clash between its numpy API and the formula API of pf.feols(). The best way to work around it at the moment is to use the (not-directly exposed) model_matrix_fixest function (docs here):

import pyfixest as pf
from pyfixest.estimation.model_matrix_fixest_ import model_matrix_fixest

data = pf.get_data()
fit = pf

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by DTchebotarev
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@apoorvalal
Comment options

@DTchebotarev
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants