+ Reply to Thread
Results 1 to 6 of 6

Thread: Help with regression and related nominal values

  1. #1
    Points: 25, Level: 1
    Level completed: 49%, Points required for next Level: 25

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Help with regression and related nominal values




    Hey all. I'd like some input on a regression analysis. I have data that measures the reactions of individuals to a number of objects and to a number of questions. It looks something like this (Q=question):

    Code: 
          Q1   Q2   Q3...
    Obj1  45   23   52
    Obj2  65   67   02
    ...
    I have responses like this for many subjects so it actually looks like this:

    Code: 
          Q1   Q2   Q3...
    Obj1  45   23   52
    Obj2  65   67   02
    Obj1  87   03   12
    Obj1  65   32   73
    Obj2  12   54   94
    ...
    I want to run a multivariate regression using Q1 as a dependent variable and the other questions as IVs in order to rank the predictive quality of those independent variables. How do I do this without incorporating the "object"? The response values are related to and vary by those specific objects, but I can't include them in the regression as they are nominal values.

    Any help would be appreciated. Just FYI, I'm using R for analysis.

  2. #2
    Points: 6,387, Level: 52
    Level completed: 19%, Points required for next Level: 163
    Junes's Avatar
    Location
    Netherlands
    Posts
    246
    Thanks
    17
    Thanked 25 Times in 20 Posts

    Re: Help with regression and related nominal values

    Hi and welcome.

    Some context would be good I think. What are the "objects"? Are they all instances of the same class? How many of them are there?

    I think you need a multilevel/mixed model approach. I found this nice starter in R, though it's low on theory.

  3. #3
    Points: 25, Level: 1
    Level completed: 49%, Points required for next Level: 25

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help with regression and related nominal values

    Hi, and thanks for looking at this. The objects are just images of different situations. They span the gamut from desirable to undesirable so the reaction value will vary depending on what question is being asked (e.g., "How much do you like this?" versus "How much would you like to avoid this?"). There are just over 100 of these situations.

  4. #4
    TS Contributor
    Points: 12,227, Level: 72
    Level completed: 45%, Points required for next Level: 223
    rogojel's Avatar
    Location
    I work in Europe, live in Hungary
    Posts
    1,470
    Thanks
    160
    Thanked 332 Times in 312 Posts

    Re: Help with regression and related nominal values

    hi,
    how are then the different lines labelled Obj1 different?

  5. #5
    Points: 25, Level: 1
    Level completed: 49%, Points required for next Level: 25

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help with regression and related nominal values

    The values are responses from unique individuals. As such, each object has a number of unique responses for each of the questions.

  6. #6
    Points: 25, Level: 1
    Level completed: 49%, Points required for next Level: 25

    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Help with regression and related nominal values


    I did look into this, Junes, and I think this is helpful. The GLM method in R does allow for variable grouping so that I can include that as a modifier to the other independent variables. Thanks for your help.

    Quote Originally Posted by Junes View Post
    Hi and welcome.

    Some context would be good I think. What are the "objects"? Are they all instances of the same class? How many of them are there?

    I think you need a multilevel/mixed model approach. I found this nice starter in R, though it's low on theory.

+ 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