tests/testthat/test-probitbayes.R

# REQUIRE TEST Monte Carlo test probitbayes ---------------------------------------------

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

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.