Posts from September 2022
Big list of medical abbreviations
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
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
It is said that a high urea:creatinine ratio is an indicator of a pre-renal cause of acute kidney injury . 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.  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
Generalised linear models with a gamma distribution and log link are frequently used to model non-negative right-skewed continuous data, such as costs .
For example, in statsmodels:… »
import numpy as np import pandas as pd from scipy import stats import statsmodels.api as sm #