get_map_old: Try to find the MAP using coordinate descent

Description Usage Arguments

Description

v4_li_mat_func and v4_prior_func use working model 4 described here: https://jean997.github.io/sh2Ash/mh_test.html

Usage

1
2
3
get_map_old(pars.start, data, grid, par.bounds, split = rep(NA,
  length(pars.start)), tol = 1e-07, n.iter = Inf, version = 4,
  type = c("null", "causal", "shared"), ...)

Arguments

pars.start

Starting parameters: eg rho, b, q. Should be appropriate for li.mat.func

data

data

grid

Should be a data.frame with at least two columns, S1 and S2.

par.bounds

should be data.frame or matrix number of pars by 2

split

Optimization can be split over the range of a parameter if desired.

version

Determines likelihood and prior functions The prior on pi is hard coded as dirichlet((10, 1, 1, ...))


jean997/sherlockAsh documentation built on May 18, 2019, 11:45 p.m.