Hello,
I need to calculate a racial dissimilarity index score for each of 52 neighborhoods in my study. For each neighborhood, I have the proportion of individuals who are black and the proportion white (scale of 0-1). I have tried using "seg" to calculate a dissimilarity index score for each neighborhood, but I only get a dissimilarity index score for the whole of my data, not one value for each neighborhood. The code I used was:
seg paa15 pwhite15, d by(neighborhood) generate (d dissimindex)
Can anyone help me figure out what I am doing wrong, and how to get the index score separately for each of my neighborhoods?
Thank you!
Melissa Sherry
Related Posts with Dissimilarity Index for Neighborhood Level Data
Obtaining standard error for covariance in mixed effect modelDear Statalist, I was wondering if anyone knows how I could obtain the standard error for the covar…
Multiplicative versus additive IV PoissonI am using the IV Poisson to address the endogeneity issues in my gravity model. However, when I use…
Rolling Bayesian EstimationDear all, I am trying to obtain rolling "Bayesian" coefficients using a panel dataset with 50-quart…
How to aggregate variables into a single variableHi all, I am looking at sickness absence in various occupations in LFS data. The dataset contains t…
Select cases with single observation from multiple variablesHi, I have some data in the following format: Array And what I need to do for my analysis is to se…
Subscribe to:
Post Comments (Atom)
0 Response to Dissimilarity Index for Neighborhood Level Data
Post a Comment