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!
Related Posts with Plot predictions after xthreg
Esttab dropping columnsHi all. I am trying to make a table with esttab using output from margins. I think this will be chal…
Append and recode multiple datasets at onceHi, I am fairly new to stata and am trying to figure out a way where I can recode variables across m…
Scaling DataHi all, I am working on some survey data, one question is based on proportions. I therefore have 5 v…
Transform or eform teffects ipw to odds and risk ratioHi Everyone, First time Stata user and statistics imposter. I would like to exponentiate the result…
variable ambiguous abbreviation r(111)Hi, I have 65 variables in my data set names dtia1, dtia2..dtia65. I wish to replace the contents(re…
Subscribe to:
Post Comments (Atom)
0 Response to Plot predictions after xthreg
Post a Comment