Method
NumCosmoMathFitlr_test
Declaration [src]
gdouble
ncm_fit_lr_test (
NcmFit* fit,
NcmModelID mid,
guint pid,
gdouble val,
gint dof
)
Description [src]
Computes the likelihood ratio test for the parameter pid of the model mid
with the value val. The function returns the probability of the null hypothesis
assuming a chi-squared distribution with dof degrees of freedom. That is,
it computes the left tail of the chi-squared distribution with dof degrees of freedom.
Parameters
mid-
Type:
NcmModelIDA
NcmModelID. pid-
Type:
guintThe parameter id.
val-
Type:
gdoubleThe parameter value.
dof-
Type:
gintDegrees of freedom.