Sorry, this should be straightforward but I can't figure it out even after trying and using the manual. I was able to collapse the data I asked about before but I made a mistake for one country that has two different values in the data set (and the one I want to merge with it). Italy is Italy/Sardinia for observation number 90 and Italy for observation 206. I need to replace the observations with a score of 0 in observation 90 with the values of the variables for observation 216. I tried a replace in a loop that included:
replace gwno1901[_216] if *[_90]==0
but got:
weights not allowed
Related Posts with new reshape issue
looking for tl_2016_us_county.zip,can you share the package with me?Can any friends share this map pack(tl_2016_us_county.zip)? Just to practice the operation of the sp…
Oaxaca Blinder DecompositionHi, I want to use Oaxaca Blinder Decomposition and Heckit for my final project. Both are used to an…
Imputing a passive variableDear all, I have the following data. A group identifier for the region (region) a person lives in wi…
Interpreting significant intereactions inHello, I post below a results table for a diff in diff model. For simplicities sake, please look on…
can asdoc output the percentages of each cell?I checked the help file of asdoc, it can output the row percentage or column percentage of tabulate …
Subscribe to:
Post Comments (Atom)
0 Response to new reshape issue
Post a Comment