Hi,

I am working on a confidential dataset from a virtual desktop which does not permit me to share any example data. However I am experiencing a problem. I am creating three different data files according to income levels (lowest, middle and top 33%), I am doing this by dropping the observations using the "drop" command. However, when I open the three dataset separately and try to obtain the summary statistics for another non-income variable, even though it has different means and standard deviations the min and max values are the same (exactly the same until the very last point in a dataset of 2.5million observations). Is this normal? Why is this happening? It makes me wonder whether I am creating my dataset correctly.

Since I cannot copy paste the code that I am running I shared a photo of my code. Any recommendations on what I might be doing wrong would be highly appreciated..

Array