Announcement

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

  • #16
    Originally posted by Carlo Lazzaro View Post
    Ankit:
    you may want to consider something along the following lines:
    Code:
    . use "C:\Program Files\Stata18\ado\base\a\auto.dta"
    (1978 automobile data)
    
    . sysuse auto.dta
    (1978 automobile data)
    
    . tabstat price, stat(N p25 p50 p75)
    
    Variable | N p25 p50 p75
    -------------+----------------------------------------
    price | 74 4195 5006.5 6342
    ------------------------------------------------------
    
    .
    Wow, thank you, sir. We can customize this command. As I have done it now, alongside Median and IQR, I've added Mean and SD as well. It also gives the results.

    tabstat price , stat(N p25 p50 p75 Mean SD)

    Variable | N p25 p50 p75 Mean SD
    -------------+------------------------------------------------------------
    price | 74 4195 5006.5 6342 6165.257 2949.496
    --------------------------------------------------------------------------

    Comment


    • #17
      Ankit:
      Carlo is enough. Thanks.
      Kind regards,
      Carlo
      (StataNow 18.5)

      Comment


      • #18
        #13 As already suggested tabstat supports focus on median and IQR, which it will display directly.

        #14 I can't see that the version or flavour of Stata you're using has any bearing on what can be downloaded -- at least in this case.

        Code:
        help netio


        may indicate a problem with the way you're interacting with the internet.

        Comment


        • #19
          Originally posted by Nick Cox View Post
          #13 As already suggested tabstat supports focus on median and IQR, which it will display directly.

          #14 I can't see that the version or flavour of Stata you're using has any bearing on what can be downloaded -- at least in this case.

          Code:
          help netio


          may indicate a problem with the way you're interacting with the internet.
          thanks

          Comment

          Working...
          X