Learn R Programming

ManyIVsNets

Overview

ManyIVsNets is a comprehensive R package for Environmental Phillips Curve (EPC) analysis featuring state-of-the-art econometric methods and network analysis.

Key Results based on example data

  • 21 out of 24 instrument approaches show strong performance (F > 10)
  • Main finding: 1% ↑ unemployment → 0.071% ↓ CO2 emissions
  • Network density: Transfer entropy (0.095), Country network (0.25)

Installation


  #Install from GitHub
  devtools::install_github("avishekb9/ManyIVsNets")

Quick Start


library(ManyIVsNets)

#Run complete analysis pipeline 
results <- run_complete_epc_analysis(
data_file = "epc_data_new_ar5_indicators.csv", # Your data file
output_dir = "epc_analysis_results"
)

#View instrument strength results
print(results$strength_results)

Features

  • Real multidimensional instruments from economic/geographic data
  • Transfer entropy causal discovery using RTransferEntropy
  • 24 different instrument approaches tested
  • Comprehensive network analysis with country codes

Citation

If you use this package in your research, please cite:

APA Style: Bhandari, A. (2025). ManyIVsNets: Environmental Phillips Curve Analysis with Multiple Instrumental Variables and Networks [Computer software]. GitHub. https://github.com/avishekb9/ManyIVsNets

Chicago Style: Bhandari, Avishek. "ManyIVsNets: Environmental Phillips Curve Analysis with Multiple Instrumental Variables and Networks." GitHub, 2025. https://github.com/avishekb9/ManyIVsNets.

Copy Link

Version

Install

install.packages('ManyIVsNets')

Monthly Downloads

144

Version

0.1.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Avishek Bhandari

Last Published

June 23rd, 2025

Functions in ManyIVsNets (0.1.1)

plot_cross_income_co2_nexus

Create Cross-Income CO2 Growth Nexus Visualization
plot_transfer_entropy_network

Create Transfer Entropy Network Visualization
create_test_instruments

Create test instruments for testing
plot_migration_impact

Create Migration Impact Visualization
plot_regional_network

Create Regional Network Visualization
plot_instrument_strength_comparison

Create Instrument Strength Comparison Visualization
plot_instrument_causal_pathways

Create Instrument Causal Pathways Network
sample_epc_data

Sample Environmental Phillips Curve Data
run_comprehensive_iv_diagnostics

Run Comprehensive IV Diagnostics
run_comprehensive_epc_models

Run Comprehensive EPC Models
export_comprehensive_results

Export Comprehensive Results to CSV
ManyIVsNets-package

ManyIVsNets: Environmental Phillips Curve Analysis with Multiple Instrumental Variables and Networks
calculate_instrument_strength

Calculate Instrument Strength
conduct_transfer_entropy_analysis

Conduct Transfer Entropy Analysis for Causal Discovery
create_alternative_sota_instruments

Create Alternative State-of-the-Art Instruments
create_test_epc_data

Create test EPC data for testing
create_enhanced_test_data

Create enhanced test data with all required variables
create_te_based_instruments

Create Transfer Entropy-Based Instruments
create_comprehensive_results_table

Create Comprehensive Results Table
load_epc_data_corrected

Load and Clean EPC Data
merge_epc_with_created_instruments

Merge EPC Data with Created Instruments
create_publication_summary

Create Publication Summary
create_real_instruments_from_data

Create Real Multidimensional Instruments from Economic Data
create_composite_instruments

Create Composite Instruments using Factor Analysis
plot_country_income_network

Create Country Network Visualization by Income Classification
create_comprehensive_network_plots

Create Comprehensive Network Plots
run_complete_epc_analysis

Run Complete EPC Analysis Pipeline