The changes in tumor size are calculated using the sum of the longest diameters of the target lesions at baseline and during follow-up. This sum is compared to the sum at baseline to determine the percentage change, which then categorizes the response as CR, PR, SD, or PD.