+ Reply to Thread
Results 1 to 10 of 10

Thread: Grouping similar competitors

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

    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Grouping similar competitors



    Suppose we want to look at which airlines have similar pricing strategies. The data set looks like this:

    Variables: Flight Origination, Flight Destination, Airline1 Price, Airline2 Price, ....Airline10 Price.

    Data:
    Origination: A, Destination: B, Airline1 Price=100, Airline2 = 120, ...., Airline10=95
    Origination: A, Destination: C, Airline1 Price=500, Airline2 = 450, ...., Airline10=505
    ......


    I wonder if I can use PROC VARCLUS to accomplish this objective. But as I read, it seems PROC VARCLUS is not used for this purpose.

  2. #2
    Test of Gnomality
    Points: 8,264, Level: 61
    Level completed: 38%, Points required for next Level: 186
    hlsmith's Avatar
    Posts
    1,504
    Thanks
    98
    Thanked 255 Times in 248 Posts

    Re: Grouping similar competitors

    May be able to simple things down by running two-way ANOVA (if assumptions met; Dependent=cost, then your two categorical variables=independents). Would just create categories for the different flights. Though, you could try to get more complicated if these results are significant, such as controlling for hubs, etc.

  3. #3
    Test of Gnomality
    Points: 8,264, Level: 61
    Level completed: 38%, Points required for next Level: 186
    hlsmith's Avatar
    Posts
    1,504
    Thanks
    98
    Thanked 255 Times in 248 Posts

    Re: Grouping similar competitors

    Don't forget to add an interaction term and plot data.

  4. #4
    Points: 1,897, Level: 25
    Level completed: 97%, Points required for next Level: 3

    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Grouping similar competitors

    More info:

    Expected outcome goes like this:

    Airline1, Airline5, Airline10 have the same pricing strategies
    Airline2, Airline3, Airline6 have the same pricing strategies
    ....


    What I meant by the same pricing strategies is when Airline1 prices high on a origination and destination pair, Airline5 and Airline10 also prices high.

  5. #5
    Test of Gnomality
    Points: 8,264, Level: 61
    Level completed: 38%, Points required for next Level: 186
    hlsmith's Avatar
    Posts
    1,504
    Thanks
    98
    Thanked 255 Times in 248 Posts

    Re: Grouping similar competitors

    Not sure how the question differs? Do you want to compare all at once, finding differences between airlines in general? Do you just want to compare select flight prices between airlines? Many options differing in difficulty level. If you just cared about a single flight you could just perform one-way ANOVA and then look at the direct comparisions at the bottom of the output.

  6. #6
    RotParaTon
    Points: 46,105, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterActivity AwardCommunity Award
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,063
    Thanks
    211
    Thanked 1,605 Times in 1,375 Posts

    Re: Grouping similar competitors

    No I agree with the OP. I don't think ANOVA is the way to go here. Anova is useful for finding differences but that's not what they want to do. I think some sort of hierarchical clustering based on the 1-correlation dissimilarity measure might work pretty well. The tough part is choosing how many groups there actually end up being.

    Another option would be to standardize the data and then use something like k-means or k-medoids utilizing something like the gap statistic or silhouette weight to choose what k should be. This would give you a slightly more automated way to choose the number of groups but I kind of like the hierarchical clustering methods a little bit more.
    "His programming is malfunctioning. It begins! Get your weapons, he's going to become a killbot!!!" - bryangoodrich

  7. #7
    Points: 1,897, Level: 25
    Level completed: 97%, Points required for next Level: 3

    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Grouping similar competitors

    ANOVA will not give me what I want. Having the same means doesn't they price similarly.

    Another point is I want to group variables, not observation.


    Can I create a correlation matrix of Airline1 to Airline10 and figure out the groupings?

  8. #8
    Test of Gnomality
    Points: 8,264, Level: 61
    Level completed: 38%, Points required for next Level: 186
    hlsmith's Avatar
    Posts
    1,504
    Thanks
    98
    Thanked 255 Times in 248 Posts

    Re: Grouping similar competitors

    Yes, I was also thinking about a hierarchical model based on their interest in varclus. In my last post, I was hoping they would better describe their question. Could they cluster on each unique trip combination, but could other levels be added based on only on originations and/or destinations, since these could help explain costs. Was never sure how big the sample was and when there are too many levels. If there are too many levels will the model have issues converging?

  9. #9
    Test of Gnomality
    Points: 8,264, Level: 61
    Level completed: 38%, Points required for next Level: 186
    hlsmith's Avatar
    Posts
    1,504
    Thanks
    98
    Thanked 255 Times in 248 Posts

    Re: Grouping similar competitors

    If you are wanting to group some of the airlines together, you first need to define what you would want to group them based on, then think about the best strategy. You need clear variables or parameters that are reasonable not only to yourself but to others.

  10. #10
    Points: 1,897, Level: 25
    Level completed: 97%, Points required for next Level: 3

    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Grouping similar competitors


    I have been very clear on my objective. I want to group airlines based on the similarity of pricing. This is a general question, not planning to go into a full analysis of airline industry. I can make it even more abstract like this:

    Item A, Company1 Price=100, Company2 = 120, ...., Company10=95
    Item B, Company1 Price=500, Company2 = 450, ...., Company10=505

+ 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