You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue arises because there are multiple loans given to the same company. When we calculate the technology_share, it then "double counts" the companies overall production so-to-speak, and drops it's technology_share slightly lower than it should.
I will add a function earlier in the target_* function to aggregate all loans to the same company (likely should have done this a while ago).
Closes#262
As the first step of target_market_share, I now aggregate by id_loan to the same company
on the input data.
Co-authored-by: GitHub Actions <[email protected]>
Co-authored-by: Mauro Lepore <[email protected]>
See reprex. Expected values were manually calculated in excel.
Created on 2021-01-06 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: