Announcement

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

  • Unable to download diagt.pkg . Please help

    Dear STATA USERS,
    I want to install diagt. pkg for sensitivity, specificity, PPV, and NPV calculation for my data set. I cannot download as it is showing r(1) error. It is happening again and again. Please help.

    package installation
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    package name: diagt.pkg
    from: http://fmwww.bc.edu/RePEc/bocode/d/

    checking diagt consistency and verifying not already installed...
    could not copy http://fmwww.bc.edu/RePEc/bocode/d/diagt.hlp
    (no action taken)

    r(1);
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    (click here to return to the previous screen)

  • #2
    You've reported difficulties with installation at least twice previously.

    https://www.statalist.org/forums/for...ppa-statistics

    https://www.statalist.org/forums/for...in-stata/page2

    In this case the package exists and I just installed it. So, all the problems appear to be your end.

    I can think of three possibilities.

    1. You are using a workplace (e.g. University) copy of Stata in which case you may need to talk to your workplace IT support.

    2. You are using a copy of Stata you purchased yourself on a computer of your own. You are then your own IT support.

    3. Neither #1 nor #2 is true and you are using an unofficial copy of Stata.

    If #3 applies all bets are off but otherwise you can ask StataCorp technical support for advice if you provide licencing information.

    Also, as advised in a previous thread


    Code:
    help netio
    gives important details. For a while (some years ago) I needed to give information to Stata under four headings to be able to download from SSC.


    Code:
     Turn on or off the use of a proxy server
    
            set httpproxy {on|off} [, init]
    
    
        Set proxy host name
    
            set httpproxyhost ["]name["]
    
    
        Set the proxy port number
    
            set httpproxyport #
    
    
        Turn on or off proxy authorization
    
            set httpproxyauth {on|off}

    Comment


    • #3
      Hi sir,
      I want to inform you that I am using a licensed STATA 18 BE on my laptop for my official use. Previously I failed to download SSC also due to the same error.

      Comment


      • #4
        That excludes one possibility but I can't add to my previous answer.

        Comment


        • #5
          That excludes one possibility but I can't add to my previous answer except to spell out that

          Code:
          creturn list
          will tell you about your current network settings. Wouldn't it be disturbing if we could tell you what they are?

          Comment


          • #6
            After running this command, it shows below messages

            Output settings

            ------------------------------------------------------------------------------------------------------------
            c(more) = "off"
            Interface settings

            ------------------------------------------------------------------------------------------------------------
            c(dockable) = "on"
            Graphics settings

            ------------------------------------------------------------------------------------------------------------
            c(graphics) = "on"
            Network settings

            ------------------------------------------------------------------------------------------------------------
            c(httpproxy) = "off"
            Update settings

            ------------------------------------------------------------------------------------------------------------
            c(update_query) = "on"
            Trace (program debugging) settings

            ------------------------------------------------------------------------------------------------------------
            c(trace) = "off"
            Mata settings

            ------------------------------------------------------------------------------------------------------------
            c(matastrict) = "off"
            Java settings

            ------------------------------------------------------------------------------------------------------------
            c(java_heapmax) = "4096m" (set java_heapmax)
            c(java_home) = "C:\Program Files\.." (set java_home)
            ------------------------------------------------------------------------------------------------------------

            LAPACK settings

            ------------------------------------------------------------------------------------------------------------
            c(lapack_mkl) = "on" (set lapack_mkl)
            c(lapack_mkl_cnr) = "C:\Program Files\.." (set lapack_mkl_cnr)
            ------------------------------------------------------------------------------------------------------------

            putdocx settings

            ------------------------------------------------------------------------------------------------------------
            c(docx_hardbreak) = "off"

            Comment


            • #7
              It's possible that you may need to go through an http proxy. I can't say more. As in #2 I suggest talking to StataCorp technical support.

              Comment


              • #8
                Thank you, sir. I have already sent an email regarding this to StataCorp. Is there customer care number, too?

                Comment


                • #9
                  You can phone them, but you won't get a faster answer that way.

                  StataCorp is 10.5 hours behind your time in New Delhi, so it is now about 08:00 there.

                  Comment


                  • #10
                    Hi,
                    I want to calculate sensitivity,specificity,PPV,NPV.+likelihood,- likelihhod ratio for my data set. I have transferred the data sheet from SPSS to STATA. My disease staus was coded in SPSS file into 1 (disease positive) and 2 (disease negative) and test variable- 1 (positive) and 2 (negative). After transferring into STATA, it is categorizing positive and negative automatically for disease and normal and abnormal under test variable thus giving me a wrong statistics. Kindly advise

                    Comment


                    • #11
                      #10 seems unrelated to the thread title. Please start a new thread with an informative title.

                      Comment

                      Working...
                      X