I tried to declare my dataset as a panel data as follows, to a conduct a synesthetic control method:
```
tsset numeric_city_trans month
```
But I keep receiving an error that I have "repeated time values within panel." I am not sure how to address this because my dataset are composed of real estate transactions per month at the neighborhood-level, so it is normal for some neighborhoods to have over one observation (i.e. more than one real estate transaction in a given month).
One solution that I read is to keep one observation/row for a given neighborhood in each month, but I don't think it make sense in my case to drop all other observations in a given month and neighborhood, and just keep one observation.
An example of which is the neighborhood with number "7558", where it has several transactions per month.
Is there a way to declare my data as a panel without dropping observations?
```
dataex neighborhood_numeric month numeric_city_trans medpricesqm
----------------------- copy starting from the next line -----------------------
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input long neighborhood_numeric float month long numeric_city_trans double medpricesqm
14457 51 1 787.4016
3435 51 1 5752.2124
11262 51 1 1666.6667
7552 51 1 773.3733
7558 51 1 406.66665
755851 1 553.1915
11061 51 1 753.7248
4540 51 1 514.9331
2800 51 1 448
2956 52 1 891.2656
7558 52 1 807.4534
6670 52 1 174.9915
14457 52 1 524.17
7558 52 1 533.3333
7557 52 1 555.2471
11252 52 1 894.8546
```
```
tsset numeric_city_trans month
```
But I keep receiving an error that I have "repeated time values within panel." I am not sure how to address this because my dataset are composed of real estate transactions per month at the neighborhood-level, so it is normal for some neighborhoods to have over one observation (i.e. more than one real estate transaction in a given month).
One solution that I read is to keep one observation/row for a given neighborhood in each month, but I don't think it make sense in my case to drop all other observations in a given month and neighborhood, and just keep one observation.
An example of which is the neighborhood with number "7558", where it has several transactions per month.
Is there a way to declare my data as a panel without dropping observations?
```
dataex neighborhood_numeric month numeric_city_trans medpricesqm
----------------------- copy starting from the next line -----------------------
[CODE]
* Example generated by -dataex-. For more info, type help dataex
clear
input long neighborhood_numeric float month long numeric_city_trans double medpricesqm
14457 51 1 787.4016
3435 51 1 5752.2124
11262 51 1 1666.6667
7552 51 1 773.3733
7558 51 1 406.66665
755851 1 553.1915
11061 51 1 753.7248
4540 51 1 514.9331
2800 51 1 448
2956 52 1 891.2656
7558 52 1 807.4534
6670 52 1 174.9915
14457 52 1 524.17
7558 52 1 533.3333
7557 52 1 555.2471
11252 52 1 894.8546
```
Comment