Re: [R] depmixs4 standardError() issue

2023-07-07 Thread Heather Lucas
Outreach in Psychology, Member Louisiana State University 210 Audubon Hall Baton Rouge, LA 70803 From: Rolf Turner Date: Saturday, June 24, 2023 at 8:36 PM To: Heather Lucas Cc: r-help@r-project.org Subject: Re: [R] depmixs4 standardError() issue [You don't often get email from rolftur...@poste

Re: [R] depmixs4 standardError() issue

2023-06-24 Thread Rolf Turner
On Tue, 30 May 2023 17:43:31 + Heather Lucas wrote: > Hello, > > I've been enjoying using the "Mixture and Hidden Markov Models in R" > by Visser & Speekenbrink to learn how to apply these analyses to my > own data using depmixS4. > > I currently have a fitted 4-state mixture model with t

[R] depmixs4 standardError() issue

2023-05-31 Thread Heather Lucas
Hello, I've been enjoying using the "Mixture and Hidden Markov Models in R" by Visser & Speekenbrink to learn how to apply these analyses to my own data using depmixS4. I currently have a fitted 4-state mixture model with three emissions variables and one binomial covariate (HS). I am trying t

Re: [R] depmixS4 prediction

2012-11-15 Thread Ingmar Visser
Dear EJ, The depmixS4 package has no forecasting or predict functions, but as you note, the forecast distribution is a relatively straightforward function of the parameters. The posterior function provides you with the probability distribution over the states at the end of your sequence and the tr

[R] depmixS4 prediction

2012-11-14 Thread Epic John
I am getting started with using the depmixS4 package. First, I would like to see I am very impressed with its speed and flexibility. The question I have is regarding predicting on new data. I want to fit the model on some sequences with observed responses, and then make predictions on the right en

Re: [R] DepmixS4

2012-05-02 Thread Ingmar Visser
Deepak, On Wed, May 2, 2012 at 7:53 AM, deepakw wrote: > Hi I am trying to use depmixS4 package. Based on the documentation, it > seems > that depmix allows one to fit an HMM model based on a training data with > time-varying co-variates. However, I did not find any routines which can > help tes

[R] DepmixS4

2012-05-02 Thread deepakw
Hi I am trying to use depmixS4 package. Based on the documentation, it seems that depmix allows one to fit an HMM model based on a training data with time-varying co-variates. However, I did not find any routines which can help test the accuracy on the fitted HMM model on out-of-sample data. Can so

Re: [R] depmixS4+transition

2012-04-20 Thread Ingmar Visser
Dear Nglthu, Not sure what you mean by scale(x1,x2), this: library(depmixS4) data(speed) x1 <- rnorm(nrow(speed)) x2 <- rnorm(nrow(speed)) scale(x1,x2) produces an error ... but, the use of two predictors or covariates on the transition matrix is possible: speed$x2 <- x2 mod1 <- depmix(lis

[R] depmixS4+transition

2012-04-19 Thread nglthu
Dear helpers, is there any possible that transition (in depmixS4) is in scale of two variable, e.g transition=~scale(x1,x2)? If it can be, how transition of two variable (covariate time) can be worked in depmixS4-hidden markov model for time series. Many thanks, nglthu -- View this message in con