Announcement

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

  • Margins plots and significance

    Hello Stata Folk,

    I'm running a panel regression with squared interaction terms. I want to confirm my interpretation of my marginsplot - I hope/think I am on the right track!

    Data:
    Firm level data N approx 2000, T=14
    y= financial performance
    x=ESG performance
    sector: categorical, 10 sectors.

    Regression:
    Code:
    xtreg y x c.x#c.x sector#c.x sector#c.x#c.x, fe vce(cluster company)
    Margins:
    Code:
    margins sector_name if inlist(sector,30), dydx(x) at(x=(20(10)90))
    n.b. I have many sectors, just plotting one.

    Resulting graph:

    Click image for larger version

Name:	graph.JPG
Views:	1
Size:	44.2 KB
ID:	1678184

    Interpretation:
    - The only significant effects are at x = 20, 30, and 40.
    - I interpret this as there is a negative relationship between ESG(x) and financial performance (y) for low levels of ESG BUT this negative relationship reduces in magnitude as ESG increases.
    - At x=>50 there is no relationship.

    Question 1:
    - Is this interpretation sound?

    Question 2:
    - I have a lot of plots for a lot of sectors. Could I just plot the values that were significant? On the one hand this would make it easier to look at lots of data on a big panel of charts more easily. On the other, I appreciate I am dealing with a continuous variable in X. See below for an example of the type of plot I am thinking for each sector:
    Click image for larger version

Name:	graph2.JPG
Views:	1
Size:	22.0 KB
ID:	1678186

    Any insight gratefully received.
    Last edited by William Salazar; 17 Aug 2022, 15:33.

  • #2
    I don't know why I cannot see my post in the Stata general forum. Strange. I reply to my own post in the hope it makes it appear!

    Comment

    Working...
    X