R/data.R

#'Example Dataset d1
#' 
#'A simulated dataset for demonstrating the package
#'
#'@format ## `d1`
#'A data.frame with 1000 rows and 7 columns:
#'\describe{
#'   \item{id}{individuals}
#'   \item{year}{periods}
#'   \item{y}{dependent variable}
#'   \item{y1}{the first lag of y}
#'   \item{q}{threshold variable}
#'   \item{x}{regressor with threshold effects}
#'   \item{z}{regressor without threshold effects}
#'}
#'@source Simulated data with two thresholds
"d1"

Try the DPTM package in your browser

Any scripts or data that you put into this service are public.

DPTM documentation built on April 3, 2025, 6:28 p.m.