General ⇒ script R
script R
I try to write a script in R on the progressive algorithm of Baum Welch.
I have this data:
n = 10 et X(n) = (1, 3, 2, 4, 1, 4, 1, 3, 2, 4).
the initial law : µ1=(0.3, 0.6, 0.1)
the transition matrix Π1
0.3 0.2 0.5
0.3 0.4 0.3
0.3 0.3 0.4
the emission matrix p1
0.3 0.2 0.2 0.3
0.3 0.1 0.2 0.4
0.2 0.3 0.4 0.1
i have to calculate F1 , . . . , Fn by using the algorithm of Baum Welch.
knowing that
Fk (u) = P(X1 = i1 X2 = i2 , ...Xk = ik, Sk = u).
I am not gifted in R can you help me?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10361
- Joined: Mon Mar 10, 2008 9:44 pm
script R
welcome to the forum!
LaTeX is our topic here, not R. No problem if somebody knows R and can help here, everybody feel free. I just don't know somebody knowing R here.
If you need LaTeX support in addition, to write your R results, let us know.

Stefan