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
Should the TWFE estimate results from the did_multiplegt command match those generated by reghdfe command?Hello everyone, I am using the -did_multiplegt- command developed by Clément de Chaisemartin Xavier…
shortcut referring to independent variables for regressionHi STATA, I have a dataset with about 400 independent variables and 4 mill rows. I want to run a lo…
Searching distinct identifier in a folderHi everyone, I have the following issue. In one folder, I have stored different xlsx files. Each fi…
Disaggregation with inequal7 functionHello, I am working with income dataset for household level and calculating GINI index with inequal…
An immediate histogram command?(Cross-posted from the v17 wishlist, https://www.statalist.org/forums/for...72#post1601072, at the s…
Subscribe to:
Post Comments (Atom)
0 Response to Histogram-differences in x-axis
Post a Comment