I have an unbalanced panel data about U.S. equity funds Variables:
yrqt: a date variable, such as 1981q1, 1981q2…
wficn: fund identifier
fund_name: the name of a mutual fund
Mutual fund may change its name over time. I want to create a new variable to identify these quarters when the fund’s name is different from the previous quarter. We can call this new variable is_change, whose value takes 1 if the fund’s name at current quarter is different from last quarter, and takes value of 0 if the fund’s name stays the same.
How can I accomplish the task described above with stata codes? Any advice would be greatly appreciated. Thank you.Array
Related Posts with how to identify a mutual fund changes its name and when
Using foreach syntax to create new variableGreetings, I am having a challenge of creating a new variable that reflects the cases and controls f…
When can I use "xtset id" in response to "repeated time values within panel"?Hi there, I currently have data for a large pool of individuals across four years (2015/16/17/18). …
META ANALYSIS - meta regression -Prevalence studyHi to everybody. I've to do a metaregression analysis of Prevalence study. The aim of the study is: …
Create same variable across groups in panel dataHello Statalists, Hope you can advise on this. Lets say I have data N=20 and T=100, and I want to …
Modify color outside valuesGood morning I am using stata 14 and the following code to graph three boxplots. I have changed the…
Subscribe to:
Post Comments (Atom)
0 Response to how to identify a mutual fund changes its name and when
Post a Comment