- Hello every one,
Please I am new in stata, I am trying to construct a cross sectional data set from a survey stata file and climate record of survey cluster in excel, then run a probit cluster fixed effect on the sample..
for instance, the excel file is:cluster temperature precipitation 1 25.6 1.89 2 27 2.4 3 24.44 1.56 4
5
624.89
30
27.62.32
2.9
2region cluster adoption age sex f=2, male=1 urban 1 1 10 2 rural 1 0 15 1 urban 1 1 14 2 rural 1 0 5 2 urban 2 1 13 1 rural 2 1 6 1 urban 2 0 7 2 rural 3 1 13 2 urban 3 1 4 1 rural 3 0 7 2 urban 3 1 4 2
use "C:\survey\A.dta", clear sort cluster joinby cluster using "C:\temp\B.dta", unmatched(both) sortby cluster: probit adoption age i.sex temperature precipitation I am getting error messages. Kindly guide me please. Thank you.
Related Posts with using DHS DATA SET for cluster fixed effect
Endogeneity test (for ordered probit model) after CMP command?I am using ordered probit model with (dummy) endogenous variable. I am interested to test the endoge…
Silverman's rule-of-thumbHey, I have a question regarding the bandwidth calculated by Silverman's rule of thumb. I am using …
Help on collapseHello! I am working on historical financial data. A small sample of my data looks like this: auto…
Assign the oldest in a household as headUsing index as household identifier, a3age as Age,1== head in the relationship …
locals and varnamesDear all, say that i want to create new variables using a numlist as follows: Code: forvalues i=5(…
Subscribe to:
Post Comments (Atom)
0 Response to using DHS DATA SET for cluster fixed effect
Post a Comment