New to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boatHi and thank you in advance<br/><br/>I have the following data<br/>WellID<br/>WellName<br/>OilVolume<br/>GasVolume<br/>ProductionDate<br/>Downtime   how long the well was down<br/>DownTimeReason<br/>LocationHierarchy(Location,Platform,Asset,Well)<br/><br/>1) I am trying to do predictive analysis on this data, for future well production<br/>2) Do predictive analysis of downtime cause and when it might occur (downtime reason can be, technical cause, weather cause, etc)<br/><br/>I am trying to see how it can be done, what algorithm to use and how to decipher the end result.<br/>Thank you<br/><br/><hr class="sig">Tomas© 2009 Microsoft Corporation. All rights reserved.Sat, 17 Oct 2009 09:20:10 Z0ccd6d6b-cefd-4688-b93b-87e5a70b08e7http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#0ccd6d6b-cefd-4688-b93b-87e5a70b08e7http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#0ccd6d6b-cefd-4688-b93b-87e5a70b08e7Tomas Santandreuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tomas%20SantandreuNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boatHi and thank you in advance<br/><br/>I have the following data<br/>WellID<br/>WellName<br/>OilVolume<br/>GasVolume<br/>ProductionDate<br/>Downtime   how long the well was down<br/>DownTimeReason<br/>LocationHierarchy(Location,Platform,Asset,Well)<br/><br/>1) I am trying to do predictive analysis on this data, for future well production<br/>2) Do predictive analysis of downtime cause and when it might occur (downtime reason can be, technical cause, weather cause, etc)<br/><br/>I am trying to see how it can be done, what algorithm to use and how to decipher the end result.<br/>Thank you<br/><br/><hr class="sig">TomasThu, 02 Jul 2009 05:08:27 Z2009-07-02T05:08:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#b3124ac9-61e4-4eea-a5c5-0affd1415c45http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#b3124ac9-61e4-4eea-a5c5-0affd1415c45Thomas Ivarssonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Thomas%20IvarssonNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boatHi,<br/><br/>I would start with the data mining tutorials that are part of Books On Line for SQL Server 2005. I guess that Decision Trees can be a good start. They work with all types of data. If downtime is in hours you can discretize hours into buckets like 1-5 hours, 5-10 hours and so on. In Decision Trees you set downtime as predict and the other attributes as input.<br/><br/>HTH<br/>Thomas IvarssonThu, 02 Jul 2009 08:15:27 Z2009-07-02T08:15:27Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#ed3080e8-12b8-495b-8998-92fb463788a2http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#ed3080e8-12b8-495b-8998-92fb463788a2Tomas Santandreuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tomas%20SantandreuNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boat<p>Hi<br/>thank you. But I was trying to see if in SQL 2005 there was a forecasting model like there is in SQL 2008. I just can not find it anywhere. <br/>Thank you <br/><br/>Tomas</p><hr class="sig">TomasThu, 02 Jul 2009 15:27:36 Z2009-07-02T15:27:36Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#74e27f79-b2d2-4236-a5f3-fe121de44452http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#74e27f79-b2d2-4236-a5f3-fe121de44452Thomas Ivarssonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Thomas%20IvarssonNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boat<p>With decision trees you train a model first and when new data arrives you use that model for prediction. As I understood you problem you would like to see what attributes that can explain downtime and then put in new data in to this model to make predictions. Forecast or Time series as the algorithm is called would probably not work in that scenario.<br/><br/>BR<br/>Thomas Ivarsson</p>Thu, 02 Jul 2009 19:21:33 Z2009-07-02T20:29:30Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#7a2c3d3d-7ee9-4ee9-b11a-1ea3799ab92fhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#7a2c3d3d-7ee9-4ee9-b11a-1ea3799ab92fAllan Mitchellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Allan%20MitchellNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boat<blockquote>Hi and thank you in advance<br/><br/>I have the following data<br/>WellID<br/>WellName<br/>OilVolume<br/>GasVolume<br/>ProductionDate<br/>Downtime   how long the well was down<br/>DownTimeReason<br/>LocationHierarchy(Location,Platform,Asset,Well)<br/><br/>1) I am trying to do predictive analysis on this data, for future well production<br/>2) Do predictive analysis of downtime cause and when it might occur (downtime reason can be, technical cause, weather cause, etc)<br/><br/>I am trying to see how it can be done, what algorithm to use and how to decipher the end result.<br/>Thank you<br/><br/><hr class=sig>Tomas</blockquote> The Time Series model type will give you an idea of future predicted volumes. I am not sure you have the right variables for predicting downtime. Even though you have the &quot;reason&quot; I am not sure this will be specific enough. It looks like this is an LPO system. Do you have any of the operating stats to help with the prediction of downtime? type of well, type of lift, associated plant etc etc. Allan Fri, 03 Jul 2009 20:00:17 Z2009-07-03T20:00:17Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#219b4acd-1030-4b3e-8c02-c48f428c6ef0http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#219b4acd-1030-4b3e-8c02-c48f428c6ef0Tomas Santandreuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tomas%20SantandreuNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boat<p>Hi Allan</p> <p>Yes I do have those attributes such as . Type of Well (Oil or Gas) , type of Lift (GL,FL)..but my issue is trying to predict downtime by well , how much of downtime, and then predict or Forecast Oil Production utilizing downtime information. Please note that at this moment I am using SQL 2005 still, 2008 is not until later. The same goes with Excel 2003 and Data Mining add-in.<br/>Thank you for any help<br/><br/>Tomas</p><hr class="sig">TomasSat, 04 Jul 2009 01:09:15 Z2009-07-04T01:09:15Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#128c9edb-ca93-43a4-85df-0eecf290136bhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#128c9edb-ca93-43a4-85df-0eecf290136bAllan Mitchellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Allan%20MitchellNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boat<blockquote><p>Hi Allan</p> <p>Yes I do have those attributes such as . Type of Well (Oil or Gas) , type of Lift (GL,FL)..but my issue is trying to predict downtime by well , how much of downtime, and then predict or Forecast Oil Production utilizing downtime information. Please note that at this moment I am using SQL 2005 still, 2008 is not until later. The same goes with Excel 2003 and Data Mining add-in.<br/>Thank you for any help<br/><br/>Tomas</p><hr class=sig>Tomas</blockquote> Tomas 2K5 has the time series Algorithm (using ARTxP). To predict if a well is going to go &quot;pop&quot; Take the system attributes we have spoken about. also take the date attribute and break it up into constituent parts. Hour of day etc, day of week etc. My model would look something like The attributes would be the values some period before the actual well goes pop, maybe a day. It is pointless doing mining, learning the well may go pop and it will do so in 20 seconds as you will have no way of reacting. Make sense? As for downtime. You could start with averaging values by day. It may be that you can see a trend building over time with your system measurements that allows us to model using time how long you will have as downtime in the coming periods. You can also look at other algorithms like DTs and NN. HTH allan Sat, 04 Jul 2009 08:12:18 Z2009-07-04T08:12:18Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#d66becf7-7e74-4a64-afc1-56a5295b6139http://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#d66becf7-7e74-4a64-afc1-56a5295b6139Allan Mitchellhttp://social.msdn.microsoft.com/Profile/en-US/?user=Allan%20MitchellNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boatit would seem from my previous post that things got stripped <div><br/></div> <div>My model might look something like</div> <div><br/></div> <div>AttributeA</div> <div>AttributeB</div> <div>etc</div> <div>WellGoesPop PREDICT</div> <div>WellDowntime PREDICT</div> <div><br/></div> <div><br/></div>Sat, 04 Jul 2009 08:28:50 Z2009-07-04T08:28:50Zhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#ff3b9068-2da9-4ea8-b010-9af47ac9e60fhttp://social.msdn.microsoft.com/Forums/en-US/sqldatamining/thread/0ccd6d6b-cefd-4688-b93b-87e5a70b08e7#ff3b9068-2da9-4ea8-b010-9af47ac9e60fTomas Santandreuhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tomas%20SantandreuNew to Datamining using SQL 2005. Trying to do a forecast for oil production but still missing the boatThank you for all the help.<br/><br/>Tomas<hr class="sig">TomasSat, 17 Oct 2009 03:37:55 Z2009-10-17T03:37:55Z