Learn R Programming

⚠️There's a newer version (3.0.2) of this package.Take me there.

DPTM

Dynamic Panel Multiple Threshold Model with Fixed Effects

Q1: Why you need to use it?

  1. The DPTM can supply the estimation and test for the dynamic panel threshold model with multiple thresholds while there is no software or tools can doing this.
  2. The DPTM is based on maximum likelihood (ML) estimation while most of dynamic panel threshold model used IVs or GMM, which brings a better performance and a more convenient in use.
  3. The DPTM is based on Markov Chain Monte Carlo (MCMC) method while most of threshold model are based grid search method, which brings a better performance and avoids the selection of step size of grid.
  4. The DPTM not only allows fixed effects, but also allows time trend term or time fixed effects, which is more suitable for reality and application.

Q2: How can you use it?

Please see the specific example in Help Pages of functions in the DPTM.

Q3: How can you get it?

  1. Use "devtools::install_github("HujieBai/DPTM")" for installation.

  2. The R package available for local installation is "DPTM_x.x.x.tar.gz."

Copy Link

Version

Install

install.packages('DPTM')

Monthly Downloads

226

Version

1.6.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Bai Hujie

Last Published

November 29th, 2024

Functions in DPTM (1.6.0)

Threshold_Test

The test for the number of thresholds.
data

A simulation data used for examples
DPML

The dynamic panel linear model with fixed effects
DPTS

The dynamic panel multiple threshold model with fixed effects