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
Dropping observationsHi I am working on a data of transplant patients and some of the patients have multiple transplants …
Merging Two VariablesHello, I am lost and could need some help! I have one variable, lets call it X, which includes livi…
split (Chinese) addressDear All, I have this data on addresses (x variable): Code: * Example generated by -dataex-. To ins…
Question about comparing the results of OLS regression and Poisson regressionDear all, I have a rather basic question and apologize in advance because of it. I am using a pane…
How to fix autocorrection in OLSHello, I have panel data ( N is large with T is small). My data has autocorrection and don't have he…
Subscribe to:
Post Comments (Atom)
0 Response to new reshape issue
Post a Comment