Update foreign private capital K^f specification
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 12/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- backend, documentation
Línea de trabajo
The open question is the derivation of foreign private capital K^f in the market clearing chapter, equations (73)-(75) of the docs page linked in the issue. Read that section first, then the open-economy capital demand logic it describes. Choosing between the two proposed approaches needs maintainer input, since the issue has no comments yet. Done means a decided specification, with the docs equations and the code updated to match.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
With the addition of government capital K_g to the model, I am worried about our derivation and specification in the OG-Core master branch of foreign capital inflow to the country K^f. In the documentation, the current specification is derived in equations (73), (74), and (75) in the Private capital market clearing section of the Market Clearing chapter.
Currently, the open-economy domestic private capital demand K^{d,r*} is determined by (i) using the open-economy interest rate r* to solve for (ii) the open-economy capital-labor ratio, then (iii) multiply the open-economy capital-labor ratio by L to get the implied open-economy capital demand.
This approach of deriving a capital-labor ratio from r* only works in the model without government capital K_g=0. Furthermore, in this approach in step (iii), the L multiplied by the capital-labor ratio is based off of the market determined interest rate and not the open-economy rate.
I propose two alternative approaches, and I favor the latter approach (2).
- In the presence of government capital, we could calculate
K^{d,r*}by calculating (a) the open-economyY/Kgivenr*, then back out the open economyK^{d,r*}asY / (Y/K). - We could assume that
K^fis a fixed percentzeta_Kof total capitalK. This means the private capital market clearing conditionK = K^d + K^fis equivalent to sayingK^f = zeta_K * KandK^d = (1 - zeta_K) * K.
I think that both approaches (1) and (2) will work. Approach (1) is most analogous to what we are currently doing, and it incorporates K_g > 0 into the solution. However, approach (2) is more simple. And its specification is more closely connected to the way we would calibrate zeta_K.
cc: @jdebacker
- Lenguaje dominante
- Python
- Estrellas
- 85
- Forks
- 153
- Merge medio
- 1 d 19 h
- PR fusionados (30 d)
- 19
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PSLmodels/OG-Core
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Potential issues with NDC system modelingPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 57/100
PSLmodels/OG-Core#1218 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de PSLmodels/OG-Core
Issues similares
-
docs: Release playbookAbiertodocumentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
awslabs/social-messaging-agent-runtime-toolkit#140 ·
Los mantenedores suelen responder en 1 día
-
subtask
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fga-eps-mds/2026.2-MeasureSoftGram-DOC#187 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
txn2/mcp-data-platform#2493 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
YO-WHATS-UP2/minigit#78 ·
Los mantenedores suelen responder en 3 días
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
liberation-data/drivine-python#432 ·
Los mantenedores suelen responder en 1 día