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
Foreach paired ttest loopHi there,
I'm having trouble running the foreach command using paired ttest.
I have tried somethin…
Average annual growth rate from panel with gaps in the time seriesHello everyone,
I have a panel with occupation shares (already in percentages) across 9 occupation …
Counting number of observations for a range of yearsDear Statalist-Community,
first of all I would like to thank you all for the very helpful discussio…
Circular data options issueI am examining aspect data and would like to display this using circrplt.
However, I am having issu…
Loop of time series regressionHi all,
I am new to Stata and I have the following problem.
I have to conduct an event study for 1…
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