Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20130128T195637-669@post.gmane.org>
Date: 2013-01-28T20:25:55Z
From: Ben Bolker
Subject: Adjusted R-squared formula in lm()

Nicole Janz <nicolejanz <at> gmail.com> writes:

> 
> What is the exact formula used in R lm() for the Adjusted R-squared? How can I
interpret it?

>From the code of summary.lm():

   ans$r.squared <- mss/(mss + rss)
        ans$adj.r.squared <- 1 - (1 - ans$r.squared) * ((n - 
            df.int)/rdf)


  Does that answer your question?

  Ben Bolker