How to transform data to use pseudoRes #96
-
Hi guys, I'm processing data for a kernel bivariate probability distribution (kde) and I'm trying to use the pseudoRes function but the following error: Error in pseudoRes(df): df is a dataframe. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Thanks |
Beta Was this translation helpful? Give feedback.
pseudoRes
is a function for calculating pseudo-residuals for a hidden Markov model (HMM) fitted using themomentuHMM
functionsfitHMM
orMIfitHMM
. You would need to formulate your model as a HMM and fit it usingfitHMM
(orMIfitHMM
) in order to usepseudoRes
.