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
Conditional loop analysis with sums in panel dataI have an unbalanced data of company id (i) country code (c) year (y) ratio-1 (r1) ratio-2 (r2) …
Using a loop to calculate new variableHello all, I want to find the new sale price for each year represented through new_sales. I will us…
Determining the explanatory power of an interaction termHi everyone, I'm trying to fill a table with each line representing the explanatory power of a part…
Generating dummy observations to balance a panelI hope this request makes sense, as it is just to aid in my estimation. Below is the dataex of a dum…
How to define treatment & control groups properly?I’m working on a project examining the effect of a 2016 cash transfer on fertility. Who is eligible…
Subscribe to:
Post Comments (Atom)
0 Response to How to rescale A variable by range
Post a Comment