The log rank test involves the following steps: 1. Data Collection: Gather survival times and censoring information for each group. 2. Survival Curves: Compute the Kaplan-Meier survival curves for each group. 3. Expected Events: Calculate the expected number of events at each time point for each group, assuming no difference between the groups. 4. Test Statistic: Sum the observed minus expected events across all time points to generate the test statistic. 5. P-Value: Compare the test statistic to a chi-square distribution to obtain the p-value.