Announcement

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

  • #46
    Matt Price Currently no option will do that. However, with a little work you will probably be able to get what you want. The key is to look at what is left behind in the "dataset" after using the -clear- option.
    Code:
    sysuse auto, clear
    
    table1_mc, by(foreign) vars(rep78 cate \) nospace clear
    browse
    
    foreach ending of any _0 _1 { 
        replace foreign`ending' = _columna`ending' in 3/L
    }
    
    table1_mc_dta2docx using "n only.docx", replace
    
    export excel using "n only.xls", replace

    Comment


    • #47
      Thank you Mark. That is what I did and it works beautifully!

      Again, really appreciate your work.

      Best,
      Amay

      Comment


      • #48
        I have just added an option (called highpdp()) to control how many decimal places for p>=0.10. Amay Banker

        Comment


        • #49
          Mark thank YOU for creating this package. It's helped so many people's lives!

          Is there a way to get table1_mc to display minimum and maximum. I know 'conts' will give a median and IQR. Would be great to have a bit more detail.

          Comment


          • #50
            Sandy Bottoms I'm glad you like it too! I'm sorry, there is no way to get min and max.

            Comment


            • #51
              Wow that is amazing.Thank you so much Mark for adding the option. Appreciate it!

              Comment


              • #52
                Originally posted by Mark Chatfield View Post
                Ya Chen, you need to specify if you want Fisher's exact or chi2. I have thought about automating but won't be implementing that. I don't understand your comment "missing number of continuous variables". The number missing a continuous or categorical variable IS reported.

                Ben, we have emailed. What you want to do can be done, but you would not use table1_mc_dta2docx.
                Hi, I've noticed this too. Missing values are only shown for categorical values but not for continuous variables.

                Comment


                • #53
                  Can you include survey weights or other weights in table1_mc?

                  Comment


                  • #54
                    as the help file says, "fweights are allowed"; if you want to use some other form of weights (e.g., pweights), you can use the -dtable- command

                    Comment

                    Working...
                    X