Hi, I'm trying to generate spells in Stata for an HR type of database. I want to count periods of absence from work, and I want to categorize absences between short term (let's say less than 11 days) and long term absences (11 days or longer). BUT, I want to only count workdays. Any advice on how to accomplish that? Is there an option that I'm missing that I could use with tsspell?
IF that were possible, would it be also possible to specify holidays?
Thanks!
Related Posts with tsspell to count only workdays?
Implementing part of normal equations manually Code: * Example generated by -dataex-. To install: ssc install dataex clear input float ones int(x…
Converting numeric values into timeHello! In my dataset, I have a column "time_out" which has numeric values such as 17.45 or 18.36 et…
Westerlund error-correction-based panel cointegration testsDear all, I am trying to do panel cointegration test using xtwest command or using Westerlund(2007) …
Westerlund error-correction-based panel cointegration testsDear all, I am trying to do panel cointegration test using xtwest command or using Westerlund(2007) …
Estimating shares for a categorical variable per year and per stateHi all, I have a categorical variable with three categories (1, 2, 3). I want to find the percentag…
Subscribe to:
Post Comments (Atom)
0 Response to tsspell to count only workdays?
Post a Comment