Fit Poisson model to goal-scoring data via Stan

comp_by_last_date | Competitions whose last scheduled game is after input date |

compiled_model | Obtain compiled model |

comp_list | Data frame of competition names and ids |

connect | connect to database |

do_predict | Obtain predictive distribution for teams numbers i and j from... |

england | England soccer data |

find_comp | Find league by date of last match and name pattern |

get_comp | get competition(s) from data base |

get_comps | get several comps and glue results into one data frame |

last_date | Date of latest (scheduled) match for each competition |

m | Small data set for testing |

makexy | Create input to sampler from data frame |

optim.model | Posterior mode estimate of Poisson model |

poistan | poistan: a package for fitting Poisson models to goal-scoring... |

sample_model | Sample from Poisson model |

show_matches | Show all the matches in a competition involving input team |

show_rating | show mean ratings |

split_half | Split vector into two halves |

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.