Hellow everyone,I wanna to divide stock monthly return into three groups based on the original return of 11 months dating from the end of monthly t − 2,how can I do it.
I only did the end of monthly t-2 by use "gen portfolioday=cond((date==lastdate)&(month[_n-2]),1,0)"
How to achieve grouping in the following time period?
THX
Related Posts with about time period group
Confirmatory factor analysis with high-frequency longitudinal dataDoes anybody know of a Stata program that can do confirmatory factor analysis in longitudinal data o…
Village fixed effects using logit for PSMHello everyone, I want to run a logit using village fixed effects then use it with propensity score…
Why Multivariate L1 distance from Coarsened Exact Matching (CEM) is so high compared to Univariate imbalance for each matching covariate?I was looking at a paper (link here) by Blackwell et al. (2010) on CEM in Stata. In one example usin…
Zero inflated negative binomial regression vs negative binomial regressionHello everyone, I am running an analysis to see if serum cholesterol together with sex, DBP, and Ag…
Extracting month value from timestampI am working with survey data and there is a variable called "timestamp". Here is an observation fro…
Subscribe to:
Post Comments (Atom)
0 Response to about time period group
Post a Comment