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
no observations error for regressing two IVs that are mutually exclusiveDear Statalist, I have a dataset with European and non-European countries. I define "europe" as: C…
obsdiff commandHello everyone, I have a large dataset with many duplicates across different variables. I am trying …
comparing bayesian models with WAICHi Stata Users, the Watanabe-Akaike Information Criterion (WAIC) is a good choice for comparing bay…
Eventstudy2 command issue with merging datastetsDear statalist, I am trying to use the estudy2 command This is the command I run eventstudy2 set da…
biprobit with two endogenous variableDear Statalist users, I am trying to estimate a model where both dependent (y) and two endogenous v…
Subscribe to:
Post Comments (Atom)
0 Response to Allocating particular values based on an identifier
Post a Comment