I understand the command xtile ... , nq(10) can create deciles based on the entire data-set being aggregated, but as far as I am aware, it cannot be used in conjunction with a bysort.
For example, I want to create deciles based on the month of June, where my data is monthly and ranges from 1990-2000. What would I do in that case?
Related Posts with Is there a command for creating deciles by date?
Help!-Using Diff in Diff estimates with Twin Studies to control for heritabilityOk so I know nothing about econometrics or research methods but I have this project for my Humanomic…
Create a Panel DatasetGood Evening, I am trying to build a panel dataset from a list of Banks that I have downloaded from …
Calculating time-variant Herfindahl index (HHI)Dear all, I am looking to calculate the Herfindahl index over the variable "industry" by group "ID"…
Panel Data regression with time and firm fixed effectsHi everyone, I am trying to run a panel data regression with time and firm fixed effects, but I am …
Help Interpreting a log-log scale scatter plotDear all, I am using Stata 16, on mac. I used the command twoway scatter lnGDP lnpopulation. GDP i…
Subscribe to:
Post Comments (Atom)
0 Response to Is there a command for creating deciles by date?
Post a Comment