<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Home on R &amp; Data Analysis - Eric Stemmler</title>
    <link>https://rcst.netlify.app/</link>
    <description>Recent content in Home on R &amp; Data Analysis - Eric Stemmler</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 24 Dec 2025 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://rcst.netlify.app/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Open Once, Close Automatically: A Ressource Connection Pattern for R</title>
      <link>https://rcst.netlify.app/post/2025/12/24/open-once-close-automatically-a-connection-pattern-for-r/</link>
      <pubDate>Wed, 24 Dec 2025 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2025/12/24/open-once-close-automatically-a-connection-pattern-for-r/</guid>
      <description>Why you should care - at least a little bit Dangling database connections rarely cause immediate data leaks, but they are a common root cause of outages, degraded performance, and availability incidents. In regulated or public-sector systems, availability failures can have legal and contractual consequences. Managing connections properly is therefore not just a technical concern, but a reliability concern.
https://devclass.com/2020/03/27/github-reveals-database-infrastructure-was-the-villain-behind-february-spate-of-outages-again/
 The third incident on February 25, again involved ProxySQL, when “active database connections crossed a critical threshold that changed the behavior of this new infrastructure.</description>
    </item>
    
    <item>
      <title>Circular Economy Presentation (Cradle to Cradle NGO)</title>
      <link>https://rcst.netlify.app/note/2024/07/10/circular-economy-presentation-cradle-to-cradle-ngo/</link>
      <pubDate>Wed, 10 Jul 2024 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/note/2024/07/10/circular-economy-presentation-cradle-to-cradle-ngo/</guid>
      <description>Here was a nice compact presentation on the principles of circular economy and also on the different ways we humans fuck up things (translated by me):
 Aperol-Spritz&amp;rsquo; coloring substance is prohibited in most countries. The reason it&amp;rsquo;s legal to use in the EU is: it&amp;rsquo;s a cultural asset.
 OK, not everything is perfect in the EU.
Also she mentions that if everyone on earth would live like the average German, it would take 3 earth to support this.</description>
    </item>
    
    <item>
      <title>What&#39;s not to like about &#34;like&#34;?</title>
      <link>https://rcst.netlify.app/note/2024/07/09/whats-not-to-like-about-like/</link>
      <pubDate>Tue, 09 Jul 2024 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/note/2024/07/09/whats-not-to-like-about-like/</guid>
      <description>Two reasons: Like is an adverb, but it is often informally used as a conjuction, instead of e.g., &amp;ldquo;as&amp;rdquo;. Or it&amp;rsquo;s being used without carrying any meaning.
A famous ad in the 1950s caused public outrage for it&amp;rsquo;s improper use of English
 Winston Tastes Good, Like a Cigarette Should.
  Like has always been widely misused by the illiterate; lately it has been taken up by the knowing and the well-informed, who find it catchy or liberating, and who use it as though they were slumming.</description>
    </item>
    
    <item>
      <title>Annualization</title>
      <link>https://rcst.netlify.app/post/2024/06/19/annualization/</link>
      <pubDate>Wed, 19 Jun 2024 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2024/06/19/annualization/</guid>
      <description>Annualization is when results that are with respect to a time period smaller then one year are scaled up so that it becomes with respect to one year. As a general principle this can also be called projection, grossing up, up-scaling, expansion or extrapolation.
In this article I want to implement and compare different methods for annualization (to stick with one term), in order to consolidate my own understanding of the topic.</description>
    </item>
    
    <item>
      <title>23 Things They Don&#39;t Tell You About Capitalism</title>
      <link>https://rcst.netlify.app/note/2023/12/10/23-things-they-dont-tell-you-about-capitalism/</link>
      <pubDate>Sun, 10 Dec 2023 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/note/2023/12/10/23-things-they-dont-tell-you-about-capitalism/</guid>
      <description>free markets don&amp;rsquo;t really exist. The history of market regulation is often forgotten: if we had truely free markets everything would be up for sale including votes, humans, child labor, organs etc.
  Example for free market failure: Albanian Pyramid Schemes. After the opening of the country after decades of isolation and no experience with a banking market, rampand Pyramid Schemes launched and collapsed within a few years due to non-existent regulation, that caused a state collapse.</description>
    </item>
    
    <item>
      <title>Notes on &#34;Baysian Statistical Modelling with Stan, R and Python&#34; by Kentaro Matsuura&#34;</title>
      <link>https://rcst.netlify.app/note/2023/12/03/notes-on-baysian-statistical-modelling-with-stan-r-and-python-by-kentaro-matsuura/</link>
      <pubDate>Sun, 03 Dec 2023 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/note/2023/12/03/notes-on-baysian-statistical-modelling-with-stan-r-and-python-by-kentaro-matsuura/</guid>
      <description> [&amp;hellip;] the first purpose of statistical modeling is interpretation. It is one of the fundamental human nature that we want to know the reasonings and mechanisms of phenomena, and to acquire new knowledge. (p. 23)
  The problem with these methods [machine learning algorithms] is that they cannot fully take advantage of domain knowledge or past experiences about a phenomenon. (p.23-24)
 </description>
    </item>
    
    <item>
      <title>Destruction as a Means of Growth</title>
      <link>https://rcst.netlify.app/note/2023/05/29/destruction-as-a-means-of-growth/</link>
      <pubDate>Mon, 29 May 2023 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/note/2023/05/29/destruction-as-a-means-of-growth/</guid>
      <description>On 30th July 2022 Martin Mobarak allegedly burned a drawing from Frida Kahlo that was turned into ten thousand NFTs (cryptographically unique digital items) that can now be bought individually. Done purportely to raise child charity funds, while NFT market had been dropping. It&amp;rsquo;s yet unclear whether the drawing was original. Mexico&amp;rsquo;s National Museum which was said to receive part of the revenue hasn&amp;rsquo;t seen a donation yet (and I guess wouldn&amp;rsquo;t accept).</description>
    </item>
    
    <item>
      <title>RMarkdown with UI recipes for Shiny</title>
      <link>https://rcst.netlify.app/post/2023/05/16/rmarkdown-with-ui-recipes-for-shiny/</link>
      <pubDate>Tue, 16 May 2023 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2023/05/16/rmarkdown-with-ui-recipes-for-shiny/</guid>
      <description>This post describes how to write Shiny Apps that can render parameterized RMarkdown reports and automagically create the user interface elements needed to set parameters from the app, while defining those in the RMarkdown file alone.
Intro An R Shiny App can offer a graphical user interface to your analysis implemented in R. This makes it attractive for a client who e.g., doesn’t know about R.
Reporting i.e., reoccuring analysis of new data is another thing an institution or company might be interested in.</description>
    </item>
    
    <item>
      <title>Static comments with Hugo, Netlify and ... nothing really more</title>
      <link>https://rcst.netlify.app/post/2023/04/14/static-comments-with-hugo-netlify-and-nothing-really-more/</link>
      <pubDate>Fri, 14 Apr 2023 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2023/04/14/static-comments-with-hugo-netlify-and-nothing-really-more/</guid>
      <description>Zero-Dependency Commenting System There are seemingly many ways to get comments onto your website. I found most of them either data privacy adverse, bloating or simply too expensive for a small blog. This post describes how to implement a commenting system without additional dependencies for the mentioned setup, that is Hugo + Netlify. The page you&amp;rsquo;re looking at uses it.
