powered by
Standardize x and y vectors to achieve zero mean and unit variance.
stdz_xy(x, y)
standardized values of x
standardized values of y
Vector of data which can have NA's
Prof. H. D. Vinod, Economics Dept., Fordham University, NY
if (FALSE) { set.seed(30) x=sample(20:30) y=sample(21:31) stdz_xy(x,y) }
Run the code above in your browser using DataLab