How to get between and overall R2 from plm FE regression?
问题 Is there a way to get plm() to calculate between R2 and overall R2 for me and include them in the summary() output? To clarify what I mean with between, overall, and within R2 see this answer on StackExchange. My understanding is that plm only calculates within R2. I am running a Twoways effects Within Model. A random example (adapted from here): library(plm) # Create some random data set.seed(1) x=rnorm(100); fe=rep(rnorm(10),each=10); id=rep(1:10,each=10); ti=rep(1:10,10); e=rnorm(100) y=x