Dear all,
I have a cross sectional data with a variable showing number of siblings "n_siblings" for each individual. I also have a variable "m_fam" which identifies each family by a unique id number (so some individuals in the data are from the same family). I want to do a family and sibling fixed effects analysis. Please how do i go about this?
Will it be
xtset m_fam
clogit x y, group(m_fam)
or
xtset n_siblings
clogit x y, group(n_siblings)
Related Posts with Fixed effects
Deleting observations with missing values using macro/loopingHi all, I am very new to macros and looping (in Stata). I have certain variables for which it is ne…
Three level nested logitHi, I'm trying to run a nested logit using three levels with -nlogit-. Level 1 is whether the indi…
Question on how to eliminate only certain dataGood Evening and sorry for the not very descriptive title. I am not sure how exactly to word my issu…
Varbench - Is there any minimum number of observations needed?Hi, I am using the varbench command. My dataset has 96 observations in total. When I run this comma…
How to eliminate male-only households from individual-level dataDear Stata Users, I am new to Stata. I have a Census dataset on individuals, that are identified p…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed effects
Post a Comment