Hi,
I have data for almost 7,000 organisations.
I want to use say, 6 variables, to identify the 60 most 'similar' organisations, for each of the 7,000 organisations.
So each organisation is assigned 60 nearest neighbors.
is there a way to do this outside of teffects?
Or is the 'best' way to use teffects in a loop where I have 1 treatment observation, and 6999 'controls'. With the neighbors identified one by one?
This would probably require a lot of computer time. However, I could speed it up by breaking the job up and running in parallel.
Regards,
Andrew
Related Posts with Identifying 'nearest neighbours' without using teffects
Export trade durationHello, I am trying to assign consecutive years of exports to my data. My data consists of Years, pr…
VentilesHello, I want to take a variable of mine, put it into ventiles, then use collapse to graph the mean…
How to correct a time-varying variable that assumes two different values within the same period for the same IDDear all, I am working with an administrative dataset that contains a string variable that might as…
Questions about testing equality of survivor functions in matched patient dataI have two different datasets of patients and I would like to perform survival analyses to compare t…
Panel data mediation use --sgmediation--Dear all, I want to use the command--sgmediation- to analyze the mediation of panel data.I read that…
Subscribe to:
Post Comments (Atom)
0 Response to Identifying 'nearest neighbours' without using teffects
Post a Comment