R/smootherstep.uni.R

Defines functions `smootherstep.uni`

`smootherstep.uni` <-
function(m,C,Gmatx,Wtx,mx,Cx) {
    Rx <- Gmatx * C * Gmatx + Wtx# Gmatx = G_{t+1}
    B  <- C * Gmatx / Rx
    ms <- m + B*(mx - Gmatx *m) # mx=ms_{t+1}
    Cs <- C + B*(Cx-Rx)*B
    list(ms=ms,Cs=Cs)
  }

Try the Stem package in your browser

Any scripts or data that you put into this service are public.

Stem documentation built on May 2, 2019, 8:56 a.m.