Announcement

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

  • program mimrgns already defined (error occurred while loading MIMRGNS.ado)

    Hi Statalisters,

    I have mi data and I want to obtaing ajusted mean and CI after "mi estimate, post: xtmixed..."


    First I have type the following systantx :


    mi estimate, post: xtmixed PHQ9_TOTAL_ i.corte##i.CI i.SEXO EDAT_INCL i.NIVELLESTUDIS_2cat i.Laboral_Otro RESULT_GAD7_pre PUNTUA_DUKE_pre indice_Qol_pre i.Comorbilidades_SUMA i.cambio_dieta2 i.cambio_tabaco2 i.cambio_ipaq2 i.RIESGO_TB_CRIBADO i.RIESGO_DT_CRIBADO i.RIESGO_EF_CRIBADO i.IMC_pre_3cat i.DT_Motivación_dic i.TB_Motivación_dic i.EF_Motivación_dic PHQ_TOTAL_lineabase i.ESTATCIVIL_2cat || corte : || centre:

    Then, I have typed MIMRGNS CI#corte to estimate ajusted mean and CI but the following error have appeared:

    program mimrgns already defined
    (error occurred while loading MIMRGNS.ado)
    r(110);



    Can anybody help me?

    Thank you so much in advance.

    Best regards,
    Irene.
    Last edited by Irene Gómez; 25 May 2021, 00:21.

  • #2
    This has to with case sensitivity in Stata and Windows (which you are probably using); Type command names in lower case letters, i.e., type

    Code:
    mimrgns
    not

    Code:
    MIMRGNS

    mimrgns is (probably) from SSC, as you are asked to explain.
    Last edited by daniel klein; 25 May 2021, 00:29.

    Comment


    • #3
      I really appreciate your help. I solved the problem with your indications.

      Thank you so much.


      Best regards,
      Irene.

      Comment

      Working...
      X