vignettes/time_discount_suscep_infect.Rmd
time_discount_suscep_infect.Rmd
In Myers (2000), susceptibility and infection is defined for a given time period and as a constant throughout the networkβso only varies on . In order to include effects from previous/coming time periods, it adds up through the of the rioting, which in our case would be strength of tie, hence a dichotomous variable, whenever the event occurred a week within , furthermore, he then introduces a discount factor in order to account for decay of the influence of the event. Finally, he obtains
where is the set of all riots that occurred by time , is the severity of the riot , is the time period by when the riot accurred and is an indicator function.
In order to include this notion in our equations, I modify these by also adding whether a link existed between and at the corresponding time period. Furthermore, in a more general way, the time windown is now a function of the number of time periods to include, , this way, instead of looking at time periods and for infection, we look at the time range between and .
Following the paperβs notation, a more generalized formula for infectiousness is
Where would be the equivalent of in mayers. Alternatively, we can include a discount factor as follows
Observe that when , this formula turns out to be the same as the paper.
Likewise, a more generalized formula of susceptibility is
Which can also may include an alternative discount factor
Also equal to the original equation when . Furthermore, the resulting statistic will lie between 0 and 1, been the later whenever acquired the innovation lastly and right after acquired it, been its only alter.
(PENDING: Normalization of the stats)