Learn R Programming

sbpiper (version 1.9.0)

compute_bic: Compute the Bayesian Information Criterion. Assuming additive Gaussian measurement noise of width 1, the term -2ln(L(theta|y)) ~ SSR ~ Chi^2

Description

Compute the Bayesian Information Criterion. Assuming additive Gaussian measurement noise of width 1, the term -2ln(L(theta|y)) ~ SSR ~ Chi^2

Usage

compute_bic(chi2 = 0, params = 1, data_points = 1)

Arguments

chi2

the Chi^2 for the model

params

the number of model parameters

data_points

the number of data points

Value

the BIC

Examples

Run this code
# NOT RUN {
compute_bic(chi2=10, params=5, data_points=100)
# }

Run the code above in your browser using DataLab