{
  "id": 81786,
  "title": "Merchants Average Sales Lag Feature",
  "url": "/competitions/elo-merchant-category-recommendation/discussion/81786",
  "author_name": "",
  "post_date": "2019-02-25T01:24:21.516908700Z",
  "votes": null,
  "comment_count": 2,
  "views": 0,
  "content": "<p>This is about Merchants table</p>\n\n<hr>\n\n<p>As per Data Dictionary:\navg_sales_lag3\n= Monthly average of revenue in last 3 months divided by revenue in last active month\navg_sales_lag6\n=Monthly average of revenue in last 6 months divided by revenue in last active month\nJust to check on a theoretical example:\nIf a merchant had sales of $50, $100,$150,$200,$250 &amp;$300 respectively over the last six months ($300 latest) then average sales lag3 is $250( $750/3) divided by $300 = 0.83\nSimilar way  calculations for average sales lag6  months( $1050/6) /$300= 0.58</p>\n\n<p>This means if \n    Merchants['Diff_ASL_3_6']=Merchants['avg_sales_lag3']-Merchants['avg_sales_lag6']\nis a positive value it indicates + sales growth for given merchant. This is a positive indiccator.\nAnyone has done this analysis? Any thoughts?</p>",
  "messages": [
    {
      "id": "477617",
      "postDate": "02/25/2019 01:24:21",
      "content": "<p>This is about Merchants table</p>\n\n<hr>\n\n<p>As per Data Dictionary:\navg_sales_lag3\n= Monthly average of revenue in last 3 months divided by revenue in last active month\navg_sales_lag6\n=Monthly average of revenue in last 6 months divided by revenue in last active month\nJust to check on a theoretical example:\nIf a merchant had sales of $50, $100,$150,$200,$250 &amp;$300 respectively over the last six months ($300 latest) then average sales lag3 is $250( $750/3) divided by $300 = 0.83\nSimilar way  calculations for average sales lag6  months( $1050/6) /$300= 0.58</p>\n\n<p>This means if \n    Merchants['Diff_ASL_3_6']=Merchants['avg_sales_lag3']-Merchants['avg_sales_lag6']\nis a positive value it indicates + sales growth for given merchant. This is a positive indiccator.\nAnyone has done this analysis? Any thoughts?</p>",
      "rawMarkdown": "This is about Merchants table\n_______________________________________________\nAs per Data Dictionary:\navg_sales_lag3\n= Monthly average of revenue in last 3 months divided by revenue in last active month\navg_sales_lag6\n=Monthly average of revenue in last 6 months divided by revenue in last active month\nJust to check on a theoretical example:\nIf a merchant had sales of $50, $100,$150,$200,$250 &amp;$300 respectively over the last six months ($300 latest) then average sales lag3 is $250( $750/3) divided by $300 = 0.83\nSimilar way  calculations for average sales lag6  months( $1050/6) /$300= 0.58\n\nThis means if \n    Merchants['Diff_ASL_3_6']=Merchants['avg_sales_lag3']-Merchants['avg_sales_lag6']\nis a positive value it indicates + sales growth for given merchant. This is a positive indiccator.\nAnyone has done this analysis? Any thoughts?",
      "votes": null
    },
    {
      "id": "477836",
      "postDate": "02/25/2019 10:44:37",
      "content": "<p>I've created basic aggregated features from Merchants tab but it does not improve my score :c\nAlmost useless data for this competition</p>",
      "rawMarkdown": "I've created basic aggregated features from Merchants tab but it does not improve my score :c\nAlmost useless data for this competition",
      "votes": null
    },
    {
      "id": "478303",
      "postDate": "02/26/2019 01:51:40",
      "content": "<p>Thanks.</p>",
      "rawMarkdown": "Thanks.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 477836,
      "author_name": "l0glikelihood",
      "author_url": "",
      "post_date": "02/25/2019 10:44:37",
      "content": "<p>I've created basic aggregated features from Merchants tab but it does not improve my score :c\nAlmost useless data for this competition</p>",
      "votes": null,
      "replies": [
        {
          "id": 478303,
          "author_name": "prasunmishra",
          "author_url": "",
          "post_date": "02/26/2019 01:51:40",
          "content": "<p>Thanks.</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "477617": "This is about Merchants table\n_______________________________________________\nAs per Data Dictionary:\navg_sales_lag3\n= Monthly average of revenue in last 3 months divided by revenue in last active month\navg_sales_lag6\n=Monthly average of revenue in last 6 months divided by revenue in last active month\nJust to check on a theoretical example:\nIf a merchant had sales of $50, $100,$150,$200,$250 &amp;$300 respectively over the last six months ($300 latest) then average sales lag3 is $250( $750/3) divided by $300 = 0.83\nSimilar way  calculations for average sales lag6  months( $1050/6) /$300= 0.58\n\nThis means if \n    Merchants['Diff_ASL_3_6']=Merchants['avg_sales_lag3']-Merchants['avg_sales_lag6']\nis a positive value it indicates + sales growth for given merchant. This is a positive indiccator.\nAnyone has done this analysis? Any thoughts?",
    "477836": "I've created basic aggregated features from Merchants tab but it does not improve my score :c\nAlmost useless data for this competition",
    "478303": "Thanks."
  },
  "source": "meta"
}