Good morning all,
I have been trying to reproduce some figures that I have done about two years ago. Unfortunately my old .do file got wiped out accidentally so I need to figure it out all over again.
In my raw data set I have a variable for C-reactive protein levels in a given population. Looking at the distribution of CRP levels across study sample, data is positively skewed.
Thus I log transformed variable using the command: gen logcrp = log(crp)
When I plot the data on histogram, I get different x-axis to what I got in the past. Is there a possible explanation for this please? It's the same variable, same values...so I really don't understand the reason behind it.
The original histogram is on the right, the new one on the left.
Any help or imput will be greatly appreciated. Thank you
Related Posts with Histogram-differences in x-axis
Using mi estimate with any commandThe formulas implemented by -mi estimate:- apply to any efficient estimator, but -mi estimate:- only…
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
Turning point for quadratic and interaction termsHi, I used dynamic panel estimation model - GMM to examine the relationship between institutions an…
How should I keep only observations with consecutive data around certain events without missing values in some varsHi, I'm a new one to this forum, and I wanted to ask for some help regarding a (maybe naive) questi…
mlogit not concave when year dummies are includedDear Statalisters, I am running a mlogit regression. When I include year dummies in the regression, …
Subscribe to:
Post Comments (Atom)
0 Response to Histogram-differences in x-axis
Post a Comment