Skip to content

Commit

Permalink
fix: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
abensonca committed Dec 9, 2024
1 parent 0de5879 commit b0c6d17
Showing 1 changed file with 17 additions and 24 deletions.
41 changes: 17 additions & 24 deletions source/models.likelihoods.independent_likelihoods.F90
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,26 @@
!![
<posteriorSampleLikelihood name="posteriorSampleLikelihoodIndependentLikelihoods">
<description>
A posterior sampling likelihood class which combines likelihoods from one or more
other \refClass{posteriorSampleLikelihood} classes th are assumed to be independent
(i.e. the $\log \mathcal{L}$ of the models are simply summed to find the final
A posterior sampling likelihood class which combines likelihoods from one or more other \refClass{posteriorSampleLikelihood}
classes that are assumed to be independent (i.e. the $\log \mathcal{L}$ of the models are simply summed to find the final
likelihood).

Since each \refClass{posteriorSampleLikelihood} class may require a different set of
parameters a {\normalfont \ttfamily [parameterMap]} parameter may be specified. If present,
the number of {\normalfont \ttfamily [parameterMap]} parameters must equal the number of
{\normalfont \ttfamily [posteriorSampleLikelihood]} parameters. Each such parameter should
give a (space-separated) list of the names of parameters (as defined in the
\refClass{modelParameterActive} class) which should be passed to the corresponding
{\normalfont \ttfamily [posteriorSampleLikelihood]}. If no {\normalfont \ttfamily
[parameterMap]} parameters are given then all parameters are passed to each
\refClass{posteriorSampleLikelihood} class.

Similarly, a set of {\normalfont \ttfamily parameterInactiveMap} parameters may be
given, to specify which (if any, an empty {\normalfont \ttfamily value} is
permissible) of the inactive parameters specified by \refClass{modelParameterInactive}
should be passed to the corresponding {\normalfont \ttfamily
[posteriorSampleLikelihood]}. If no {\normalfont \ttfamily [parameterInactiveMap]}
then no inactive parameters are passed to any of the {\normalfont \ttfamily

Since each \refClass{posteriorSampleLikelihood} class may require a different set of parameters a {\normalfont \ttfamily
[parameterMap]} parameter may be specified. If present, the number of {\normalfont \ttfamily [parameterMap]} parameters must
equal the number of {\normalfont \ttfamily [posteriorSampleLikelihood]} parameters. Each such parameter should give a
(space-separated) list of the names of parameters (as defined in the \refClass{modelParameterActive} class) which should be
passed to the corresponding {\normalfont \ttfamily [posteriorSampleLikelihood]}. If no {\normalfont \ttfamily
[parameterMap]} parameters are given then all parameters are passed to each \refClass{posteriorSampleLikelihood} class.

Similarly, a set of {\normalfont \ttfamily parameterInactiveMap} parameters may be given, to specify which (if any, an empty
{\normalfont \ttfamily value} is permissible) of the inactive parameters specified by \refClass{modelParameterInactive}
should be passed to the corresponding {\normalfont \ttfamily [posteriorSampleLikelihood]}. If no {\normalfont \ttfamily
[parameterInactiveMap]} then no inactive parameters are passed to any of the {\normalfont \ttfamily
[posteriorSampleLikelihood]} classes.

Optionally, a parameter {\normalfont \ttfamily [logLikelihoodAccept]} may be
specified. Once the likelihood of a chain reaches this value, no further evaluations
of the likelihood will be made - the chain is assumed to be sufficiently likely that
it is ``acceptable''.
Optionally, a parameter {\normalfont \ttfamily [logLikelihoodAccept]} may be specified. Once the likelihood of a chain
reaches this value, no further evaluations of the likelihood will be made - the chain is assumed to be sufficiently likely
that it is ``acceptable''.
</description>
<linkedList type="posteriorSampleLikelihoodList" variable="modelLikelihoods" next="next" object="modelLikelihood_" objectType="posteriorSampleLikelihoodClass"/>
</posteriorSampleLikelihood>
Expand Down

0 comments on commit b0c6d17

Please sign in to comment.