# Terminology for different types of epidemiological variable

If I have a data set with $n$ patients and I have a categorical variable $X$ for each patient, I want to drop all patients whose $x$ is a particular value.

Question 1: what is the term (preferably the epidemiological term) for variable $X$? (Is it an exclusion criteria variable [I've never seen this term before, I'm just guessing], or is there a commonly used term?)

Next, I want to subset the resulting data set into two data sets according to the values of a dichotomous variable $Y$ for each patient such that all patients for which $y = 0$ will go in data set A whereas all patients for which $y = 1$ will go in data set B. I will then treat data sets A and B separately and do statistical tests within each. Following this, I would perform comparisons between A and B.

Question 2: what is the term (again preferably the epidemiological term) for variable $Y$? (I was thinking something along the lines of subsetting variable, but again, I've never seen this term.)

-

Let us assume we're talking about a particular categorical variable. Lets say a "residence" variable that indicates if someone lives in a private home, an apartment, a dorm or group living space, a nursing home, a prison, or other.

For your first example, I don't know that I'd call the variable anything. I'd probably end up just saying what value of the variable I ended up excluding. For example: "Subjects who were incarcerated in correctional institutions were excluded from the study."

In the second example, depending on what you're doing you might say you're "stratifying by Y". That being said, I'd never be really all that comfortable with splitting them into two entirely two data sets and analyzing one utterly without the context of the other. Unless it's just a way to partition things that really should be two separate studies - but in that case you don't need to talk about the variable, as you're really just running two separate studies whose data you happened to get in the same file.

-
In the first instance, I'd run tests within A and B separately. However, ultimately, I'd want to compare the results of A with the results of B. So, perhaps stratifying variable? I just need a single, understandable term to summarize my study design in tabular format. –  jetistat001 Sep 30 '12 at 8:23
Yeah, I'd just say "stratified by Y". –  EpiGrad Sep 30 '12 at 8:24