<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>math on krtffl.dev</title>
    <link>https://krtffl.dev/tags/math/</link>
    <description>Recent content in math 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/tags/math/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>
    
  </channel>
</rss>
