Suppose I have a dataset containing two variables X and Y. Without resorting the data, I would like to add 2 flag variables, one indicating whether the value of X has occurred earlier in the dataset and one indicating whether the value of Y has occurred earlier.
What's the best way to do that in Stata?
Related Posts with Flag repetitions
Estimates of Marginal Effects after GMMHello Experts and Researchers ! Could anyone suggest me the code and command on how to estimate marg…
Why stricter the condition, the higher probability?I am using joint null test if all averaging effect of these variables (dkt_4 dkt_3 dkt_2 dkt_1) is 0…
Problem with "asdoc" and the order of the categoriesHi, I have a problem with asdoc, I hope you can guide me. The correct tab (with sum) is as follows: …
Panel Data Regression on Gravity ModelHi everyone, I am doing an gravity model analysis on panel data of 10 countries for 30 years. This …
ivtobit first stage R2Hi stata users, Currently, I am estimating an econometric model with IVTOBIT in order to address so…
Subscribe to:
Post Comments (Atom)
0 Response to Flag repetitions
Post a Comment