Announcement

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

  • How to find 95% confidence interval (CI) of concentration index by conindex?

    Hello
    I am conducting the economic inequalities by conindex package. The output provides index value, robust std. error and p-value.

    95% confidence interval (CI) is missing there. I also want to find the 95% CI of concentration index in the index table by conindex package.

    Besides, the conindex package provides the 95% confidence interval in the concentration curve. The codes and outputs are attached below:

    Here
    y=response (binary outcome), index_variable=inequalities variable


    Code: conindex y [aw=wgt], rank( index_variable ) erreygers bounded limits(0 1) cluster( cluster_variable)
    Output:
    ------------------------------------------------------------------------------+
    Index: | No. of obs. | Index value | Robust std. error | p-value |
    -------------------+-------------+-------------+-------------------+----------|
    Erreygers norm. CI | 3126 | -.03937035 |.01645331 | 0.0172 |
    ------------------------------------------------------------------------------+
    (Note: Std. error adjusted for 378 clusters in cluster_variable)


    Code: return list
    Output:
    scalars:
    r(Nunique) = 1681
    r(CIse) = .0458310704831745
    r(CI) = -.1215131360342443
    r(RSS) = 228.974753684741
    r(N) = 1681



    In the above, I have attached the codes and output of my work. Is it possible to find the 95% CI in the index table? Could anyone please help me to find out the 95% CI for the concentration index? If not, then please give an alternative way to find the 95% CI for concentration index. Thank you.






  • #2
    Please note that conindex is from SSC. You can calculate the 95% CI using

    Code:
    di r(CI) - 1.96*r(CIse) // lower bound
    di r(CI) + 1.96*r(CIse) // upper bound
    Alternatively, you can also use DASP package available from DASP Stata Package (ulaval.ca),which provides the output including 95% CI as well
    Last edited by Tarun Choudhary; 27 Jan 2022, 01:30.

    Comment


    • #3
      Tarun Choudhary
      It is working. Thank you very much.

      Comment

      Working...
      X