Announcement

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

  • TANGO

    Hi everyone

    I want to use Stata to get Tango’s score confidence interval for a difference of proportions with matched pairs however I can not find a command to do it with Stata,
    I was looking in R software and the command is scoreci.mp(b, c, n, conf.level), but unfortunately I do not have R software installed. is there anyone know how to do it or a similar option with Stata?? or may be someone with R software experience can help?

    Thanks


  • #2
    Are you able to install R on your system? If so, you may want to check out Roger Newsome's program - rsource . It will allow you to call R from Stata. Otherwise, if you're comfortable enough with the computations you could always put together a program to do what it is you are looking for. It is also helpful if you are able to provide full references, I definitely am not familiar with your request and would assume that others are similarly unfamiliar.

    Comment


    • #3
      Thanks for the answer, I can not install R in my system due a space problems, I attach some papers may be can help to clarify, I can add my data also if necessary, I just need to get the CI with TANGO or similar test

      Attached Files

      Comment


      • #4
        Here my data, and I need to get the CI for tango or similar test, if someone have R also and can help will be very helpful please
        PA1_P3D PA1_P2D
        PA2_P3D PA2_P2D
        PA3_P3D PA3_P2D
        PP1_P3D PP1_P2D

        PP2_P3D PP2_P2D
        PP3_P3D PP3_P2D
        FP1_P3D FP1_P2D

        FP2_P3D FP2_P2D
        FP3_P3D FP3_P2D
        FA1_P3D FA1_P2D
        FA2_P3D FA2_P2D

        FA3_P3D FA3_P2D




        Code:
        clear
        input byte(PA1 PA1_3D PA1_2D FA1 FA1_3D FA1_2D PA2 PA2_3D PA2_2D FA2 FA2_3D FA2_2D PA3 PA3_3D PA3_2D FA3 FA3_3D FA3_2D PP1 PP1_3D PP1_2D FP1 FP1_3D FP1_2D PP2 PP2_3D PP2_2D FP2 FP2_3D FP2_2D PP3 PP3_3D PP3_2D FP3 FP3_3D FP3_2D)
        0 0 1 0 0 1 1 1 1 1 1 0 1 1 0 1 1 0 0 1 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 
        0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 
        0 0 0 0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 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 
        0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 
        0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 
        0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 1 0 1 1 0 0 1 
        0 0 0 0 0 0 0 1 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 
        end
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA1 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA1_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA1_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA1 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA1_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA1_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA2 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA2_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA2_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA2 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA2_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA2_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA3 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA3_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PA3_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA3 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FA3_3D Detectado
        label def Detectado 0 "No", modify
        label values FA3_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP1 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP1_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP1_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP1 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP1_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP1_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP2 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP2_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP2_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP2 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP2_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP2_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP3 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP3_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values PP3_2D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP3 Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP3_3D Detectado
        label def Detectado 0 "No", modify
        label def Detectado 1 "Si", modify
        label values FP3_2D Detectado

        Comment


        • #5
          Please anyone helo me??

          Comment


          • #6
            The code for the R function you mention is open source. Given the roughly 60 lines, a translation into Stata's concepts should not be too hard. Do you have basic knowledge of scalars and locals?

            I am a bit reluctant to "copy" the code, as I cannot easily judge whether the original routine is appropriate, i.e., whether it is the "correct" way of obtaining what you want. Giving one example, the hard coding of a maximum of 50 iterations seems arbitrary to me, but then again, I am not at all familiar with these kinds of computation.

            Best
            Daniel

            Comment


            • #7
              I converted the R function to Stata/Mata and sent it to Ana privately. If anyone else is interested in this method of generating confidence intervals for the difference of paired proportions (which is apparently better for small samples than the alternatives), I will make it available publicly.

              BTW, Daniel, I don't know if the R code is appropriate, either, but I was able to reproduce the results in the Tango paper, so I figured it couldn't be too far off. The algorithm seems to be designed to provide good results for boundary conditions on the low end (small sample size, few off-diagonals) and the method is not really necessary for larger sample sizes, so there probably aren't too many boundary situations where the number of iterations might cause a problem.

              Comment


              • #8
                Joe, working perfectly, thank you, I think your contributionis a great value for Stata to do TANGO for CI

                Comment


                • #9
                  When you mention an uncommon method (such as "TANGO") on Statalist, the FAQ ask that you provide a complete reference.
                  Steve Samuels
                  Statistical Consulting
                  [email protected]

                  Stata 14.2

                  Comment


                  • #10
                    Ana posted a copy of the article in post #3.

                    Comment


                    • #11
                      Thanks, Joe. It turns out that Firefox for OS X doesn't display attachments, so I didn't see them. I'll be switching to iCab.
                      Steve Samuels
                      Statistical Consulting
                      [email protected]

                      Stata 14.2

                      Comment


                      • #12
                        Steve, I also use Firefox and OS X and I did, and do, see attachments; I have no idea why you are not seeing them

                        Comment


                        • #13
                          Thanks, Rich. With your information, I looked further; it's not Firefox; it's a Forum software issue. I'll post in the Using the Forum forum.

                          1) If I start from a list of Topics http://www.statalist.org/forums/foru...ussion/general

                          and click on the TANGO topic from there, I get the "Latest Activity" view with URL:

                          http://www.statalist.org/forums/foru.../1308755-tango

                          With this URL, I can see all posts, but can't see attachments in any browser; nor can I see photos, if any, and other poster information.. Posts are listed from most recent to earliest, except for original.

                          2) If I go to the top of the topic in that view and click the POSTS tab, I get the URL

                          http://www.statalist.org/forums/foru...go?view=thread

                          ​Notice the "?view-thread" at the end. In this view, I do see attachments, with poster information and photos and posts are listed oldest to most recent.

                          Steve
                          Steve Samuels
                          Statistical Consulting
                          [email protected]

                          Stata 14.2

                          Comment


                          • #14
                            This issue with viewing attachments was continued and resolved in this topic in the Using the Forum forum.

                            Comment


                            • #15
                              Dear Joe

                              I spent all day calculating the CI by tango, I think something must be wrong because most of my CI are negatives from Tango but no when I get them using mcc
                              I am trying to get some help with R, in my computer is not working, in R is for example for prolapse_3D_correct prolapse_2D_correct

                              # No YES
                              # No 4 5
                              # Si 16 66
                              resul#
                              resul[1,2]#
                              resul[2,1]
                              bV <- resul[1,2] ## the value for b#
                              cV <- resul[2,1] ## the value for c#
                              total <- sum(resul) ## the total number of pair#
                              total
                              scoreci.mp(b = bV, c = cV, n = total, conf.level = 0.95)

                              with mcc
                              mcc prolapse_3D_correct prolapse_2D_correct
                              [95% Conf. Interval] .0053526 .2168696
                              difference .1111111
                              p= = 0.0414

                              So would write difference in proportions = 11.11%, CI [5.3%, 21.68%]

                              with Tango
                              tango `=scalar(b)' `=scalar(c)' `=scalar(n)' 0.95
                              Lower = -.2489469 Upper = -.0175922

                              So would write difference in proportions = 11.11%, CI [-24,89%, - 1,76%]

                              so very differents

                              What is your opinion??
                              I am desperate to find someone with R to run the command and compare with yours

                              Comment

                              Working...
                              X