PrjLabEquiBFW

Versione 0.1.3 (19,6 MB) da Fan Wang
Code Repository for Bhalotra, Fernandez, and Wang (2022). BFW Equilibrium Gender LFP and Wage Code Companion
9 download
Aggiornato 21 feb 2022

Star Fork Star

This is a work-in-progress Matlab package consisting of functions that solve the equilibrium gender labor force participation and wage model in Bhalotra, Fernández and Wang (2022). Tested with Matlab 2021b.

All functions are parts of a matlab toolbox that can be installed:

Download and install the Matlab toolbox: PrjLabEquiBFW.mltbx

The Code Companion can also be accessed via the bookdown site and PDF linked below:

bookdown site, bookdown pdf, MathWorks File Exchange

This bookdown file is a collection of mlx based vignettes for functions that are available from PrjLabEquiBFW. Each Vignette file contains various examples for invoking each function.

The package relies on MEconTools, which needs to be installed first. The package does not include allocation functions, only simulation code to generate the value of each stimulus check increments for households.

The site is built using Bookdown.

Please contact FanWangEcon for issues or problems.

Installation

In addition to downloading and installing PrjLabEquiBFW.mltbx, can also:

# Clone Package from Git Bash
cd "C:/Downloads"
git clone https://github.com/fanwangecon/PrjLabEquiBFW.git

Install the Package from inside Matlab:

# Install Matlab Toolbox PrjLabEquiBFW
toolboxFile = 'C:/Downloads/PrjLabEquiBFW/PrjLabEquiBFW.mltbx';
# toolboxFile = 'C:/Users/fan/PrjLabEquiBFW/PrjLabEquiBFW.mltbx';
agreeToLicense = true;
installedToolbox = matlab.addons.toolbox.installToolbox(toolboxFile, agreeToLicense)

1 Introduction

  1. The Labor Demand and Supply Problem: mlx | m | pdf | html
    • The Labor Demand and Supply Problem

2 Core Functions

  1. CES Demand Core Functions: mlx | m | pdf | html
    • This function generates a container map with key CES demand-side equation for a particular sub-nest.
    • PrjLabEquiBFW: bfw_mp_func_demand()
  2. Multinomial Logit Core Functions: mlx | m | pdf | html
    • This function generates a container map with key multinomial logit supply-side equations.
    • PrjLabEquiBFW: bfw_mp_func_supply()
  3. Equilibrium Core Functions: mlx | m | pdf | html
    • This function generates a container map with key equilibrium equations.
    • PrjLabEquiBFW: bfw_mp_func_equi()

3 Parameters

  1. bfwx_mp_path: mlx | m | pdf | html
  2. bfwx_mp_control: mlx | m | pdf | html
  3. bfw_mp_param_esti: mlx | m | pdf | html

4 Data

  1. bfwx_mp_data: mlx | m | pdf | html

5 Demand

  1. Solve Nested CES Optimal Demand (CRS): mlx | m | pdf | html
    • This function solves optimal choices given CES production function under cost minimization.
    • Works with Constant Elasticity of Substitution problems with constant returns, up to four nest layers, and two inputs in each sub-nest.
    • Takes as inputs share and elasticity parameters across layers of sub-nests, as well as input unit costs at the bottom-most layer.
    • Works with Constant Elasticity of Substitution problems with constant returns, up to four nest layers, and two inputs in each sub-nest.
    • PrjLabEquiBFW: bfw_crs_nested_ces()
  2. Compute Nested CES MPL Given Demand (CRS): mlx | m | pdf | html
    • Given labor quantity demanded, using first-order relative optimality conditions, find the marginal product of labor given CES production function.
    • Takes as inputs share and elasticity parameters across layers of sub-nests, as well as quantity demanded at each bottom-most CES nest layer.
    • Works with Constant Elasticity of Substitution problems with constant returns, up to four nest layers, and two inputs in each sub-nest.
    • Allows for uneven branches, so that some branches go up to four layers, but others have less layers, works with BFW (2022) nested labor input problem.
    • PrjLabEquiBFW: bfw_crs_nested_ces_mpl()

6 Supply

  1. bfwx_mlogit: mlx | m | pdf | html

7 Equilibrium by Skill Nest Group

  1. bfw_solveequi_kwfw: mlx | m | pdf | html
  2. bfw_solveequi_w2q2w: mlx | m | pdf | html

Please contact for issues or problems.

RepoSize CodeSize Language Release License

Cita come

Fan Wang (2024). PrjLabEquiBFW (https://github.com/FanWangEcon/PrjLabEquiBFW/releases/tag/0.1.3), GitHub. Recuperato .

Compatibilità della release di MATLAB
Creato con R2021b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Tag Aggiungi tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

PrjLabEquiBFW/doc

PrjLabEquiBFW/doc/data/htmlpdfm

PrjLabEquiBFW/doc/func/htmlpdfm

PrjLabEquiBFW/doc/intro/htmlpdfm

PrjLabEquiBFW/doc/params/htmlpdfm

PrjLabEquiBFW/doc/solvedemand/htmlpdfm

PrjLabEquiBFW/doc/solveequiskl/htmlpdfm

PrjLabEquiBFW/doc/solvesupply/htmlpdfm

PrjLabEquiBFW/func

PrjLabEquiBFW/paramsdata

PrjLabEquiBFW/solvedemand

PrjLabEquiBFW/solveequiskl

PrjLabEquiBFW/solvesupply

PrjLabEquiBFW/doc/data

PrjLabEquiBFW/doc/func

PrjLabEquiBFW/doc/intro

PrjLabEquiBFW/doc/params

PrjLabEquiBFW/doc/solvedemand

PrjLabEquiBFW/doc/solveequiskl

PrjLabEquiBFW/doc/solvesupply

Versione Pubblicato Note della release
0.1.3

See release notes for this release on GitHub: https://github.com/FanWangEcon/PrjLabEquiBFW/releases/tag/0.1.3

0.1.2

0.1.1.0

See release notes for this release on GitHub: https://github.com/FanWangEcon/PrjLabEquiBFW/releases/tag/0.1.1

Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.