Description Usage Arguments Details Value Methods (by class) Examples
calcLikelihood
returns an updated MADproject with
the likelihood values based on the
observation and realization data in the MADproject or, optionally,
a subset thereof.
1 2 3 4 5 6 7 8 9  calcLikelihood(proj, dsubset, num_realz = max(proj@realizations$rid),
samples = 1:proj@numSamples)
## S4 method for signature 'MADproject,numeric'
calcLikelihood(proj, dsubset,
num_realz = max(proj@realizations$rid), samples = 1:proj@numSamples)
## S4 method for signature 'MADproject,ANY'
calcLikelihood(proj, num_realz, samples)

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 
samples 
A vector of sample IDs for which to calculate
likelihood values (defaults to all available in the

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).
proj The updated MADproject object with a filled
likelihood
slot.
proj = MADproject,dsubset = numeric
: Calculates the likelihood using a subset dsubset
of inversion data zid
proj = MADproject,dsubset = ANY
: Calculates the likelihood using all inversion data zid
1 2  data(pumping)
pumping < calcLikelihood(pumping, 100) #Inversion data as time step 100

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.