-
Notifications
You must be signed in to change notification settings - Fork 21
Adds CR3 estimator to lm_robust and iv_robust #263
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
base: main
Are you sure you want to change the base?
Changes from all commits
4fe74cc
65959f1
537581b
1decf23
17f5c62
9f36877
2e60ec7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # This fn removes calls from function returns to make testing easier | ||
| rmcall <- function(obj) { | ||
| if (!is.null(obj[["call"]])) { | ||
| obj[["call"]] <- NULL | ||
| } | ||
| return(obj) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This doesn't work as
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ah - right, different from DeclareDesign. You can still remove the null check I think. |
||
| } | ||
|
|
||
| # This fn casts tibbles as data.frames for equivalency tests | ||
| # TODO implement this everywhere | ||
| expect_equivalent_tbl <- function(obj1, obj2) { | ||
| expect_equivalent(as.data.frame(obj1), as.data.frame(obj2)) | ||
| } | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # se_types for various files | ||
|
|
||
| se_types <- c("classical", "HC0", "HC1", "HC2", "HC3") | ||
| cr_se_types <- c("CR0", "stata", "CR2", "CR3") |
Uh oh!
There was an error while loading. Please reload this page.