Hi
I am going to determine how many "nacio" exist in "Expgroup & Edugroup". I used egen--total() though it says: type mismatch
Any ideas appreacted.
Cheers,
Paris
I am going to determine how many "nacio" exist in "Expgroup & Edugroup". I used egen--total() though it says: type mismatch
Any ideas appreacted.
Cheers,
Paris
Code:
* Example generated by -dataex-. For more info, type help dataex clear input str2 nacio float(Expgroup Edugroup) "PT" 1 1 "PT" 3 4 "UA" 1 3 "PT" 4 4 "PT" 1 1 "RO" 1 3 "PT" 8 2 "PT" 1 2 "PT" 1 2 "PT" 3 2 "PT" 1 4 "PT" 1 2 "PT" 3 2 "PT" 1 2 "PT" 1 2 "PT" 4 3 end egen n_nacio = total(nacio), by(Expgroup Edugroup) type mismatch

Comment