Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in using mata describe, all

    Dear all,

    I have been trying to use mata describe, all in Mata, which should work as stated in the mata manual (e.g., help mata describe), but I'm getting an error.

    For example:
    Code:
    clear
    clear mata
    
    // run regression to callmata functions
    set obs 10
    gen x = _n
    gen y = x + uniform()
    reg y x
    
    // create my own mata variable and function
    mata: A = 0
    mata: real scalar a_squared(real scalar a) return(a^2)
    
    mata: mata describe *
    mata: mata describe *()
    
    // This should be equivalent to "mata describe, all" below, according to the manual.
    mata: mata describe * *()
    
    // This line gives me an error at "_b_stat".
    mata: mata describe, all
    I'm using Stata/SE 14.1. In fact, I rather like the fact that mata describe, all provides more detailed information than mata describe * *(), because such details would be useful too. But, currently it cannot be used anyway as it stops at "_b_stat".

    I would very much appreciate it if anyone could follow up on this.

    Thank you,
    Futoshi

    --
    Futoshi Narita (Mr.)
    Economist
    Developing Markets Strategy Unit
    Strategy, Policy, and Review Department
    International Monetary Fund
    TEL: 202-623-7143
    Email: [email protected]
Working...
X