Re: [R] Random Forest

From: Peter Langfelder <>
Date: Tue, 24 May 2011 16:01:41 -0700

On Tue, May 24, 2011 at 3:18 PM, Unger, Rachel <> wrote:
> I'm analyzing data using Random Forest Regression.  For some of the
> species I am analyzing, the percent variation explained is negative.
> Could you please explain to me what that means?  If you need more
> information, please let me know.  Thank you.

If you're using the rsq component of the randomForest output, negative value means the mean error is larger than the variance of the response y. This could be because the predictor performs really poorly but also because of some calibration issue.

You may want to consult someone face to face to diagnose the problem. As a start, I would look at a scatterplot of observed vs. predicted values to see whether there is a systematic effect

HTH, Peter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 24 May 2011 - 23:10:13 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 24 May 2011 - 23:50:09 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive