Vera thinks that having pets increases psychological functioning and well-being. To test this, one group of randomly selected nursing home residents is each given a pet while a second group is not. Over two months, the overall level of psychological functioning is evaluated on a daily basis. What is the independent variable in this study?