What you need  HTML form for submission of comments Linux shell script (see below)  How it works  The user submitts a comment via the HTML Form Netlify Forms collect submissions automatically A submission triggers a build hook Netlify starts a Docker container to build the site The container runs the provided shell script that  &amp;hellip; downloads and copies all comment submissions into the container and &amp;hellip; calls hugo to build the pages, a special comments.</description>
    </item>
    
    <item>
      <title>Testing R Packages using Perceptual Hashing</title>
      <link>https://rcst.netlify.app/post/2021/11/20/testing-r-packages-using-perceptual-hashing/</link>
      <pubDate>Sat, 20 Nov 2021 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2021/11/20/testing-r-packages-using-perceptual-hashing/</guid>
      <description>R packages are like a little piece of software. One of the best practises of software development is to use unit tests and this is also possible for R packages using packages like testthat. I’m using testthat for the rim package and it’s been a great help. Everytime I change the code to add a new feature or fix a bug, I don’t have to worry too much about, whether the change I implemented happens to break something else.</description>
    </item>
    
    <item>
      <title>Klara and the Sun</title>
      <link>https://rcst.netlify.app/post/2021/05/19/klara-and-the-sun/</link>
      <pubDate>Wed, 19 May 2021 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2021/05/19/klara-and-the-sun/</guid>
      <description>I recently finished reading Kazuo Ishiguro&amp;rsquo;s latest book and I wanted to write about what it told me.
If you haven&amp;rsquo;t read the book yet, you may be careful to continue reading.
The story is a dystopia and evolves around Klara, a robot that serves as an artificial friend for children and Josie, a teenage girl that suffers from a life threatening condition, that periodically makes here too weak to go outside.</description>
    </item>
    
    <item>
      <title>When a class demonstration failed surprisingly...</title>
      <link>https://rcst.netlify.app/post/2021/03/11/when-a-class-demonstration-failed-surprisingly/</link>
      <pubDate>Thu, 11 Mar 2021 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2021/03/11/when-a-class-demonstration-failed-surprisingly/</guid>
      <description>Background I started teaching an introductory statistics course at the University of Khovd in January this year. For this reason I came across the book Teaching statistics: A Bag of Tricks (Gelman and Nolan 2017) which contains a number of in-class demonstrations to teach statistical concepts, from which I used “Real vs. fake coin flips” on day one in my class.
It pinpoints a common misconception about randomness, that I believe even trained scientist can fall victim to: patterns can occure randomly.</description>
    </item>
    
    <item>
      <title>Reparameterizing probability density functions and rat tumors</title>
      <link>https://rcst.netlify.app/post/2020/10/13/reparameterizing-probability-density-functions/</link>
      <pubDate>Tue, 13 Oct 2020 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2020/10/13/reparameterizing-probability-density-functions/</guid>
      <description>This is one of my posts of my self-study. It’s about estimating rat tumor rates from a number of experiments, where some treatment was applied to a number of of \(N\) rats and the outcome was the number of rats that grew a tumor. I’m posting here my solution of exercise 6.9 fom Gelman et al. (2013). This exercises itself is about model checking, but in order to do that one first needs to implement the Baysian model described in chapter 5.</description>
    </item>
    
    <item>
      <title>R-function for Little&#39;s test for data missing completely at random</title>
      <link>https://rcst.netlify.app/post/2020/08/14/r-function-for-little-s-test-for-data-missing-completely-at-random/</link>
      <pubDate>Fri, 14 Aug 2020 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2020/08/14/r-function-for-little-s-test-for-data-missing-completely-at-random/</guid>
      <description>There is an has been an implementation for Little’s test for missingness completely at random (mcar) (Little 1988) in the R-package BaylorPsychEd. However, its implementation relies on the suggested R-package mvnmle (multivariate normal maximum-likelihood estimation), which stopped being available too (at the time of writing this post) and has been assigned the status of orphaned. For those, like me, who just like to run Little’s test on their data set, I fixed the deprecated dependency using the norm R-base package.</description>
    </item>
    
    <item>
      <title>Territorial and identity in virtual working environments</title>
      <link>https://rcst.netlify.app/post/2018/01/25/territorial-and-identity-in-virtual-working-environments/</link>
      <pubDate>Thu, 25 Jan 2018 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/post/2018/01/25/territorial-and-identity-in-virtual-working-environments/</guid>
      <description>Territoriality and identity in virtual working environmentments Language In the everyday language about computers, there are many references to spatial imagination. These are words such as “network world,” “chat room,” “firewall,” “homepage,” “forum,” “desktop,” “storage space,” etc. When people talk about the Internet or their own computer, do they think in spatial contexts? If so, is there a territorial behaviour in the virtual space of our working world today? In order to approach this question, we first have to consider whether this virtual space within work systems is a territory in the environmental psychological sense.</description>
    </item>
    
    <item>
      <title>About the author</title>
      <link>https://rcst.netlify.app/about/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/about/</guid>
      <description>I&amp;rsquo;m currently working as a data analyst and engineer. I work as a consultant for statistics, R and software development for data analysis. I have been teaching statistics and R programming. I have been a researcher in traffic systems and naturalistic driving behaviour. For more details see my CV.
