Notice: On March 31, it was **announced** that Statalist is moving from an email list to a **forum**. The old list will shut down on April 23, and its replacement, **statalist.org** is already up and running.

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

From |
Nick Cox <njcoxstata@gmail.com> |

To |
statalist@hsphsun2.harvard.edu |

Subject |
Re: st: how to define a matrix with mathematical expression |

Date |
Mon, 10 Sep 2012 13:27:07 +0100 |

I think you are correct. If your matrix is a matrix of partial derivatives, you have to do any calculus derivations yourself. Nick On Mon, Sep 10, 2012 at 1:22 PM, Nina YIN <yinnina.ccer@gmail.com> wrote: > I am trying to construct a matrix with elements defined in > mathematical expression. For example, a m*m matrix A with elements > "a_{ij}"=partial Di/ partial Pj. Di (Pj) is the i-th ( j-th ) element > of variable D(P). > > I just know -matrix define and -mkmat, however I didn't find out that > these two commands could help me in this problem. Do I understand it > well? * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/

**Follow-Ups**:**Re: st: how to define a matrix with mathematical expression***From:*Nina YIN <yinnina.ccer@gmail.com>

**References**:**st: how to define a matrix with mathematical expression***From:*Nina YIN <yinnina.ccer@gmail.com>

- Prev by Date:
**st: how to define a matrix with mathematical expression** - Next by Date:
**Re: st: How to insert the name of a variable into a matrix automatically** - Previous by thread:
**st: how to define a matrix with mathematical expression** - Next by thread:
**Re: st: how to define a matrix with mathematical expression** - Index(es):