香港赛马会彩券管理局

Risk and return for B3

April 30, 2019
By
Risk and return for B3

One of the subjects that I teach in my undergraduate finance class is the relationship between risk and expected returns. In short, the riskier the investment, more returns should be expected by the investor. It is not a difficult argument to make. All that you need to understand is to remember that people are not naive in financial markets....

Read more »

Building a Shiny App as a Package

April 30, 2019
By

Shiny App as a Package In a previous post, I’ve introduced the {golem} package, which is an opinionated framework for building production-ready Shiny Applications. This framework starts by creating a package skeleton waiting to be filled. But, in a world where Shiny Applications are mostly created as a series of files, why bother with a package? This is the...

Read more »

Machine Learning explained for statistics folk

April 30, 2019
By

I’m running a one-day workshop called “From Statistics To Machine Learning” in central London on 28 October, for anyone who … More

Read more »

Spatial data and maps conference – FOSS4G

April 30, 2019
By
Spatial data and maps conference – FOSS4G

I’m helping organise a conference on (geo)spatial open source software – FOSS4G. We’re hosting it in the great city of Edinburgh, Scotland in September 2019. Abstract submissions: https://uk.osgeo.org/foss4guk2019/talks_workshops.html We’re very interested in hearing… Continue reading →

Read more »

The Rich didn’t earn their Wealth, they just got Lucky

April 30, 2019
By
The Rich didn’t earn their Wealth, they just got Lucky

Tomorrow, on the First of May, many countries celebrate the so called International Workers’ Day (or Labour Day): time to talk about the unequal distribution of wealth again! A few months ago I posted a piece with the title “If wealth had anything to do with intelligence…” where I argued that ability, e.g. intelligence, as … Continue reading "The...

Read more »

Google Next 2019 – observations from the Mango viewing deck

April 30, 2019
By

The first thing that hit me about this year’s Google Next was the scale. Thousands of people wandering around Moscone Centre in San Fran with their name badges proudly displayed really brought home that this is a platform of which its users are proud. I was told by several people that the size of the conference has doubled in...

Read more »

Zooming in on maps with sf and ggplot2

April 30, 2019
By
Zooming in on maps with sf and ggplot2

When working with geo-spatial data in R, I usually use the sf package for manipulating spatial data as Simple Features … Read More →

Read more »

RcppArmadillo 0.9.400.2.0

April 29, 2019
By
RcppArmadillo 0.9.400.2.0

A new RcppArmadillo release based on the very recent Armadillo upstream release arrived on CRAN earlier today, and will get to Debian shortly. Armadillo is a powerful and expressive C++ template library for linear algebra aiming towards a good balan...

Read more »

Could not Resist

April 29, 2019
By
Could not Resist

Also, Practical Data Science with R, 2nd Edition; Zumel, Mount; Manning 2019 is now content complete! It is deep into editing and soon into production!

Read more »

Dealing with correlation in designed field experiments: part I

Observations are grouped When we have recorded two traits in different subjects, we can be interested in describing their joint variability, by using the Pearson’s correlation coefficient. That’s ok, altough we have to respect some basic assumptions (e.g.?linearity) that have been detailed elsewhere (see here). Problems may arise when we need to test the hypothesis that the correlation coefficient is...

Read more »

Analysing the HIV pandemic, Part 1: HIV in sub-Sahara Africa

April 29, 2019
By
Analysing the HIV pandemic, Part 1: HIV in sub-Sahara Africa

Phillip (Armand) Bester is a medical scientist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa Sabeehah Vawda is a pathologist, researcher, and lecturer at the Division of Virology, University of the Free State, and National Health Laboratory Service (NHLS), Bloemfontein, South Africa Andrie de Vries is the...

Read more »

RStudio 1.2 Released

April 29, 2019
By
RStudio 1.2 Released

We're excited to announce the official release of RStudio 1.2! What’s new in RStudio 1.2? Over a year in the making, this new release of RStudio includes dozens of new productivity enhancements and capabilities. You’ll now find RStudio a more comfortable workbench for working in SQL, Stan, Python, and D3. Testing your R code is easier, too, with integrations for shinytest...

Read more »

ViennaR Meetup March – Full Talks Online

April 29, 2019
By

The full talks of the ViennaR March Meetup are finally online: A short Introduction to ViennaR, Laura Vana introducing R-Ladies Vienna and Hadley Wickham with a great introduction to tidy(er) data and the new functions pivot_wider() and pivot_longer...

Read more »

Relaunching the qualtRics package

April 29, 2019
By

Note: cross-posted with the rOpenSci blog. rOpenSci is one of the first organizations in the R community I ever interacted with, when I participated in the 2016 rOpenSci unconf. I have since reviewed several rOpenSci packages and been so happy to be co...

Read more »

Relaunching the qualtRics package

rOpenSci is one of the first organizations in the R community I ever interacted with, when I participated in the 2016 rOpenSci unconf. I have since reviewed several rOpenSci packages and been so happy to be connected to this community, but I have never submitted or maintained a package myself. All that changed when I heard the call for...

Read more »

What matters more in a cluster randomized trial: number or size?

April 29, 2019
By
What matters more in a cluster randomized trial: number or size?

I am involved with a trial of an intervention designed to prevent full-blown opioid use disorder for patients who may have an incipient opioid use problem. Given the nature of the intervention, it was clear the only feasible way to conduct this particular study is to randomize at the physician rather than the patient level. There was a concern that...

Read more »

Compute R2s and other performance indices for all your models!

April 29, 2019
By
Compute R2s and other performance indices for all your models!

Indices of model performance (i.e., model quality, goodness of fit, predictive accuracy etc.) are very important, both for model comparison and model description purposes. However, their computation or extraction for a wide variety of models can be complex. To address this, please let us introduce the performance package! performance We have recently decided to collaborate around the new easystats project, a...

Read more »

Marketing with Machine Learning: Apriori

April 29, 2019
By
Marketing with Machine Learning: Apriori

This is part 1 of an ongoing series, introduced in Detroit Data Lab Presents: Marketing with Machine Learning Introduction Apriori, from the latin “a priori” means “from the earlier.” As with many of our predictions, we’re learning from the past and applying it toward the future. It’s the “Hello World” of marketing with machine learning! … Continue reading Marketing...

Read more »

runcharter

April 29, 2019
By

A thing what I built - Waffle I didn’t write a blog post in March, because I was busy doing other stuff, but it turns out no one noticed, or maybe they did, and simply didn’t care. Well, I care, because it brought my streak of 20 success...

Read more »

My book ‘Cricket analytics with cricketr and cricpy’ is now on Amazon

April 29, 2019
By
My book ‘Cricket analytics with cricketr and cricpy’ is now on Amazon

‘Cricket analytics with cricketr and cricpy – Analytics harmony with R and Python’ is now available on Amazon in both paperback ($21.99) and kindle ($9.99/Rs 449) versions. The book includes analysis of cricketers using both my R package ‘cricketr’ and my python package ‘cricpy’ for all formats of the game namely Test, ODI and T20. … Continue reading My...

Read more »

Getting a Data Science Job is not a Numbers Game!

April 29, 2019
By
Getting a Data Science Job is not a Numbers Game!

My First (Non Data Science) Job Search Let me tell you a story about my first job search. It was 2010, and data science jobs weren't really a thing yet. I'll get to that in a minute, but bear with me first because there's a point to all this. At the...

Read more »

Why use RTutor for interactive tutorials if there is RStudio’s learnr?

April 29, 2019
By
Why use RTutor for interactive tutorials if there is RStudio’s learnr?

There are nowadays different options to create interactive R tutorials that allow users to type in code, automatically check their solution and get hints if they are stuck. Two options are RStudio’s learnr package and my RTutor package. Obviously, ...

Read more »

Templated output in R

April 28, 2019
By

Earo Wang, who is the curator for the We are R-Ladies twitter feed this week (last week of April, 2019), had a really nice tweet about using the whisker package to create a template incorporating text and data in R. Her example created a list of tidyverse packages with descriptions. I really liked the example, but thought that the glue...

Read more »

visualising bias and unbiasedness

April 28, 2019
By
visualising bias and unbiasedness

A question on X validated led me to wonder at the point made by Christopher Bishop in his Pattern Recognition and Machine Learning book about the MLE of the Normal variance being biased. As it is illustrated by the above graph that opposes the true and green distribution of the data (made of two points)

Read more »

Interact with PostGIS from R

April 28, 2019
By
Interact with PostGIS from R

PostGIS extends capabilities of PostgreSQL database to deal with spatial data. Using PostGIS, your database supports geographic queries to be run directly in SQL. In this blog post, we will connect and interact with a PostGIS database from R, using {DBI} and {sf}. Package {sf} and PostGIS are friends Package {sf} is similar to PostGIS database in multiple ways:...

Read more »

RStudio’s multiple cursors rule!

RStudio’s multiple cursors rule!

(TL;DR: Come on. This is pretty short. Productivity level up by harnessing the power of RStudio!)

Read more »

NYC… Dangerous or Deadly?

April 28, 2019
By
NYC… Dangerous or Deadly?

Introduction Data & Methodology The App and Results Map Tables and Charts Future Research

Read more »

Tips to Reduce the Complexity of Slide Making with Xaringan

April 28, 2019
By

Although I’m a strong believer in R Markdown, I’m not so sure about it in the realm of slide making. After using GUI slide making tools such as Powerpoint or Google Slides for years, it is not easy to get used to making slides with markdown, since it requires additional processing in the brain – the conversion between images...

Read more »

The Mrs. White probability puzzle

April 28, 2019
By
The Mrs. White probability puzzle

tl;dr -I don’t remember how many games of Clue I’ve played but I do remember being surprised by Mrs White being the murderer in only 2 of those games. Can you give an estimate and an upper bound for the number of games I have played?We solve this problem by using Bayes theorem and discussing … Continue reading The...

Read more »

Search R-bloggers

Sponsors

Mango solutions







Zero Inflated Models and Generalized Linear Mixed Models with R



wiley.com/learn/datascience

Quantide: statistical consulting and training

ODSC boston

http://www.eoda.de











Six Sigma Online Training

Our ads respect your privacy. Read our Privacy Policy page to learn more.

Contact us if you wish to help support R-bloggers, and place your banner here.

香港赛马会彩券管理局