+ Reply to Thread
Results 1 to 5 of 5

Thread: [Linear Regression] Regression with aggregated or separated years?

  1. #1
    Points: 11, Level: 1
    Level completed: 21%, Points required for next Level: 39

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    [Linear Regression] Regression with aggregated or separated years?




    Hello to everyone!

    I should do some regressions but i've an important and simple question...

    my dataset have this structure:

    |geographic_area|year|sales|popolation|
    Spain 2000 40 1000
    Spain 2001 30 2000
    Spain 2002 20 3000
    Italy 2000 40 1000
    Italy 2001 30 2000
    Italy 2002 20 3000

    I should investigate the relation between sales and popolation but i don't know if regress by year or not. If i do (sales regress to popolation) i consider the areas and the years aggregated but this make sense? or it is preferible to consider years separately?

    Thanks a lot

  2. #2
    Omega Contributor
    Points: 39,022, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,069
    Thanks
    402
    Thanked 1,192 Times in 1,153 Posts

    Re: [Linear Regression] Regression with aggregated or separated years?

    Is this your full dataset or are there more years and countries?
    Stop cowardice, ban guns!

  3. #3
    Points: 11, Level: 1
    Level completed: 21%, Points required for next Level: 39

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: [Linear Regression] Regression with aggregated or separated years?

    Hello! Thanks for your reply!!

    No i've have much more countries and much more years... that is only an example for understanding the logic behind

  4. #4
    Omega Contributor
    Points: 39,022, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    7,069
    Thanks
    402
    Thanked 1,192 Times in 1,153 Posts

    Re: [Linear Regression] Regression with aggregated or separated years?

    Hmmm, you should know your data best, but I would not see why you wouldn't control for year. If there is volatility between years you would want to collect that info. Also, if effects are not constant across year and country, etc., you may need to examine interaction terms.
    Stop cowardice, ban guns!

  5. #5
    Points: 11, Level: 1
    Level completed: 21%, Points required for next Level: 39

    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: [Linear Regression] Regression with aggregated or separated years?


    Thanks for your reply

    yeah, as you saying, maybe the effects of the years will lost. I would do that for enlarge a dataset that have few observation by years (10 countries) and i demand to myself if I catch the same effects but with more elegancy in the graphs that I produce (for example).

    I'm a little bit confused but i will operate with years separately despite of the ten observations by years.

    Instead, how implement interactions terms? T

    Thanks a lot,
    Andrea

+ Reply to Thread

           




Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats