Description Covariance Functions MCMC functions
The BTUN package allows you to fit a spatial Bradley–Terry model to comparative judgement data sets. The aim is to estimate the deprivation levels in urban areas and find the most deprived citizens. The BTUN model creates a network from the urban area and uses a Gaussian Process to nonparametrically model the deprivation levels.
The covariance functions can be used to construct the Gaussian Process prior distribution. There are two functions:
registered_adjacency_covariance_function
creates a covariance matrix
using a network based metric, and
registered_covariance_function
creates a matrix using the Euclidean distance metric.
The main MCMC function is run_mcmc
, but in cases where the gender of the judges is known
the function run_gender_mcmc
can be used to analyse how the different genders behave.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.