<?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 Tirtha Mutha on Medium]]></title>
        <description><![CDATA[Stories by Tirtha Mutha on Medium]]></description>
        <link>https://medium.com/@tirthamutha?source=rss-36784f53b694------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YgRoV2Nkg3dEfyiTPpAeiw.jpeg</url>
            <title>Stories by Tirtha Mutha on Medium</title>
            <link>https://medium.com/@tirthamutha?source=rss-36784f53b694------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 25 Nov 2026 02:34:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tirthamutha/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[Design That Thinks Like a Human: Key Takeaways from Laws of UX]]></title>
            <link>https://medium.com/@tirthamutha/design-that-thinks-like-a-human-key-takeaways-from-laws-of-ux-8b6584a6307a?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b6584a6307a</guid>
            <category><![CDATA[ui-ux-design]]></category>
            <category><![CDATA[ux-research]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[user-psychology]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sat, 03 May 2025 12:21:30 GMT</pubDate>
            <atom:updated>2025-05-03T12:51:35.098Z</atom:updated>
            <content:encoded><![CDATA[<h3>Design That Thinks Like a Human: Lessons from Laws of UX</h3><p>We’ve all used apps that just <em>click</em> — you instinctively know where to tap, what to do next, and nothing feels confusing. That’s not an accident. It’s good design grounded in psychology.</p><p>Jon Yablonski’s book <em>Laws of UX</em> is a powerful introduction to the psychological principles that shape great digital experiences. It doesn’t overwhelm you with theory but distills cognitive science into practical rules that designers, product managers, and developers can apply immediately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/0*ECndJHuLXhLgN6xc.jpg" /></figure><h3>🎯 Who Should Read Laws of UX?</h3><ul><li>Designers wanting to align with how users actually think and behave</li><li>Product managers aiming to make better UX decisions</li><li>Anyone curious about the psychology behind intuitive interfaces</li></ul><p>This isn’t a deep academic read — it’s a practical, visual guide that ties familiar UX patterns to why they work.</p><p>Here’s a breakdown of the most impactful laws — and how to apply them in real projects.</p><h3>1. Jakob’s Law — Users Rely on Familiarity</h3><p>Users spend most of their time on other products, so they bring those expectations to yours. If your design aligns with familiar mental models, users feel more confident and need less effort to adapt.</p><p><strong>Why it matters:</strong> Breaking design norms without reason leads to confusion and drop-offs.<br> <strong>How to apply it:</strong> Stick to standard design patterns (e.g., cart icons, top-left logos, right-side scrollbars). Only deviate if it clearly improves UX — and always test changes.</p><h3>2. Fitts’s Law — Make Interactive Targets Easy to Reach</h3><p>The time to reach and interact with a target is a function of its size and distance. The closer and bigger it is, the faster and easier it is to use.</p><p><strong>Why it matters:</strong> Tiny or poorly placed buttons frustrate users, especially on mobile.<br> <strong>How to apply it:</strong></p><ul><li>Use large, well-spaced buttons.</li><li>Place frequent actions (e.g., “Submit”, “Next”) near the user’s focus zone.</li><li>Reduce movement required between task elements.</li></ul><h3>3. Hick’s Law — Simplicity Speeds Up Decision-Making</h3><p>The more options a user sees, the longer they take to decide — and the higher the chance of decision paralysis.</p><p><strong>Why it matters:</strong> Complex interfaces slow users down and can increase drop-offs.<br> <strong>How to apply it:</strong></p><ul><li>Limit visible choices.</li><li>Use progressive disclosure (show more as needed).</li><li>Recommend actions or defaults to guide faster decisions.</li></ul><h3>4. Miller’s Law — People Can Only Handle So Much at Once</h3><p>Short-term memory typically holds 7 ± 2 items. Overloading users leads to confusion and errors.</p><p><strong>Why it matters:</strong> Users can’t retain complex info in their heads while navigating your interface.<br> <strong>How to apply it:</strong></p><ul><li>Break content into logical chunks (e.g., cards, groups, steps).</li><li>Use headers and hierarchy.</li><li>Keep actions and info tightly scoped to reduce mental load.</li></ul><h3>5. Postel’s Law — Be Flexible in Handling Input</h3><p>Also known as the Robustness Principle: be strict in what your system produces, but flexible in what it accepts.</p><p><strong>Why it matters:</strong> Real users make mistakes. Systems that don’t account for variability create friction.<br> <strong>How to apply it:</strong></p><ul><li>Accept variations in input (e.g., phone numbers with/without dashes).</li><li>Provide clear, forgiving error messages.</li><li>Optimize forms and search for tolerance and clarity.</li></ul><h3>6. Peak-End Rule — Users Remember Highlights, Not the Whole Experience</h3><p>People judge experiences based on their most intense moment and the final impression — not the full duration.</p><p><strong>Why it matters:</strong> A single frustrating or delightful moment can define the entire perception of your product.<br> <strong>How to apply it:</strong></p><ul><li>Identify and optimize peak moments (e.g., onboarding, success states).</li><li>Ensure the final steps of user journeys are smooth and rewarding.</li><li>Use small surprises (animations, messages) to elevate key touchpoints.</li></ul><h3>7. Aesthetic-Usability Effect — Beauty Boosts Trust</h3><p>People perceive attractive designs as easier to use, even if they’re not. Visual appeal increases trust and tolerance for minor issues.</p><p><strong>Why it matters:</strong> Users are more likely to explore and forgive flaws in a visually pleasing product.<br> <strong>How to apply it:</strong></p><ul><li>Use clean, consistent design systems.</li><li>Pay attention to typography, spacing, and layout.</li><li>Avoid visual clutter — simplicity enhances both beauty and function.</li></ul><h3>8. Von Restorff Effect — Contrast Captures Attention</h3><p>When multiple similar elements are present, the one that differs is most likely to be remembered.</p><p><strong>Why it matters:</strong> If everything looks the same, users won’t notice your key actions or messages.<br> <strong>How to apply it:</strong></p><ul><li>Use contrast (color, size, shape) to highlight primary CTAs.</li><li>Don’t over-emphasize too many elements, or you’ll dilute impact.</li><li>Avoid relying only on color — use multiple cues for accessibility.</li></ul><h3>9. Tesler’s Law — Complexity Can’t Be Eliminated, Only Shifted</h3><p>Every system has some inherent complexity. The choice is whether the user deals with it or your system does.</p><p><strong>Why it matters:</strong> Forcing users to manage complexity increases friction and fatigue.<br> <strong>How to apply it:</strong></p><ul><li>Automate routine tasks where possible.</li><li>Use intelligent defaults and smart recommendations.</li><li>Don’t simplify so much that users lose control or context.</li></ul><h3>10. Doherty Threshold — Fast Feedback Feels Good</h3><p>Systems that respond in under 400ms keep users engaged. Delays lead to distraction or frustration.</p><p><strong>Why it matters:</strong> Speed is not just technical — it’s emotional.<br> <strong>How to apply it:</strong></p><ul><li>Use micro-interactions and instant feedback on actions.</li><li>Add skeleton loaders, progress bars, or animations during delays.</li><li>Prioritize perceived performance as much as real speed.</li></ul><h3>💬 Final Thoughts</h3><p><em>Laws of UX</em> is a must-read if you want to go beyond “what looks good” and understand <em>why</em> certain designs just work. Each law is rooted in human psychology, and when applied right, they lead to interfaces that feel invisible — which is often the best kind.</p><p>Whether you’re designing a new feature or refining an existing product, keep these laws close. Your users won’t thank you — they’ll just <em>stay longer, convert better, and come back more often.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b6584a6307a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mastering the Hook Model: A Guide by Nir Eyal]]></title>
            <link>https://medium.com/@tirthamutha/mastering-the-hook-model-a-guide-by-nir-eyal-d4bde5418594?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/d4bde5418594</guid>
            <category><![CDATA[hook-model]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product-design]]></category>
            <category><![CDATA[user-engagement]]></category>
            <category><![CDATA[hooked]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sun, 19 Jan 2025 17:50:17 GMT</pubDate>
            <atom:updated>2025-01-19T17:50:17.740Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating products that users return to time and again isn’t accidental — it’s a strategic design choice. In his book <em>Hooked: How to Build Habit-Forming Products</em>, <a href="https://medium.com/u/295258f6269d">Nir Eyal</a> introduces the Hook Model, a framework for designing products that cultivate habits. These habits, defined as behaviors performed with little to no conscious thought, keep users engaged and returning.</p><p>As the world becomes more interconnected, companies can leverage data and access to build habit-forming products. In this post, I’ll break down the four phases of the Hook Model and explore how you can apply these principles to your product.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/0*taJL7eM3LOGpvmB2" /><figcaption><strong>Hooked by Nir Eyal</strong></figcaption></figure><h3>1. Trigger</h3><p>Triggers are the starting point of the habit loop. They prompt users to take action. There are two main types of triggers:</p><ul><li><strong>External Triggers:</strong> These are cues that tell the user what to do next. External triggers can be anything from a notification to a visual cue within the product. For example, a mobile notification reminding a user to check their social media feeds.</li><li><strong>Internal Triggers:</strong> These are cues that come from within the user’s mind, usually based on their past experiences with the product. They could be linked to emotional states or certain contexts, like feeling bored or needing validation, prompting users to open an app without external reminders.</li></ul><p>External triggers can be further divided into several types:</p><ul><li><strong>Paid Triggers:</strong> These are external cues that are part of a paid advertisement or marketing campaign.</li><li><strong>Partnered Triggers:</strong> These are collaborations with other platforms or services that cue the user into action.</li><li><strong>Relationship Triggers:</strong> These are cues prompted by interactions with other people or social networks.</li><li><strong>Owned Triggers:</strong> These are built within the product, such as a reminder notification from a shopping app that prompts the user to take an action based on their browsing history.</li></ul><h3>2. Action</h3><p>Once the trigger is in place, the next step is the <strong>action</strong>. Action refers to the behavior the user performs in response to the trigger. It’s important to note that actions should require minimal effort to be effective.</p><p>Eyal suggests the <strong>Fogg Behavior Model</strong> as a framework to understand what drives user action. The model breaks down the factors influencing a task’s difficulty:</p><ul><li><strong>Time:</strong> How long does it take to complete the action?</li><li><strong>Money:</strong> The financial cost of taking action.</li><li><strong>Physical Effort:</strong> How much labor is involved?</li><li><strong>Brain Cycles:</strong> The mental effort required to complete the action.</li><li><strong>Social Deviance:</strong> How likely is it that others will approve of the behavior?</li><li><strong>Non-Routine:</strong> How much does the action disrupt existing habits?</li></ul><p>The more effortlessly the action can be performed, the higher the likelihood of the user continuing with the habit.</p><h3>3. Variable Reward</h3><p>Variable rewards are the unpredictable reinforcements that keep users engaged. These rewards create a sense of anticipation, which leads to repeated behaviors. Eyal identifies three types of variable rewards:</p><ul><li><strong>Rewards of the Tribe:</strong> These rewards come from social validation, such as likes, comments, or social interaction.</li><li><strong>Rewards of the Hunt:</strong> These are information-based rewards, such as discovering something new or finding hidden content.</li><li><strong>Rewards of the Self:</strong> These are personal rewards, such as mastery, achievement, or completing a task.</li></ul><p>By offering variable rewards, you keep users coming back because they never know exactly what they’ll get. This unpredictability is a powerful driver of engagement and retention.</p><h3>4. Investment</h3><p>Investment refers to the effort users put into the product, which increases their commitment to it. This could involve users investing time, data, or even money. The more they invest, the more likely they are to return, as they’ve already sunk something into the product.</p><p>The key to investment is that it allows users to accumulate stored value, such as data, reputation, or skills, which will enhance their experience and create a preference for the product. This leads to what’s called <strong>cognitive dissonance</strong>, where users feel compelled to stick with the product to avoid feeling like they wasted their investment.</p><h3>How to Test for Habit Formation</h3><p>Testing is a crucial part of the process when designing habit-forming products. Here’s how you can test the effectiveness of your product’s habit loop:</p><ol><li><strong>Identify:</strong> Look at user behavior and identify how people are engaging with your product. Dig into the data to understand what makes your most dedicated users return.</li><li><strong>Modify:</strong> Based on your findings, modify your product to influence more users to follow the same path as your most habitual users. Test the modifications and evaluate the results.</li><li><strong>Evaluate:</strong> Keep refining and adjusting based on user behavior, and ensure that your changes foster long-term engagement.</li></ol><h3>Conclusion</h3><p>The Hook Model provides a clear framework for designing products that become an integral part of users’ lives. By focusing on triggers, action, variable rewards, and investment, you can build products that keep users engaged and coming back for more. However, it’s important to always consider the ethical implications of habit-forming products and ensure that the product adds value to users’ lives.</p><p>What are your thoughts on the Hook Model? Have you applied any of these principles in your own product development? Feel free to share your experiences in the comments below.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d4bde5418594" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Great Tech Products: Lessons from Marty Cagan’s Inspired]]></title>
            <link>https://medium.com/@tirthamutha/building-great-tech-products-lessons-from-marty-cagans-inspired-94f330ab2b1a?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/94f330ab2b1a</guid>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[marty-cagan]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sun, 24 Nov 2024 19:55:44 GMT</pubDate>
            <atom:updated>2024-11-24T19:55:44.955Z</atom:updated>
            <content:encoded><![CDATA[<p>Creating products that customers truly love requires a balance of strategic alignment, innovation, and relentless execution. <em>Inspired: How to Create Tech Products Customers Love</em> by Marty Cagan distills the essence of successful product management, offering invaluable insights into what makes tech companies truly great.</p><p>As I begin my journey as a product manager, I’m excited to kick off this blog series where I’ll dive into books that have shaped the world of product management and tech innovation. In each post, I’ll share key takeaways and strategies to help product managers at any stage. First up in the series is <em>Inspired</em> — a must-read for anyone passionate about building tech products customers love. Stay tuned!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*azhdo2puQMpTgR09O6J0bw.jpeg" /></figure><h3>Engineering and Product Alignment</h3><p>“It doesn’t matter how good your engineering team is if they are not given something worthwhile to build.”</p><p>Strong tech companies understand that engineering brilliance alone doesn’t guarantee success. Products must be developed to their full potential, continuously creating value for both customers and businesses — not just maintaining or optimizing existing ones. Engineering and product managers must work closely to ensure the team is building something that will genuinely impact users.</p><h3>Understanding Technical Debt</h3><p><strong>What is technical debt?</strong></p><p>Technical debt refers to the consequences of prioritizing speed over clean, maintainable code during software development. Often, teams take shortcuts for quick fixes, but this adds complexity in the future. Over time, technical debt accumulates and can affect a product’s scalability, speed, and performance.</p><p><strong>Symptoms of Technical Debt-Induced Decline</strong>:</p><ul><li>Diminished team morale due to inefficiencies</li><li>Slower time-to-market for new features</li><li>A decline in innovation capabilities</li></ul><h3>The Role of Deep Knowledge</h3><p>Successful product managers possess a deep understanding of four critical domains:</p><ul><li><strong>Customers</strong>: Their needs, pain points, and behaviors.</li><li><strong>Data</strong>: Insights derived from metrics to guide decisions.</li><li><strong>Business &amp; Stakeholders</strong>: Organizational goals, constraints, and expectations.</li><li><strong>Market &amp; Industry</strong>: Trends, competitive dynamics, and emerging opportunities.</li></ul><h3>Product Vision: Principles to Follow</h3><p>A great product vision inspires teams, aligns stakeholders, and drives innovation. Cagan outlines 10 principles for creating and sustaining a compelling vision:</p><ul><li><strong>Start with why</strong>: Articulate the product’s purpose.</li><li><strong>Fall in love with the problem, not the solution</strong>.</li><li><strong>Think big</strong> — great visions often challenge the status quo.</li><li><strong>Disrupt yourself before someone else does</strong>.</li><li><strong>Ensure the vision inspires your team and stakeholders</strong>.</li><li><strong>Adapt to meaningful industry trends and be flexible in execution</strong>.</li></ul><h3>Product Strategy Principles</h3><p>While the product vision sets the direction, strategy focuses on execution. Core principles for effective product strategy include:</p><ul><li>Focus on one target market and build personas to represent your users.</li><li>Align product strategy with business strategy.</li><li>Sync product strategy with sales and go-to-market efforts.</li><li>Obsess over customers, not competitors.</li><li>Ensure the strategy is communicated across the organization for alignment.</li></ul><h3>The Product Development Process</h3><p>Successful product companies follow a structured process that includes:</p><ul><li><strong>Ideas</strong>: Generating and collecting opportunities.</li><li><strong>Business Case</strong>: Validating the feasibility and ROI.</li><li><strong>Roadmap</strong>: Prioritizing features and projects.</li><li><strong>Design</strong>: Developing solutions based on user needs.</li><li><strong>Build</strong>: Engineering the product.</li><li><strong>Test</strong>: Ensuring usability and functionality.</li><li><strong>Deploy</strong>: Delivering the product to users.</li></ul><h3>Product Roadmaps</h3><p>A roadmap is a prioritized list of features and projects the team will work on. To effectively prioritize, consider:</p><ul><li><strong>TAM (Total Addressable Market)</strong>: Potential market size.</li><li><strong>GTM (Go-To-Market)</strong>: Distribution strategy.</li><li><strong>TTM (Time-to-Market)</strong>: Speed of delivery.</li></ul><p>These factors ensure product managers align priorities to meet business and customer needs.</p><h3>Opportunity Assessment Technique</h3><p>Before diving into a new opportunity, assess it carefully by considering:</p><ul><li>Business objectives.</li><li>Expected key results.</li><li>Customer problems it solves.</li><li>The target market.</li></ul><p>This structured approach ensures all critical factors are addressed before committing resources.</p><h3>Two Inconvenient Truths About Product Development</h3><p>Two hard truths about building products are often overlooked. First, your ideas are not guaranteed to work. The reality is that most product ideas will require significant iteration before they succeed. Second, delivering value from an idea is not instantaneous — time to money is often long. It typically takes several rounds of implementation and testing before the final product delivers on its promise. These inconvenient truths highlight the importance of resilience and flexibility in the product development journey.</p><h3>Discovery: The Foundation of Great Products</h3><p>Product discovery is a collaborative process that ensures teams are building the right product. It involves three critical areas: <strong>Product Management</strong>, which focuses on customer and business value; <strong>UX Design</strong>, which ensures usability and delight; and <strong>Engineering</strong>, which evaluates technical feasibility.</p><p>During discovery, it’s important to ask some key questions:</p><ul><li><strong>Will users buy this?</strong> Product managers need to validate whether the product solves a real pain point.</li><li><strong>Can users figure out how to use this?</strong> A product is only successful if it’s intuitive.</li><li><strong>Can our engineers build this?</strong> The technical feasibility of the product is just as important as the user experience.</li><li><strong>Can stakeholders support this?</strong> Aligning with key stakeholders early on is essential for success.</li></ul><h3>Product-Market Fit (PMF)</h3><p>Product-Market Fit (PMF) is achieved when a product effectively meets the needs of its target market. This is usually evident when a product leads to happier customers, lower churn rates, and shortened sales cycles. Additionally, products that achieve PMF tend to experience rapid organic growth driven by word-of-mouth and customer referrals. Achieving PMF signals that the product is solving a meaningful problem for users.</p><h3>Key Takeaways and Final Thoughts</h3><p>As a new product manager, reading <em>Inspired</em> has been a pivotal experience. It’s not just about building products — it’s about understanding the core principles of product management in tech. What stood out to me was the emphasis on deep knowledge in areas like customer needs, market trends, data, and stakeholder alignment. These areas are essential for guiding decisions and addressing real pain points.</p><p>Cagan also stresses <strong>the importance of collaboration</strong>. Strong communication between engineering and product teams is critical for success. The product team must ensure the engineering team understands both the technical and customer aspects, working together to deliver a product that is both feasible and valuable.</p><p>Another major takeaway was the focus on <strong>prioritization and validation</strong>. With limited resources, product managers must master the art of prioritization, using data, feedback, and strategic thinking to determine what to build. Validating ideas before full-scale development helps mitigate risk.</p><p>Finally, Cagan emphasizes the need for <strong>continuous learning and experimentation</strong>, as these are key to maintaining a competitive edge. Innovation should not be incremental but should challenge the status quo. This mindset helps businesses stay relevant and continue delivering value to customers over time.</p><p>In short, <em>Inspired</em> has changed the way I view product management. It has emphasized the importance of collaboration, innovation, and a long-term focus, making me feel more confident in leading teams to create impactful products.</p><p>Have you read <em>Inspired</em>? What were your thoughts? I’d love to hear from you! Also, if you have any recommendations for books that would help in my journey as a product manager, please share them in the comments below. Stay tuned for the next post in this series!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94f330ab2b1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing Spotify’s Messaging System: Making Music Social Again]]></title>
            <link>https://medium.com/design-bootcamp/designing-spotifys-messaging-system-making-music-social-again-24834c56dfaf?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/24834c56dfaf</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[wireframe]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product-design]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Wed, 28 Aug 2024 13:08:09 GMT</pubDate>
            <atom:updated>2024-08-30T12:32:05.611Z</atom:updated>
            <content:encoded><![CDATA[<p>Spotify has been my go-to music platform for years, yet something has always felt missing. For a service that has revolutionized music discovery, why is there no way to directly chat with friends about what we’re listening to? I love sharing music, but sending a song link via WhatsApp or another app just feels disconnected.</p><p>So, when I decided to design a messaging system for Spotify, my goal was simple: create a social experience without disrupting the core of what users come for — the music.</p><p>As someone who’s recently transitioned from data into product, I often think about features I’d love to see in my favorite apps. During an internship interview, I was asked what feature I’d add to an app I use frequently. Without hesitation, I proposed a messaging system for Spotify to make music sharing more intuitive and connected.</p><p>Now that my internship has ended and as I job hunt, I decided to fully design that idea. This article walks through my process of creating a messaging system for Spotify that brings music lovers closer together.</p><h3>The Vision: Why Messaging on Spotify?</h3><p>Spotify excels at discovering new tracks, connecting to artists, and finding music that resonates. However, it has yet to tap into a key driver of engagement — conversation. Music is something we bond over, and sharing it enhances that experience. Whether it’s sending a playlist or sharing a song that captures our mood, music is more powerful when shared.</p><p>I envisioned a messaging system within Spotify that lets users share songs, discuss albums, and connect with friends — while keeping the music at the forefront.</p><h3>Designing the User Flow: Simple and Familiar</h3><p>The first challenge was integrating a messaging system without cluttering Spotify’s clean, music-focused interface. Users shouldn’t feel like they’re moving away from the app’s primary purpose — listening to music.</p><h3>Home Screen Integration</h3><p>To make messaging easily accessible, I imagined adding a “Messages” tab to the bottom navigation bar between Search and Your Library. This keeps conversations just a tap away without disrupting the overall layout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*SrGqwIePZZ18wI48ZDjrPw.png" /></figure><h3>Sharing a Track: A Conversation Starter</h3><p>This part of the design was particularly exciting. Sharing music often starts a conversation, and I wanted this to be effortless. When a user clicks on any track they’re listening to, they should have the option to share it directly from the track page. The share button would open a list of friends they can search for, making it easy to select who they want to send the song to.</p><p>also included the option to add a personal message with the shared track. Whether it’s “This is SO you” or “I can’t stop listening to this,” the message adds a personal touch. I kept the sharing panel minimal because the focus should always be on the music.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*h822RnDvz_pDQNmQkhuzng.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*IkW8cG0Zmb8MS3R72A6wFw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*9BMphTT5qvjBaeZdk0MhGg.png" /></figure><h3>Messages: Keeping Conversations Fluid</h3><p>Once a track is shared, it shows up in the user’s inbox. The messaging interface needed to be clean and easy to navigate. I prioritized fluidity so that users never feel like they’re moving away from Spotify’s core experience.</p><p>The inbox would display a list of friends and conversations similar to popular messaging apps. However, here’s where the magic happens: song previews within the chat. Instead of sending just a link, your friend can tap and instantly get a mini-preview of the track right inside the conversation. They can play a snippet, and if they like it, jump into the full song — all while continuing the chat.</p><h3>Direct Messages: Music-First Conversations</h3><p>One of my favorite design elements was ensuring music remained central to conversations. In the Direct Messaging (DM) screen, users can share albums, playlists, or even podcasts with friends, and these would be beautifully displayed with album art front and center.</p><p>I didn’t want the messaging system to feel like any other chat app. It had to feel uniquely Spotify — a place where music drives the conversation. Every message prioritizes the shared song or album, which can be played directly within the chat. The dark theme, paired with vibrant album covers, stays true to Spotify’s signature aesthetic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*1aBh1dTrx_Hr-qUUhqkfCA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/856/1*9SHszoH4tq5CRxNuO_ZYdg.png" /></figure><h3>Challenges and Lessons: Balancing Music and Conversation</h3><p>Several challenges arose during the design process:</p><p><strong>-User Privacy and Control</strong>: One of the major challenges was ensuring users felt safe and in control of their messaging experience. After much consideration, I implemented a rule where only users who follow each other can send messages. Figuring out this balance between social interaction and privacy was a task in itself, as it ensures conversations happen between mutual connections, protecting users from unsolicited messages.</p><p><strong>-Balancing Music and Messaging: </strong>The messaging feature had to complement, not overshadow, the music experience. This required careful attention to design, ensuring that conversations enhance the listening experience rather than distract from it.</p><p><strong>-Performance: </strong>Messaging should be instant, but music streaming must remain smooth. Maintaining this balance was critical to the system’s success.</p><h3>Looking Ahead: What’s Next for Spotify Messaging?</h3><p>This is just the beginning. In the future, group messaging could allow users to chat in real-time about shared playlists or host mini listening parties. Spotify could also leverage its recommendation engine within conversations, suggesting songs based on what’s being shared.</p><p>There’s enormous potential to make music more interactive, and messaging is just the first step in fostering a community of music lovers within Spotify.</p><h3>Conclusion: Music, Made More Personal</h3><p>Designing this messaging system wasn’t just about adding another feature — it was about making music more personal. We already love sharing music with friends; now, Spotify can be where those conversations happen, naturally and effortlessly, alongside the music.</p><p>The system ensures that users remain immersed in the music while connecting, sharing, and bonding with the people who matter — because music is always better when shared.</p><p>I hope this inspires you to think about how social features can enhance digital platforms and how small design decisions can lead to more meaningful interactions. Whether you’re a designer, product manager, or simply a music lover, we all have the power to make technology bring us closer together.</p><p>As I continue my journey into product management, I’ll be writing about both statistics and product design. If you’re interested in how data intersects with product development, stick around. And If anyone from Spotify is reading this, I hope you’ll consider hiring me. I’m ready to turn this idea into something real!😄</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24834c56dfaf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/design-bootcamp/designing-spotifys-messaging-system-making-music-social-again-24834c56dfaf">Designing Spotify’s Messaging System: Making Music Social Again</a> was originally published in <a href="https://medium.com/design-bootcamp">Bootcamp</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[R vs. Python: Finding Your Perfect Fit in Data Science]]></title>
            <link>https://medium.com/@tirthamutha/r-vs-python-finding-your-perfect-fit-in-data-science-0152d96dbff0?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/0152d96dbff0</guid>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sun, 23 Jun 2024 17:57:55 GMT</pubDate>
            <atom:updated>2024-06-23T17:57:55.493Z</atom:updated>
            <content:encoded><![CDATA[<p>When diving into data science, one of the first decisions you’ll face is choosing a programming language. R and Python are the front-runners in this field, each offering unique advantages and tools. So, how do you decide which one to use? Let’s break down their strengths, weaknesses, and the types of projects where each shines.</p><h3>R: The Go-To for Statistics and Visualization</h3><h4>Strengths:</h4><p>1. Statistical Analysis: R is a statistician’s dream. Created by statisticians for statisticians, it excels in all kinds of statistical modeling and hypothesis testing.<br>2. Rich Ecosystem: With over 15,000 packages in the CRAN repository, R has a tool for almost every statistical technique you can think of.<br>3. Data Visualization: R’s visualization packages like ggplot2 and Shiny are renowned for their ability to create stunning and highly customizable graphics. These tools make it easy to communicate complex data insights effectively.</p><h4>Weaknesses:</h4><p>1. Performance: When it comes to handling very large datasets or performing complex operations, R can be slower than Python.<br>2. General Programming: R’s syntax is specialized for statistical analysis and data manipulation, making it less intuitive for general programming tasks compared to Python.</p><h4>Best For:</h4><p>- Detailed statistical analyses<br>- High-quality data visualizations<br>- Academics and researchers focusing on statistical methods</p><h3>Python: The All-Purpose Powerhouse</h3><h4>Strengths:</h4><p>1. General Purpose: Python is not just for data science. Its versatility makes it suitable for web development, automation, and more. This broad applicability means you can use one language for many different tasks.<br>2. Machine Learning: Python’s libraries like TensorFlow, Keras, and scikit-learn have made it a favorite in the machine learning and deep learning communities. Its capabilities in these areas are hard to beat.<br>3. Ease of Learning: Python’s syntax is clean and easy to understand, which makes it a great choice for beginners. It allows you to focus more on solving problems than on the intricacies of the language itself.</p><h4>Weaknesses:</h4><p>1. Data Visualization: While Python has powerful libraries like Matplotlib, Seaborn, and Plotly, they can be less intuitive and require more effort to create complex visualizations compared to R.<br>2. Statistical Modeling: Although Python’s statsmodels library is robust, R still holds a slight edge in the depth and variety of its statistical methods.</p><h4>Best For:</h4><p>- Machine learning and AI projects<br>- Web scraping and automation<br>- General-purpose programming and development</p><h3>Bridging the Gap: Using R and Python Together</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*B9BdHJZAZ9cMGfbfylO5nQ.png" /></figure><p>Why choose one when you can have the best of both worlds? Thanks to tools like the `reticulate` package in R, you can run Python code within R scripts, and Jupyter notebooks support both R and Python. This interoperability allows you to leverage the strengths of both languages, depending on the task at hand.</p><h4>Making the Decision</h4><p>The choice between R and Python often comes down to what you need for your specific project. If your work revolves around deep statistical analysis and producing beautiful visualizations, R might be the way to go. On the other hand, if you’re looking to dive into machine learning, need a versatile tool for various applications, or are just starting out, Python could be the better choice.</p><h3>Conclusion</h3><p>In the end, both R and Python are powerful tools in a data scientist’s arsenal. Your choice doesn’t have to be final or exclusive. Many data scientists find value in learning and using both languages, picking the right one for the right task. By understanding the strengths and ideal use cases for R and Python, you can more effectively tackle the diverse challenges you’ll encounter in the field of data science. Whether you start with R or Python, you’re on the right path to unlocking the potential of your data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0152d96dbff0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Brief Theoretical Approach to Understanding One-Way ANOVA (Analysis of Variance)]]></title>
            <link>https://medium.com/@tirthamutha/a-brief-theoretical-approach-to-understanding-one-way-anova-analysis-of-variance-f7f1de09725a?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7f1de09725a</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[anova]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sun, 12 May 2024 18:45:42 GMT</pubDate>
            <atom:updated>2024-05-12T18:45:57.917Z</atom:updated>
            <content:encoded><![CDATA[<p>One-way ANOVA (Analysis of Variance) is a statistical technique that allows researchers to analyze differences between the means of three or more groups. While its practical applications are well-known, diving into the theoretical framework of one-way ANOVA can provide a deeper understanding of the underlying concepts and principles. In this article, let us explore the theoretical foundations of one-way ANOVA to unravel the statistical framework that supports this powerful analysis tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/1*O23d5mjDaVTWaJDxXNCLGg.jpeg" /></figure><h4>Understanding Variability</h4><p>At the core of one-way ANOVA lies the concept of variability. Variability refers to the differences or variations observed in a dataset. In the context of one-way ANOVA, we examine two types of variability: within-group variability (variation within each group) and between-group variability (variation between the groups).</p><h4>Partitioning Variability</h4><p>One-way ANOVA aims to determine whether there is enough evidence to suggest that the observed between-group variability is significantly greater than the expected within-group variability. To accomplish this, the total variability in the dataset is partitioned into two components: sum of squares between (SSB) and sum of squares within (SSW).</p><h4>Sum of Squares Between (SSB)</h4><p>SSB quantifies the variation between group means. It measures how much each group’s mean deviates from the overall mean, taking into account the number of observations in each group. By comparing SSB with its corresponding degrees of freedom, we can calculate the mean squares between (MSB).</p><h4>Sum of Squares Within (SSW)</h4><p>SSW captures the variation within each group. It measures how much individual observations deviate from their respective group means. Like SSB, SSW is adjusted for degrees of freedom, allowing us to calculate the mean squares within (MSW).</p><h4>F-Statistic and Hypothesis Testing</h4><p>To determine whether the observed between-group variability is statistically significant, we calculate the F-statistic. The F-statistic is the ratio of MSB to MSW, providing a measure of how much larger the between-group variability is compared to the within-group variability.</p><h4>Hypotheses in One-Way ANOVA</h4><p>In one-way ANOVA, we set up two hypotheses:</p><ol><li>Null Hypothesis (H0): There is no significant difference between the means of the groups.</li><li>Alternative Hypothesis (H1): There is a significant difference between the means of the groups.</li></ol><p>Using the F-distribution and its corresponding degrees of freedom, we can determine the critical value for the F-statistic. If the calculated F-statistic exceeds this critical value, we reject the null hypothesis in favor of the alternative hypothesis, indicating that there are significant differences between the group means.</p><p>Assumptions in One-Way ANOVA: It’s important to note that one-way ANOVA relies on certain assumptions, including:</p><ol><li>Independence: The observations within each group are independent of each other.</li><li>Normality: The data within each group follows a normal distribution.</li><li>Homogeneity of Variances: The variances within each group are approximately equal.</li></ol><p>By exploring the theoretical framework of one-way ANOVA, we gain a deeper understanding of its statistical underpinnings. Understanding how variability is partitioned and how hypothesis testing is performed equips researchers with a solid foundation to apply one-way ANOVA correctly and interpret its results accurately. With this knowledge, you can confidently navigate the world of statistical analysis and harness the power of one-way ANOVA to uncover meaningful insights from your data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7f1de09725a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Different Types of Probability Distributions]]></title>
            <link>https://medium.com/@tirthamutha/understanding-different-types-of-probability-distributions-780d465cf802?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/780d465cf802</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[probability]]></category>
            <category><![CDATA[probability-distributions]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Tue, 23 Apr 2024 09:55:48 GMT</pubDate>
            <atom:updated>2024-04-23T09:55:48.951Z</atom:updated>
            <content:encoded><![CDATA[<p>Probability distributions play a vital role in the field of statistics and data analysis. They provide us with a framework to analyze and interpret data, and make predictions based on probability theory. In this blog, we will explore some of the most common types of probability distributions and their characteristics.</p><h3>1. Normal Distribution</h3><p>The normal distribution, also known as the Gaussian distribution, is perhaps the most well-known and frequently encountered probability distribution. It is characterized by its bell-shaped curve, symmetric about the mean. The probability distribution function (PDF) of the normal distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*u5Y_ukh1NyOgzJ8t.png" /></figure><p>The probability density function (PDF) of the normal distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/0*sGYRjgQw3sIK38B8" /></figure><p>Where:</p><ul><li>f(x) represents the probability density function of the normal distribution at value x.</li><li>μ is the mean of the distribution.</li><li>σ is the standard deviation of the distribution.</li><li>π is a mathematical constant approximately equal to 3.14159.</li><li>e is the base of the natural logarithm, approximately equal to 2.71828.</li></ul><p><strong>Mean</strong>: The mean of the normal distribution is denoted by μ.</p><p><strong>Variance</strong>: The variance of the normal distribution is denoted by σ².</p><p><strong>Examples</strong>: Heights and weights of individuals in a population, errors in measurements, IQ scores.</p><h3>2. Binomial Distribution</h3><p>The binomial distribution is used to model situations where there are only two possible outcomes, often referred to as success and failure. Examples include flipping a coin or conducting a survey with yes/no questions. The probability distribution function (PDF) of the binomial distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*jkBSVzXCZHemiGAt.png" /></figure><p>The PMF of the binomial distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/192/0*esMKZFnBOkDwMW3o" /></figure><p>Where:</p><ul><li>f(k) represents the probability mass function of the binomial distribution at value k.</li><li>n is the number of trials.</li><li>k is the number of successes.</li><li>p is the probability of success in each individual trial.</li></ul><p><strong>Mean</strong>: The mean of the binomial distribution is given by n * p, where n is the number of trials and p is the probability of success.</p><p><strong>Variance</strong>: The variance of the binomial distribution is given by n * p * (1 — p).</p><p><strong>Examples</strong>: Coin flips, success/failure experiments, surveys with yes/no questions.</p><h3>3. Poisson Distribution</h3><p>The Poisson distribution is commonly used to model events that occur at a constant average rate over a given interval of time or space. The probability distribution function (PDF) of the Poisson distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*Ihlb5uwf-P4nF7iQ.png" /></figure><p>The PMF of the Poisson distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/106/0*8-zYfeFXP23nKS9B" /></figure><p>Where:</p><ul><li>f(k) represents the probability mass function of the Poisson distribution at value k.</li><li>λ (lambda) is the average rate at which events occur in the given interval.</li><li>e is the base of the natural logarithm, approximately equal to 2.71828.</li><li>k is the number of events.</li></ul><p><strong>Mean</strong>: The mean of the Poisson distribution is denoted by λ.</p><p><strong>Variance</strong>: The variance of the Poisson distribution is also denoted by λ.</p><p><strong>Examples</strong>: Number of calls received at a call center per hour, number of emails received per day, number of accidents in a city per month.</p><h3>4. Exponential Distribution</h3><p>The exponential distribution is widely used to model the time between events in a Poisson process, where events occur continuously and independently at a constant average rate. The probability distribution function (PDF) of the exponential distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*0RNpYyLIgT7dSuBK.png" /></figure><p>The PDF of the exponential distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/102/0*g4rcRW3NvIB_Ve-y" /></figure><p>Where:</p><ul><li>f(x) represents the probability density function of the exponential distribution at value x.</li><li>λ (lambda) is the rate parameter, which represents the average rate of occurrence of events.</li><li>e is the base of the natural logarithm, approximately equal to 2.71828.</li><li>x is the time interval between events.</li></ul><p><strong>Mean</strong>: The mean of the exponential distribution is denoted by 1 / λ.</p><p><strong>Variance</strong>: The variance of the exponential distribution is denoted by 1 / λ².</p><p><strong>Examples</strong>: Time between customer arrivals at a store, time between earthquakes, time between phone calls.</p><h3>5. Uniform Distribution</h3><p>The uniform distribution, also known as the rectangular distribution, is a simple and intuitive probability distribution. The probability distribution function (PDF) of the uniform distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*-1E0w47vhYpTT4A2.png" /></figure><p>The PDF of the uniform distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/101/0*YNKPxBNNuw-vObMH" /></figure><p>Where:</p><ul><li>f(x) represents the probability density function of the uniform distribution at value x.</li><li>a is the lower bound of the range.</li><li>b is the upper bound of the range.</li></ul><p><strong>Mean</strong>: The mean of the uniform distribution is given by (a + b) / 2, where a is the lower bound and b is the upper bound.</p><p><strong>Variance</strong>: The variance of the uniform distribution is given by (b — a)² / 12.</p><p><strong>Examples</strong>: Rolling a fair die, selecting a random number between a certain range.</p><h3>6. Gamma Distribution</h3><p>The gamma distribution is a versatile probability distribution that is used to model various continuous positive random variables. It is often used in fields such as physics, economics, and reliability analysis. The probability distribution function (PDF) of the gamma distribution is given by:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/0*KR4SCU5K-B8WBUXk.png" /></figure><p>The PDF of the uniform distribution is given by the equation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/101/0*lzWwf9tb8kyJMbpD" /></figure><p>Where:</p><ul><li>f(x) represents the probability density function of the uniform distribution at value x.</li><li>a is the lower bound of the range.</li><li>b is the upper bound of the range.</li></ul><p><strong>Mean</strong>: The mean of the gamma distribution is denoted by k * θ, where k is the shape parameter and θ is the scale parameter.</p><p><strong>Variance</strong>: The variance of the gamma distribution is denoted by k * θ².</p><p><strong>Examples</strong>: Time until a radioactive particle decays, waiting time for customers at a service counter.</p><h3>Conclusion</h3><p>In conclusion, probability distributions provide valuable insights into various phenomena and help us make informed decisions based on data analysis. Whether you are working with continuous or discrete data, understanding different types of probability distributions is essential for any statistical analysis or modeling task.</p><p>Remember to consider the nature of your data and choose the appropriate distribution accordingly. Armed with this knowledge, you can confidently tackle a wide range of statistical problems and draw meaningful conclusions from your data.</p><p>Happy analyzing!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=780d465cf802" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EDA using Tidyverse (tibble)]]></title>
            <link>https://medium.com/@tirthamutha/eda-using-tidyverse-tibble-050b0ed69c01?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/050b0ed69c01</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[tibble]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sat, 13 Apr 2024 17:49:23 GMT</pubDate>
            <atom:updated>2024-04-13T17:49:23.927Z</atom:updated>
            <content:encoded><![CDATA[<p>When it comes to data manipulation and analysis in R, tidyverse has become the go-to toolkit for many data scientists and analysts. Within tidyverse, one of the most powerful and versatile functions is tibble. In this blog post, we will explore the various features and capabilities of the tibble function, along with practical examples to help you understand its usage.</p><h3>What is Tibble?</h3><p>A tibble is a modern data frame object that extends the traditional base R data frame. It is part of the tidyverse ecosystem and provides an improved data frame experience. Tibbles are designed to be more user-friendly, with enhanced printing capabilities and better support for handling various data types.</p><h3>Creating a Tibble</h3><p>Creating a tibble is straightforward. You can use the tibble() function, which is part of the tidyverse package, to convert existing data or create new tibbles from scratch. Here are some examples:</p><pre>library(tidyverse)</pre><pre># Convert a data frame to a tibble<br>df &lt;- data.frame(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))<br>tb &lt;- as_tibble(df)</pre><pre># Create a tibble from scratch<br>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))</pre><h3>Printing Tibbles</h3><p>One of the advantages of using tibbles is their enhanced printing capabilities. When printing a tibble, it displays a concise summary of its contents, making it easier to understand and analyze the data. Let’s take a look at an example:</p><pre>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))<br>print(tb)</pre><p>The output will be:</p><pre># A tibble: 3 x 2<br>      x y    <br>  &lt;dbl&gt; &lt;chr&gt;<br>1     1 a    <br>2     2 b    <br>3     3 c</pre><p>As you can see, the printed output provides column names along with their respective data types. This makes it easier to identify and interpret the data.</p><h3>Manipulating Tibbles</h3><p>Tibbles offer a wide range of functions for manipulating and transforming data. Let’s explore some of the most commonly used functions with examples:</p><h3>Selecting Columns</h3><p>You can select specific columns from a tibble using the select() function. Here&#39;s an example:</p><pre>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;), z = c(TRUE, FALSE, TRUE))</pre><pre># Select only columns x and y<br>selected_tb &lt;- select(tb, x, y)</pre><h3>Filtering Rows</h3><p>To filter rows based on specific conditions, you can use the filter() function. Here&#39;s an example:</p><pre>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))</pre><pre># Filter rows where x is greater than 1<br>filtered_tb &lt;- filter(tb, x &gt; 1)</pre><h3>Mutating Data</h3><p>The mutate() function allows you to create new variables or modify existing ones within a tibble. Here&#39;s an example:</p><pre>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))</pre><pre># Create a new variable z by adding 1 to x<br>mutated_tb &lt;- mutate(tb, z = x + 1)</pre><h3>Summarizing Data</h3><p>To summarize data within a tibble, you can use the summarize() function. Here&#39;s an example:</p><pre>tb &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))</pre><pre># Calculate the mean of variable x<br>summary_tb &lt;- summarize(tb, mean_x = mean(x))</pre><h3>Joining Data</h3><p>Tibbles also allow you to join multiple tables based on common variables. Here’s an example using the left_join() function:</p><pre>tb1 &lt;- tibble(x = c(1, 2, 3), y = c(&quot;a&quot;, &quot;b&quot;, &quot;c&quot;))<br>tb2 &lt;- tibble(x = c(2, 3, 4), z = c(&quot;d&quot;, &quot;e&quot;, &quot;f&quot;))</pre><pre># Join tb1 and tb2 based on x<br>joined_tb &lt;- left_join(tb1, tb2, by = &quot;x&quot;)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=050b0ed69c01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EDA using Tidyverse (tidyr)]]></title>
            <link>https://medium.com/@tirthamutha/eda-using-tidyverse-tidyr-e4d9b608a2ee?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/e4d9b608a2ee</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[tidyverse]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[tidyr]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sat, 13 Apr 2024 17:43:46 GMT</pubDate>
            <atom:updated>2024-04-13T17:43:46.232Z</atom:updated>
            <content:encoded><![CDATA[<p>Tidyr is an R package developed by Hadley Wickham that provides a suite of functions for reshaping and tidying up data. It adheres to the principles of “tidy data,” a standardized format where each variable corresponds to a column, each observation represents a row, and each value resides in its respective cell. By transforming your data into this tidy format, you can easily perform manipulations, summarizations, and visualizations using other tools within the Tidyverse.</p><h3>Reshaping Data with Tidyr</h3><p>Reshaping data is a fundamental aspect of data transformation, and Tidyr offers two key functions: gather() and spread(). These functions facilitate the conversion between wide and long formats.</p><h3>gather()</h3><p>The gather() function helps you convert wide data (where variables are spread across multiple columns) into long data (where variables are stacked in a single column). This is particularly useful when dealing with datasets that have multiple variables as column names, such as survey responses or time-series data.</p><p>Let’s consider an example where we have a dataset with three variables: “Country”, “2019”, and “2020”. Each variable represents the number of visitors from different countries in the respective year. We want to transform this wide dataset into a tidy, long format:</p><pre>library(tidyr)</pre><pre># Create the wide dataset<br>wide_data &lt;- data.frame(<br>  Country = c(&quot;USA&quot;, &quot;Canada&quot;, &quot;Mexico&quot;),<br>  `2019` = c(1000, 1200, 800),<br>  `2020` = c(1100, 1300, 900)<br>)</pre><pre># Gather the data into a tidy format<br>tidy_data &lt;- gather(wide_data, key = &quot;Year&quot;, value = &quot;Visitors&quot;, -Country)</pre><pre>print(tidy_data)</pre><p>This will yield the following tidy dataset:</p><p>Country Year Visitors USA 2019 1000 Canada 2019 1200 Mexico 2019 800 USA 2020 1100 Canada 2020 1300 Mexico 2020 900</p><h3>spread()</h3><p>The spread() function is the counterpart to gather(). It allows you to transform long data into a wide format based on a key-value pair. This is useful when you want to compact and organize datasets with repeated measurements or observations.</p><p>Let’s assume we have the tidy dataset from the previous example and we want to spread it back into a wide format:</p><pre># Spread the data back into a wide format<br>wide_data &lt;- spread(tidy_data, key = Year, value = Visitors)</pre><pre>print(wide_data)</pre><p>This will produce the following wide dataset:</p><p>Country 2019 2020 USA 1000 1100 Canada 1200 1300 Mexico 800 900</p><h3>Handling Missing Values</h3><p>Working with missing values is a common challenge when dealing with real-world datasets. Fortunately, Tidyr provides several functions to handle missing values efficiently.</p><h3>Dropping Rows with Missing Values: drop_na()</h3><p>The drop_na() function allows you to remove rows containing missing values. Let&#39;s say we have a dataset with some missing values in the &quot;Visitors&quot; column:</p><pre># Create a dataset with missing values<br>data &lt;- data.frame(<br>  Country = c(&quot;USA&quot;, &quot;Canada&quot;, &quot;Mexico&quot;),<br>  Visitors = c(1000, NA, 800)<br>)</pre><pre># Drop rows with missing values<br>clean_data &lt;- drop_na(data)</pre><pre>print(clean_data)</pre><p>The resulting dataset will exclude the row with the missing value:</p><p>Country Visitors USA 1000 Mexico 800</p><h3>Filling Missing Values: fill()</h3><p>The fill() function allows you to fill missing values with appropriate substitutes. In the previous example, instead of dropping the row with the missing value, we can fill it with the average number of visitors:</p><pre># Fill missing values with the mean<br>filled_data &lt;- fill(data, Visitors, .direction = &quot;down&quot;)</pre><pre>print(filled_data)</pre><p>The resulting dataset will contain the filled value:</p><p>Country Visitors USA 1000 Canada 900 Mexico 800</p><h3>separate()</h3><p>The separate() function allows you to split a single column into multiple columns based on a separator. This is particularly useful when dealing with messy datasets that combine multiple information in a single column.</p><p>Consider an example where we have a dataset with a “Name” column that combines the first and last names:</p><pre># Create a dataset with combined names<br>data &lt;- data.frame(<br>  ID = c(1, 2, 3),<br>  Name = c(&quot;John Doe&quot;, &quot;Jane Smith&quot;, &quot;Alice Johnson&quot;)<br>)</pre><pre># Separate the Name column into First and Last names<br>tidy_data &lt;- separate(data, Name, into = c(&quot;First&quot;, &quot;Last&quot;), sep = &quot; &quot;)</pre><pre>print(tidy_data)</pre><p>The resulting tidy dataset will have separate columns for the first and last names:</p><p>ID First Last 1 John Doe 2 Jane Smith 3 Alice Johnson</p><h3>unite()</h3><p>The unite() function does the opposite of separate(). It combines multiple columns into a single column by concatenating their values. This can be helpful when you want to create a new variable based on existing ones.</p><p>Suppose we have a dataset with separate columns for the year, month, and day, and we want to unite them into a single “Date” column:</p><pre># Create a dataset with separate date components<br>data &lt;- data.frame(<br>  Year = c(2020, 2021),<br>  Month = c(&quot;January&quot;, &quot;February&quot;),<br>  Day = c(1, 15)<br>)</pre><pre># Unite the date components into a single column<br>tidy_data &lt;- unite(data, col = &quot;Date&quot;, Year, Month, Day, sep = &quot;-&quot;)</pre><pre>print(tidy_data)</pre><p>The resulting tidy dataset will have a unified “Date” column:</p><p>Date 2020-January-1 2021-February-15</p><h3>Conclusion</h3><p>Tidyr is an indispensable tool for any data wrangler seeking to transform messy, unstructured data into a tidy format. By leveraging its powerful functions, such as gather(), spread(), separate(), and unite(), you can reshape and tidy your datasets effectively. Additionally, Tidyr provides convenient solutions for handling missing values through functions like drop_na() and fill(). With its seamless integration into the Tidyverse ecosystem, Tidyr empowers you to unlock the true potential of your data.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e4d9b608a2ee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[EDA using Tidyverse (dplyr)]]></title>
            <link>https://medium.com/@tirthamutha/eda-using-tidyverse-dplyr-bfd7b16c2be9?source=rss-36784f53b694------2</link>
            <guid isPermaLink="false">https://medium.com/p/bfd7b16c2be9</guid>
            <category><![CDATA[exploratory-data-analysis]]></category>
            <category><![CDATA[r-software]]></category>
            <category><![CDATA[data-manipulation]]></category>
            <category><![CDATA[tidyverse]]></category>
            <category><![CDATA[dplyr]]></category>
            <dc:creator><![CDATA[Tirtha Mutha]]></dc:creator>
            <pubDate>Sat, 30 Dec 2023 14:53:41 GMT</pubDate>
            <atom:updated>2023-12-30T14:53:41.678Z</atom:updated>
            <content:encoded><![CDATA[<p>dplyr is a package in tidyverse that is a helps in data manipulation, providing a consistent set of verbs that helps in solving the most common data manipulation challenges:</p><ul><li><a href="https://dplyr.tidyverse.org/reference/mutate.html">mutate()</a> adds new variables that are functions of existing variables</li><li><a href="https://dplyr.tidyverse.org/reference/select.html">select()</a> picks variables based on their names.</li><li><a href="https://dplyr.tidyverse.org/reference/filter.html">filter()</a> picks cases based on their values.</li><li><a href="https://dplyr.tidyverse.org/reference/summarise.html">summarise()</a> reduces multiple values down to a single summary.</li><li><a href="https://dplyr.tidyverse.org/reference/arrange.html">arrange()</a> changes the ordering of the rows.</li></ul><p>It’s rare that a data analysis involves only a single table of data. Typically you have many tables of data, and you must combine them to answer the questions that you’re interested in. Collectively, multiple tables of data are called relational data because it is the relations, not just the individual datasets.</p><p>To work with relational data you need verbs that work with pairs of tables. There are three families of verbs designed to work with relational data:</p><ul><li>Mutating joins, which add new variables to one data frame from matching observations in another.</li><li>Filtering joins, which filter observations from one data frame based on whether or not they match an observation in the other table.</li><li>Set operations, which treat observations as if they were set elements.</li></ul><p>The most common place to find relational data is in a relational database management system (or RDBMS), a term that encompasses almost all modern databases.</p><p>dplyr is specialized to do data analysis: it makes common data analysis operations easier, at the expense of making it more difficult to do other things that aren’t commonly needed for data analysis.</p><p>I will use the ‘starwars’ package.</p><pre>install.packages(&quot;tidyverse&quot;)<br>library(tidyverse)<br>library(dplyr)<br>data(starwars)</pre><h4>Select:</h4><p>select() is a function from dplyr R package that is used to select data frame variables by name, by index, and also is used to rename variables while selecting, and dropping variables by name.</p><p>Suppose I want to just see the name, height and weight of a character I will type the following command:</p><pre>starwars %&gt;% select(name, height, mass)</pre><p>The output will be as follows:</p><pre># A tibble: 87 × 3<br>   name               height  mass<br>   &lt;chr&gt;               &lt;int&gt; &lt;dbl&gt;<br> 1 Luke Skywalker        172    77<br> 2 C-3PO                 167    75<br> 3 R2-D2                  96    32<br> 4 Darth Vader           202   136<br> 5 Leia Organa           150    49<br> 6 Owen Lars             178   120<br> 7 Beru Whitesun lars    165    75<br> 8 R5-D4                  97    32<br> 9 Biggs Darklighter     183    84<br>10 Obi-Wan Kenobi        182    77<br># ℹ 77 more rows<br># ℹ Use `print(n = ...)` to see more rows</pre><p>If I want all the columns that have color in their heading, I will write the following command:</p><pre>starwars %&gt;% <br>  select(name, ends_with(&quot;color&quot;))</pre><pre># A tibble: 87 × 4<br>   name               hair_color    skin_color  eye_color<br>   &lt;chr&gt;              &lt;chr&gt;         &lt;chr&gt;       &lt;chr&gt;    <br> 1 Luke Skywalker     blond         fair        blue     <br> 2 C-3PO              NA            gold        yellow   <br> 3 R2-D2              NA            white, blue red      <br> 4 Darth Vader        none          white       yellow   <br> 5 Leia Organa        brown         light       brown    <br> 6 Owen Lars          brown, grey   light       blue     <br> 7 Beru Whitesun lars brown         light       blue     <br> 8 R5-D4              NA            white, red  red      <br> 9 Biggs Darklighter  black         light       brown    <br>10 Obi-Wan Kenobi     auburn, white fair        blue-gray<br># ℹ 77 more rows<br># ℹ Use `print(n = ...)` to see more rows</pre><h4>Mutate:</h4><p>We can use the mutate() function to add new variables in the specified data frame. These new variables are added by performing the operations on present variables.</p><p>Suppose I want to find the BMI of all the characters and add its column, I will type the following command:</p><pre>starwars %&gt;% <br>  mutate(name, bmi = mass / ((height / 100)  ^ 2)) %&gt;%<br>  select(name, height, mass, bmi)</pre><pre># A tibble: 87 × 4<br>   name               height  mass   bmi<br>   &lt;chr&gt;               &lt;int&gt; &lt;dbl&gt; &lt;dbl&gt;<br> 1 Luke Skywalker        172    77  26.0<br> 2 C-3PO                 167    75  26.9<br> 3 R2-D2                  96    32  34.7<br> 4 Darth Vader           202   136  33.3<br> 5 Leia Organa           150    49  21.8<br> 6 Owen Lars             178   120  37.9<br> 7 Beru Whitesun lars    165    75  27.5<br> 8 R5-D4                  97    32  34.0<br> 9 Biggs Darklighter     183    84  25.1<br>10 Obi-Wan Kenobi        182    77  23.2<br># ℹ 77 more rows<br># ℹ Use `print(n = ...)` to see more rows</pre><h4>Filter:</h4><p>The filter() function is used to produce a subset of the data frame, retaining all rows that satisfy the specified conditions. The filter() method in R programming language can be applied to both grouped and ungrouped data.</p><p>Suppose I want to find all the characters whose sex is not specified, I will type the following command</p><pre>starwars %&gt;% <br>  filter(sex == &quot;none&quot;)</pre><pre># A tibble: 6 × 14<br>  name   height  mass hair_color skin_color  eye_color birth_year sex   gender    homeworld species films <br>  &lt;chr&gt;   &lt;int&gt; &lt;dbl&gt; &lt;chr&gt;      &lt;chr&gt;       &lt;chr&gt;          &lt;dbl&gt; &lt;chr&gt; &lt;chr&gt;     &lt;chr&gt;     &lt;chr&gt;   &lt;list&gt;<br>1 C-3PO     167    75 NA         gold        yellow           112 none  masculine Tatooine  Droid   &lt;chr&gt; <br>2 R2-D2      96    32 NA         white, blue red               33 none  masculine Naboo     Droid   &lt;chr&gt; <br>3 R5-D4      97    32 NA         white, red  red               NA none  masculine Tatooine  Droid   &lt;chr&gt; <br>4 IG-88     200   140 none       metal       red               15 none  masculine NA        Droid   &lt;chr&gt; <br>5 R4-P17     96    NA none       silver, red red, blue         NA none  feminine  NA        Droid   &lt;chr&gt; <br>6 BB8        NA    NA none       none        black             NA none  masculine NA        Droid   &lt;chr&gt; <br># ℹ 2 more variables: vehicles &lt;list&gt;, starships &lt;list&gt;</pre><h4>Summarise:</h4><p>summarise() creates a new data frame. It returns one row for each combination of grouping variables; if there are no grouping variables, the output will have a single row summarising all observations in the input. It will contain one column for each grouping variable and one column for each of the summary statistics that you have specified.</p><p>Suppose I want to summarize the mean of the height of all species, I will type the following command:</p><pre>starwars %&gt;%<br>  group_by(species) %&gt;%<br>  summarise(<br>    n = n(),<br>    mass = mean(height, na.rm = TRUE)<br>  )</pre><pre># A tibble: 38 × 3<br>   species       n  mass<br>   &lt;chr&gt;     &lt;int&gt; &lt;dbl&gt;<br> 1 Aleena        1   79 <br> 2 Besalisk      1  198 <br> 3 Cerean        1  198 <br> 4 Chagrian      1  196 <br> 5 Clawdite      1  168 <br> 6 Droid         6  131.<br> 7 Dug           1  112 <br> 8 Ewok          1   88 <br> 9 Geonosian     1  183 <br>10 Gungan        3  209.<br># ℹ 28 more rows<br># ℹ Use `print(n = ...)` to see more rows</pre><h4>Arrange:</h4><p>arrange() orders the rows of a data frame by the values of selected columns.</p><p>Suppose I want to arrange characters in ascending and descending order of their birth_year I will type the following command:</p><pre>starwars %&gt;% arrange(birth_year)</pre><pre>A tibble: 87 × 14<br>   name       height  mass hair_color skin_color eye_color birth_year sex   gender homeworld species films<br>   &lt;chr&gt;       &lt;int&gt; &lt;dbl&gt; &lt;chr&gt;      &lt;chr&gt;      &lt;chr&gt;          &lt;dbl&gt; &lt;chr&gt; &lt;chr&gt;  &lt;chr&gt;     &lt;chr&gt;   &lt;lis&gt;<br> 1 Wicket Sy…     88  20   brown      brown      brown            8   male  mascu… Endor     Ewok    &lt;chr&gt;<br> 2 IG-88         200 140   none       metal      red             15   none  mascu… NA        Droid   &lt;chr&gt;<br> 3 Luke Skyw…    172  77   blond      fair       blue            19   male  mascu… Tatooine  Human   &lt;chr&gt;<br> 4 Leia Orga…    150  49   brown      light      brown           19   fema… femin… Alderaan  Human   &lt;chr&gt;<br> 5 Wedge Ant…    170  77   brown      fair       hazel           21   male  mascu… Corellia  Human   &lt;chr&gt;<br> 6 Plo Koon      188  80   none       orange     black           22   male  mascu… Dorin     Kel Dor &lt;chr&gt;<br> 7 Biggs Dar…    183  84   black      light      brown           24   male  mascu… Tatooine  Human   &lt;chr&gt;<br> 8 Han Solo      180  80   brown      fair       brown           29   male  mascu… Corellia  Human   &lt;chr&gt;<br> 9 Lando Cal…    177  79   black      dark       brown           31   male  mascu… Socorro   Human   &lt;chr&gt;<br>10 Boba Fett     183  78.2 black      fair       brown           31.5 male  mascu… Kamino    Human   &lt;chr&gt;<br># ℹ 77 more rows<br># ℹ 2 more variables: vehicles &lt;list&gt;, starships &lt;list&gt;<br># ℹ Use `print(n = ...)` to see more rows</pre><pre>starwars %&gt;% arrange(desc(birth_year))</pre><pre>A tibble: 87 × 14<br>   name       height  mass hair_color skin_color eye_color birth_year sex   gender homeworld species films<br>   &lt;chr&gt;       &lt;int&gt; &lt;dbl&gt; &lt;chr&gt;      &lt;chr&gt;      &lt;chr&gt;          &lt;dbl&gt; &lt;chr&gt; &lt;chr&gt;  &lt;chr&gt;     &lt;chr&gt;   &lt;lis&gt;<br> 1 Yoda           66    17 white      green      brown            896 male  mascu… NA        Yoda&#39;s… &lt;chr&gt;<br> 2 Jabba Des…    175  1358 NA         green-tan… orange           600 herm… mascu… Nal Hutta Hutt    &lt;chr&gt;<br> 3 Chewbacca     228   112 brown      unknown    blue             200 male  mascu… Kashyyyk  Wookiee &lt;chr&gt;<br> 4 C-3PO         167    75 NA         gold       yellow           112 none  mascu… Tatooine  Droid   &lt;chr&gt;<br> 5 Dooku         193    80 white      fair       brown            102 male  mascu… Serenno   Human   &lt;chr&gt;<br> 6 Qui-Gon J…    193    89 brown      fair       blue              92 male  mascu… NA        Human   &lt;chr&gt;<br> 7 Ki-Adi-Mu…    198    82 white      pale       yellow            92 male  mascu… Cerea     Cerean  &lt;chr&gt;<br> 8 Finis Val…    170    NA blond      fair       blue              91 male  mascu… Coruscant Human   &lt;chr&gt;<br> 9 Palpatine     170    75 grey       pale       yellow            82 male  mascu… Naboo     Human   &lt;chr&gt;<br>10 Cliegg La…    183    NA brown      fair       blue              82 male  mascu… Tatooine  Human   &lt;chr&gt;<br># ℹ 77 more rows<br># ℹ 2 more variables: vehicles &lt;list&gt;, starships &lt;list&gt;<br># ℹ Use `print(n = ...)` to see more rows</pre><p>Now let’s take it up a notch</p><p>If I want to filter the “starwars” dataset in R for humans in the species, calculate their BMI, and arrange them in descending order, I will write the following code:</p><pre>starwars %&gt;% <br>  filter(species == &quot;Human&quot;) %&gt;% <br>  mutate(BMI = mass / ((height/100)^2)) %&gt;% <br>  select(name, BMI) %&gt;% <br>  arrange(desc(BMI))</pre><pre># A tibble: 35 × 2<br>   name                 BMI<br>   &lt;chr&gt;              &lt;dbl&gt;<br> 1 Owen Lars           37.9<br> 2 Jek Tono Porkins    34.0<br> 3 Darth Vader         33.3<br> 4 Beru Whitesun lars  27.5<br> 5 Wedge Antilles      26.6<br> 6 Luke Skywalker      26.0<br> 7 Palpatine           26.0<br> 8 Lobot               25.8<br> 9 Lando Calrissian    25.2<br>10 Biggs Darklighter   25.1<br># ℹ 25 more rows<br># ℹ Use `print(n = ...)` to see more rows</pre><p>In this code, I first filter the dataset to include only the “Human” species. Then, I used the mutate() function to create a new column “BMI” by calculating the body mass index using the formula weight (in kg) divided by the square of height (in meters). Finally, I use the arrange() function to sort the resulting dataset by BMI in descending order, which will arrange the human characters based on their BMI from highest to lowest.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bfd7b16c2be9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>