Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

# st: How much of variation in dep var is explained by various sets of variables?

 From kokootchke To statalist Subject st: How much of variation in dep var is explained by various sets of variables? Date Sat, 3 Apr 2010 20:35:03 -0400

```Dear all,

I would like to know if it's possible to determine how much of the variation in the dependent variable is explained by different sets of variables. For instance, suppose I have:

(1) y = a*x1 + b*x2 + c*x3 + d*z1 + d*z2 + d*z3 + d*z4
(2) y = e*x1 + f*x2 + g*x3
(3) y = h*z1 + i*z2 + j*z3 + k*z4

If I run these regressions by OLS, I obtain, say, R-sq = 0.30, 0.20, 0.15, respectively. Is it possible to determine what percentage of the variation in y in (1) is explained by the x's and what percentage is explained by the z's?

I read some of the threads on this issue and I found some notes on partial correlation and the -pcorr- command. I read Richard Williams's notes and it seems like you can determine the proportion of the variation in y focusing on one variable at a time... but I don't know if it's possible to do it by sets of variables.

Thank you very much for your help.

Best,

_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/
```