Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Utest in ivprobit

    Hello Statalist,

    I need your help with the following.

    I am running an ivprobit command for a continuous endogenous variable (D) that has a curvilinear effect. I instrumented both the linear and quadratic terms of D on two exogenous variables BSize (continuous) and FC (binary).

    gen D2= D^2

    ivprobit SOF ControlVars (D D2= BSize FC) i.Year i.industry, vce(cluster Tickernum)

    A summary of the long output is presented below:
    1st Stage 2nd Stage
    D D2 SOF
    BSize 0.278* 3.262
    (0.161) (8.110)
    FC 6.750*** 352.924***
    (1.463) (88.784)
    D 0.186**
    (0.075)
    D2 -0.004**
    (0.002)
    Constant 6.109** 53.321 -6.076***
    (2.542) (129.891) (0.933)
    Year controls Yes Yes Yes
    Industry controls Yes Yes Yes
    Contol Vars Yes Yes Yes
    /athrho2_1 : corr(e.D2,e.D) -0.023
    (0.370)
    /athrho3_1: corr(e.D,e.SOF) 0.185
    (0.394)
    /athrho3_2: corr(e.D2,e.SOF) 1.740***
    (0.034)
    /lnsigma2 : SD (D) 2.159***
    (0.026)
    /lnsigma3 : SD (D2) 6.129***
    (0.041)
    # Observations 2124 2124 2124
    Wald χ2 269.48***
    Wald test of exogeneity χ2(1): 6.88; Prob> χ2 = 0.0320
    I estimated the marginal effects using this command:

    margins, dydx(D D2) atmeans

    The reported marginal effects for D and D2 are 0.186** and -0.004**, respectively.


    But when I tried to verify the inverted U-shape using utest, stata reports that D not found. r(111).

    My question is: can I use utest after the ivprobit command? if not, how can I verify the inverted U-shape or V-shape here?

    Kind Regards

    Lyle





    Last edited by Lyle DA; 08 Jun 2023, 06:49.
Working...
X