Hi, I am trying to set up an equation to look like this:
y = x+(X*(1-R)*(time-1)), where x is measured in "ideal total days in treatment", R is the rate measured as "days medication was taken/days medication was prescribed", and time is just the measure of time, same as specified in the model (time step=1 day). So, for example, at time step=2 days, I would like (time-1) to have a value of "1".
How do I program "(time-1)" into this equation? I have used "GET TIME VALUE (0,-1,0)" for now, but I am not sure I have done this correctly.
Thanks for your help.
Get Time Value
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Get Time Value
All you do is use the word "time".
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Get Time Value
Does it make a difference if I use it as "Time" vs. "time"? Capitalization matters?
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Get Time Value
No, it's not case sensitive.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Get Time Value
Great, thanks!