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
Related Posts with Dropping variables does not change the min and max values in summary statistic why?
marginsplot (interaction plot) change marker position or symbolsHello all, I would like to seek help in margins plot. I searched the forum but could not find the a…
generate a new variable that takes on the value of a separate variableI have data that are long. I would like to generate a new variable that takes on the value of a sepa…
Create a macro of all polynomials and all possible interactions between variables that are set in one macro.Dear forum users, I have a programming problem when setting up a macro and would like to ask your h…
Create Country pair dummiesDear All, I have a dataset with one country exporting to 84 countries and importing from that 84 cou…
esttabDear Researchers, I am using the generalized DID model and the code is below: Code: xtreg perf i.Ev…
Subscribe to:
Post Comments (Atom)
0 Response to Dropping variables does not change the min and max values in summary statistic why?
Post a Comment