Announcement

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

  • Plotting Interaction of Regression Results using PCSE estimator

    I want to draw interaction plots to show my moderator working. I have unbalanced panel data for 20 firms for 12 years with 235 observations. I have one DV (NPL), three IVs (CAR, LTD, and ROA) and one moderator (II) and all of these variables are showing ratios which means that these are continuous. I have centered all IVs and moderator and stored them in variables CARcen, LTDcen, ROAcen and IIcen. I have generated new variable for interaction term as LTDIIcen which is basically representing LTDcen*IIcen. Kindly comment on my output and help me draw interaction plot chart in Stata 14.
    Click image for larger version

Name:	Output.jpg
Views:	1
Size:	99.7 KB
ID:	1494009


    Last edited by Abid Mehmood; 18 Apr 2019, 15:12.

  • #2
    You'll increase your chances of a helpful answer if you follow the FAQ on asking questions - provide Stata code in code delimiters, readable Stata output, and sample data using dataex.

    Use factor variable notation for the interactions, and then you can do margins followed by marginsplot.

    Comment

    Working...
    X