Hi everyone,
I am running a regression where the DV has been log transformed. It looks like this:
reg lnone_mint_priceUSD $controls c.months_from_first_buy##c.max_rare_within
Then I run margins and marginsplot:
qui margins, at(c.months_from_first_buy =(6 36) c.max_rare_within =(1.48e-08 .0000487)) atmeans
marginsplot, ytitle(““) xtitle("Months from first NFT purchase by NFT buyer") title (““)legend (size(vsmall))
It all works well, and I get a graph. As expected the values on the Y axis are log transformed (see attached). I was wondering whether there is a way to automatically exponentiate the y-values so that I get the real (non log transformed values)? For example, in the attached example, I would like the value of 4.8 to be 121.5 (exp of 4.8), and the same for the other values on the y-axis.
Thank you in advance,
Cristiano
fig1.gph
I am running a regression where the DV has been log transformed. It looks like this:
reg lnone_mint_priceUSD $controls c.months_from_first_buy##c.max_rare_within
Then I run margins and marginsplot:
qui margins, at(c.months_from_first_buy =(6 36) c.max_rare_within =(1.48e-08 .0000487)) atmeans
marginsplot, ytitle(““) xtitle("Months from first NFT purchase by NFT buyer") title (““)legend (size(vsmall))
It all works well, and I get a graph. As expected the values on the Y axis are log transformed (see attached). I was wondering whether there is a way to automatically exponentiate the y-values so that I get the real (non log transformed values)? For example, in the attached example, I would like the value of 4.8 to be 121.5 (exp of 4.8), and the same for the other values on the y-axis.
Thank you in advance,
Cristiano
fig1.gph
Comment