Hello. I am working with household survey dataset.
I need to find the share of diversified farm households in each districts.
I have two unique variables (xhpsu : household primary sampling unit and xhnum: household number) in each dataset with which I have been merging the datasets.
I tried using coll2(mean) by xhpsu command, it gave me the statistics that I wanted. But I am having problem merging this with my master dataset as this fails to incorporate xhnum.
So can anyone help me?
Related Posts with Stata command help
Returns to education regressionHi everyone, I am new to STATA and have a question about a returns to education regression I would l…
Inquire about uniform random-number generationThe textbook (microeconometrics using stata) said, For reproducibility of results, however, it i…
Sampling using sample commandHello Everyone, I have a dataset which has data for 100 households from each of 3 cities. Further, …
Incidence rateDear All,ho I used survival analysis to estimate the incidence of mother-to-child transmission of HI…
the exponential model, using the NLS, poisson and gamma QML estimatorsDear all, I have a question related to the estimation of the exponential model. This is related to …
Subscribe to:
Post Comments (Atom)
0 Response to Stata command help
Post a Comment