Inane Observations $ sudo fix_it
  • 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… »

  • On the credible probability of confidence intervals

    13 September 2022 | mathematics statistics | Comment

    Confidence intervals are commonly misinterpreted by consumers of statistics. Hoekstra et al. [1] presented 120 psychology researchers and 442 students with ‘a fictitious scenario of a professor who conducts an experiment and reports a 95% CI for the mean that ranges from 0.1 to… »

  • Quasi-likelihood gamma regression in statsmodels for zeroes in observations

    03 September 2022 (updated 06 September 2022) | mathematics statistics | Comment

    Generalised linear models with a gamma distribution and log link are frequently used to model non-negative right-skewed continuous data, such as costs [1].

    For example, in statsmodels:

    import numpy as np
    import pandas as pd
    from scipy import stats
    import statsmodels.api as sm
    
    #
    … »
  • Robust Poisson regression in medical biostatistics

    29 August 2022 (updated 03 September 2022) | mathematics statistics medicine | Comment

    Log-binomial and robust (modified) Poisson regression are common approaches to estimating risk ratios in medical biostatistics [1].

    I have discussed log-binomial regression in a previous post about generalised linear models. The conceptual basis for using log-binomial regression to estimate risk ratios is straightforward –… »

  • OpenTally dev log: Battery of optimisations leads to 108% performance improvement

    25 August 2022 | single transferable vote opentally | Comment

    Using rational arithmetic, OpenTally e825ca1 processes the 3,821,539-vote 2022 Australian Senate election for Victoria in a mean 11.34 (95% CI ± 0.03) seconds on my Intel i5-7500. This week I put some time into cutting this figure down.

    Using perf and Hotspot, we obtain… »

  • Later-no-harm and the ‘Wright’ method of single transferable vote

    16 July 2022 | single transferable vote opentally | Comment

    Later-no-harm is a criterion for preferential voting methods which provides that ‘Adding a later preference to a ballot should not harm any candidate already listed’ [1]. The most well-known voting systems which comply with later-no-harm are the single transferable vote (STV), and its single-winner… »

« First ‹ Previous Page 1 2 3 4 5 6 7 Next › Last »
  • Home
  • Git (Archives: GitLab, GitHub)
  • Research
  • Quick Links
  • Posts
    • November 2023 (2)
    • October 2023 (1)
    • July 2023 (1)
    • April 2023 (3)
    • February 2023 (1)
    • More…
  • Tags
    • linux (30)
    • medicine (21)
    • misc (21)
    • opentally (20)
    • copyright (19)
    • single transferable vote (19)
    • drm (18)
    • encryption (11)
    • mathematics (11)
    • monash (11)
    • statistics (10)
    • proportional representation (8)
    • law (7)
    • meeting procedure (7)
    • rust (7)
    • victoria (7)
    • defective by design (6)
    • digital rights management (6)
    • ptv (6)
    • public transport (6)
    • creative commons (4)
    • ledger (4)
    • plain-text accounting (4)
    • webassembly (4)
    • politics (3)
    • python (3)
    • 2fa (2)
    • asexuality (2)
    • gsrm (2)
    • mfa (2)
    • tax (2)
    • victorian electoral commission (2)
    • android (2)
    • security (15)
    • cryptography (11)
    • programming (9)
    • bookkeeping (4)
    • television (2)
    • review (8)
    • voting systems (8)
    • med in review (11)
    • obfuscation (9)
    • music (10)
    • parliamentary procedure (7)
    • video editing (3)
    • totp (2)
    • reverse engineering (16)
    • elections (12)
    • ebook (16)
    • guide (33)
  • Pages
    • Financial statements
    • Musical arrangements
    • Random draws
  • 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.