Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73330

Plot predictions after xthreg

$
0
0
Hello Statalist,

I have experimental panel data und used xthreg to estimate a threshold function (with one threshold).

Here is the output (it looks good and somehow as expected):

Array

I now would like to plot this piecewise function with 95% confidence intervals.

The command margins, at(wealth2=(1(1)209)) ignores the "kink" at 115.9 and only gives me a linear prediction.
(I put it then into coefplot, that looks good besides being linear...)

Do you know how I can create predictions that take care of the threshold after xthreg? Thanks!

Viewing all articles
Browse latest Browse all 73330

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>