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
looping over many regressionsHello I am trying to run 11 separate regressions. One with each of the local vars as a single predic…
Need to call a block of code within a Do fileHello All, I am running a DO file to create a table of summary statistics for a large number of var…
Calling a block of code within a DO fileHello All, I am running a DO file to create a table of summary statistics for a large number of var…
xtprobit random effects negative varianceDear all stata users, I have several variables that explains the state (approved (aprov)=1; not app…
Person-Item Map in Stata?Dear StataList Users Is there a command to generate a Person-Item Map in Stata, after running the ir…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram-differences in x-axis
Post a Comment