Hi there Statlist community!
I am currently working on summarizing home value appreciation by neighborhood over time, and am wondering if there's a smarter way to do what I'm doing. In order to get median home values for each year by neighborhood, I've been doing
bysort saleyear: sum saleprice if neighborhood==1, detail
for each neighborhood, which has been time-consuming and cumbersome for my ultimate goal of a nicely-formatted multiple line graph in excel (with one line for each neighborhood, values on the y-axis, and year on the x). Does anyone have any ideas for a smarter, smoother way to do this? Thank you so much in advance for your help and best wishes!
Related Posts with Getting medians for different x variables across years
Export first stage results using esttab with ivprobit and birprobitIs there a way to export first-stage results from -ivprobit- and -biprobit- using -esttab-? I know o…
Factor variable and interaction in syntax commandHi, I am trying to add interaction terms into a simple new command. Something simple like this: C…
Meta forestplot and Meta summarizeDear Stata Users, I am working in a meta analysis of prior 20 studies. In several studies I have co…
spmatrix -same coordinatesDear all, I tried to create an inverse spatial weight matrix, but without success. I rely on a cros…
Wald exogeneity test with -biprobit-Dear Statalisters Is there an in-built command/option with -biprobit- which shows the result for Wal…
Subscribe to:
Post Comments (Atom)
0 Response to Getting medians for different x variables across years
Post a Comment