Hello!
I am fairly new to stata, and I have spent quite some time on this website to find a solution to my problem (obviously without success)
Basically, I would like to allocate values from one variable (Description1) to a new variable (alloDescription1) based on particular values (i.e 47823 or 34637) within a particular variable (unique ID). The following two tables explain my current data situation and where I want to be.
Array
I much appreciate your help!!
Kind regards
Related Posts with Allocating particular values based on an identifier
Bootstrap post-estimation Craggit modelHi there, I am needing to use Cragg's Double Hurdle Model, and using the Craggit command. However, I…
DID estimationhello everyone, how can I treat the problem if I see an error years not nested in countryid or count…
Interpretation of constant in xtregHello everyone! I am currently writing my master thesis, where I analyze the effect of hurricanes o…
Double Clustering in a Multi-country Data Set upDear Stata Members First, a heartfelt advance New Year Wishes to All. I wish all a prosperous New Ye…
Difference between DiD and two-way fixed effects modelI am currently writing my master thesis, where I analyze the effect of hurricanes on the stock marke…
Subscribe to:
Post Comments (Atom)
0 Response to Allocating particular values based on an identifier
Post a Comment