Hello
I have tried to figure out how to drop a set of observations if they meet two criteria (one of each observation). It is not a problem if I only have one condition, but I only want to drop a set of observations==0 if another observation==1. Any good advise, I can't seem to find any answers online either?
Kind regards Rasmus
Related Posts with Drop observation1==0 if Observation2==1
melogit with crossed (non nested!) factors does not workDear all, thanks in advance. I have an issue that freaks me out. I wonder if I'm wrong to set up th…
Using local macros in tslineHi, I am using Stata 16 and would need help in macros. Below is my dataset: Code: * Example gener…
Finding last day of the monthHello, I have the following code: Code: generate dayofmonth = day(date) rename (THENATIVE-ZWAHLENM…
how to analyze the data for measuring multiply site from same patients? Repeated Measures Analysis of Variance (ANOVA)?I am doing a study to evaluate the effect of ossification ligament on thoracic vertebra. The purpose…
Ratio of male to female in a datasetHello. It's probably an easy question but I searched a lot and found nothing. I have a data set an…
Subscribe to:
Post Comments (Atom)
0 Response to Drop observation1==0 if Observation2==1
Post a Comment