# Which model can solve the “sequence demand” problem?

I have a regression problem. When a truck comes, it influences the demand of employees for the next 30 days. Additionally the demand depends on the type of truck (when the truck is big, we need more people).

Which algorithm/model can help to predict a demand on employees on the defined day?

Data looks like so (I cannot give the original data):

|-----------|--------|----------------|-------|------------------|----------|
|Transaction|Employee|Date_Transaction| Truck |Arrival_Date_Truck|Type_Truck|
|-----------|--------|----------------|-------|------------------|----------|
|     1     |   A    | 01.01.2010     |Truck_B|     07.12.2009   |    Big   |
|-----------|--------|----------------|-------|------------------|----------|
|     2     |   B    | 01.01.2010     |Truck_A|     05.12.2009   |    Big   |
|-----------|--------|----------------|-------|------------------|----------|
|     3     |   A    | 02.01.2010     |Truck_A|     05.12.2009   |   Small  |
|-----------|--------|----------------|-------|------------------|----------|
|     4     |   C    | 02.01.2010     |Truck_B|     07.12.2009   |   Small  |
|-----------|--------|----------------|-------|------------------|----------|
|     5     |   A    | 03.01.2010     |Truck_C|     12.12.2009   |   Middle |
|-----------|--------|----------------|-------|------------------|----------|
|     6     |   B    | 03.01.2010     |Truck_C|     12.12.2009   |   Middle |
|-----------|--------|----------------|-------|------------------|----------|
|     7     |   C    | 03.01.2010     |Truck_B|     07.12.2009   |    Big   |
|-----------|--------|----------------|-------|------------------|----------|
|     8     |   D    | 03.01.2010     |Truck_B|     07.12.2009   |    Big   |
|-----------|--------|----------------|-------|------------------|----------|
|     9     |   B    | 04.01.2010     |Truck_C|     12.12.2009   |   Middle |
|-----------|--------|----------------|-------|------------------|----------|


I know, that a count of days (count of transactions), that truck needs depends on the type of truck. Furthermore I know, that the count of transactions looks like: distribution