<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>statistics on krtffl.dev</title>
    <link>https://krtffl.dev/categories/statistics/</link>
    <description>Recent content in statistics on krtffl.dev</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <copyright>© [krtffl](https://krtffl.dev)</copyright>
    <lastBuildDate>Mon, 27 Apr 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://krtffl.dev/categories/statistics/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>hand-rolling ols regression in rust, and the collinearity trap that ate my coefficients</title>
      <link>https://krtffl.dev/posts/ols-regression-collinearity-rust/</link>
      <pubDate>Mon, 27 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://krtffl.dev/posts/ols-regression-collinearity-rust/</guid>
      <description>&lt;p&gt;lights out, again.&lt;/p&gt;
&lt;p&gt;last time out i argued that a chart is just rectangles and lines, drew stintlab&amp;rsquo;s entire ui in rust on canvas2d to prove it, and promised — right at the bottom of &lt;a href=&#34;https://krtffl.dev/posts/rust-wasm-canvas-charts&#34;&gt;that post&lt;/a&gt;
 — to come back for &lt;em&gt;the degradation model itself&lt;/em&gt;: the math the pictures are pictures of. this is that post.&lt;/p&gt;
&lt;p&gt;the pictures draw a number. how much slower a tire gets, lap after lap, as it wears out. pin that number down and you can start to guess when a car should box. so i tried to fit it with a multiple linear regression i wrote by hand — no nalgebra, no ndarray, just the normal equations and a determinant — and the thing handed me back confident, well-formed garbage. it took a comment in one of my own tests to explain why.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>welford&#39;s algorithm and why i never store the samples</title>
      <link>https://krtffl.dev/posts/welford-online-variance-rust/</link>
      <pubDate>Mon, 13 Apr 2026 00:00:00 +0000</pubDate>
      
      <guid>https://krtffl.dev/posts/welford-online-variance-rust/</guid>
      <description>&lt;p&gt;you want to know if the error rate just spiked. that&amp;rsquo;s a z-score: how many standard deviations is &lt;em&gt;right now&lt;/em&gt; away from what &lt;em&gt;normal&lt;/em&gt; looked like. simple formula, &lt;code&gt;(x - mean) / stddev&lt;/code&gt;, you learned it before you could legally drink.&lt;/p&gt;
&lt;p&gt;except a standard deviation needs a mean, and a mean needs all the numbers, and the numbers are a log file the size of a small moon. so where, exactly, are you keeping them?&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
