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
How to reshape data from wide to long with multiple variables?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Creating a new categorical variable by spousal agreement/disagreementHi, I'm trying to create a new categorical variable that indicates (heterosexual) spousal disagreeme…
How to reshape data from wide to long with "tricky" variable names and how to merge multiple data files?Hi, I have two questions regarding data cleaning: Q1) I have a following wide data and want to conv…
Highest frequency variableMay you advise, for each "personid", create a new variable which identifies "place2_type" with the h…
How do i create a variable from a longitudinal dataset where i have one row for all the times a unique individual appears more than onceHi everyone, first time here I have a longitudinal data set with 3500 unique individuals that looks …
Subscribe to:
Post Comments (Atom)
0 Response to about time period group
Post a Comment