February 2020

New xgboost defaults

February 25, 2020 | Philipp Probst

xgboost is the most famous R package for gradient boosting and it is since long time on the market. In one of my publications, I created a framework for providing defaults (and tunability measures) and one of the packages that I used there was xgboost. The results provided a default ... [Read more...]

The p-direction: A Bayesian equivalent of the p-value?

February 25, 2020 | R on easystats

The Bayesian framework is powerful and allows for an incredible amount of flexibility and control over your analysis. That being said, newcomers often struggle with a lot of new concepts and tools and could benefit from some familiar grounding. And the p-value is a very familiar index (although paradoxically often ...
[Read more...]

3 recommended books on learning R

February 24, 2020 | Andrew Treadway

I sometimes get asked how I got started learning R. I thought I would use this post to go through a few books I read along the way which have been highly useful. The Art of R Programming The Art of R Programming: A Tour of Statistical Software Design is ...
[Read more...]

R Robustreg Package Downloads

February 24, 2020 | Ian Johnson

I built robustreg in 2006 and at the time the major stat packages did not have a robust regression available.  Below are graphs of weekly and cumulative downloads from just the RStudio mirror.  I would estimate total downloads at over 150,000. The median_rcpp() function is written in C++ and is multiple ...
[Read more...]

You CRAN Do It

February 24, 2020 | %>% dreams

As the @WeAreRLadies curator, I asked the Twitterverse for advice when submitting to CRAN for the first time. Many people replied and offer their tips, experience, and well wishes. I have summarized everybody’s replies below. THANK YOU all for participating! Here’s what to expect when succeeding to get ... [Read more...]

Book slides – Analyzing Financial and Economic Data with R

February 24, 2020 | R on msperlin

The slides for my newly released book Analyzing Financial and Economic Data with R are finally ready! I apologize for keep you guys waiting. The slides are available as independent .Rmd files for all book chapters including:
##  [1] "afedR-Slides_Chapter-01_Introduction.Rmd"        
##  [2] "afedR-Slides_Chapter-02_BasicOperations.Rmd"     
##  [3] "afedR-Slides_Chapter-03_ResearchScripts.Rmd"     
##  [4] "afedR-Slides_Chapter-04_ImportingLocal.Rmd"      
##  [5] "afedR-Slides_Chapter-05_ImportingInternet.Rmd"   
##  [6] "afedR-Slides_Chapter-06_DataStructureObjects.Rmd"
##  [7] "afedR-Slides_Chapter-07_BasicClasses.Rmd"        
##  [8] "afedR-Slides_Chapter-08_Programming.Rmd"         
##  [9] "afedR-Slides_Chapter-09_CleaningData.Rmd"        
## [10] "afedR-Slides_Chapter-10_Figures.Rmd"             
## [11] "afedR-Slides_Chapter-11_Models.Rmd"              
## [12] "afedR-Slides_Chapter-12_ReportingResults.Rmd"    
## [13] "afedR-Slides_Chapter-13_OptimizingCode.Rmd"
All content is released with a generous MIT license, so fell free ... [Read more...]

multiplying the bars

February 24, 2020 | xi'an

The latest Riddler makes the remark that the expression |-1|-2|-3| has no unique meaning (and hence value) since it could be | -1x|-2|-3 | = 5   or   |-1| – 2x|-3| = -5 depending on the position of the multiplication sign and asks for all the possible values of |-1|-2|…|... [Read more...]

January 2020: “Top 40” New R Packages

February 23, 2020 | R Views

One hundred forty-seven new packages made it to CRAN in January. Here are my “Top 40” picks in nine categories: Computational Methods, Genomics, Machine Learning, Mathematics, Medicine, Statistics, Time Series, Utilities and Visualization. Computational Methods FSSF v0.1.1: Provides three methods proposed by Shang & Apley (2019) to generate fully-sequential space-filling designs inside a ...
[Read more...]

Le Monde puzzle [#1132]

February 23, 2020 | xi'an

A vaguely arithmetic challenge as Le weekly Monde current mathematical puzzle: Given two boxes containing x and 2N+1-x balls respectively. If one proceeds by repeatedly transferring half the balls from the even box to the odd box, what is the largest value of N for which the resulting sequence ...
[Read more...]

Synthetic micro-datasets: a promising middle ground between data privacy and data analysis

February 22, 2020 | Econometrics and Free Software

Intro: the need for microdata, and the risk of disclosure Survey and administrative data are essential for scientific research, however accessing such datasets can be very tricky, or even impossible. In my previous job I was responsible for getting access to such “scientific micro-datasets” from institutions like Eurostat. In general, ...
[Read more...]

Suppressor: The Midas Touch

February 22, 2020 | Wenyao

Can adding an additional explanatory variable make previously-insiginificant ones significant? You are doing regression analysis with lots of variables. You find one of them has a huge p-value. “Drop it,” a voice screams. Not so fast. In this post, I...
[Read more...]

Synthetic micro-datasets: a promising middle ground between data privacy and data analysis

February 22, 2020 | Econometrics and Free Software

Intro: the need for microdata, and the risk of disclosure Survey and administrative data are essential for scientific research, however accessing such datasets can be very tricky, or even impossible. In my previous job I was responsible for getting access to such “scientific micro-datasets” from institutions like Eurostat. In general, ... [Read more...]

digest 0.6.25: Spookyhash bugfix

February 22, 2020 | Thinking inside the box

And a new version of digest is getting onto CRAN now, and to Debian shortly. digest creates hash digests of arbitrary R objects (using the md5, sha-1, sha-256, sha-512, crc32, xxhash32, xxhash64, murmur32, and spookyhash algorithms) permitting easy c... [Read more...]

NYC Pain Pills Visualization

February 22, 2020 | Jennifer Ruddock

According to the US Department of Health and Human Services (HHS), in the 1990s pharmaceutical companies declared prescription opioid pain relievers safe and effective to use, thus healthcare providers began prescribing them at higher rates. However, the rate of prescription overdose deaths has been steadily rising since then, in 2017 the ...
[Read more...]

Nifty Upcoming Enhancements to unpack/to

February 22, 2020 | John Mount

We have some really nifty upcoming enhancements to wrapr unpack/to. One of the new notations is the use of := as an alternate assignment operator for unpack/to. This lets us write code like the following. First let’s attach our package and set up some example data. library(wrapr) # ... [Read more...]
1 2 3 4 5 13

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)