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
Variable order for interaction term in output table using esttabHello: I am trying to force two variables to show up at the very end of my regression table. My iss…
Structural approach with Poisson on panel data with endogenous regressorDear Statalists, for my thesis, I want to perform a Poisson IV with fixed effects on a panel data s…
Matching 3 groups within a sample on industry and sizeHi, For my masters Accountancy I am doing a replication of the Johnson, Khurana and Reynolds (2002) …
year month dateHi all: i hope all of you have wonderful holidays!. I have a question about generating year-month da…
Stata command for three interactions variables.Dear Statalist member, Good day everyone. I am using Stata 14.1. Here is the sample of my data. I a…
Subscribe to:
Post Comments (Atom)
0 Response to new reshape issue
Post a Comment