when using nbreg, I encountered a problem which I was able to replicate when estimating a logit model. Consider the following example:
Code:
webuse lbw, clear centile age, centile(90) logit low age lwt i.race smoke ptl ht ui if age<r(c_1)
Code:
centile age, centile(90) logit low age lwt i.race smoke ptl ht ui if age<r(c_1), tech(bhhh)
Using a macro works as expected:
Code:
centile age, centile(90) local threshold=r(c_1) logit low age lwt i.race smoke ptl ht ui if age<`threshold', tech(bhhh)
What am I missing here?
Best
Christian
0 Response to if ignored when using logit with tech() option
Post a Comment