Greetings colleagues, I need help with a feature that I want to implement but, so far, it has been difficult. Imagine if you want to view data from a dataset based on some criteria, for example: inlist (variable_a, "yes", "maybe"). but what I want is to be able to use the symbol * inside it in order to be able to apply the function to a group of variables for example: inlist (variable _ *, "yes", "maybe"). but, unfortunately the inlist function does not allow it because it returns an error. is there another function that allows me to do this?
I would appreciate the help. Thanks.
Related Posts with Use the symbol * in a function to apply some criteria to a group of variables. for example the inlist function. or others if any
2SLS/ Interpreting Cragg-Donald Wald F statistic and Stock-Yogo weak ID test critical valuesHello, I am running a robustness check using 2SLS and was having trouble interpreting the Cragg-Dona…
Controlled interrupted time series with count data using glm, panel data, and Newey-West standard errorsHi, I am trying to conduct an interrupted time series analysis with an intervention group and a con…
How to get the error termDear Statalists, Greetings, I will be so grateful to have an answer for the following issue, pleas…
How to use data in ARDL Bounds testThis is my first time to use Stata in fairly complicated research. Must the variables which are in l…
Panel data replace all valuesHello! I'm fairly new to Stata 17, and Stata in general and I had a question about replacing all va…
Subscribe to:
Post Comments (Atom)
0 Response to Use the symbol * in a function to apply some criteria to a group of variables. for example the inlist function. or others if any
Post a Comment