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

  • Curiosities in drafting for the weighted inclusive Gregory method of STV

    15 July 2022 (updated 11 June 2023) | single transferable vote opentally law | Comment

    In Australia, 2 jurisdictions make use of the weighted inclusive Gregory method of the single transferable vote (STV). The weighted inclusive Gregory method of STV is one of 2 systems recommended by the Proportional Representation Society of Australia as part of a gold standard electoral… »

« First ‹ Previous Page 4 5 6 7 8 9 10 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.