Regression of data that includes a date I have a dataset that contains a few hundred transactions from a three suppliers operating in 100+ countries over a three year period. 
We've found that the country of sales is not a significant factor in the prices achieved (the products are more or less global commodities). All of the prices have declined significantly over time. Any one day can have multiple transactions at different prices from the same supplier (i.e. in different countries). 
I would like to test whether there is a statistically significant difference in the prices charged by the different suppliers.
The data look something like this:
    Country X  1/1/2010  $200 Supplier A
    Country Y  1/1/2010  $209 Supplier A
    Country Z  1/1/2010  $187 Supplier A
    Country A  1/1/2010  $200 Supplier B
    Country X  1/2/2010  $188 Supplier B

Any ideas on how to do this?.....
 A: It sounds to like you need use time series methods, such as ARMA or ARIMA, that let you calculate a regression using time as an independent variable without violating the independent observations assumption of OLS.  
You may want to try a two step analysis:
- first use time as a single predictor variable and use a suitable time series method
- two see if there is any meaningful difference in residuals between the two suppliers.  (A simple t-test might be sufficient.)
A: There's several ways. An option is to convert dates into days after the very first day. Also, you could have have additional variables of days of the week (trends across the week) and the month (to see trends in certain times of the year). By doing so, you can use multiple regression. 
To get the variable "# of days after the first day", I believe (both excel and R) you can simply subtract the earlier data from the latter date and get the day difference. So maybe try subtracting 1/1/2010 from all your dates. You should also tell R that the new value is numeric using as.numeric()
EDIT: R seems to read in the year first, so you may have to mess around the dates a bit. see this: https://stackoverflow.com/questions/2254986/how-to-subtract-days-in-r
Time series analysis is another approach, but I'm not too familiar with it.
A: I can advise you to use non-linear function for time variable because the prices fall is lesser with each additional time unit. Otherwise the price would finally fall below zero. Moreover, there may be periods when the trend changed up. Thus I recommend to use cubic splines for time variable.
Experience whispers me that I would check the following model:
Y = country_parameter * price(t) * e
where price(t) is a function, preferably cubic spline, but it may also be whatever, even linear trend.
Note that there are multiplication signs, not sums, in the model.
A: Pick a reference date, say 1/1/2010, and make a new variable time that is the difference between the date and the reference date, where the difference is computed in, say, days.  
Now run a linear regression (or something similar) with time and supplier as the two predictor variables and price as the response variable.
This is just a starting point.
