Hello everyone,
I have a big doubt about this counting issue:
Array
Let's suppose we have to count the number of observations which have value==1 and also cod1 != cod2.
Do you know any way to do so?
Thank you so much in advance,
Related Posts with How to count a variable based on an if condition
Creation of panel of 16 months by linking monthly samples from CPSMy main purpose is to see how a person changes job and how it affects the wage in few selective stat…
reshape wide to longDear All, How can I reshpae the following wide data into long data format? Thanks. Code: * Example …
Print excel after calculating Shannon entropyDear Statalists, I have a problem since I am calculating the Shannon entropy for a very huge number …
LATE Difference-in-DifferencesHi all, I'm trying to estimate a generalized DID (two periods three groups)'s local average treatme…
Merging datasets with same variable but different values for the variableHi. I wanted to understand the finer working of the -merge- command and it isn't clear to me from re…
Subscribe to:
Post Comments (Atom)
0 Response to How to count a variable based on an if condition
Post a Comment