
The urea:creatinine ratio in SI units
It is said that a high urea:creatinine ratio is an indicator of a prerenal 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
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… »

Quasilikelihood gamma regression in statsmodels for zeroes in observations
Generalised linear models with a gamma distribution and log link are frequently used to model nonnegative rightskewed 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
Logbinomial and robust (modified) Poisson regression are common approaches to estimating risk ratios in medical biostatistics [1].
I have discussed logbinomial regression in a previous post about generalised linear models. The conceptual basis for using logbinomial regression to estimate risk ratios is straightforward –… »

OpenTally dev log: Battery of optimisations leads to 108% performance improvement
Using rational arithmetic, OpenTally e825ca1 processes the 3,821,539vote 2022 Australian Senate election for Victoria in a mean 11.34 (95% CI ± 0.03) seconds on my Intel i57500. This week I put some time into cutting this figure down.

Laternoharm and the ‘Wright’ method of single transferable vote
Laternoharm 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 wellknown voting systems which comply with laternoharm are the single transferable vote (STV), and its singlewinner… »