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: Testing whether the average partial effects are statistically different across groups?


From   Tirthankar Chakravarty <[email protected]>
To   [email protected]
Subject   Re: st: Testing whether the average partial effects are statistically different across groups?
Date   Wed, 31 Aug 2011 03:49:21 -0700

Create an indicator variable for your condition (i.e., a variable
which is 1 if e>=0.5, 0 else), interact it fully with the variable of
interest ("fdi"), compute -margins, over(indicator) dydx(fdi)-, that
is the average marginal effects of "fdi" over the values of the
indicator term, and test the values produced for equality, as in the
following example:

/**************************************/
webuse union, clear
probit union age grade not_smsa ///
	i.south##c.year
margins, over(south) dydx(c.year)
test _b[0bn.south]=_b[1.south]
/**************************************/

T

On Wed, Aug 31, 2011 at 3:35 AM, natasha agarwal
<[email protected]> wrote:
> Hello Everyone,
>
> I was estimating the following model:
>
> probit expdum fdi if e>=0.50
> margins, dydx(*)
> probit expdum fdi if e<0.50
> margins, dydx(*)
>
> Now I wanted to know whether the estimated Average partial effects of
> fdi are statistically different across the two groups.
>
> Can anyone please help me with this?
>
> Many thanks
> Natasha
> *
> *   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/
>



-- 
Tirthankar Chakravarty
[email protected]
[email protected]

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index