I am getting an error message as 'variable id does not uniquely identify the observations' while reshaping the data from wide to long. I checked my id variable i.e. FIPS and found that there are duplicate observations. However, I cannot remove the duplicates of the id variable FIPS as it will remove observations of another variable called uw_id. I want the variable uw_id for analysis. Removing observations of uw_id by dropping duplicates of FIPS will not serve my analysis. I will appreciate if I receive any help.
Related Posts with Error reshaping from wide to long
convert GPX file to CSV file in StataHi all, I have many gpx files. I want to show the tracking point by using spmap, which needs lon an…
panel data with three equationsHi all, I am trying to solve the following equation system. The data is panel and I will include fi…
I want my string values to become numeric values Code: * Example generated by -dataex-. To install: ssc install dataex clear input str26(q11r1_faceb…
Suppressing Overall marker in Metanalysis forest plotsHi David. I am new to stata and woud like to plot forest plots for of hazard ratios, but would like …
replace multiple variables at the same timeHi, I have 10 variables. All of these variables are dummy, 0 or 1. The original data set is 1 and . …
Subscribe to:
Post Comments (Atom)
0 Response to Error reshaping from wide to long
Post a Comment