Monthly Archives: April 2019

What is a Permutation Test?

April 3, 2019
By
What is a Permutation Test?

Permutation tests, which I'll be discussing in this post, aren't that widely used by econometricians. However, they shouldn't be overlooked.Let's begin with some background discussion to set the scene. This might seem a bit redundant, but it will help us to see how permutation tests differ from the sort of tests that we usually use in econometrics.Background MotivationWhen you...

Read more »

Simulating metapopulation occupation in a landscape

April 3, 2019
By
Simulating metapopulation occupation in a landscape

The objective of this post is to go into the inner workings of the package MetaLandSim, which I developed a few years ago. MetaLandSim’s main objectives are to i) simulate the occupation of an habitat network suffering some sort of change (but static landscapes work too); ii) simulate range expansion by a species with a … Continue reading Simulating...

Read more »

C++ is Often Used in R Packages

April 3, 2019
By

The recent r-project article “Use of C++ in Packages” stated as its own summary of recommendation: don’t use C++ to interface with R. A careful reading of the article exposes at least two possible meanings of this: Don’t use C++ to directly call R or directly manipulate R structures. A technical point directly argued (for … Continue reading C++...

Read more »

A text mining function for websites

April 3, 2019
By

For one of my projects I needed to download text from multiple websites. In this case, I used rvest and dplyr. Accessing the information you want can be relatively easy if the sources come from the same websites, but pretty tedious when the websites are heterogenous. The reason is how the content is kept in the HTML of … Continue reading A...

Read more »

Bayes vs. the Invaders! Part One: The 37th Parallel

April 3, 2019
By
Bayes vs. the Invaders! Part One: The 37th Parallel

Introduction From our earlier studies of UFO sightings, a recurring question has been the extent to which the frequency of sightings of inexplicable otherworldly phenomena depends on the population of an area. Intuitively: where there are more people to catch a glimpse of the unknown, there will be more reports...

Read more »

Don’t forget the “utils” package in R

April 3, 2019
By
Don’t forget the “utils” package in R

With thousands of powerful packages, it’s easy to glaze over the libraries that come preinstalled with R. Thus, this post will talk about some of the cool functions in the utils package, which comes with a standard installation of R. While utils comes with several familiar functions, like read.csv, write.csv, and help, it also contains The post Don’t forget...

Read more »

Wicked Fast, Accurate Quantiles Using ‘t-Digests’ in R with the {tdigest} Package

April 3, 2019
By

@ted_dunning recently updated the t-Digest algorithm he created back in 2013. What is this “t-digest”? Fundamentally, it is a probabilistic data structure for estimating any percentile of distributed/streaming data. Ted explains it quite elegantly in this short video: Said video has a full transcript as well. T-digests have been baked into many “big data” analytics... Continue reading →

Read more »

Mapping the Vikings using R

April 3, 2019
By
Mapping the Vikings using R

The commute to my workplace is 90 minutes each way. Podcasts are my friend. I’m a long-time listener of In Our Time and enjoyed the recent episode about The Danelaw. Melvyn and I hail from the same part of the world, and I learned as a child that many of the local place names there … Continue reading Mapping...

Read more »

Cost-effectiveness analysis with multi-state and partitioned survival models: hesim 0.2.0

April 2, 2019
By
Cost-effectiveness analysis with multi-state and partitioned survival models: hesim 0.2.0

Overview An example CTSTM Decision problem and model setup Parameterization Simulation Constructing the economic model ...

Read more »

R Expands to Machine Learning and Deep Learning at ODSC East

For many, R is the go-to language when it comes to data analysis and predictive analytics. However many data scientists are also expanding their use of R to include machine learning and deep learning. These are exciting new topics, and ODSC East — where thousands of data scientists will gather this year in Boston — … Continue reading R...

Read more »

Search R-bloggers

Sponsors

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)