tests/testthat/test-tobitbayes.R

# REQUIRE TEST Monte Carlo test tobitbayes ---------------------------------------------

test_that('REQUIRE TEST tobitbayes Monte Carlo', {
    z <- ztobitbayes$new()
    test.tobitbayes <- z$mcunit(nsim=2000, ci=0.99, minx=0, plot = FALSE)
    expect_true(test.tobitbayes)
})

Try the Zelig package in your browser

Any scripts or data that you put into this service are public.

Zelig documentation built on Jan. 8, 2021, 2:26 a.m.