Dear all,
I have a cross sectional data that has a variable which identifies the family that each individual in the sample belongs to. I want to run a family fixed effects analysis using the cross sectional data. Could someone please help with the code for this.
I tried
xtset family
xtlogit y x, fe
it gives an unending result as below and i had to end it as it wouldnt stop
Iteration 0: log likelihood = -3.4657359 (not concave)
Iteration 1: log likelihood = 0 (not concave)
Iteration 2: log likelihood = 0 (not concave)
Iteration 3: log likelihood = 0 (not concave)
Iteration 4: log likelihood = 0 (not concave
Iteration 48: log likelihood = 0 (not concave)
Iteration 49: log likelihood = 0 (not concave)
Iteration 50: log likelihood = 0 (not concave)
Iteration 51: log likelihood = 0 (not concave)
I also have another cross sectional data which consists on a country identifier, i will like to estimate a country fixed effects. Please how do i go about this using a cross sectional data (whats the code needed please)?
Thanks.
I have a cross sectional data that has a variable which identifies the family that each individual in the sample belongs to. I want to run a family fixed effects analysis using the cross sectional data. Could someone please help with the code for this.
I tried
xtset family
xtlogit y x, fe
it gives an unending result as below and i had to end it as it wouldnt stop
Iteration 0: log likelihood = -3.4657359 (not concave)
Iteration 1: log likelihood = 0 (not concave)
Iteration 2: log likelihood = 0 (not concave)
Iteration 3: log likelihood = 0 (not concave)
Iteration 4: log likelihood = 0 (not concave
Iteration 48: log likelihood = 0 (not concave)
Iteration 49: log likelihood = 0 (not concave)
Iteration 50: log likelihood = 0 (not concave)
Iteration 51: log likelihood = 0 (not concave)
I also have another cross sectional data which consists on a country identifier, i will like to estimate a country fixed effects. Please how do i go about this using a cross sectional data (whats the code needed please)?
Thanks.
Comment