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
Using randomtag by groupDear Statalisters, I am having a dataset with individuals belonging to different groups and I am ru…
VAR-DCC MGARCH Spillover effects helpDear Statalists: I am fairly a new person to Stata software and it's my first time here to post som…
Appending Files with Similar Name but From Different FolderI have two folders with exactly similar file names inside them. I would like for these files to be a…
Factor scores.Hello! I was wondering how can I get factor scores which have mean = 0 and sd = 1. I'm using the fo…
How to display few IDs while maintaining the whole sample distribution in Fabplot?Dear Statalist, Could anyone advise how to display only a few IDs while maintaining the whole samp…
Subscribe to:
Post Comments (Atom)
0 Response to Error reshaping from wide to long
Post a Comment