TABLE OF CONTENTS
- 1. /RFitting
- 1.1. RFitting/curveUpdate
- 1.1.1. curveUpdate/evalparametric
- 1.1.2. curveUpdate/evalspline
- 1.1.3. curveUpdate/updatecurvex
- 1.1.4. curveUpdate/updatehistory
- 1.1.5. curveUpdate/updateparametric
- 1.1.6. curveUpdate/updateregression
- 1.1.7. curveUpdate/updatespline
- 1.1.8. curveUpdate/weightcurve
- 1.2. RFitting/CWrappers
- 1.2.1. CWrappers/cevalBinte
- 1.2.2. CWrappers/cevalCinte
- 1.2.3. CWrappers/cevalEinte
- 1.2.4. CWrappers/cmakePenalty.2deriv
- 1.2.5. CWrappers/cmkgr.spline.haz
- 1.2.6. CWrappers/cmklik.spline.frail
- 1.2.7. CWrappers/cmklik.spline.haz
- 1.2.8. CWrappers/csplinedesign
- 1.3. RFitting/makeLikelihood
- 1.3.1. makeLikelihood/mkgr.spline.haz
- 1.3.2. makeLikelihood/mkhess.coef
- 1.3.3. makeLikelihood/mklik.coef
- 1.3.4. makeLikelihood/mklik.frail
- 1.3.5. makeLikelihood/mklik.param.frail
- 1.3.6. makeLikelihood/mklik.param.haz
- 1.3.7. makeLikelihood/mklik.spline.frail
- 1.3.8. makeLikelihood/mklik.spline.frail.init
- 1.3.9. makeLikelihood/mklik.spline.haz
- 1.3.10. makeLikelihood/mklik.weight.frail
- 1.3.11. makeLikelihood/mklik.weight.haz
- 1.3.12. makeLikelihood/smoothpen
- 1.4. RFitting/MetropolisHastings
- 1.4.1. MetropolisHastings/acceptreject
- 1.4.2. MetropolisHastings/mh
- 1.4.3. MetropolisHastings/mh.bdm
- 1.4.4. MetropolisHastings/mh.coef
- 1.4.5. MetropolisHastings/mh.frail
- 1.4.6. MetropolisHastings/mh.frailty.param
- 1.4.7. MetropolisHastings/mh.frailty.spline
- 1.4.8. MetropolisHastings/mh.hazard.param
- 1.4.9. MetropolisHastings/mh.hazard.spline
- 1.4.10. MetropolisHastings/mh.weight
- 1.4.11. MetropolisHastings/updatepostvar.coef
- 1.4.12. MetropolisHastings/updatepostvar.curve
- 1.5. RFitting/miscUtils
- 1.5.1. miscUtils/accrate.predict.lm
- 1.5.2. miscUtils/haspar
- 1.5.3. miscUtils/hasspline
- 1.5.4. miscUtils/makeoutputcurve
- 1.5.5. miscUtils/mdiag
- 1.5.6. miscUtils/repairfrailtypar
- 1.5.7. miscUtils/submean
- 1.6. RFitting/splineUtils
- 1.6.1. splineUtils/evalBinte
- 1.6.2. splineUtils/evalCinte
- 1.6.3. splineUtils/evalEinte
- 1.6.4. splineUtils/frailtysplinefvar
- 1.6.5. splineUtils/ki
- 1.6.6. splineUtils/makesplinebasis
- 1.6.7. splineUtils/mysplineDesign
- 1.6.8. splineUtils/nBsmom
- 1.6.9. splineUtils/nknotsPrior
- 1.6.10. splineUtils/plotspline
- 1.6.11. splineUtils/splineconv
- 1.6.12. splineUtils/splinederivint
- 1.7. RFitting/ZZdebug
- 1.7.1. ZZdebug/rmkgr.spline.haz
- 1.7.2. ZZdebug/rmklik.spline.haz
/RFitting [ Modules ]
NAME
RFitting --- model fitting routines in R
FUNCTION
Functions used to sample the MCMC chain from within R, without calling the C main loop. Some of these may make calls to C code occasionally, but the model- fitting on the whole is done in R. This gives the same results as C, but it's easier to debug and understand.
This module is organized into several submodules. MetropolisHastings contains the functions that consitute the main MCMC loop. These rely on likelihood computations in the makeLikelihood module. Updating and evaluating B-splines and curves is handled in the curveUpdate module, which relies on C functions accessible via the CWrappers module. Other utlities related to B-splines are in splineUtils, and miscellaneous utilities are in miscUtils.
CONTENTS
curveUpdate --- Update B-spline curves CWrappers --- Wrappers for functions written in C makeLikelihood --- Compute likelihoods of parameters MetropolisHastings --- MH and RJMCMC steps miscUtils --- miscellaneous splineUtils --- Utilities for evaluating splines and related integrals ZZdebug --- debugging functions