how to specify vector of formula for C matrix

This is the development of a 2nd Edition of Enders' RATS Programming Manual.

Moderator: TomDoan

hardmann
Posts: 218
Joined: Sat Feb 26, 2011 9:49 pm

how to specify vector of formula for C matrix

Unread post by hardmann »

Dear Tom:

In state space model, we have 6 states and two measurement equation, so our C' matrix is [2*6]. If we must use formulas to express C. How to deal with them?
we try as follows, but both fail.

dec frml[vect] cf1
dec frml[vect] cf2

dlm(..,c=||cf1,cf2||,..)

or

dec frml cf
dec frml[vect] cf1
dec frml[vect] cf2
frml cf = ||cf1|cf2||

dlm(..,c=cf,..)


Pls help me.

Best Regard
Hardmann
TomDoan
Posts: 7672
Joined: Wed Nov 01, 2006 4:36 pm

Re: how to specify vector of formula for C matrix

Unread post by TomDoan »

Use c=cf1~cf2
hardmann
Posts: 218
Joined: Sat Feb 26, 2011 9:49 pm

Re: how to specify vector of formula for C matrix

Unread post by hardmann »

Dear Tom:

Thanks. After adjusting repeatedly, It does really work.

Best regard
Hardmann
Post Reply