Bookmark and Share

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


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

Re: st: New command -tfv- available from SSC


From   Austin Nichols <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: st: New command -tfv- available from SSC
Date   Fri, 21 Mar 2014 09:26:44 -0400

daniel klein <[email protected]>:
And then computes marginal effects in terms of the untransformed
variable? With interactions?  I assume that is what people want, not a
command that takes the log on the fly.

On Fri, Mar 21, 2014 at 6:42 AM, daniel klein <[email protected]> wrote:
> Thanks as always to Kit Baum, a new prefix-like command -tfv- is now
> available from the SSC.
>
> The command lets you specify transformations of variables in the line
> of the obsolete -xi- prefix (superseded by factor variable notation).
> For example
>
> . tfv regress t(ln).price mpg
>
> creates a new variable, ln_price, as the natural logarithm of price
> and runs the -regress-ion of this new variable on mpg.
>
> -tfv- is inspired by a wishlist for Stata 14 recently posted to
> Statalist (http://www.stata.com/statalist/archive/2014-02/msg00697.html).
>
> I am confident that StataCorp will make the command obsolete expanding
> the existing factor variable notation soon. Until then, I hope some
> will find it useful.
>
> Best
> Daniel
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index