title: How can I obtain the attribution of a channel per consumer in their purchase decision with an attribution model (markov chain)?
body: <p>in the last days I have been working with markov chain for a multi touch (data driven) attribution model, I have found too much important information at the macro level, for example, the <code>ChannelAttribution</code> package gives me the attribution of each one of the channels of the process to achieve a conversion (either TV, search or call-center) but this attribute is done taking into account all customer journeys, and also the elimination effects for each channel. My question is the following, at a micro level of the analysis, can I obtain at the customer level, which was the channel that most attributed to their purchase decision? That is, which is the channel that had the greatest impact for each one of them customers to make their purchase? it does not matter if a conversion was not made or not.</p>
  <p>For example, I imagine an output like the following:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Curtomer ID</th>
  <th>Channel Atribution by curtomer</th>
  <th>Conversion</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>1</td>
  <td>TV</td>
  <td>Conversion</td>
  </tr>
  <tr>
  <td>2</td>
  <td>TV</td>
  <td>Conversion</td>
  </tr>
  <tr>
  <td>3</td>
  <td>Search</td>
  <td>Non-Conversion</td>
  </tr>
  <tr>
  <td>4</td>
  <td>Call-center</td>
  <td>Conversion</td>
  </tr>
  <tr>
  <td>5</td>
  <td>TV</td>
  <td>Non-Conversion</td>
  </tr>
  <tr>
  <td>6</td>
  <td>Call-center</td>
  <td>Conversion</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>I would be grateful, also sorry for my English I hope to be clear.</p>