Skip to contents

Compute the pseudo residuals of an autoregressive HMM. Adapted from moveHMM. Attention: Only works for 2-dim with 1st variable gamma distributed step lengths and 2nd variable von Mises distributed turning angles!

Usage

pseudores_arp(mod, data, N, p)

Arguments

mod

Fitted autoregressive HMM object.

data

Data the model is fitted on.

N

Number of states.

p

Vector of degree of autoregression for each distribution (one value for every state) (0 = no autoregression).

Value

Pseudo residuals for step length and turning angles.