Get startedGet started for free

Update a Bayesian model with data

You ran your ad campaign, and 13 people clicked and visited your site when the ad was shown a 100 times. You would now like to use this new information to update the Bayesian model.

This exercise is part of the course

Fundamentals of Bayesian Data Analysis in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create the prior data frame
prior <- data.frame(proportion_clicks, n_visitors)

# Examine the prior data frame
Edit and Run Code