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
Can I determine the effect of an independent variable in general, if I run a logit using extreme cases? Hello, I am working on political professionalization. Precisely on the effect of country size on …
Graph with several years.Hi, I am trying to illustrate some data in which I want to show the number of deaths per month acros…
Control and Instrument VariablesHello, If have got an ecometric question regarding the 2sls approach. Is it appropriate to use a v…
generating new paneidHello, I am doing a panelregression with industry and year FE Is it possible to create a new paneli…
Analysis by Groupinput double(YBIRTH SEX CLINICALVAR) float(age CONDITION Group) 2002 1 5 18 1 1 2002 2 5 18 1 1 2002…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram-differences in x-axis
Post a Comment