- 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
Difference between reg vce cluster (id) AND reg robust cluster (id)Hello everyone, I am using panel data and running a model with the Least Squares Dummy Variables Mo…
Fama MacBeth model - factor loadings: asreg with fmb omits coefficientsDear all, I would like to get the loadings of various factors (i.e. their beta coefficients) influe…
'invalid name' error in logit MLE programIf anyone can help it would be great. I'm trying to do a logistic MLE. I've written an ado with the …
regex expression, extract the number from stringHi, dear all I want to extact all numbers from the string. I want to use the Lookahead and Lookbehin…
Multi level modelling cross level analysisI want to examine the effect of educational attainment(xvar) on prejudice(yvar) (both 1. level varia…
Subscribe to:
Post Comments (Atom)
0 Response to using DHS DATA SET for cluster fixed effect
Post a Comment