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
Panel data: Generate A Variable with values based on difference in other variableHi I am working with panel data and I want to generate the variable "polstability" which measures t…
Average marginal effect (margins dydx) in multinomial regression (mlogit)Hello, I am running a multinomial regression (mlogit), and I can't find a way to use the margins, d…
Limiting the y-axis on a marginsplot graphI'm creating a marginsplot graph for a probit model estimating predicted probabilities. Some of the …
Rename country id in a paneldataDear Statalisters. I am working with two different panal datasets which I want to merge. Unfortunat…
Page numbers in PDFDear All, I am creating a report in PDF directly from Stata with putpdf command. I would like to nu…
Subscribe to:
Post Comments (Atom)
0 Response to How to rescale A variable by range
Post a Comment