Normalizing Variables
Posted: Tue May 30, 2023 3:33 am
Hi All,
I would like to normalize a variable output from 0 to 1. The formula for this is normalized_var = (var - min_var) / (max_var - min_var)
How do I implement this in DSS? The subscript protocol is not entirely clear to me for iterating. MIN and MAX take two variables and their use is not appropriate in this case.
I found very little on the forum about this, but it is a pretty standard operation. Perhaps I missed something. I just need to know the implementation formulas in Vensim DSS.
Thanks!
I would like to normalize a variable output from 0 to 1. The formula for this is normalized_var = (var - min_var) / (max_var - min_var)
How do I implement this in DSS? The subscript protocol is not entirely clear to me for iterating. MIN and MAX take two variables and their use is not appropriate in this case.
I found very little on the forum about this, but it is a pretty standard operation. Perhaps I missed something. I just need to know the implementation formulas in Vensim DSS.
Thanks!