Publications by Posts on R Lover ! a programmer
Using R to “drive” Excel
I have until recently made it a habit to draw a clear distinction about using R for data analysis and Microsoft Excel for other office productivity tasks. I know there are people who use Excel to process data and even (gasp) to teach statistics with it. But I’m a bit snobbish that way and to date all my efforts have been in getting data out of ...
7446 sym R (13188 sym/8 pcs)
Oneway ANOVA Explanation and Example in R
See this datascience+ https://datascienceplus.com/one-way-anova-in-r/ for the original work that inspired my efforts. Credit to Bidyut Ghosh (Assistant Professor at Symbiosis International University, India) for the original posting. Special thanks also to Dani Navarro, The University of New South Wales (Sydney) for the book Learning Statistics w...
22080 sym R (12590 sym/24 pcs) 24 img 3 tbl
Slopegraphs and R – a pleasant diversion
I try to at least scan the R-bloggers feed everyday. Not every article is of interest to me, but I often have one of two different reactions to at least one article. Sometimes it is an “ah ha” moment because the article is right on point for a problem I have now or have had in the past and the article provides a (better) solution. Other times...
11946 sym R (20372 sym/14 pcs) 14 img 1 tbl
CHAID and caret — a good combination
In an earlier post I focused on an in depth visit with CHAID (Chi-square automatic interaction detection). There are lots of tools that can help you predict an outcome, or classify, but CHAID is especially good at helping you explain to any audience how the model arrives at it’s prediction or classification. It’s also incredibly robust from a...
16837 sym R (54489 sym/25 pcs) 18 img 1 tbl
CHAID v ranger v xgboost – a comparison
In an earlier post, I focused on an in depth visit with CHAID (Chi-square automatic interaction detection). Quoting myself, I said “As the name implies it is fundamentally based on the venerable Chi-square test – and while not the most powerful (in terms of detecting the smallest possible differences) or the fastest, it really is easy to mana...
22902 sym R (34355 sym/35 pcs) 14 img 2 tbl
ANCOVA Example
Analysis of covariance (ANCOVA) using R. I recently had the need to run an ANCOVA, not a task I perform all that often and my first time using R to do so (I’ve done it in SPSS and SAS before). Having a decent theoretical idea of what I had to do I set of in search of decent documentation of how to accomplish it in R. I was quite disappointed wi...
15749 sym R (17852 sym/14 pcs) 10 img
Updating to R 3.6.0 on MacOS
Mixed emotions Every time there is a new major update from The R Foundation (like the recent 3.6.0 release in April). I’m always happy to see the continuing progress and the combination of new features and bug fixes, but I also dread the upgrade because it means I have to address the issue of what to do about the burgeoning number of packages (...
6468 sym R (8211 sym/9 pcs)
Comparing Frequentist, Bayesian and Simulation methods and conclusions
So, a programmer, a frequentist, and a bayesian walk into a bar. No this post isn’t really on the path to some politically incorrect stereotypical humor. Jut trying to make it fun and catch your attention. As the title implies this post is really about applying the differing viewpoints and methodologies inherent in those approaches to statistic...
17906 sym R (9175 sym/11 pcs) 8 img 1 tbl
More Bayes and multiple comparisons
In my last post I had a little fun comparing perspectives among Bayesian, frequentist and programmer methodologies. I took a nice post from Anindya Mozumdar from the R Bloggers feed and investigated the world’s fastest man. I’ve found that in writing these posts two things always happen. I learn a lot, and I have follow-on questions or though...
15265 sym R (9795 sym/15 pcs) 4 img 3 tbl
More On Slopegraphs
About a week ago Bob Rudis created a nice blog post that I saw on my R Bloggers feed that simultaneously: Threw a bit of “shade” on the ToS for Axios (well done Bob) Showed how to use EtherCalc as a data entry tool And, most importantly to me, showed how to make great use of a slopegraph I happened to be on vacation at the time but as soon ...
7929 sym R (10105 sym/11 pcs) 16 img