asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum asdocx : *,**,*** for correlation coefficients at 10%, 5%, 1% significance level in Stata

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Ho-Chuan Huang
    Participant
    Post count: 2

    Dear Professor Shah,

    I wonder if you can add another “useful” function in reporting the correlation coefficients (matrix). In particular, I suggest to allow for *,**,*** (or a,b,c) for correlation coefficients at 10%, 5%, 1% significance level in the same matrix, respectively.

    Best wishes,

    River

    Dr. Attaullah Shah
    Keymaster
    Post count: 106

    Dear Ho-Chuan Huang
    The level of significance can be indicated using *, **, and *** at 10%, 5%, and 1% level in the pwcorr command. See the following example:

    sysuse auto, clear
    asdocx pwcorr price headroom mpg displacement, star(all) save(cor.doc) replace
    ----+----------------------------------------------------------------------------------------
      1 |Variables                        (1)             (2)             (3)         (4) 
    ----+----------------------------------------------------------------------------------------
      2 |(1) price                      1.000                                             
      3 |(2) headroom                   0.115           1.000                             
      4 |(3) mpg                    -0.469***       -0.414***           1.000             
      5 |(4) displacement            0.495***        0.474***       -0.706***       1.000 
    ---------------------------------------------------------------------------------------------
    Notes: *** p<0.01, ** p<0.05, * p<0.1
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.