bone.recipes



Statistics & data science cheat sheet

NOTE: The stuff below was mostly produced by Claude, though I edited it a little bit. As I write this, I'm pretty sure it's the only AI-generated content I've included on my website so far. I'm not sure how I feel about that fact, but I'm going to leave it up for now because I need to refer back to it occasionally.

Variable types

Since there are two independent axes among numerical variables, there are actually four numerical variable types in total:

  1. Interval & discrete (e.g., calendar year (1999, 2000, etc.))
  2. Interval & continuous (e.g., temperature in °C/°F)
  3. Ratio & discrete (e.g., counts like number of children, number of cars sold, etc.)
  4. Ratio & continuous (e.g., height, weight, time, income, etc.)

Also, regarding the continuity axis, an important thing to keep in mind is measurement resolution. Age is actually continuous; but if you record it as whole years, then it behaves discretely in your data. Money is technically discrete (down to the cent), but it's usually treated as continuous because the steps are so fine relative to the range.