I have a variable which is ID with 26000 observations, there are more than 2000 values, some are repetitive. I want to find what is the mean of frequency of each value. I tried other code and it keeps showing too many values, but values is not what I am looking for. The next step is what I am finding, which is the mean of frequency of values, not the values itself. How can I solve this?
Related Posts with mean of frequency of each value
Import XML data with Stata - usexmlexDear Stata community, does anyone know how to import xml-data with Stata Version 16? I tried to in…
merge 1:m using new_id, overwrites id in masterfileDear listers I have two files that i want to merge. File 1 includes: id (string), case_id (string)…
two way fixed effects: Mundlak specification (time effects and fixed effects)Dear all, I am working with panel data and would like to proceed with a two-way fixed effects model:…
Running regression while controlling for industry and yearsI'm investigating the influence of patenting (pat_yr -> patents per year) on the returnoninvestem…
Counting yearly cumulative observationsHi all! I am working with the dataset in the attachment. The data in the variable appln_id are Amer…
Subscribe to:
Post Comments (Atom)
0 Response to mean of frequency of each value
Post a Comment