Skip to content

Simulating movement from a recharge dynamics model #108

Answered by bmcclintock
meryltheng asked this question in Q&A
Discussion options

You must be logged in to vote

The recharge model of Hooten et al is non-Markov (i.e. the probability of switching to the "charged" or "discharged" state is not dependent on the current state and is solely a function of the current value of the recharge function). The beta=matrix(c(0,-1,0,-1),2,2) constraints can be used to accomplish this, but they only make sense if the reference state is the same for the "charged" and "discharged" states. This can be done by setting betaRef = c(1,1).

Orthogonalization of the recharge covariates is not necessary for simulation; this is more just a "trick" for better behavior during model fitting. I'd suggest skipping this step, in which case theta=~near_r could be used in the recharg…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by bmcclintock
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants