ivprobit

ivprobit:An R package to estimate the instrumental variables probit model - Published in JOSS (2018)

https://github.com/zedtaha/ivprobit-1.0

Science Score: 93.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software
Last synced: 6 months ago · JSON representation

Repository

ivprobit fit an Instrumental variables probit model using the generalized least squares estimator

Basic Info
  • Host: GitHub
  • Owner: zedtaha
  • Language: R
  • Default Branch: master
  • Size: 193 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • Open Issues: 4
  • Releases: 0
Created about 8 years ago · Last pushed almost 8 years ago
Metadata Files
Readme

README.md


output: github_document

DOI

ivprobit-1.1

ivprobit fit an Instrumental variables probit model using the generalized least squares estimator

Example

To dwonload the package you can just type install.packages("ivprobit") in R or Rstudio.

```R

load the package

library(ivprobit) ```

The data we use in this example represents the Foreign-Exchange Derivatives Use By Large U.S. Bank Holding Companies from 1996 to 2000.

```R

load the database

data(eco) ```

The function is :

  1. The formula is y~x|y2|z
  2. y: the dichotomous l.h.s vector
  3. x: the r.h.s. exogenous variables matrix.
  4. y2: the r.h.s. endogenous variables vector or matrix
  5. z: the complete set of instruments (a matrix) data: the dataframe

In this example we have d2 the dichotomus l.h.s vector, the r.h.s exogenous variables are (ltass,roe and div), the r.h.s. endogenous variables matrix is (eqrat,bonus) and the instrumental variables are (ltass,roe,div,gap,cfa).

```R

fit the instrumental probit model

pro<-ivprobit(d2~ltass+roe+div|eqrat+bonus|ltass+roe+div+gap+cfa,eco) # the results summary summary(pro) ```

License

All code is licensed GPL-3

Owner

  • Name: Taha Zaghdoudi
  • Login: zedtaha
  • Kind: user

PhD economics and assistant researcher (University of Jendouba), R\matlab\gauss\C#\Java econometrics programmer, environmental economics, financial economics.

JOSS Publication

ivprobit:An R package to estimate the instrumental variables probit model
Published
February 23, 2018
Volume 3, Issue 22, Page 523
Authors
Taha Zaghdoudi ORCID
Faculty of Law, Economics and Management of Jendouba, Tunisia
Editor
Thomas J. Leeper ORCID
Tags
limited-dependent variable models Amemiya's Generalized Least Squares estimators ivprobit

GitHub Events

Total
Last Year

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 45
  • Total Committers: 2
  • Avg Commits per committer: 22.5
  • Development Distribution Score (DDS): 0.022
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Taha Zaghdoudi z****a@g****m 44
Thomas J. Leeper t****r@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 4
  • Total pull requests: 2
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: about 21 hours
  • Total issue authors: 3
  • Total pull request authors: 1
  • Average comments per issue: 0.25
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • leeper (2)
  • leifeld (1)
Pull Request Authors
  • leeper (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

DESCRIPTION cran
  • Formula * imports
  • methods * imports
  • stats * imports