특정한 집단 별로 기초통계 구하기
* 잘 정리된 사이트 https://dreamingpeace.tistory.com/44 [STATA] 정말 유용한 egen row: mean, sum, total, max, min, tag, group, concat, cut egen command를 통해 활용할 수 있는 함수들을 몇 가지 알아보겠습니다. mean() egen mean_price = mean(price), by(store_id) 이는 각각의 store_id에 대하여 price의 평균값을 mean_price라는 새로운 변수로 저.. dreamingpeace.tistory.com 여기서는 아래의 블로그를 참조했다고 함 https://stataprogect. blogspot.com/2007/12/step4-thank-god-for-egen_co..