I guess you could do this by using the "meanc" and "sdc" commands.(3) Finally, I would like to standardize the regressors (not the dependent variable) in my dataset, such that each regressor has mean 0 and standard deviation of 1. Is there a "summary way" to do this e.g. by declaring the dataset to be a matrix, then operating on this matrix using some matrix operators?