June 2013

Bayesian computational tools

June 17, 2013 | 0 Comments

I just updated my short review on Bayesian computational tools I first wrote in April for the Annual Review of Statistics and Its Applications. The coverage is quite restricted, as I took advantage of two phantom papers I had started a while ago, one with Jean-Michel Marin, on hierarchical Bayes ... [Read more...]

Dave Harris on Maximum Likelihood Estimation

June 17, 2013 | 0 Comments

At our last Davis R Users’ Group meeting of the quarter, Dave Harris gave a talk on how to use the bbmle package to fit mechanistic models to ecological data. Here’s his script, which I ran throgh the spin function in knitr: # Load data library(emdbook) ## Loading required package: ... [Read more...]

Model Selection in Bayesian Linear Regression

June 17, 2013 | 0 Comments

Previously I wrote about performing polynomial regression and also about calculating marginal likelihoods. The data in the former and the calculations of the latter will be used here to exemplify model selection. Consider data generated by and suppose we wish to fit a polynomial of degree 3 to the data. There ... [Read more...]

Stashing and playing with raw data locally from the web

June 17, 2013 | 0 Comments

It is getting easier to get data directly into R from the web. Often R packages that retrieve data from the web return useful R data structures to users like a data.frame. This is a good thing of course to make things user friendly. However, what if you want ... [Read more...]

Annotating select points on an X-Y plot using ggplot2

June 16, 2013 | 0 Comments

or, Is the Seattle Mariners outfield a disaster?The BackstoryEarlier this week (2013-06-10), a blog post by Dave Cameron appeared at USS Mariner under the title “Maybe It's Time For Dustin Ackley To Play Some Outfield”. In the first paragraph, Cameron describes to the Seattle Mariners outfield this season ... [Read more...]

Dynamic Data Visualizations in the Browser Using Shiny

June 16, 2013 | 0 Comments

After being busy the last two weeks teaching and attending academic conferences, I finally found some time to do what I love, program data visualizations using R. After being interested in Shiny for a while, I finally decided to pull the trigger and build my first Shiny app! I wanted ... [Read more...]

General Regression Neural Network with R

June 16, 2013 | 0 Comments

Similar to the back propagation neural network, the general regression neural network (GRNN) is also a good tool for the function approximation in the modeling toolbox. Proposed by Specht in 1991, GRNN has advantages of instant training and easy tuning. A GRNN would be formed instantly with just a 1-pass training ... [Read more...]

Scenario analysis and trading options using R

June 16, 2013 | 0 Comments

I present you with my restructured project on options trading and scenario analysis. You are more than welcome to try it out. Firstly, I will give a small presentation that will reveal what you can do with it and whether you need to continue reading. T...
[Read more...]

The scaling of Expected Shortfall

June 16, 2013 | 0 Comments

Getting Expected Shortfall given the standard deviation or Value at Risk. Previously There have been a few posts about Value at Risk and Expected Shortfall. Properties of the stable distribution were discussed. Scaling One way of thinking of Expected Shortfall is that it is just some number times the standard ... [Read more...]

Distribution of car weights

June 16, 2013 | 0 Comments

Two weeks ago I described car data, among which weight distribution of cars in Netherlands. At that time it was purely plots. In the mean time I decided I wanted to model trends. As a first step of that, I decided to fit distributions for these da... [Read more...]

On the RStudio download logs

June 15, 2013 | 0 Comments

Some days ago H. Wickham (Chief Scientist of the RStudio company) posted an article about the RStudio CRAN mirror with …Continuar leyendo » [Read more...]

Sudoku Automation Solver Challenge – R

June 14, 2013 | 0 Comments

On a recent flight I was bored waiting for the plane to land and I tried out the electronic sudoku game that they had offered.  I found the game surprisingly interesting as I realized that it is far more entertaining when you cannot use paper or p... [Read more...]

A list of R packages, by popularity

June 14, 2013 | 0 Comments

R package developer (and R-bloggers editor) Tal Galili just published the answers to a question many R users have asked: which are the most popular R packages? He wrote some R code to rank the top 100 packages by number of downloads. Here's the top 10: The source data are the download ... [Read more...]
1 5 6 7 8 9 14

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)