{
  "id": 73272,
  "title": "What is the reference date for purchase lag?",
  "url": "/competitions/elo-merchant-category-recommendation/discussion/73272",
  "author_name": "Adams",
  "post_date": "2018-12-01T13:15:54.450000",
  "votes": 1,
  "comment_count": 2,
  "views": 0,
  "content": "<p>Looking at the historical transactions from, for example, Jan 2017, we can find some transactions with month lag of -6, -4, but even -1. So, although the majority of transactions from this month have the lag of -13, suggesting Feb 2018, some of the observations do not make sense. Any ideas?</p>",
  "messages": [
    {
      "id": 431023,
      "postDate": "2018-12-01T13:15:54.450Z",
      "content": "<p>Looking at the historical transactions from, for example, Jan 2017, we can find some transactions with month lag of -6, -4, but even -1. So, although the majority of transactions from this month have the lag of -13, suggesting Feb 2018, some of the observations do not make sense. Any ideas?</p>",
      "rawMarkdown": "Looking at the historical transactions from, for example, Jan 2017, we can find some transactions with month lag of -6, -4, but even -1. So, although the majority of transactions from this month have the lag of -13, suggesting Feb 2018, some of the observations do not make sense. Any ideas?",
      "votes": 1
    },
    {
      "id": 461076,
      "postDate": "2019-01-25T06:57:32.980Z",
      "content": "<p>@Kathia, when you say \"for the new transactions \", do you mean in the new merchant data? That may not be true, as month_lag only has 1, 2 two values.</p>",
      "rawMarkdown": "@Kathia, when you say \"for the new transactions \", do you mean in the new merchant data? That may not be true, as month_lag only has 1, 2 two values."
    },
    {
      "id": 438621,
      "postDate": "2018-12-14T00:22:29.897Z",
      "content": "<p>I think that the month lag is based on the max purchase date from the historical transactions data set:\nFor the historical transactions the month lag could be:\n   month lag = month of current transaction purchase date - max month of purchase\nwhile for the new transactions is\n   month lag = max month of purchase - month of current transaction purchase date</p>",
      "rawMarkdown": "I think that the month lag is based on the max purchase date from the historical transactions data set:\nFor the historical transactions the month lag could be:\n   month lag = month of current transaction purchase date - max month of purchase\nwhile for the new transactions is\n   month lag = max month of purchase - month of current transaction purchase date\n",
      "votes": 1,
      "isDeleted": true
    }
  ],
  "comments": [
    {
      "id": 461076,
      "author_name": "LiwenHuang",
      "author_url": "",
      "post_date": "2019-01-25T06:57:32.980000",
      "content": "<p>@Kathia, when you say \"for the new transactions \", do you mean in the new merchant data? That may not be true, as month_lag only has 1, 2 two values.</p>",
      "votes": 0,
      "replies": []
    },
    {
      "id": 438621,
      "author_name": "",
      "author_url": "",
      "post_date": "2018-12-14T00:22:29.897000",
      "content": "<p>I think that the month lag is based on the max purchase date from the historical transactions data set:\nFor the historical transactions the month lag could be:\n   month lag = month of current transaction purchase date - max month of purchase\nwhile for the new transactions is\n   month lag = max month of purchase - month of current transaction purchase date</p>",
      "votes": 1,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "431023": "Looking at the historical transactions from, for example, Jan 2017, we can find some transactions with month lag of -6, -4, but even -1. So, although the majority of transactions from this month have the lag of -13, suggesting Feb 2018, some of the observations do not make sense. Any ideas?",
    "461076": "@Kathia, when you say \"for the new transactions \", do you mean in the new merchant data? That may not be true, as month_lag only has 1, 2 two values.",
    "438621": "I think that the month lag is based on the max purchase date from the historical transactions data set:\nFor the historical transactions the month lag could be:\n   month lag = month of current transaction purchase date - max month of purchase\nwhile for the new transactions is\n   month lag = max month of purchase - month of current transaction purchase date\n"
  }
}