Is there a way to categorize or recode date variables (say which is in %td format) in Stata? This would be useful in finding the number of outputs by week or months or bi-weeks, and so on. I could not figure it out.
Related Posts with Categorize Date Variables
how to find matched pairs (treatments & controls) when running Coarsened Exact Matching (CEM) reposting the questionMy apology that I re-posted the same question. I assume that I didn't get any answers since my previ…
Error using esrefline in meta forestplot in Stata 16SEHi I get an error "option esrefline not allowed" "r(198)" using meta forestplot. I have Stata v16SE.…
How to count distinct observations by group?Dear experts, I have a dataset like below. I'd like to count distinct firm numbers by province. For…
pscore not working in STATA 16Hi, I have used pscore in the past on STATA 13. Today, I tried it for the first time on STATA 16 an…
Odds ratio of my interaction variable is too bigHello, I am writing my research on the determinants of bribing. I am using interaction variables in…
Subscribe to:
Post Comments (Atom)
0 Response to Categorize Date Variables
Post a Comment