There are three arguments that you need to specify when using this function: the data argument specifies the data set, the INDICES argument specifies the grouping variable, and the FUN argument specif...There are three arguments that you need to specify when using this function: the data argument specifies the data set, the INDICES argument specifies the grouping variable, and the FUN argument specifies the name of a function that you want to apply separately to each group.
The cells in the body of the table, then, would contain the mean gain in mood for each group. Given that, the drug used and the therapy used are the predictor variables and the gain in mood is the out...The cells in the body of the table, then, would contain the mean gain in mood for each group. Given that, the drug used and the therapy used are the predictor variables and the gain in mood is the outcome variable. To do that, select the Gain in Mood variable and move it to the Dependent List and select Therapy Used and move it to the Factor List. The mean Gain in Mood for No Therapy is .7222, while the mean Gain in Mood for the group that received CBT therapy is 1.044.