Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Twoway quadratic prediction plots with CIs in a multivariate regression setting


From   Michael Ingenhaag <Michael.Ingenhaag@unil.ch>
To   statalist@hsphsun2.harvard.edu
Subject   st: Twoway quadratic prediction plots with CIs in a multivariate regression setting
Date   Wed, 25 Jul 2012 15:30:26 +0200

Hi,

I'd like to construct quadratic prediction plots with Cis based on a multivariate regression, i.e. include additional regressors to the one on which the quadratic fit is based on.
Essentially, I want to run the following regression:

/reg y c.age c.age#c.age i.male i.country_ind/ /num_hh_children income/

I'd like to have the prediction of the age polynomial based on the above regression setting all other variables, respectively, to their base level (factor variables) or zero if continuous. Based on this prediction I need a plot similar to the one produced by /qfitci/.

The Stata command /qfitci/ does only allow for one regressor that is used to compute the quadratic prediction.

Does anyone have any suggestions?

--
Michael Ingenhaag
PhD Candidate and Assistant

Faculty of Business and Economics
Institute of Health Economics and Management (IEMS)
University of Lausanne
CH-1015 Lausanne

Phone:  (41) 021 692 3656
Fax:    (41) 021 692 3655

Email:  Michael.Ingenhaag@Unil.ch

*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index