Dear Mike, WOW! Thank you so much for this fantastic tutorial. I have been searching for this model specifically. I'm new to R and have run all my analyses in SPSS. A question: How can I filter data if I have a merged dataset, and would the analyses be the same if my X and W variables were categorical (dummy variables)?