I have a problem. I have a variable let’s call it “open”. So variable “open” has 500 observations, it has a mean of 5, standard deviation of 1.5, minimum of 1 and maximum of 8.
However what I want to do is scale the variable “open” using a variable from another dataset. This variable is called “closed”. “closed” has a mean of 7 st. dev. of 2, min of 1 and max of 12.
I want it so that “open” has the same mean, st. dev.,min and max as the variable “closed” while at the same time the ranking of observations remains the same for the variable “open”.
I can scale so that “open” and “closed” have the same mean values but that is all.
Is there any way of recoding a variable so that you can set the mean, standard deviation, minimum and maximum equal to a particular value?
Regards,
Paul Kilgar.
However what I want to do is scale the variable “open” using a variable from another dataset. This variable is called “closed”. “closed” has a mean of 7 st. dev. of 2, min of 1 and max of 12.
I want it so that “open” has the same mean, st. dev.,min and max as the variable “closed” while at the same time the ranking of observations remains the same for the variable “open”.
I can scale so that “open” and “closed” have the same mean values but that is all.
Is there any way of recoding a variable so that you can set the mean, standard deviation, minimum and maximum equal to a particular value?
Regards,
Paul Kilgar.
Comment