statistics

Playing with quantiles, part 1

March 8, 2011 | arthur charpentier

A standard idea in extreme value theory (see e.g. here, in French unfortunately) is that to estimate the 99.5% quantile (say), we just need to estimate a quantile of level 95% for observations exceeding the 90% quantile. In extreme value theory,... [Read more...]

New R IDE

March 8, 2011 | Daniel Hocking

I'm always looking for ways to improve my workflow and overall academic efficiency. I've tried a variety of text editors, GUIs, and integrated development environments (IDEs) for R. I have some preferences but I haven't found anything that I'm complete...
[Read more...]

Machine Learning Ex3 – multivariate linear regression

March 8, 2011 | al3xandr3

Exercise 3 is about multivariate linear regression. First part is about finding a good learning rate (alpha) and 2nd part is about implementing linear regression using normal equations instead of the gradient descent algorithm. Data As usual hosted in google docs: mydata = read.csv("http://spreadsheets.google.com/pub?key=0AnypY27... [Read more...]

cut&paste typo in R book

March 2, 2011 | xi'an

A casualty of cut-and-paste in Chapter 3 of Introducing Monte Carlo Methods with R. Brad McNeney from Simon Fraser sent me a nice email about the end of Example 3.6 missing a marginal estimate. Indeed, it does. And it should have been obvious from the “estimates” we derived, 19 and 16, which are not ... [Read more...]

Review of R Graphs Cookbook

March 1, 2011 | John Myles White

The kind people at Packt Publishing recently asked me to review one of their newest R books: the R Graphs Cookbook. In general, I think pretty highly of the book: it provides a nice overview of the basic tools for visualizing data in R. If you’re just getting started ... [Read more...]

RStudio – An IDE for the Masses!

March 1, 2011 | jebyrnes

I’ll admit it. There’s one thing that always makes me sad working on a mac. R. How does R make me sad on a mac? I look over at my compatriots in Windows using fun Integrated Development Environments (IDEs) like Tinn-R, and I sigh. On the other hand, ... [Read more...]

Surprising sudoku

March 1, 2011 | xi'an

__ printSudoku(z) +-------+-------+-------+ |   9   |       | 7   5 | |     6 |       |   9   | | 4 5 3 | 1 7   | 2 8   | +-------+-------+-------+ |     5 |     7 |   6   | | 1   9 | 6 8   |       | |   8   |   3   |     1 | +-------+-------+-------+ | 7   2 | [...] [Read more...]

The RStudio IDE: first impressions are positive

February 28, 2011 | nsaunders

Integrated development environments (IDEs) are software development tools, providing an interface that enables you to write, debug, run and view the output of your code. Whether you need an IDE or find them useful depends very much on your own preferences and style of working. In my own case for ... [Read more...]

Book review: 25 Recipes for Getting Started with R

February 24, 2011 | Tal Galili

Recently I was asked by O’Reilly publishing to give a book review for Paul Teetor new introductory book to R.  After giving the book some attention and appreciating it’s delivery of the material, I was happy to write and post this review.  Also, I’m very happy to ... [Read more...]

Machine Learning Ex2 – linear regression

February 24, 2011 | al3xandr3

Andrew Ng has posted introductory machine learning lessons on the OpenClassRoom site. I've watched the first set and will here solve Exercise 2. The exercise is to build a linear regression implementation, I'll use R. The point of linear regression is to come up with a mathematical function(model) that represents ... [Read more...]

Statistics and Computing and ABC

February 23, 2011 | xi'an

Statistics and Computing has received several papers on ABC and plans to make a special ABC issue out of these. All submissions prior to June 2011 that will be accepted will be published in this special issue. The special issue is identified as an article type on the on-line page. In ... [Read more...]

Stochastic approximation in mixtures

February 22, 2011 | xi'an

On Friday, a 2008 paper on Stochastic Approximation and Newton’s Estimate of a Mixing Distribution by Ryan Martin and J.K. Ghosh was posted on arXiv. (I do not really see why it took so long to post on arXiv a 2008 Statistical Science paper but given that it is not ... [Read more...]

Get all your Questions Answered

February 22, 2011 | Stephen Turner

When I have a question I usually ask the internet before bugging my neighbor. Yet it seems like Google's search results have become increasingly irrelevant over the last few years, and this is especially true for searching anything related to R (and pr... [Read more...]

Thor vs. Uncanny X-Men vs. Fantastic Four

February 21, 2011 | Mathew Analytics LLC » R

Three of Marvel’s longest running comic book series’ are Thor, Uncanny X-Men, and Fantastic Four. Using data from 2010, I compare monthly comic book sales for each series. This data only pertains to monthly issues and not trade paperbacks. Furthermore, the series Amazing Spider Man was not considered because it ... [Read more...]

Vectorize!

February 20, 2011 | xi'an

Here is an email sent by one of my students a few days ago: Do you know how to integrate a function with an  “if”? For instance: __X=rnorm(100) __Femp=function(x){ +   return(sum(Xintegrate(Femp,0,1)$value does not work. My reply was that the fundamental reason it does not ... [Read more...]

UseR! 2011 in Warwick

February 20, 2011 | xi'an

This year useR! conference will take place in Warwick, on August 16-18.  It is being organised by the department of Statistics and funded by CRiSM and Revolution Analytics (providers of the R tee-shirt!). I wish I could attend but mid-August is usually associated with genuine (post-JSM) family vacations. Filed under: ... [Read more...]

Parallel computation [permutations]

February 19, 2011 | xi'an

François Perron is visiting me for two months from Montréal and, following a discussion about the parallel implementation of MCMC algorithms—to which he also contributed with Yves Atchadé in 2005—, he remarked that a deterministic choice of permutations with the maximal contrast should do better than random or ... [Read more...]
1 15 16 17 18 19 41

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)