<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Naveen Mishra on Medium]]></title>
        <description><![CDATA[Stories by Naveen Mishra on Medium]]></description>
        <link>https://medium.com/@naveenmishra?source=rss-a4a2b33ec0b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MHxZ08kId3xcDkhY_0EcUA.png</url>
            <title>Stories by Naveen Mishra on Medium</title>
            <link>https://medium.com/@naveenmishra?source=rss-a4a2b33ec0b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 07:01:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@naveenmishra/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding a business with Causal.app — Phil Libin’s state machine]]></title>
            <link>https://medium.com/@naveenmishra/understanding-a-business-with-causal-app-phil-libins-state-machine-a8991a084bf0?source=rss-a4a2b33ec0b------2</link>
            <guid isPermaLink="false">https://medium.com/p/a8991a084bf0</guid>
            <category><![CDATA[side-project]]></category>
            <category><![CDATA[forecasting]]></category>
            <category><![CDATA[causal]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Naveen Mishra]]></dc:creator>
            <pubDate>Tue, 31 Mar 2020 08:59:49 GMT</pubDate>
            <atom:updated>2020-04-03T09:59:06.161Z</atom:updated>
            <content:encoded><![CDATA[<h3>Understanding a business with Causal — Phil Libin’s state machine</h3><p>I needed something to do while being quarantined. So I decided to play with a tool I have been fascinated with since its launch on Hackernews, <a href="https://causal.app/">Causal</a>. Causal lets people build models with uncertainty attached to the variables. Its an intuitive way to understand models and their assumptions.</p><p>tl;dr : I recreated Phil Libin’s State Machine in Causal.</p><p>Here’s the model: <a href="https://my.causal.app/models/1746/">Causal</a></p><p>A state machine is a model of a system. Each node is a “state” and each connecting line (edge) is an input that changed this system to its next state. Here is a simple state machine for a coin operated turnstile.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*SIHZcCtO6ywJysyIAiwRDQ.png" /><figcaption>Simple State Machine for a Coin Operated turnstile</figcaption></figure><h3>Phil Libin’s State Machine -</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/874/1*uFGTUxExTL-hjQjtMj7H-g.png" /><figcaption>source : <a href="https://www.gbjnz.com/blog/2019/11/19/phil-libin-state-machines">https://www.gbjnz.com/blog/2019/11/19/phil-libin-state-machines</a></figcaption></figure><p>What is being modeled here is how people behave within a business life cycle. People start out unaware of the business, get onboarded for the first time, then either are not interested(Inactive) or become a customer for different pricing plans.</p><p>The point is that with access to ratios for each edge in this graph, a business can understand which metric to prioritize for its stage. For example edge 6, from “Low Value Users” to “High Value Users” is an upsell metric( usually measured as MRR Growth)</p><h3>Building the model in Causal -</h3><p>What I did first was convert that state machine to the following table</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*IzLgGKisyRwSzPgm3S4amQ.png" /><figcaption>same state machine as a table in google sheets</figcaption></figure><p>Now came the tricky part, I had to decide if I should have ratios for each state change or let people enter in raw numbers for each state and calculate the ratios for reporting and bench-marking. The former seemed a better approach and so I did that.</p><p>Here is what that looks like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CukM3GUAn61qfsZ8w1rRvA.png" /><figcaption>All the inputs grouped together nicely.</figcaption></figure><p>Now I wanted to start out with a simple MRR output. So I added a chart for the output. Here is what that looks like</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kNQNJ5D8CHDALPIqVqM0BQ.png" /></figure><p>This was very easy to do in Causal and a thoroughly enjoyable exercise. Here is what I plan to do next</p><ol><li>Build a model with data coming in via integrations.</li><li>Extend the model to calculate ratios, given number of users in each stage</li><li>Extend the model to have a time series output for all the important SaaS metrics.</li></ol><h3>Take-Aways:</h3><ol><li>State Machines make for complicated models, so don’t start with a state machine.</li><li>Thinking about what metric to keep variable and what to track was the biggest issue. Got around to actually developing the Causal model in less than 30 minutes.</li><li>Causal has an easy learning curve and is very flexible</li></ol><p>I have made the <a href="https://my.causal.app/models/1746">model clone-abl</a>e( like Webflow templates ) so you can extend it as well. Happy modelling.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8991a084bf0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>