The "within transform" involves
(A)Taking the average values of the variables (B)Subtracting the mean of each entity away from each observation on that entity (C)Estimating a panel data model using least squares dummy variables (D)Using both time dummies and cross-sectional dummies in a fixed effects panel model
B