The server I’m working on does not allow me to install -dataex-, so I apologize for the lack of standardized example!
I’m working with a panel. I have individual-level purchase data from a chain of stores, and each person’s purchases were aggregated monthly. I have an id variable for each person (mvp_id) and an indicator variable for month (mthyr). I also have a variable that gives me the store ID where the person spent most money in each month (topstore1). I need to know how many people have (two or more) different top stores across the months in my dataset, versus how many people have the same top store across all months in my dataset.
Related Posts with Distinct occurrences of variable value within each individual in a panel
Joining when the join variable has a different name in two datasetsI get frustrated time and again by the fact that join variables need to have identical names in both…
Merging datasets: HH or roaster which file should be master?Hi, My analysis will be like poverty headcount index, for fuel poverty using a panel data-set. Wha…
Reporting Treatment and Time Dummies in DiD Models despite Fixed EffectsDear Stata users, I have a practical issue concerning the use of dummy variables in a difference-in-…
manage my databaseGood morning all I work on the school attendance of people under the age of 17. so I isolated these …
Convergence not achieved - SEM with second-order latent variableHey! I'm currently working with the SEM Builder in Stata 16.1 trying to estimate a model including …
Subscribe to:
Post Comments (Atom)
0 Response to Distinct occurrences of variable value within each individual in a panel
Post a Comment