+ Reply to Thread
Results 1 to 2 of 2

Thread: Best way to code a variable in a hierarchical (multi-level) regression?

  1. #1
    Points: 2,368, Level: 29
    Level completed: 46%, Points required for next Level: 82

    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Best way to code a variable in a hierarchical (multi-level) regression?




    The outcome is binary, and I have individual-level data and geographical-level data. It's the latter I need help with.

    Here's the best example: imagine the geographical unit is county, and a variable I want to account for is the sanitation grades of fast food restaurants. I care about both the number of restaurants in each county, as well as the grade each of them got.

    I thought of coding it as % of restaurants in the county with each grade with missing values if no restaurants, but I'm not sure that is the most appropriate way? Any thoughts/suggestions would be greatly appreciated!

  2. #2
    Omega Contributor
    Points: 38,374, Level: 100
    Level completed: 0%, Points required for next Level: 0
    hlsmith's Avatar
    Location
    Not Ames, IA
    Posts
    6,998
    Thanks
    398
    Thanked 1,186 Times in 1,147 Posts

    Re: Best way to code a variable in a hierarchical (multi-level) regression?


    What is the binary variable?
    Stop cowardice, ban guns!

+ Reply to 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