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
Significance at 5% or 10% for a regression outputDear Stata Members I would like to ask a question on interpreting the significance of results based…
Calculate gini coefficients for each groups of a datasetHello, I want to calculate ginicoefficients for each group of a dataset. The table shows an example…
Creating a categorical variable with several conditionsDear all, I am a STATA-beginner and am currently struggling with creating a categorical variable tha…
Determining Causal Relationship using instrumental variableI have used the "xtivreg" command to account for endogeneity (My IV is Deviation from Average Rainfa…
Long to WideHey, I have a long dataset that I want to convert to wide which looks like below. I've been reading…
Subscribe to:
Post Comments (Atom)
0 Response to how to identify a mutual fund changes its name and when
Post a Comment