I understand statistics as the fundamental logic of science. It plays an (increasingly) important role in our society, because it is statistics via which conclusions, are drawn and decisions are made.</description>
    </item>
    
    <item>
      <title>curriculum vitae</title>
      <link>https://rcst.netlify.app/cv/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/cv/</guid>
      <description>personal information     Surname/ Fist name   Eric Stemmler     email/ skype   stemmler.eric@gmail.com     professional experience     since 09/2021   Senior Data Analyst/ CIM - Integrated Expert Municipality of Tirana Directorate of Road Traffic and Transportation Tirana, Albania     01/2020 - 09/2021   freelance consultant     statistics   consultancy for statistical analysis for graduate &amp;amp; PhD students     IT   Consultant for GIZ project in Mongolia “securing the legal framework for sustainable economic development”     11/2018 - 12/2019   Big Data Analytics Specialist/ CIM - Integrated Expert Bhubaneswar Smart City Ltd.</description>
    </item>
    
    <item>
      <title>Presentations and Materials</title>
      <link>https://rcst.netlify.app/documents/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/documents/</guid>
      <description> Introduction to Statistics and R (Mongolian Language) Lecture Introduction  slides | reader  Statistical Graphics  slides | reader  Descriptive Statistics  slides | reader  R: Crash Course  slides | reader  R: Working with data sets  slides | reader  R: Accessing data sets  slides | reader  R: Computation and Plotting  slides | reader    Tutorial R: Computation and Plotting  exercises | solutions     SUTi Presentations Postgres to Excel Introduction to Git Data Management Tools Bus Commercial Management Workshop Slides - 18/02/2022 Practical Introduction to R    </description>
    </item>
    
    <item>
      <title>Presentations and Materials</title>
      <link>https://rcst.netlify.app/teaching/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/teaching/</guid>
      <description>  Introduction to Statistics and R (Mongolian Language) Lecture Introduction  slides | reader  Statistical Graphics  slides | reader  Descriptive Statistics  slides | reader  R: Crash Course  slides | reader  R: Working with data sets  slides | reader  R: Accessing data sets  slides | reader  R: Computation and Plotting  slides | reader    Tutorial R: Computation and Plotting  exercises | solutions     </description>
    </item>
    
    <item>
      <title>R packages and more</title>
      <link>https://rcst.netlify.app/rpackages/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>https://rcst.netlify.app/rpackages/</guid>
      <description>Authored Packages rim - R’s Interface to Maxima Maxima is a OpenSource, fairly complete and powerful computer algebra system (CAS). rim can be used to start and control Maxima from within R by entering Maxima commands. It facilitates outputting results from Maxima in LaTeX and MathML. 2D and 3D plots can be displayed directly. This package also registers a knitr-engine enabling Maxima code chunks to be written in RMarkdown documents.</description>
    </item>
    
  </channel>
</rss>