Package: lira 2.0.1

Mauro Sereno

lira: LInear Regression in Astronomy

Performs Bayesian linear regression and forecasting in astronomy. The method accounts for heteroscedastic errors in both the independent and the dependent variables, intrinsic scatters (in both variables) and scatter correlation, time evolution of slopes, normalization, scatters, Malmquist and Eddington bias, upper limits and break of linearity. The posterior distribution of the regression parameters is sampled with a Gibbs method exploiting the JAGS library.

Authors:Mauro Sereno

lira_2.0.1.tar.gz
lira_2.0.1.tar.gz(r-4.5-noble)lira_2.0.1.tar.gz(r-4.4-noble)
lira_2.0.1.tgz(r-4.4-emscripten)lira_2.0.1.tgz(r-4.3-emscripten)
lira.pdf |lira.html
lira/json (API)

# Install 'lira' in R:
install.packages('lira', repos = 'https://cloud.r-project.org')
Uses libs:
  • jags– Just Another Gibbs Sampler for Bayesian MCMC
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

jagscpp

1.00 score 184 downloads 3 exports 3 dependencies

Last updated 7 years agofrom:e2449a333a. Checks:3 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 26 2025
R-4.5-linuxOKMar 26 2025
R-4.4-linuxOKMar 26 2025

Exports:distance.LCDMHubble.LCDMlira

Dependencies:codalatticerjags

Citation

To cite package ‘lira’ in publications use:

Sereno M (2018). lira: LInear Regression in Astronomy. R package version 2.0.1, https://CRAN.R-project.org/package=lira.

ATTENTION: This citation information has been auto-generated from the package DESCRIPTION file and may need manual editing, see ‘help("citation")’.

Corresponding BibTeX entry:

  @Manual{,
    title = {lira: LInear Regression in Astronomy},
    author = {Mauro Sereno},
    year = {2018},
    note = {R package version 2.0.1},
    url = {https://CRAN.R-project.org/package=lira},
  }