By using plotProb(mod.msm,which=2), I could only show the graph of smoothed probabilities. May I extract smoothed probabilities and filter probabilities from the msmFit()? thank you very much. -------------------------------------------- 15/9/4 (五),王柏元 <pywan...@yahoo.com.tw> 寫道:
主旨: [R] How to get filter probabilities from msmFit() of package MSwM? 收件者: r-help@r-project.org 日期: 2015年9月4日,五,上午9:01 Dear all: I am a rookie in using R. I have a question: How to get filter probabilities from msmFit() of package MSwM? following are my code.... #Markov Switch Model library(MSwM) data(example) mod<-lm(y~1,example) mod.msm<-msmFit(mod,k=2,sw=c(T,T)) summary(mod.msm) plotProb(mod.msm,which=1) plotProb(mod.msm,which=2) 王柏元 Paul Wang pywan...@yahoo.com.tw ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.