How to create confounders with regression: a lesson from causal inference
By Ben Ogorek By Ben Ogorek Regression is a tool that can be used to address causal questions in an observational study, though no one said it would be easy. While this article won’t close the vexing...
View ArticleAmerican Community Survey analyzed with R
By David Smith The American Community Survey, conducted by the US Census Bureau, collects data from around 3.5 million households each year in order to estimate various demographic statistics of the US...
View ArticleDo basic R operations much faster in bash [Slightly off-topic]
By Sascha W. R is great, and you can do a LOT OF stuff with it. However, sometimes you want to do really basic stuff with huge or a lot of files. At work, I have to do that a lot because I am mostly...
View ArticleR typos
By xi’an (This article was originally published at R – Xi’an’s Og, and syndicated at StatsBlogs.) At MCMskv, Alexander Ly (from Amsterdam) pointed out to me some R programming mistakes I made in the...
View ArticleNeed any more reason to love R-Shiny? Here: you can even use Shiny to create...
By Dean Attali’s R Blog Anyone who reads my blog posts knows by now that I’m very enthusiastic about Shiny (the web app framework for R – if you didn’t know what Shiny is then I suggest reading my...
View ArticlePipelining R and Python in Notebooks
By Joseph Rickert by Micheleen HarrisMicrosoft Data Scientist As a Data Scientist, I refuse to choose between R and Python, the top contenders currently fighting for the title of top Data Science...
View ArticleLinear regression with random error giving EXACT predefined parameter estimates
By anspiess When simulating linear models based on some defined slope/intercept and added gaussian noise, the parameter estimates vary after least-squares fitting. Here is some code I developed that...
View ArticleBayesian regression with STAN Part 2: Beyond normality
By Lionel Hertzog In a previous post we saw how to perform bayesian regression in R using STAN for normally distributed data. In this post we will look at how to fit non-normal model in STAN using...
View Articlehigh dimension Metropolis-Hastings algorithms
By xi’an When discussing high dimension models with Ingmar Schüster Schuster [blame my fascination for accented characters!] the other day, we came across the following paradox with Metropolis-Hastings...
View ArticleIntro to Sound Analysis with R
By Tal Galili Guest post by Christopher Johnson from www.codeitmagazine.com Some of my articles cover getting started with a particular software, and some cover tips and tricks for seasoned users. This...
View ArticleHow To Import Data Into R – New Course
By DataCamp Blog Importing your data into R to start your analyses: it should be the easiest step. Unfortunately, this is almost never the case. Data is stored in all sorts of formats, ranging from...
View ArticleR typos
By xi’an At MCMskv, Alexander Ly (from Amsterdam) pointed out to me some R programming mistakes I made in the introduction to Metropolis-Hastings algorithms I wrote a few months ago for the Wiley...
View ArticleConditional execution exercises
By r-exercises In the exercises below we cover the basics of conditional execution. In all previous exercises, the solutions required one or more R statements that were all executed consecutively. In...
View ArticlePipelining R and Python in Notebooks
By Joseph Rickert by Micheleen HarrisMicrosoft Data Scientist As a Data Scientist, I refuse to choose between R and Python, the top contenders currently fighting for the title of top Data Science...
View Articlelove-hate Metropolis algorithm
By xi’an Hyungsuk Tak, Xiao-Li Meng and David van Dyk just arXived a paper on a multiple choice proposal in Metropolis-Hastings algorithms towards dealing with multimodal targets. Called “A...
View Articlelove-hate Metropolis algorithm
By xi’an (This article was originally published at R – Xi’an’s Og, and syndicated at StatsBlogs.) Hyungsuk Tak, Xiao-Li Meng and David van Dyk just arXived a paper on a multiple choice proposal in...
View ArticleIn-depth analysis of Twitter activity and sentiment, with R
By David Smith Astronomer and budding data scientist Julia Silge has been using R for less than a year, but based on the posts using R on her blog has already become very proficient at using R to...
View ArticleIn-depth analysis of Twitter activity and sentiment, with R
By David Smith Astronomer and budding data scientist Julia Silge has been using R for less than a year, but based on the posts using R on her blog has already become very proficient at using R to...
View ArticleMaterials for NYU Shortcourse “Data Science and Social Science”
By Alex Pablo Barberá, Dan Cervone, and I prepared a short course at New York University on Data Science and Social Science, sponsored by several institutes at NYU. The course was intended as an...
View ArticleR User Groups on GitHub
By Joseph Rickert by Joseph Rickert Quite a few times over the past few years I have highlighted presentations posted by R user groups on their websites and recommended these sites as a source for...
View Article