Hi,
I need to fill in my descriptive statistic analysis sample, and thus I need to count the number of countries in the data set. However, I don't know a clever way to do this? I'm using GEM data, so I have a lot of observations (around 144.000) in a lot of countries. The variable name is country, but it's not a variable in my regression. What command should I use? I couldn't find it on the internet...
Thanks in advance!
Kind regards,
Josephine
Related Posts with How to count number of countries when you have individual-level data of many countries
Wrong coefficient in a fixed effects panel regressionHello, I'm trying to regress the impact that fiscal rules might have on the Primary Balance of a Co…
Using variable measured at different levels in a regressionDear statalist, I am studying the effect of banking competition at the local level on the relations…
how to deal with endogenous control variables when implementing ivreg2hDear STATALIST, I am using Stata/MP 14.0, and I am referring to a SSC function "ivreg2h". I am run…
How to find the significance level of marginal effects?Hello, there are so many topics about marginal effect using -margins- command. But most of them talk…
Double selection lasso with interaction terms as vars of interestHello, I am currently using dsregress to estimate a double-selection lasso linear regression using …
Subscribe to:
Post Comments (Atom)
0 Response to How to count number of countries when you have individual-level data of many countries
Post a Comment