{
  "id": 8211,
  "title": "Why are some of the purchase amount negative?",
  "url": "/competitions/acquire-valued-shoppers-challenge/discussion/8211",
  "author_name": "",
  "post_date": "2014-05-19T14:35:55.083Z",
  "votes": null,
  "comment_count": 5,
  "views": 2300,
  "content": "<p>Dear Kaggle Admin,</p>\n<p>Why are some of the purchase amount negative in transactions.csv ?</p>\n<p>Are those redemption, returns or something else? &nbsp;Appreciate an explanation of the context.</p>\n<p>Thanks</p>\n<p>Patrick</p>",
  "messages": [
    {
      "id": "44830",
      "postDate": "05/19/2014 14:35:55",
      "content": "<p>Dear Kaggle Admin,</p>\n<p>Why are some of the purchase amount negative in transactions.csv ?</p>\n<p>Are those redemption, returns or something else? &nbsp;Appreciate an explanation of the context.</p>\n<p>Thanks</p>\n<p>Patrick</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44834",
      "postDate": "05/19/2014 15:23:35",
      "content": "<p>'A negative value in productquantity and purchaseamount indicates a return.'&nbsp; from the http://www.kaggle.com/c/acquire-valued-shoppers-challenge/data page</p>\n<p>However, I am seeing data in transactions.csv where one of the purchasequantity and purchaseamount is negative, while other is not, or cases where both are negative. Are these cases different from each other or both indicate a return. It would help if a Kaggle Admin can explain the following cases (if they are due to missing data or there is some other meaning). Thanks.</p>\n<p>There seem to be transactions for which :</p>\n<p>a) purchasequantity is positive, but purchaseamount is zero.</p>\n<p>1000714152,46,35,3509,103320030,875,2013-01-25,60.5,OZ,1,0</p>\n<p>b) purchasequantity negative, but purchaseamount is zero.</p>\n<p>122307580,4,22,2211,103700030,2246,2013-01-08,120,CT,-1,0</p>\n<p>c) purchasequantity is zero, but purchaseamount is positive.</p>\n<p>1012000746,214,3,305,103320030,875,2012-10-13,8,OZ,0,0.96</p>\n<p>d) purchasequantity is zero, but purchaseamount is negative.</p>\n<p>100017875,3,26,2614,103700030,514,2012-08-15,60,CT,0,-0.7</p>\n<p>e) Both zero</p>\n<p>100084808,20,69,6901,103700030,16139,2012-06-26,0.5,OZ,0,0</p>\n<p>f) purchasequantity is negative, but purchaseamount is positive.</p>\n<p>1050021843,214,41,4109,105100050,2820,2012-08-06,11,OZ,-4,1.6</p>\n<p>g) purchasequantity is positive, but purchaseamount is negative.</p>\n<p>100022923,95,26,2628,103700030,2248,2012-05-29,2,RL,1,-14.82</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44838",
      "postDate": "05/19/2014 16:34:44",
      "content": "<p>This could be noise. I would only worry if there were significant quantities of the non-sensical permutations.</p>\n<p>https://www.kaggle.com/wiki/ANoteOnDataQuality</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44931",
      "postDate": "05/20/2014 10:43:33",
      "content": "<p>Sorry, but I don't understand the meaning of &quot;return&quot;&nbsp; here.. Can anyone explain it for me ?</p>\n<p>Thanks</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "44933",
      "postDate": "05/20/2014 11:10:57",
      "content": "<p>A product return.&nbsp; This essentially reverses the prior purchase.</p>\n<p>Common reasons include:</p>\n<p>&nbsp; -&nbsp; A quality defect, typically resulting in a replacement</p>\n<p>&nbsp; -&nbsp; Dissatisfaction with the product</p>\n<p>&nbsp; -&nbsp; Buyer's remorse; the consumer just wants their money back</p>",
      "rawMarkdown": "",
      "votes": null
    },
    {
      "id": "48985",
      "postDate": "06/11/2014 09:20:44",
      "content": "<p>I still have some doubts about the 0s in&nbsp;purchaseamount field. Does it actually represent a return or cancelled transaction or an error in the data?</p>",
      "rawMarkdown": "",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 44834,
      "author_name": "u90337",
      "author_url": "",
      "post_date": "05/19/2014 15:23:35",
      "content": "<p>'A negative value in productquantity and purchaseamount indicates a return.'&nbsp; from the http://www.kaggle.com/c/acquire-valued-shoppers-challenge/data page</p>\n<p>However, I am seeing data in transactions.csv where one of the purchasequantity and purchaseamount is negative, while other is not, or cases where both are negative. Are these cases different from each other or both indicate a return. It would help if a Kaggle Admin can explain the following cases (if they are due to missing data or there is some other meaning). Thanks.</p>\n<p>There seem to be transactions for which :</p>\n<p>a) purchasequantity is positive, but purchaseamount is zero.</p>\n<p>1000714152,46,35,3509,103320030,875,2013-01-25,60.5,OZ,1,0</p>\n<p>b) purchasequantity negative, but purchaseamount is zero.</p>\n<p>122307580,4,22,2211,103700030,2246,2013-01-08,120,CT,-1,0</p>\n<p>c) purchasequantity is zero, but purchaseamount is positive.</p>\n<p>1012000746,214,3,305,103320030,875,2012-10-13,8,OZ,0,0.96</p>\n<p>d) purchasequantity is zero, but purchaseamount is negative.</p>\n<p>100017875,3,26,2614,103700030,514,2012-08-15,60,CT,0,-0.7</p>\n<p>e) Both zero</p>\n<p>100084808,20,69,6901,103700030,16139,2012-06-26,0.5,OZ,0,0</p>\n<p>f) purchasequantity is negative, but purchaseamount is positive.</p>\n<p>1050021843,214,41,4109,105100050,2820,2012-08-06,11,OZ,-4,1.6</p>\n<p>g) purchasequantity is positive, but purchaseamount is negative.</p>\n<p>100022923,95,26,2628,103700030,2248,2012-05-29,2,RL,1,-14.82</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44838,
      "author_name": "wcukierski",
      "author_url": "",
      "post_date": "05/19/2014 16:34:44",
      "content": "<p>This could be noise. I would only worry if there were significant quantities of the non-sensical permutations.</p>\n<p>https://www.kaggle.com/wiki/ANoteOnDataQuality</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44931,
      "author_name": "evolu197838",
      "author_url": "",
      "post_date": "05/20/2014 10:43:33",
      "content": "<p>Sorry, but I don't understand the meaning of &quot;return&quot;&nbsp; here.. Can anyone explain it for me ?</p>\n<p>Thanks</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 44933,
      "author_name": "cliff7045",
      "author_url": "",
      "post_date": "05/20/2014 11:10:57",
      "content": "<p>A product return.&nbsp; This essentially reverses the prior purchase.</p>\n<p>Common reasons include:</p>\n<p>&nbsp; -&nbsp; A quality defect, typically resulting in a replacement</p>\n<p>&nbsp; -&nbsp; Dissatisfaction with the product</p>\n<p>&nbsp; -&nbsp; Buyer's remorse; the consumer just wants their money back</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 48985,
      "author_name": "trollius",
      "author_url": "",
      "post_date": "06/11/2014 09:20:44",
      "content": "<p>I still have some doubts about the 0s in&nbsp;purchaseamount field. Does it actually represent a return or cancelled transaction or an error in the data?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "44830": "",
    "44834": "",
    "44838": "",
    "44931": "",
    "44933": "",
    "48985": ""
  },
  "source": "meta"
}