Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: how to do a weighted transition matrix

From   Nick Cox <>
Subject   Re: st: how to do a weighted transition matrix
Date   Fri, 29 Apr 2011 17:06:46 +0100

More explanation would help. Where do the weights come from? Do they
weight the transitions? The earlier state? The later state? Are they
integers or not? What is your data structure? Which variables hold
which information? Do you expect a precise answer to a vague question?

At its easiest, this sounds like a transition matrix multiplied
elementwise by a weights matrix, so save the matrices independently
and do the multiplication in Mata.


On Fri, Apr 29, 2011 at 4:57 PM, > Nan from Montreal, a.k.a. Hey Sky
<> wrote:

> I have to do a weighted transition matrix but it is not an option for the
> command xttrans.
> I have searched the archives but did not find any discussion about
> this question.
> did anyone experience this before and any (other) method to deal with it?

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index