update_loglik: Compute loglikelihood function in the model

Description Usage Arguments Value Author(s)

View source: R/update_loglik.R

Description

This function computes the logarithm of the likelihood function for the Bayesian statistical model.

Usage

1
update_loglik(outW, theta, n, N, Lj)

Arguments

outW

a 7 by 1 list containing precomputed quantities associated with W from the output of function computeW(...)

theta

a list of 5 elements containing parameters in MCMC algorithm

n

an integer representing the number of grid cells over the globe

N

an integer representing the number of ensemble members

Lj

an m by 1 vector containing the number of runs for each forcing scenario

Value

a real rumber

Author(s)

Pulong Ma <mpulong@gmail.com>


mapn/DAbayes documentation built on May 21, 2019, 11:26 a.m.