Hello everyone,
I have looked around but could not find an answer to the following question. Any help is appreciated.
I am trying to predict amount (ln) fundraised which cannot be negative (0 to 22). My code is as follows:
reg lnraised $controls c.months##c.rating, robust
qui margins, at(c.months=(48(12)84) rating =( 2 4)) atmeans
marginsplot
As you can see below, the graph I obtain predicts negative values, up to -5, of the DV at higher values of "months".
Am I doing something wrong? How can I obtain non negative values of the predicted values?
Thank you in advance,
Cristiano

I have looked around but could not find an answer to the following question. Any help is appreciated.
I am trying to predict amount (ln) fundraised which cannot be negative (0 to 22). My code is as follows:
reg lnraised $controls c.months##c.rating, robust
qui margins, at(c.months=(48(12)84) rating =( 2 4)) atmeans
marginsplot
As you can see below, the graph I obtain predicts negative values, up to -5, of the DV at higher values of "months".
Am I doing something wrong? How can I obtain non negative values of the predicted values?
Thank you in advance,
Cristiano
Comment