Inane Observations $ sudo fix_it
  • Directly computing HDIs from PDFs in SciPy

    06 October 2022 | mathematics statistics python | Comment

    In Bayesian inference, it is often desired to calculate credible intervals for model parameters. The 2 common choices are the highest posterior density interval (HPD/HDI), and the equal-tailed interval. In many cases, the posterior density must be estimated by simulation, but in some cases the… »

  • Beta ratio distribution for SciPy

    05 October 2022 | mathematics statistics programming python | Comment

    The quotient of 2 independent beta-distributed random variables has a known distribution, but its closed-form expression is a little hairy [1, 2]. One Python implementation of this distribution is available from Julian Saffer [3], but it suffers from some numerical issues… »

  • Bayesian biostatistics procedures matching frequentist confidence intervals

    03 October 2022 (updated 15 March 2023) | mathematics statistics | Comment

    Confidence intervals are commonly misinterpreted as there being, after observing the data, a 95% probability that the true parameter lies within the confidence interval. The usual explanation why this is incorrect is that the true parameter is not random, and so is either inside or… »

  • Big list of medical abbreviations

    26 September 2022 (updated 21 February 2025) | medicine | Comment

    Just a big list of medical abbreviations. Note:

    • These abbreviations are based on Australian (and specifically Victorian) usage. Some abbreviations have other meanings elsewhere (e.g. BSL for British Sign Language).
    • The inclusion of a abbreviation here does not imply it is recommended to be used.
    … »
  • Custom fonts in KaTeX

    24 September 2022 (updated 24 September 2022) | mathematics katex | Comment

    KaTeX is a web-based mathematics typesetting library, similar to the erstwhile untouchable MathJax. Unfortunately, out of the box, KaTeX only supports one font, its default Computer Modern-based font, and does not have built-in functionality for customising this. Thankfully, it is not difficult to achieve… »

  • The urea:creatinine ratio in SI units

    20 September 2022 | medicine | Comment

    It is said that a high urea:creatinine ratio is an indicator of a pre-renal cause of acute kidney injury [1]. This is usually discussed in United States units, where urea is measured as blood urea nitrogen (BUN) in mg/dL, and creatinine in mg/dL. The… »

« First ‹ Previous Page 3 4 5 6 7 8 9 Next › Last »
  • Home
  • Git (Archives: GitLab, GitHub)
  • Research
  • Music
  • Posts
    • June 2025 (3)
    • May 2025 (3)
    • December 2024 (2)
    • November 2024 (2)
    • September 2024 (2)
    • More…
  • Tags
    • medicine (25)
    • copyright (20)
    • opentally (20)
    • drm (19)
    • encryption (12)
    • monash (12)
    • mathematics (11)
    • rust (10)
    • statistics (10)
    • proportional representation (8)
    • python (8)
    • victoria (8)
    • law (7)
    • ledger (7)
    • meeting procedure (7)
    • ptv (7)
    • public transport (7)
    • defective by design (6)
    • digital rights management (6)
    • creative commons (4)
    • webassembly (4)
    • accounting (3)
    • drcr (3)
    • metro trains (3)
    • paediatrics (3)
    • politics (3)
    • 2fa (2)
    • c (2)
    • graphics (2)
    • mfa (2)
    • pdf (2)
    • victorian electoral commission (2)
    • android (5)
    • security (18)
    • programming (15)
    • cryptography (12)
    • bookkeeping (7)
    • voting systems (8)
    • med in review (11)
    • music (10)
    • parliamentary procedure (7)
    • totp (2)
    • reverse engineering (20)
    • obfuscation (12)
    • single transferable vote (19)
    • ebook (16)
    • elections (12)
    • java (6)
    • linux (33)
  • Lee Yingtong Li
  • blog@yingtongli.me
  • My CV · CV of Failures
@RunasSudo

Most material on this website is available under an open licence. See https://yingtongli.me/blog/copyright.html for details.