Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Generating variables raised to the power of...


From   "Gauri Khanna" <gwkhanna@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Generating variables raised to the power of...
Date   Fri, 05 May 2006 15:22:46 +0000

Dear Stata list,

I would like to generate two variable which is raised to the power of (0.11) and (-.023).

Hence I would like to do the following:

generate X1=X1 raised to .11
genreate X2=X2 raised to -.023

How can I do this in stata?

Thank you,

Regards,

Gauri

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.com/

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* 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   |   What's new   |   Site index