- 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
Collinearity-removed variables, other statistics not showing up.I'm currently running a lot (77) of different time-series regressions, each of which use different f…
Different Regression Results after each rerunHello everbody, excited to make my very first post. I am currently writing my Thesis with Stata. I a…
R-square in logistic regressionHello, For my study, I analyze the data using logistic regression analysis, but when changing the sc…
Running IV with ordinal instrument on binary endogenous independent variable and continuous outcome variableDear Stata Community, I would like to ask if anyone here could offer some advice on the estimation …
Finding relevant datesHi This is my first attempt at using dataex Code: * Example generated by -dataex-. For more info,…
Subscribe to:
Post Comments (Atom)
0 Response to using DHS DATA SET for cluster fixed effect
Post a Comment