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: How to multiply two variables in stata


From   Asad Mushtaq <asadmustaq7@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: How to multiply two variables in stata
Date   Tue, 3 Sep 2013 01:35:49 +0500

Hi all, please pardon me for being newbie. I actually want to run a
panel regression. my model is like this;
xtreg sr netincm vol size. when i run the above model i get positive
beta for the variables against outcome variable. fine
now suppose  i  want to divide the size according to percentiles with
below 10 percent very small, 10-25 small, 25-75 medium, 75-90large and
finally above 90 very large. now i want to regress this size with
other variables particularly netincm, means my outcome should be in
this way,    netinc is positively related to sr for large size, and
netincm is negatively related to sr for small size. though i know how
to find percentiles for size(sum, detail or tabulate, detail) but i
dont know how to incorporate it with netincm to get results in this
way.
Kindly help
Regards
Asad Mushtaq
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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