calcLikelihood: Calculate the likelihood for the samples in a MADproject...

Description Usage Arguments Details Value

Description

calcLikelihood returns the likelihood values based on the observation and realization data in MADproject or, optionally, a subset thereof.

Usage

1
calcLikelihood(proj, dsubset, ...)

Arguments

proj

The MADproject object with data read from the MAD# databases.

dsubset

The subset of inversion data to use for the likelihood calculations.

num_realz

The number of realizations to use in the likelihood calculation (defaults to all in the realizations slot)

samples

A vector of sample IDs for which to calculate likelihood values (defaults to all available in the realizations slot)

Details

The likelihood calculation utilizes the np package for non- parametric density estimation with all inversion data as dependent (i.e. multivariate likelihood distributions are estimated).

Value

proj The updated MADproject object with a filled likelihood slot.


hsavoy/madr documentation built on May 17, 2019, 5:55 p.m.