Hi there. Is it possible to generate a newvar that counts up the number of particular values for a varlist but excludes the missing values? How do I make sure that the 0 does not include missing (.) values?
Related Posts with missing values with egen anycount
Using World Values Survey Wave 7 in StataHello, I am getting started with using World Values Survey Wave 7 (WVS-7) in Stata. Is there anyone …
Creating a variable with several condition using the foreach loopHello Everyone, I am trying to create a variable ,"grad_AA", that will determine respondents' gradu…
error using svy bootstrap with self-written programDear list, I want to calculate bootstrapped standard error (and pvalue) of the difference between t…
problem in dummy approach-interaction termsDear I use the panel regressions using augmented mean group (AMG) method, I add the dummy variabl…
Select all variables based on suffixI want to select all variables that contain a certain suffix to store them in a macro. Any suggestio…
Subscribe to:
Post Comments (Atom)
0 Response to missing values with egen anycount
Post a Comment