Description Usage Arguments Value References Examples

This function allows you to allocate budget to a set of websites when cost is fixed at each website based on a matrix of pageviews for those sites.

1 2 | ```
ELMSO.fixed(z, CPM, tau = NULL, step = 0.05, size = 100,
tol = 10^-3, iters = 200)
``` |

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

`CPM` |
A p-dimensional vector of the (fixed) CPM values at each website |

`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. |

`step` |
A value to control the step size of the lambda grid (distance between budget points). Default is 0.05. |

`size` |
A value to control the number of lambda values tried (number of budget points). Default is 100. |

`tol` |
A value to control the convergence tolerance of the coordinate descent procedure. Default is 10^-3. |

`iters` |
A value to control the number of iterations until algorithm should exit if convergence tolerance is not reached. Default is 200. |

spend: a matrix of total spend by website at each budget

budget: a vector of budget values

lambda: a vector of lambda values

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 7 8 |

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.