Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating charts with new npm scores #77

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open

Conversation

izzyStewart
Copy link
Contributor

Updated npm_annex to create charts B, C and Y again with new NPM scores (names based on previous naming conventions). I have saved the outputs here. To note, for chart C, I have created two versions of the data and a png output. This is because Lauren wasn't able to produce the chart type in flourish and I think had to trace based on the png in the end. Have therefore added the image, the original data file format (products with NPM scores) and one grouped as percent share per NPM score (incase that might be easier for Husain to work with).

Copy link
Contributor

@ElenaMariani ElenaMariani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one issue with the unweighted shares. We can chat tomorrow if unclear

/ store_data_hfss["weight_prod"].sum()
)

hfss_shares_none = (
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that this is not very interpretable as it's just giving the sample average (rather than the population). By unweighted we normally mean the share calculated on the unique set of products and I think this is actually what the figure in the appendix refers to.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ElenaMariani I think I just need to remove this variable as its not used in the document I think I had created it previously just to sense check the values against some in a spreadsheet and so copied it over to this file.

Its a good point on what the appendix is referring to (I think I did have the unweighted mean also in another script but didn't copy it over here). Lets discuss on our call later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants