January 2016

precision in MCMC

January 13, 2016 | xi'an

While browsing Images des Mathématiques, I came across this article [in French] that studies the impact of round-off errors on number representations in a dynamical system and checked how much this was the case for MCMC algorithms like the slice sampler (recycling some R code from Monte Carlo Statistical ...
[Read more...]

How to detect heteroscedasticity and rectify it?

January 13, 2016 | Selva Prabhakaran

One of the important assumptions of linear regression is that, there should be no heteroscedasticity of residuals. In simpler terms, this means that the variance of residuals should not increase with fitted values of response variable. In this post, I am going to explain why it is important to check ... [Read more...]

Cobble XPath Interactively with the xmlview Package

January 13, 2016 | hrbrmstr

(If you don’t know what XML is, you should probably read a primer before reading this post,) When working with data, one inevitably comes across things encoded in XML. I’m in the “anti-XML” camp, but deal with my fair share of XML in “cyber” and help out enough ...
[Read more...]

R coming to Visual Studio

January 13, 2016 | David Smith

You might have missed one significant bit of news tucked into yesterday's Microsoft R announcement: R is coming to Visual Studio: R Tools for Visual Studio (RTVS) follows the model of Python Tools for Visual Studio: it's an open-source plug-in to Visual Studio that makes it a complete IDE for ... [Read more...]

label edge number in ggtree

January 12, 2016 | R on Guangchuang Yu

This is a question from ggtree user. In ape and phytools, it’s easy to label edge using the edgelabels function.
set.seed(1)
tr = rtree(30)
library(ape)
plot(tr, main="ape")
edgelabels()
I don’t see any necessity to label edge numbers, as they are meaningless. The number is labeled as the row index of tr$edge, and edge can ...
[Read more...]

R Users Will Now Inevitably Become Bayesians

January 12, 2016 | Wayne

There are several reasons why everyone isn’t using Bayesian methods for regression modeling. One reason is that Bayesian modeling requires more thought: you need pesky things like priors, and you can’t assume that if a procedure runs without throwing an … Continue reading →
[Read more...]

Calculate the odd of winning Powerball in R

January 12, 2016 | Xianjun Dong

This Wednesday’s Powerball grand prize already climbed up to $1.5 BILLION. If you choose to cash out, it would be $930 million. And it keeps increasing… So, what’s the odd of winning the jackpot prize? Here is the game rule according to Powerball... [Read more...]

Calculate the odd of winning Powerball in R

January 12, 2016 | Xianjun Dong

This Wednesday’s Powerball grand prize already climbed up to $1.5 BILLION. If you choose to cash out, it would be $930 million. And it keeps increasing…So, what’s the odd of winning the jackpot prize?Here is the game rule according to Powerball.com:…we draw five white balls out ... [Read more...]

Are Turbocharged Engines More Fuel Efficient?

January 11, 2016 | Sam Weiss

Introduction:My previous post discussed methods to uncover effects of a particular explanatory variable on a response variable in machine learning models. These work by changing the variable of interest and measure how much the change in output, is kee... [Read more...]

MCMskv #5 [future with a view]

January 11, 2016 | xi'an

As I am flying back to Paris (with an afternoon committee meeting in München in-between), I am reminiscing on the superlative scientific quality of this MCMski meeting, on the novel directions in computational Bayesian statistics exhibited therein, and on the potential settings for the next meeting. If any. First, ...
[Read more...]
1 9 10 11 12 13 17

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)