Description Usage Arguments Value References Examples

This function allows you to calculate reach achieved at a given budget value from the fixed ELMSO output.

1 | ```
reach.ELMSO.fixed(CPM, w, z, tau = NULL)
``` |

`CPM` |
A p-dimensional vector of the fixed CPM at each website for a particular budget value |

`w` |
A p-dimensional vector of amount spent at each website |

`z` |
An n by p matrix of pageviews |

`tau` |
A p-dimensional vector of total pageviews (in thousands) for each website. Defaults to the total pageviews in the matrix for each website (i.e., assumes z matrix represents all website pageviews) divided by 1000. |

A value between 0 and 1 specifying the reach achieved with the given budget allocation.

Courtney Paulson, Lan Luo, and Gareth M. James (2018) Efficient Large-Scale Internet Media Selection Optimization for Online Display Advertising. Journal of Marketing Research: August 2018, Vol. 55, No. 4, pp. 489-506.

1 2 3 4 5 6 | ```
z=matrix(round(abs(rnorm(5000,0,0.7))),1000,5)
CPM.fixed=c(3,4,5,6,7)
tau.values=rep(100,5) #Note tau here is in thousands of pageviews
allocation=ELMSO.fixed(z=z,CPM=CPM.fixed,tau=tau.values)
reach.ELMSO.fixed(CPM.fixed,allocation$spend[,101],z,tau.values)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.