Hi, I have a question that I hope someone can answer. I'm still pretty new to stata, so excuse me if I'm completely lost...
I work with a dataset where I made my own. A survey.
I have 538 observations in my dataset.
I am researching something with Muslims in Denmark and have therefore measured the degree of their identification with the social group "muslim minorities" on three variables.
Here, they should declare "strongly agree" to "strongly disagree" on a scale of 1-5.
I would now like only to keep the observations that have either responded "strongly agree" or "partially agree" on mininum two of the three variables.
I don't know if that's a possibility in stata at all? I've searched and read a lot, but can't find some commands that can solve my problem.
Related Posts with Delete observations under conditions
Variable labels and frmttableI am using frmttable to generate a summary table. As far as I can see the option varlabels should au…
Meta Command for prevalencesI'm trying to run a meta-analysis using the metan command for a rate of the progression outcome vari…
Baseline hazard function for Piecewise constant modelI need to plot baseline hazard functions for a piecewise constant model. The problem I find is that …
Simple question on asdoc and label lengthsHi all, I am using asdoc to export some simple summary stats to word, using labels as variable name…
Find attrition at personal levelDear Stata users, I am using an unbalanced panel dataset. Here is an example of my dataset. hhid …
Subscribe to:
Post Comments (Atom)
0 Response to Delete observations under conditions
Post a Comment