Inconsistency in the `initial_hhwealth_dist` parameter
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
調査の方向性
TPI.py の initial_b_sp1_prelim の代入箇所から始め、initial_hhwealth_dist の説明と、分布行列 eta および zeta の使われ方を比較してください。初期の家計資産の計算における p.omega[0, :, :] の役割を確認してください。各セルのシェアについて文書化された解釈とコードが一致し、関連するテストまたはモデル実行が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
There is an inconsistency in the description of the initial_hhwealth_dist parameter. The description of the parameter says: "is an $S \times J$ matrix of percentages representing the percent of total household wealth in the initial period held by households of age $s$ and lifetime income group $j$."
This suggests that the object represents the share of household wealth held in a given $(s,j)$ cell, regardless of the size of the population in that cell.
In contrast, when the initial household wealth is assigned based on this parameter in TPI.py, each household in of a given $(s,j)$ type is assumed to get the share defined in initial_hhwealth_dist:
initial_b_sp1_prelim = p.initial_hhwealth_dist * ss_baseline_vars["B"]
The description of the shares that each $(s,j)$ cell represents in initial_hhwealth_dist is the same as what other distribution matrices represent (e..g, the eta and zeta matrices that distribution total non-pension transfers and bequests, respectively).
To make sure the code aligns with this concept, the line in TPI.py needs to be changed to:
initial_b_sp1_prelim = (p.initial_hhwealth_dist * ss_baseline_vars["B"]) / p.omega[0, :, :]
- 主要言語
- Python
- スター
- 85
- フォーク
- 153
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 19
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PSLmodels/OG-Core のほかの issue
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
PSLmodels/OG-Core#1218 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 57/100
メンテナーはふだん 1 日以内に返信
PSLmodels/OG-Core の issue をすべて見る
似ている issue
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)対応中かも @geyazheng が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
langchain-ai/langchain-aws#1469 ·
メンテナーはふだん 1 日以内に返信
-
GCToggler leaves collection enabled if the body re-enables it対応中かも @Gambit-Checkmate が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 7 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
doronz88/pymobiledevice3#2176 ·
メンテナーはふだん 1 日以内に返信
-
b4b usability
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信