Hi,
I am trying to drop some of my repeated observations. I attached a screenshot, there are multiple observations for some of the ids. I want to drop extra observations for a unique person. For instance, for the id:945000 there are 3 rows, I want to decrease it to 1 since variable "ilk" takes " ." for all observations. For id:1028000 I want to drop the first row since the variable "ilk" takes "." for the first partner and keep observation for the second partner since it has a numeric value. I have 4994 unique cases, and they may have multiple partners. if you have any simple suggestions for solving this, I will be glad.
Related Posts with dropping multiple observations for same ids
Help Regarding "esttab"Greetings Everyone! Hopefully, you will be fine, I want to add Groups(Firms) in the Regression Tabl…
How to write correctly the panel data regression in the command Stata?Good morning to the community. I've read a lot of books and I've seen a lot of videos on panel data …
Quantifying serial correlation in a small-T panelHi all, I have a (very) large N and small T panel. For convoluted reasons, I would like to quantify…
MNAR data and factor analysis/latent variable analysisDear community, I hope it is alright that I am asking some quite basic questions. I have collected …
Place date year on a second line on x-axisMy x-axis data is currently in date (week) format, so my current code as part of a twoway graph is a…
Subscribe to:
Post Comments (Atom)
0 Response to dropping multiple observations for same ids
Post a Comment