QuantilePeer: An R package for Simulating and Estimation Quantile Peer Effect Models

Aristide Houndetoungan

Lifecycle: stable License: MIT R-CMD-check

CRAN R-universe DOI CRAN Downloads

Vignette

Overview

The QuantilePeer package implements estimation and simulation routines for the rank-dependent and quantile peer effect models introduced in Herstad et al. (2026). Replication code for all results in the paper is available in the Replication folder.

The package also includes functions to simulate and estimate the CES-based peer effect model developed by Boucher et al. (2024).

Installation

CRAN version

QuantilePeer can be directly installed from CRAN.

install.packages("QuantilePeer")

GitHub version

It may be possible that we updated the package without submitting the new version to CRAN. The latest version (but not necessary stable) of QuantilePeer can be installed from this GitHub repos.

remotes::install_github("ahoundetoungan/QuantilePeer", build_vignettes = TRUE)

Getting Started

See the vignettes for detailed examples demonstrating how to use the package.