TABLE OF CONTENTS


/CFitting [ Modules ]

NAME

  CFitting --- model fitting routines in C

FUNCTION

These routines are C implementations of the ones described in RFitting, and work approximately in the same way, adjusting for C's memory management and direct BLAS access.

The main function is SplineSurvMainLoop, which calls several Metropolis-Hastings functions in the CMetropolisHastings module, which in turn rely on likelihood functions in the CmakeLikelihood module.

This module is organized into several submodules. The main MCMC loop is contained in CMetropolisHastings, which relies on likelihood functions in CmakeLikelihood. In order to evaluate likelihoods, B-spline curves need to be updated regularly, the functionality for which is provided by CCurveUpdate, which relies on CsplineUtils.

CONTENTS

  CcurveUpdate --- update curves
  CDefines --- control parameter definitions
  CmakeLikelihood --- likelihood functions in C
  CMetropolisHastings --- MH steps in C
  CmiscUtils --- miscellaneous utilities in C
  CsplineUtils --- spline utilities in C