Announcement

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

  • #16
    If you have just one observation for each (province, year) pair then there is no information on inequality below that scale. If that's not the answer, you may need to follow FAQ Advice #12 and give more information about your data..

    Imagine that I tell you that the mean income for Oz in 2015 was 10000 in its currency. What can you tell me about the inequality from that information?

    Comment


    • #17
      Please read the FAQ before posting again and respect the protocols there. In particularly, to get helpful answers you must show us exactly what you typed into Stata and exacrly what you got back. In addition, you must tell us more about the nature of your dataset -- e..g whether you have grouped (banded) data or unit record data on households within each region (for each year).

      Comment


      • #18
        Welcome to Statalist.

        How many observations do you have? You have 20 provinces and 7 years. I do not understand how you would have more than one observation of "per capita GDP" for each combination of province and year. Can you explain to us better what your data is like?

        If indeed you have 140 observations from 20 provinces and 7 years, it seems you want to use that each single observation to calculate a Gini coefficient for that province and year, which would explain why the results are zero.

        Please take a few moments to review the Statalist FAQ linked to from the top of the page, as well as from the Advice on Posting link on the page you used to create your post. Note especially sections 9-12 on how to best pose your question.

        The more you help others understand your problem, the more likely others are to be able to help you solve your problem.

        Comment


        • #19
          Thank you all for your kind response.
          I am sorry if i didnt follow the rules of the forum.
          Nick Cox i think that's the problem ,i have one observation for each year and province and so got zero values.What will be its solution how can i get more variables to get gini.Because when i decompose data on the basis of provionsial population still i got zero results.
          My data is like i have four provinces and 20 years data for each on the province.And for each province per year i have Per capita GDP(provionsial per capita GDP).And i want to calculate gini coefficient for each year and for every province@William Lisowski
          Hope i explain my question and dont break any rules.

          Comment


          • #20
            Either you get more detailed data for variation within provinces in each year, or your results with Ginis all zeros are no use. Sorry, but I have no idea what extra data are available for your country. I suggest that you go back to your teachers or whoever is supporting this work, because you seem to be struggling with the main idea.

            Comment


            • #21
              Originally posted by Nick Cox View Post
              Either you get more detailed data for variation within provinces in each year, or your results with Ginis all zeros are no use. Sorry, but I have no idea what extra data are available for your country. I suggest that you go back to your teachers or whoever is supporting this work, because you seem to be struggling with the main idea.
              Thankyou Teacher for your time.I will work on it.

              Comment


              • #22
                I agree with Nick (nothing strange there). Can you get access to data from Iran's Household Budget Survey for multiple years? See e.g. https://www.amar.org.ir/english/Meta...ure-and-Income

                Comment


                • #23
                  Punjab was mentioned in #15, and data are for provinces, so Pakistan.

                  Comment


                  • #24
                    Woops! Try this instead: http://www.pbs.gov.pk/content/househ...y-hies-2015-16

                    Comment


                    • #25
                      Hello statalist Members,.
                      I am interested to calculat Gini coefficient to calculat board of directors tenure (directors in a year in a firms range from 5 to19) and the to use it with my firm year observation dataset.
                      Since, there is no categorical differentiation tenure, therefore we
                      used Gini coefficient to measure tenure.The Gini coefficient has been widely used to measure the
                      inequality of continuous variables like income, consumption, etc. The Gini coefficient is estimated as:
                      Gini= 2cov(y, ry)/Nybar

                      where y denotes natural-log of each director’s ,tenure, ; ry denotes rank order; cov (y, ry) denotes covariance between y and ry
                      ybar denotes mean of y, and N denotes the number of directors on board..
                      could you please help.me.out that how can i calculate gini cofficent in stat 13.
                      best regards.
                      Last edited by Ayub UOM; 24 Nov 2019, 13:10.

                      Comment


                      • #26
                        Originally posted by Qurat ul Ain View Post

                        Respected sir

                        I have data in stata and i make subgroups by egen still the results are zero for year and provincebut when i calculate it only for year it gives me the results.

                        Subgroup indices: GE_k(a) and Gini_k

                        ------------------------------------------------------------------------
                        group(provi |
                        nces year) | GE(-1) GE(0) GE(1) GE(2) Gini
                        ------------+-----------------------------------------------------------
                        Punjab 1990 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1991 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1992 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1993 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1994 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1995 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Punjab 1996 | 0.00000 0.00000 0.00000 0.00000 0.00000
                        Olá, eu estou com o mesmo problema, você conseguiu resolver? Se sim, como? Abraço!

                        Comment

                        Working...
                        X