Hello statalist members,
i want to rescale my contious variables(x,y) by range(maximum-minimum) because of my other variables which are dichotomous.so i want to rescale my contious variables(x,y) so that thier values have a maximum range of 1.variable x is scaled by range of x by code and year, and variable y is by range of y in the focal company.
My data set is individual level i,e age, tenure ,race
Could you please guide me how can i do it please?
best regards.
Related Posts with How to rescale A variable by range
Conversion error with the numbers from Excel to StataDear experts, I have a conversion error from my values from Excel to Stata. The issue is that for …
To declare as Survey data or not to declare, that is the question! -svyset-Well I am working with a large scale national level survey data on Household Consumption , (by NSSO …
Unable to access elements of a local macroHi I wanted to store the unique values of a variable schoolid_2 in a local macro. So ran the follow…
IVTOBIT with fixed effectsHello Friends, My name is Goel Miranda, right now im trying to estimate a gravity equation for bila…
Command "do" does not work although working directory is specifiedDear Statalist Users, I am trying to run multiple do files in a row by using the command "do" (file…
Subscribe to:
Post Comments (Atom)
0 Response to How to rescale A variable by range
Post a Comment