This might be already implemented in the most recent version of Stata, but I just came across the problem that there seems to be no straightforward way to combine a kernel density plot (i.e. kdensity) with a normal distribution of the underlying variable.
Continue reading “Add normal distribution to kernel density plot in Stata”Tag: density
Comparing groups
In some analyses you may want to compare to groups, e.g. wages of women and men, or random assignment in an experiment. Suppose you have a continuous variable (e.g. –wage–) and a dichotomous variable (e.g. –gender–). In this case, Continue reading “Comparing groups”