I was wondering if there exists a function or command that counts the number of string variables in the dataset. I currently just found the c(k) that count the number of variables, but it is not possible to specify an option or "if" of any sort.
Related Posts with count the number of string variable
Annualized Sharpe ratios and VolatilitiesGood morning, I have Monthly excess returns of two portfolios P1 and P8 over 29 years. For my maste…
Why does Stata allow a random effect without a level-1 effect?The command for an HLM model in Stata is: Code: mixed depvar indepvars . . . || levelvar: revars, …
How to estimate the risk difference with margins after meprobitDear Statalist, Happy new year! Here is my question: Code: clear set seed 2020 set obs 400 set …
Nonlinear decomposition with interaction effectHi all, I am studying the effect of child health on educational outcomes. My IV is the likelihood of…
Multiple imputation and multi-level data questionHello, I am looking for help with multiple imputation and multi-level data. At level 2 I only have …
Subscribe to:
Post Comments (Atom)
0 Response to count the number of string variable
Post a Comment