Let's say I have two categorical variables, one is colour and one is a number 1-10. How do I display the percentage of observations that are yellow? And how do I display the percentage of observations that are blue and also been assigned the number 2?
Related Posts with How to measure percentage certain observations in STATA?
Replacing variable values with actual values stata in editHi all, I was wondeirng if there is a quick way to replace the values that stata assigns to variable…
Seeking collaborator for new command (splines, numeric integration)I am seeking a collaborator to develop a new Stata command that implements CDF interpolation. In ret…
create dummy with missing valuesHello! I am trying to create a dummy that equals one whenever one of two chosen dummies equals one,…
Weighted mean for each year, by regions in a panel dataI have a panel dataset of 51 countries for 19 years. For each of the panels, it is subdivided into f…
Viewing multi-line text within string variablesHi all, I have recently encountered a dataset which was imported from and Excel file. In that datas…
Subscribe to:
Post Comments (Atom)
0 Response to How to measure percentage certain observations in STATA?
Post a Comment