<?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 Niao on Medium]]></title>
        <description><![CDATA[Stories by Niao on Medium]]></description>
        <link>https://medium.com/@Niaoo?source=rss-d55eaf80e81e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*GiZRg02H-1cVjUuoPHNZqg.jpeg</url>
            <title>Stories by Niao on Medium</title>
            <link>https://medium.com/@Niaoo?source=rss-d55eaf80e81e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:41:30 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Niaoo/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[Why Average Likes Can Mislead: Lessons from One Valorant Thread]]></title>
            <link>https://medium.com/@Niaoo/why-average-likes-can-mislead-lessons-from-one-valorant-thread-c3465838bba0?source=rss-d55eaf80e81e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3465838bba0</guid>
            <category><![CDATA[descriptive-statistics]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[behaviour]]></category>
            <dc:creator><![CDATA[Niao]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 11:41:51 GMT</pubDate>
            <atom:updated>2026-11-17T11:41:51.603Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Reading the spread of likes and user responses on Threads with statistics and probability</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a4ZT83zn2u8uJQtXaA3DSw.jpeg" /><figcaption>source :<a href="https://gnn.gamer.com.tw/detail.php?sn=298133">https://gnn.gamer.com.tw/detail.php?sn=298133</a></figcaption></figure><h3>One player, one abandoned match</h3><p>On March 9, 2026, a Valorant player wrote on Threads that they had left a match in progress. In their story, a teammate playing the agent Phoenix kept asking for their weapon skins. After the request was refused, the teammate was said to have deliberately disrupted their game: not helping when they fought, using a abilities on them, and following them closely until they were cornered.</p><p>When I looked at it, the original post showed 96 likes and 39 replies. The story is interesting, but I also wanted to see how other users responded to it. Is attention really spread across many replies, or is it concentrated on just a few posts?</p><h3>Why analyze this thread with numbers?</h3><p>Reading the replies one by one gives the impression that this thread is lively. Some users were annoyed along with the author, some gave advice, some told similar experiences, and some joked. But a lively impression does not necessarily match what the data says. The number of likes is often used to see how much attention a post receives, but that number needs to be read carefully.</p><p>There are two questions to answer. <strong>First</strong>, how are likes spread in this thread, and does the mean describe most entries? <strong>Second</strong>, how many entries received at least one like, and does the result differ between the original author’s posts and the replies from other users?</p><p>In this article, an <strong>entry</strong> means one post or one reply included in the data. This article was written for a university assignment in Statistics and Probability. Its goal is not to prove that Valorant makes players toxic. One thread is not enough to prove a cause-and-effect relationship. I simply use data from one conversation to see how statistics and probability help in reading interaction on social media.</p><h3>Data and how it was processed</h3><h4>From scraping to 26 entries</h4><p>The data was collected with a scraper app provided by my lecturer. I entered the thread link into the app, and the collected data was saved in a spreadsheet. It contains the account name, time, text of the post or reply, number of likes, reposts, and shares. The analysis in this article mainly uses the text and the number of likes.</p><p>The initial data had 31 rows. The timestamps were converted from UTC to WIB (UTC+7) to match the time shown on Threads. The <strong>Replies</strong> column in the app’s output was 0 in every row, even though the original post on Threads shows 39 replies. For that reason, this column was not used to count replies. The number of replies captured was counted from the post and reply rows that actually appear in the data.</p><p>After checking, 26 entries were used: three posts by the original author that form the thread chain, four replies from the author to other users, and 19 replies from other users. So 23 replies were captured by the app, or about 59% of the 39 replies shown by Threads. This means the data analyzed does not yet cover the whole conversation.</p><p>The distinction between the author’s posts and other users’ replies matters. The author’s posts are at the start of the thread, so they are usually easier to see for people who open the conversation.</p><h4>Why were five entries removed?</h4><p>Of the initial 31 rows, five entries were not included in the main analysis. All five are dated October 18 to November 13, 2026, about seven to eight months after the thread was created. Their content is about complaints regarding Valorant teammates in general, and they do not appear to respond to the main story about the skin request or the Phoenix player.</p><p>The app does not show information that confirms which post a given entry is replying to. For that reason, the decision to remove those five entries was based on timing and text content, not technical certainty. If those five entries were included, the mean number of likes would be 225 ÷ 31 = <strong>7.26</strong>, while the median would remain <strong>1</strong>. This difference shows that the decision about which data to include can also affect the results of the analysis.</p><h4>How the replies were grouped</h4><p>To see the types of responses from users, the 19 replies from other users were grouped into four categories. Each reply was given only one main category:</p><ul><li><strong>Empathy:</strong> shows support, understands the author’s frustration, or condemns the behavior described.</li><li><strong>Advice or solutions:</strong> suggests an action, for example reporting the player or pretending to be inactive.</li><li><strong>Sharing experience:</strong> tells a similar event or personal experience.</li><li><strong>Neutral or joking:</strong> does not show clear support or advice, or is more of a light conversation.</li></ul><p>This grouping was done manually by me, so it can still be influenced by personal judgment. For that reason, the category results will be read as a picture of this data, not as an absolute assessment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*k9L7ajuVvLUYALz9" /><figcaption>Photo by <a href="https://unsplash.com/@pyssling240?utm_source=medium&amp;utm_medium=referral">Thomas T</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Stage one: what does the spread of likes look like?</h3><p>Before calculating, the likes data was sorted from smallest to largest. The result is: <strong>0 likes for 12 entries, 1 like for 4 entries, 2 likes for 3 entries, 3 likes for 2 entries, and then one entry each with 5, 9, 19, 20, and 96 likes.</strong></p><h4>1. The mean: a first picture</h4><p>Rata-rata digunakan untuk mengetahui jumlah likes jika seluruh likes dibagi sama rata ke semua entri. Angka ini memberi gambaran awal tentang tingkat interaksi dalam data.</p><blockquote>Formula :</blockquote><blockquote>Mean = total likes ÷ number of entries</blockquote><blockquote>Calculation :</blockquote><blockquote>165 ÷ 26 = 6.35 likes per entry</blockquote><p>The total number of likes is 165 and the number of data points is 26. So if shared out equally, each entry gets about 6.35 likes.</p><p><strong>What does it mean?</strong> At first glance, 6.35 gives the impression that this thread is fairly lively. However, the mean does not always show the condition of most entries. Of the 26 entries, 12 received no likes at all and 22 received 5 likes or fewer.</p><p>The cause can be seen in one much higher number, which is 96 likes. To see its effect, we can recalculate the mean without that entry. This is only a comparison, not a suggestion that the 96-like entry should be deleted.</p><blockquote>(165 − 96) ÷ 25 = <strong>2.76 likes per entry</strong></blockquote><p>The mean falls from 6.35 to 2.76 after the single entry with 96 likes is left out of the calculation. In other words, one very high value can pull the mean upward.</p><p><strong>Link to the research:</strong> the mean is useful as a first picture, but it does not necessarily represent most entries. For that reason, the result needs to be compared with the median and the mode.</p><h4>2. The median: the middle value</h4><p>The median is the value in the middle after all the data is sorted. It is useful as a comparison because it does not change easily just because of one very high or very low value.</p><blockquote><strong>Formula:</strong> because the number of data points is even, the median is the average of the 13th and 14th values.</blockquote><blockquote>Median = (13th value + 14th value) ÷ 2</blockquote><blockquote><strong>Calculation:</strong> the first 12 values are 0, while the 13th to 16th values are 1. So the 13th and 14th values are both 1.</blockquote><blockquote>Median = (1 + 1) ÷ 2 = <strong>1 like</strong></blockquote><p><strong>What does it mean?</strong> The middle value of the number of likes is 1. In addition, 16 of 26 entries (61.5%) received 1 like or fewer.</p><p><strong>Link to the research:</strong> a median of 1 is far lower than a mean of 6.35. This difference shows that the mean is pushed up by a few entries with high likes. The median gives a picture closer to the middle of the data.</p><h4>3. The mode: the value that appears most often</h4><p>The mode is the value found most often. In this study, the mode helps show the most common number of likes among the collected entries.</p><blockquote><strong>Formula:</strong></blockquote><blockquote><em>Mode = the value with the highest frequency</em></blockquote><blockquote><strong>Calculation:</strong> the value 0 appears 12 times. No other value appears that often.</blockquote><blockquote><em>12 ÷ 26 × 100% = </em><strong><em>46.2%</em></strong></blockquote><p><strong>What does it mean?</strong> The number of likes found most often is 0. A total of 46.2% of entries received no likes at all. This is the largest group, although it does not reach half of all the data.</p><p><strong>Link to the research:</strong> the mode reinforces the picture that many entries have a low number of likes. Together with the median and the mean, this result shows that likes are not spread evenly.</p><h4>4. Quartiles and the IQR: looking at the middle of the data</h4><p>Quartiles split the sorted data into four parts. Q1 marks the boundary for the lowest quarter of the data, while Q3 marks the boundary for three quarters of the data. The distance between Q1 and Q3 is called the <strong>IQR</strong>. This value shows the range in which the middle half of the data sits.</p><p>To calculate it, I used the following quartile position method:</p><blockquote><em>Quartile position = 1 + p × (n − 1)</em></blockquote><p>The letter p is 0.25 for Q1 and 0.75 for Q3. The letter n is the number of data points, which is 26.</p><p><strong>Calculation of Q1:</strong></p><blockquote><em>Position of Q1 = 1 + 0.25 × 25 = 7.25</em></blockquote><p>The 7th and 8th values are both 0, so <strong>Q1 = 0</strong>.</p><p><strong>Calculation of Q3:</strong></p><blockquote><em>Position of Q3 = 1 + 0.75 × 25 = 19.75</em></blockquote><p>The 19th value is 2 and the 20th value is 3. Position 19.75 lies 75% of the way between 2 and 3, so:</p><blockquote><em>Q3 = 2 + 0.75 × (3 − 2) = </em><strong><em>2.75</em></strong></blockquote><p>The IQR is calculated by subtracting Q1 from Q3:</p><blockquote><em>IQR = Q3 − Q1 = 2.75 − 0 = </em><strong><em>2.75</em></strong></blockquote><p><strong>What does it mean?</strong> The middle half of the data lies in the range 0 to 2.75 likes. This range is quite narrow compared with the highest value, which is 96 likes.</p><p><strong>Link to the research:</strong> the IQR helps show how wide the middle of the data is spread. It is also used to set the limit for values that are far from most of the data.</p><h4>5. Values far from most of the data (outliers)</h4><p>An outlier is a value that lies far from most of the data. In this case, we look for entries with a number of likes far higher than the other entries.</p><p><strong>Formula for the lower and upper limits:</strong></p><blockquote><em>Lower limit = Q1 − 1.5 × IQR<br>Upper limit = Q3 + 1.5 × IQR</em></blockquote><p><strong>Calculation:</strong></p><blockquote><em>Lower limit = 0 − (1.5 × 2.75) = </em><strong><em>−4.125</em></strong><em><br>Upper limit = 2.75 + (1.5 × 2.75) = </em><strong><em>6.875</em></strong></blockquote><p>All like counts are 0 or more, so no data falls below the lower limit. Meanwhile, four values exceed the upper limit of 6.875, namely <strong>9, 19, 20, and 96 likes</strong>. That is 4 of 26 entries, or 15.4%.</p><p><strong>What does it mean?</strong> Three of the four entries are the original author’s posts, with 96, 19, and 20 likes. Together they collected 135 of the total 165 likes.</p><blockquote><em>135 ÷ 165 × 100% = </em><strong><em>81.8%</em></strong></blockquote><p>Yet those three posts are only 3 of 26 entries (11.5%). So most of the likes are gathered by a few posts at the start of the thread.</p><p><strong>Link to the research:</strong> this is one reason the mean looks high. The value 96 is not a data error, so it was not deleted. On the contrary, it helps explain why the number of likes looks so unequal. Note: the quartile results can differ slightly if another calculation method is used. With another method that gives Q3 = 3, the same four values still lie above the outlier limit.</p><h4>6. The standard deviation: how spread out are the likes?</h4><p>The standard deviation is used to see how far the data values are spread from their mean. The larger the standard deviation, the more varied or uneven the data values are.</p><p><strong>Formula for the sample standard deviation:</strong></p><blockquote><em>s = √[sum of (likes − mean)² ÷ (n − 1)]</em></blockquote><p>The sample formula uses n − 1 as the divisor. In this data, n = 26, so the divisor is 25.</p><p><strong>Calculation:</strong> the sum of the squared differences between each like count and the mean is 9,069.88.</p><blockquote><em>s = √(9,069.88 ÷ 25) = √362.80 = </em><strong><em>19.05</em></strong></blockquote><p><strong>What does it mean?</strong> A standard deviation of 19.05 is larger than the mean of 6.35. This shows that the number of likes in the data is very spread out and uneven. Very high values, especially 96 likes, add to this spread.</p><p><strong>Link to the research:</strong> the standard deviation supports the results of the mean, median, mode, and outliers: attention in this thread is not shared equally among all entries.</p><p>Keep in mind that the sample standard deviation formula is used here to summarize the variation in the 26 entries collected. Because the data comes from one thread and was not chosen at random, the result cannot be taken to represent all Threads users or all Valorant players.</p><h4>7. The frequency distribution: seeing the spread at a glance</h4><p>To make the spread of likes easier to read, the data was grouped into four ranges. These group boundaries were made to summarize the number of likes, not to indicate official categories from Threads.</p><p><strong>Formula for the percentage:</strong></p><blockquote><em>Percentage = number of entries in the group ÷ 26 × 100%</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/342/1*j49jGg7vxRRTwbfVq7fIew.png" /></figure><p><strong>What does it mean?</strong> A total of 22 of 26 entries (84.6%) received only 5 likes or fewer. Only one entry received more than 20 likes.</p><p><strong>Link to the research:</strong> the frequency distribution makes it clearer that most entries receive few likes. So the mean of 6.35 does not describe the condition of most entries well.</p><h3>Stage two: who and which type of reply gets liked more often?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cfBKClwUOAv9XRbW" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>In the previous part, we saw that the number of likes is very unequal. For that reason, this part does not only look at how many likes were received, but also at whether an entry received at least one like. This way, an entry with 96 likes and an entry with 1 like both go into the group “received a like”.</p><h4>1. Probability based on the collected data</h4><p>Empirical probability is a probability calculated from events that were actually found in the data. Here, probability is used to answer: if one entry is picked at random from the 26 entries analyzed, how likely is it to have at least one like?</p><p><strong>Formula:</strong></p><blockquote><em>P(A) = number of entries with at least 1 like ÷ total number of entries</em></blockquote><p>The letter A stands for the event “the entry received at least 1 like”.</p><p><strong>Calculation:</strong> 14 entries received at least 1 like out of a total of 26 entries.</p><blockquote><em>P(A) = 14 ÷ 26 = 0.538 = </em><strong><em>53.8%</em></strong></blockquote><p><strong>What does it mean?</strong> If one entry is picked at random from these 26 entries, the probability that it received at least one like is about 53.8%.</p><p><strong>Link to the research:</strong> this number gives a first picture, but it does not yet show whether the author’s posts and other users’ replies have the same probability. For that reason, the data is split into two groups next.</p><h4>2. Probability within a given group: the original author and other users</h4><p>Conditional probability is the probability of an event once the group has been specified. In this part, we compare the probability of receiving at least one like in two groups: the original author’s entries and replies from other users.</p><p><strong>Formula:</strong></p><blockquote><em>P(A | B) = number of entries in group B with at least 1 like ÷ total number of entries in group B</em></blockquote><p>The letter A means “received at least 1 like”, while the letter B means the group being examined.</p><p><strong>Calculation:</strong></p><ul><li><strong>The original author’s entries:</strong> 5 of 7 entries received at least 1 like: 5 ÷ 7 = <strong>71.4%</strong></li><li><strong>Replies from other users:</strong> 9 of 19 replies received at least 1 like: 9 ÷ 19 = <strong>47.4%</strong></li></ul><p><strong>What does it mean?</strong> In this data, the original author’s entries were liked more often than replies from other users.</p><p>However, this result needs to be read carefully. There are only seven entries from the original author, and those posts are at the start of the thread, so they are easier to see. So the difference does not necessarily happen because people like the content of the author’s posts more.</p><p><strong>Link to the research:</strong> this comparison shows that the position of a post can also affect the number of likes. To be fairer, we also need to compare replies from other users based on what they say.</p><h4>3. Probability by type of reply</h4><p>Of the 19 replies from other users, I wanted to see which type of reply more often receives at least one like. The calculation uses the same method, but the groups are now based on the content of the replies.</p><p><strong>Formula:</strong></p><blockquote><em>Probability of receiving a like within a type of reply = number of replies of that type with at least 1 like ÷ total number of replies of that type</em></blockquote><p>Results of the calculation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*2MceVhFz3AQRoS9Ss1DAhQ.png" /></figure><p>For example, of the six replies in the empathy category, five received at least one like.</p><blockquote><em>5 ÷ 6 = </em><strong><em>83.3%</em></strong></blockquote><p>The average likes per type of reply is calculated by dividing the total likes in that type by its number of replies. For example, the empathy category received a total of 15 likes from six replies.</p><blockquote><em>15 ÷ 6 = </em><strong><em>2.50 likes per reply</em></strong></blockquote><p><strong>What does it mean?</strong> In this thread, replies that show empathy have the highest probability of receiving a like, at 83.3%. Replies containing advice or solutions have a probability of 33.3%, while neutral or joking replies received no likes in the collected data.</p><p><strong>Link to the research:</strong> this result gives a picture of which type of response received the most likes in that thread. However, the number of replies is small, so the result cannot yet be generalized to other conversations.</p><h4>4. Does the result change if the categories change?</h4><p>The grouping of reply content was done manually. Some comments could be considered empathy and advice at the same time, or empathy and a personal experience. To see whether the conclusion changes easily, I tried several other possible groupings.</p><ul><li>If one reply that was originally in the advice or solutions category is moved to the empathy category, the result becomes 6 of 7 empathy replies receiving a like (85.7%). The group of replies other than empathy becomes 3 of 12 (25.0%).</li><li>If two empathy replies that also contain a complaint or personal experience are moved to the sharing experience category, the result becomes 3 of 4 empathy replies receiving a like (75.0%). The group other than empathy becomes 6 of 15 (40.0%).</li></ul><p><strong>What does it mean?</strong> The percentages change, but in both trials the empathy category still has a higher percentage of replies receiving a like than the other group.</p><p><strong>Link to the research:</strong> this check shows that the category results are still affected by how the comments were grouped. For that reason, these numbers should be read as a pattern from the grouping I used, not as an exact measure of users’ attitudes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vPwylwF91gnP7Kjg" /><figcaption>Photo by <a href="https://unsplash.com/@thisisengineering?utm_source=medium&amp;utm_medium=referral">ThisisEngineering</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Discussion: what can we learn from these numbers?</h3><h4>There are three main points from the analysis.</h4><p><strong>First, likes are not spread evenly.</strong> A mean of 6.35 likes gives the impression that the thread is fairly lively. However, the median is only 1, the mode is 0, and 84.6% of entries received 5 likes or fewer. The author’s first three posts collected 81.8% of all likes. Their position at the start of the thread may make them easier to see. So the number of likes is related not only to content, but can also be affected by the position and reach of a post.</p><p><strong>Second, empathy replies most often received a like in this data.</strong> A total of 5 of 6 empathy replies received at least one like. This is higher than the advice, experience, or neutral categories. One possibility is that readers felt more represented by replies that understood the author’s frustration. However, a like does not always mean agreement, and this data does not explain why each person pressed the like button.</p><p><strong>Third, users gave a variety of responses to the behavior described.</strong> Some suggested reporting the player, some told similar experiences, and some supported the author. Several replies said they had come across that kind of behavior. Still, those stories are personal experiences in one thread, not a measure of how often toxic behavior happens across the whole Valorant community.</p><h3>Limitations</h3><p>The results of this study need to be read carefully for several reasons:</p><ul><li>The data comes from one thread and contains 26 entries that were successfully collected.</li><li>The app captured only 23 of the 39 replies shown by Threads. The replies that were not captured may have different content or numbers of likes.</li><li>Five entries were removed based on timing and content because they did not appear to be directly related to the main story. The app does not provide information that technically confirms how replies are related.</li><li>The grouping of reply content was done manually by one person, so differences in judgment are still possible.</li><li>The number of likes can change after the data was collected. The position of a post can also affect how easily it is seen.</li><li>This data was not chosen at random from all Threads users or Valorant players. For that reason, the results cannot be used to represent the whole community.</li></ul><h3>Conclusion</h3><p>From this one Valorant thread, we can see that the mean number of likes can give a misleading picture if read alone. The mean reaches 6.35, but the median is only 1 and the mode is 0. A total of 84.6% of entries received 5 likes or fewer, while the author’s first three posts collected 81.8% of all likes.</p><p>The probability analysis also shows that 53.8% of entries in the data received at least one like. Split by group, 71.4% of the original author’s entries received a like, compared with 47.4% of replies from other users. Among replies from other users, the empathy category had the highest percentage: 83.3% received at least one like.</p><p>These results are not proof that Valorant causes toxic behavior, and they cannot describe the whole community. But this example shows the value of statistics and probability: they help us read social media numbers more carefully, compare several measures, and avoid jumping to conclusions.</p><h3>Reference</h3><ul><li>jobas5. (n.d.). <em>Thread Scrapper</em> [Computer software]. GitHub. <a href="https://github.com/jobas5/thread-scrapper">https://github.com/jobas5/thread-scrapper</a></li><li>@heymikibo. (n.d.). <em>left an in-progress valorant match due to a super toxic phoenix player who was purposely trying to kill me because i wouldn’t give him my skins…</em> [Threads post]. Threads. <a href="https://www.threads.com/@heymikibo/post/DVotsQyk6w4">https://www.threads.com/@heymikibo/post/DVotsQyk6w4</a></li></ul><h3>AI Disclosure</h3><p>This article was written with the assistance of <strong>Claude 5.5 Sonnet (Free)</strong> and <strong>ChatGPT (Free)</strong> as collaborative tools to refine the writing structure, verify statistical formulas, and simplify technical explanations for better readability. All data collection, sample cleaning, and final interpretations were curated and validated directly by the author.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3465838bba0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Screen Time, Sleep, and Happiness: What 500 Social Media Users Tell Us About Wellbeing]]></title>
            <link>https://medium.com/@Niaoo/screen-time-sleep-and-happiness-what-500-social-media-users-tell-us-about-wellbeing-35edd8ff915e?source=rss-d55eaf80e81e------2</link>
            <guid isPermaLink="false">https://medium.com/p/35edd8ff915e</guid>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[data-analyst]]></category>
            <category><![CDATA[sleep]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Niao]]></dc:creator>
            <pubDate>Tue, 29 Sep 2026 15:39:48 GMT</pubDate>
            <atom:updated>2026-09-29T15:39:48.236Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7w2-0KVF-eF_EZoKfOAchg.png" /><figcaption>Disclaimer : Photo generated by AI</figcaption></figure><h3>Introduction</h3><p>Everyone has experienced this before “One more episode, one more scroll, one more “five more minutes” those five minutes turn into forty, and the phone that was supposed to help you relax and unwind ends up cutting you hours of sleep instead. That small, repetitive trade-off sits at the center of a much bigger debate: is social media itself making people less happy, or is it simply stealing the sleep that happiness depends on? Headlines and media often blame the screen. This article tests that assumption against real data, using two independent, real datasets. The first one is the “Mental Health &amp; Social Media Balance Dataset” (Kaggle, Prince Rajak, 2024), which tracks 500 respondents daily screen time, sleep quality, stress level, and self-reported happiness (1–10). The second is the “Social Media Balance Dataset (Kaggle, Souvik &amp; Muhesena, 2023), with 481 respondents from a university statistics course survey, using 1–5 likert scale questions about sleep problems and depressed mood.</p><p>Using two differently collected datasets isn’t a complication, it’s a chance to check whether the same pattern holds up twice, with different people, different questions, and different measurement scales. Rather than stopping at a single scatter plot, the analysis below moves through descriptive statistics, a bivariate correlation, and a conditional-probability calculation run once on each dataset to pit two explanations directly against each other, screen time versus sleep, and the result turns out to be more specific than the usual headline.</p><h3><strong>Introduction to Statistics</strong></h3><p>Both datasets are samples, not the full population of social media users worldwide. The first dataset (Dataset A) with 500 respondents and the second dataset (Dataset B) with 481 respondents were reached through a specific survey effort. Dataset B explicitly originated as a university statistic-course project, so its respondents likely skew toward students and young adults rather than the global population. Any pattern found here is an estimate about that wider population, not a guaranteed universal fact. Whatever pattern shows up in this sample is our best estimate of the wider population, not a guaranteed fact about every social media user on earth. Different people for dataset A and B, surveyed in a different country or age group, could show a somewhat different pattern.</p><p>The datasets also mix different types of data. Numerical variables such as Daily screen time (hours) and the happiness index (1–10), so means and standard deviations are valid. Sleep quality (Good/Poor) and stress level (Low/Medium/High) are categorical variables, we can only count and compare groups, not average them directly. Dataset B’s sleep and mood questions are answered on a 1–5 likert scale, which are ordinal categorical data, and its screen time question is a binned category (e.g., “Between 2 and 3 hours”). Recognizing this distinction is what lets each dataset be analyzed with the right tool below, rather than forcing both into the same formula.</p><h3><strong>Descriptive Statistics</strong></h3><p>Table 1 shows the first few rows of <a href="https://docs.google.com/spreadsheets/d/1YuzvuWEQvBKfD7tObH6RUiYhSma5lGXp6dkOvyoPRvc/edit?usp=sharing">Dataset A</a> (Mental Health and Social Media Balance Dataset, n = 500):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/933/1*FIxwaZaWDwi3d3tdYZscJA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/724/1*Xbv8LgRT0ILhZwVYXYtA1Q.png" /><figcaption><em>Figure 1. Sample of 500 respondents from Dataset A, Happiness Index (4–10)</em></figcaption></figure><h4>Calculation 1 — Happiness Index, Dataset A (n=500): Mean = 8.376. Median = 9. Mode = 10. Standard Deviation = 1.52</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*49SUZ_kbRnQR_1PNgQBXDA.png" /></figure><h4>Calculation 2 — Daily Screen Time, Dataset A (n=500): Mean — 5.53 hours. Standard deviation = 1.73 hours</h4><blockquote>For Comparison, Dataset B (n=481, 1–5 scale): Sleep-issue frequency — Mean = 3.20. Median = 3. Mode = 5. Standard Deviation = 1.46. Depressed-mood frequency — Mean = 3.26. Median = 3. Mode = 3. Standard Deviation = 1.31.</blockquote><blockquote>In Dataset A, the mean and median of happiness index scores sit close together (8.376 vs 9), so the distribution leans high rather than being symmetric. Most respondents report high happiness, with a smaller group pulling the average down. Screentime averages 5.53 hours a day with a standard deviation of about 1.7 hours, meaning most respondents cluster between roughly 4 and 7 hours. Dataset B’s sleep-issue and depressed-mood scores both centers right around the midpoint of the 1–5 scale (Median = 3), with the sleep-issue mode at the most extreme value (5), suggesting a meaningful cluster of respondents who struggle with sleep often.</blockquote><h3><strong>Data Visualization</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*19DR-mf_3xqXX8UbdgC_0g.png" /><figcaption><em>Figure 2. Sample of 150 respondents from Dataset A, colored by sleep quality.</em></figcaption></figure><h3><strong>Bivariate Analysis</strong></h3><p>In Dataset A, three variables all correlate strongly with happiness:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*Q9nIFSd6gHEunzHn8DdiqA.png" /></figure><p>At first glance this looks like screen time is just as much a villain as poor sleep. But these three predictors are also tightly correlated with each other. Screen time vs sleep quality is r = -0.76, and screen time vs stress is r = +0.74. In other words, people who use social media more also tend to sleep worse and feel more stressed, all at once. A single dataset can’t cleanly tell us which of these three is doing the real work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*HwLdfFKlXNQ-NZiMpaqJqA.png" /><figcaption><em>Figure 3. Every correlation coefficient (r) discussed in the bivariate analysis section.</em></figcaption></figure><p>This is where Dataset B becomes useful as an independent check. Grouping its 481 real respondents by screen-time category, the average sleep issue score rises steadily, from 2.56 (less than 1 hour/day) up to 3.45(more than 5 hours/day), and sleep-issue frequency correlates with depressed-mood frequency at r = 0.375. That’s a weaker correlation than Dataset A’s, which makes sense. Dataset B is messier, real-world self-report data from a student survey, while Dataset A’s unusually strong, evenly sized correlations across every variable pair suggest it may be a cleaner, purpose-built teaching dataset. Two different data-collection processes, two different correlation strengths but the same direction of relationships both times.</p><h3><strong>Basic Probability</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*hV5FI1sNyG4g-Hwfbdnn2g.png" /><figcaption><em>Figure 4. Green = good-sleep group, orange = poor-sleep group, across both datasets.</em></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/925/1*z-NQRhEK6uQ1r2E_plVY7Q.png" /></figure><p>Meaning people with good sleep are 1.75 times as likely to be happy as people with poor sleep (94.67% vs 54.18%)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*bVepveVRlTC6x_vI_7qWgg.png" /></figure><p>Meaning people with frequent sleep issues are 1.77 times as likely to report being often depressed as people with infrequent sleep issues (57.9% vs 32.8%).</p><h3><strong>Learning Reflection</strong></h3><p>In both datasets, P(H | A) is far from P(H) and from P(H | not A), sleep and mood are clearly not independent events. What’s striking is how close the two ratios land. 1.75x in Dataset A and 1.77x in Dataset B, which counts as a moderate to fairly strong association. Despite completely different populations, question wording, and 1–10 vs 1–5 scales. A peer-reviewed analysis of Dataset A itself (Ginting &amp; Suci, 2026) reports an even larger, regression adjusted odds ratio of 5.6x for good sleepers reporting healthy wellbeing, after statistically controlling for screen time and stress simultaneously. Our simpler ratio is smaller because it’s an unadjusted conditional probability rather than a multivariable adjusted odds ratio, but the direction and the conclusion (sleep quality dominates) match published, peer reviewed findings on the same data.</p><p>The team expected combining two datasets to complicate this article, but it did the opposite, it made the conclusion more trustworthy. Dataset A alone would have let me claim that screen time, sleep, and stress are all equally powerful predictors, since their correlations with happiness were all similarly strong. Only by checking Dataset B, an independently collected real survey, did the picture sharpen. Two completely different studies land on a similar-sized gap (about 1.75–1.77x) between people with good vs poor sleep. That agreement across two unrelated datasets is more convincing to us than either dataset alone would have been.</p><p>The team also learned to be honest about limitations. Both datasets are self-reported and correlational. Dataset A’s unusually clean correlations hint it may be a synthetic or teaching-oriented dataset rather than raw field data, and Dataset B likely over represents students. None of this proves that screen time or sleep causes happiness. Only that they move together, consistently, across two real samples.</p><h3><strong>Conclusion</strong></h3><p>Across two independently collected, real datasets measuring different populations with different scales, people with poor sleep were consistently around 1.75–1.77 times less likely to report good mood than people with good sleep. A pattern that also matches a peer-reviewed regression analysis of Dataset A. Screen time, sleep, and stress are tangled together in this data, but sleep quality is the variable that shows up as decisive every time it’s tested directly. If there’s one practical takeaway, it’s that protecting sleep may matter more for happiness than screen time alone.</p><h3><strong>References</strong></h3><blockquote>1. Prince Rajak. (2024). <em>Mental Health and Social Media Balance Dataset</em>. Kaggle. <a href="https://www.kaggle.com/datasets/prince7489/mental-health-and-social-media-balance-dataset?resource=download">https://www.kaggle.com/datasets/prince7489/mental-health-and-social-media-balance-dataset</a></blockquote><blockquote>2. Souvik &amp; Muhesena. (2023) <em>Social Media and Mental Health</em>. Kaggle. <a href="https://www.kaggle.com/datasets/souvikahmed071/social-media-and-mental-health">https://www.kaggle.com/datasets/souvikahmed071/social-media-and-mental-health</a></blockquote><blockquote>3. Ginting, J. B., Suci, T., Kaban, K., &amp; Nurhayti, E. (2026). Analysis of Dominant Factors Affecting the Mental Health of Social Media Users. <em>Jurnal Kesmas Prima Indonesia</em>, <em>10</em>(1), 88–103. Retrieved from <a href="https://jurnal.unprimdn.ac.id/index.php/JKPI/article/view/7953">https://jurnal.unprimdn.ac.id/index.php/JKPI/article/view/7953</a></blockquote><h3><strong>AI Disclosure</strong></h3><blockquote>Tool: Claude</blockquote><blockquote>Purpose: Help restructure the article and recalculate some calculations</blockquote><blockquote>Verification: Re-ran key calculations after the teams own calculation and can explain numbers and formula for this article.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35edd8ff915e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[SekaiCTF : oneline6ryp7o WriteUp]]></title>
            <link>https://medium.com/@Niaoo/sekaictf-oneline6ryp7o-writeup-a86024f7a801?source=rss-d55eaf80e81e------2</link>
            <guid isPermaLink="false">https://medium.com/p/a86024f7a801</guid>
            <category><![CDATA[ctf-writeup]]></category>
            <dc:creator><![CDATA[Niao]]></dc:creator>
            <pubDate>Mon, 29 Jun 2026 08:08:33 GMT</pubDate>
            <atom:updated>2026-07-14T13:47:03.998Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>assert __import__(‘re’).match(‘SEKAI{[67]{67}}$’,flag:=input()) and not int.from_bytes(flag.encode())%~(6+~7)**67</strong></h4><p>We start by analyzing the code, <strong>match(‘SEKAI{[67]{67}}$</strong> , flag must be start from <strong>SEKAI{</strong> end with <strong>}</strong> combination of 6 and 7, and 67 digits.</p><p>Next up is the modulo part <strong>%~(6+~7)**67 </strong>which the answer is <strong>147.573.952.589.676.412.927 </strong>or <strong>2⁶⁷-1</strong>. <br>With a little help from AI, i found out that the result of <strong>%2⁶⁷-1 must be 0</strong><br>*<strong>not int.from_bytes(flag.encode(…</strong> means if its 0, its true</p><p>This is where the neat trick comes in. In computer logic, changing the character 6 (ASCII 54) to 7 (ASCII 55) only changes a single bit at the very end of its binary representation from a 0 to a 1. This means our choices of 6 and 7 function exactly like an ON/OFF light switch for specific bit positions. Furthermore, because the divisor wraps around perfectly at the 67th bit, all these switch positions repeat cleanly like a clock face rather than scrambling randomly. It’s as simple as giving change to someone at a cash register.</p><p>To solve it, simply use the strategy of “ how about we fill a dummy flag with all 6s first”. We create a baseline string like <strong>SEKAI{666…666}</strong> and calculate how much mathematical value it lacks to be perfectly divisible by <strong>2⁶⁷-1</strong>, then convert that missing value to its binary format. For where every a 1 is needed/required, just flip the 6 to 7. Let AI help for the automated switchmatching script, and it instantly gives the winning flag : <strong>SEKAI{6777676667666666677676776776777766777777777776777767777776677666666}</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/684/1*6muWrh1Iz-b3M6o1ZDAshA.png" /></figure><p>Here’s the script used :</p><pre># Define the modulo base (2**67 - 1)<br>M = 2**67 - 1<br><br>prefix = b&quot;SEKAI{&quot;<br>suffix = b&quot;}&quot;<br><br># Convert stable elements to integers<br>p_val = int.from_bytes(prefix, &#39;big&#39;)<br>s_val = int.from_bytes(suffix, &#39;big&#39;)<br><br># Treat all 67 variable positions as ASCII &#39;6&#39; (value 54) to find the baseline<br>base_payload = sum(54 * (256**i) for i in range(67))<br><br># Calculate the constant baseline modulo M<br>constant_total = (p_val * (256**68) + base_payload * 256 + s_val) % M<br>target = (-constant_total) % M<br><br># Identify which bits need to flip from a &#39;6&#39; to a &#39;7&#39;<br>x = [0] * 67<br>for i in range(67):<br>    bit_pos = (8 * (i + 1)) % 67<br>    x[i] = (target &gt;&gt; bit_pos) &amp; 1<br><br># Build the payload string<br>payload_chars = [chr(54 + x[i]) for i in range(67)]<br>payload_str = &quot;&quot;.join(payload_chars[::-1])<br><br>print(f&quot;SEKAI{{{payload_str}}}&quot;)</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a86024f7a801" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>