-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mention self._vcov
in docs
#527
Merged
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
88a791a
feols.vcov() returns covariance matrix
greenguy33 7372f2b
changed self._vcov to self.vcov in feols.py
greenguy33 f4e281a
Update quickstart.ipynb with vcov attribute
greenguy33 c05e12c
Update lpdid.py
s3alfisc ab24f36
Update quickstart.ipynb
s3alfisc 61e41bb
Merge branch 'master' of https://github.com/py-econometrics/pyfixest
greenguy33 81be661
Update feols_.py
greenguy33 2228131
Update quickstart.ipynb
greenguy33 6f1fb75
.vcov to ._vcov
greenguy33 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just realized that things might be a little bit more complicated than just this simple change
Doing as above would introduce a breaking changes as users could no longer run code as
I'm not really sure if many use such syntax, but I have certainly seen it already =)
One option would be to add a "return_vcov" function argument, which defaults to False, in which case the
Feols
object would be returned (i.e. the status quo), whereas ifTrue
, we'd return the full vcov matrix.I also wonder if we should add a function that allows users to control if they want to overwrite inferential results in the Feols instance whenever they call
.vcov
?I.e. right now, whenever
vcov()
is called, the_vcov
attribute of the Feols instance is updated, andself.get_inference()
updates t-statistics, p-values, etc.What do you think @greenguy33 ?