11/29/2023 0 Comments R studio regression function and plot![]() DV: dependent variable (Y), the outcome of your study (e.g., weight loss). ![]() Let’s define the essential elements of the interaction in a regression: plot: to visually display the interaction in the form of simple slopes such as values of the dependent variable are on the y-axis, values of the predictor is on the x-axis, and the moderator separates the lines or bar graphs.probe: to use hypothesis testing to assess the statistical significance of simple slopes and simple slope differences (i.e., interactions).decompose: to break down the interaction into its lower order components (i.e., predicted means or simple slopes).What exactly do I mean by decomposing, probing, and plotting an interaction? Hours: hours spent exercising (continuous)Įffort: effort during exercise (continuous), 0 = minimal physical effort and 50 = maximum effort Loss: weight loss (continuous), positive = weight loss, negative scores = weight gain This is a hypothetical study of weight loss for 900 participants in a year-long study of 3 different exercise programs, a jogging program, a swimming program, and a reading program which serves as a control activity. ![]() How much more weight loss would I expect for every one hour increase in exercise compared to the average amount of effort most people put in?Īdditionally, we can visualize the interaction to help us understand these relationships.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |