Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nfultz committed Mar 19, 2018
1 parent a0a6e13 commit bf8c276
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/testthat/test-iv-robust.R
Expand Up @@ -172,7 +172,7 @@ test_that("iv_robust matches AER + ivpack", {

expect_equivalent(
as.matrix(tidy(ivdefcl2r)[1:2, c("estimate", "std.error", "df", "p.value")]),
as.matrix(ivdefcl2se)
as.matrix(ivdefcl2se[-3,])
)

# HC0 Weighted
Expand All @@ -197,7 +197,7 @@ test_that("iv_robust matches AER + ivpack", {

expect_equivalent(
as.matrix(tidy(ivdefclrw)[1:2, c("estimate", "std.error", "p.value")]),
as.matrix(ivdefclsew)[, c(1, 2, 4)]
as.matrix(ivdefclsew)[-3, c(1, 2, 4)]
)


Expand All @@ -207,7 +207,7 @@ test_that("iv_robust matches AER + ivpack", {

expect_equivalent(
as.matrix(tidy(ivdef2clrw)[1:2, c("estimate", "std.error", "p.value")]),
as.matrix(ivdef2clsew)[, c(1, 2, 4)]
as.matrix(ivdef2clsew)[-3, c(1, 2, 4)]
)
})

Expand Down

0 comments on commit bf8c276

Please sign in to comment.