Announcement

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

  • Get Dimentions of a Matrix

    Is there a function that will return M or N of an M by N Matrix?
    Owner of StataTutor.com

  • #2
    rowsof(M)
    colsof(M)

    Comment


    • #3
      Run -help matrix functions-.
      You should:

      1. Read the FAQ carefully.

      2. "Say exactly what you typed and exactly what Stata typed (or did) in response. N.B. exactly!"

      3. Describe your dataset. Use list to list data when you are doing so. Use input to type in your own dataset fragment that others can experiment with.

      4. Use the advanced editing options to appropriately format quotes, data, code and Stata output. The advanced options can be toggled on/off using the A button in the top right corner of the text editor.

      Comment


      • #4
        Thank You
        Owner of StataTutor.com

        Comment

        Working...
        X