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
Trying to add percentage to graph value label - I have looked at other threads....Hello: I'm trying to add a percentage sign next to value labels for the bar chart below. I know thi…
How do I estimate the risk of mortality after hospital disharge for specific time intervals when intervals are not of the same length?I want to estimate the risk of mortality after hospital disharge for specific time intervals. Is it …
Lowest Values in Entire GroupHello, Would appreciate some help please... Low 1-2-3-4- are the wanted columns here I need to gene…
Internal consitency for multilevel itemsDear Stata-users, I am looking for a way to calculate an index reflecting internal consistency of a…
ATT of did_imputation by Borusyak et al. 2021I know in case of csdid if I run the following regression then I'll get the ATT. Code: csdid ln_w…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram-differences in x-axis
Post a Comment