Covid-19's impact in Economics books: a statistical hypothesis testing

Should a Publisher make changes in the economic books market due to Covid-19 Pandemic? This is the central question of my project "Covid-19 impact in Economics Books" answers. This is the main problem, if you prefer, solved by my project "Covid-19 impact in Economics Books". 


How did I answer this question? 

I used the Scipy.Stats library (for statistical functions) with Python, focusing on hypothesis testing, mainly: scipy.stats.ttest_ind (for price), scipy.stats.ttest_rel (for number of pages) and scipy.stats.chi2_contingency (for subjects)


First of all, I collected data manually in order to better understand all the workflow. For this, I chose economics books published in October 2019 (before Covid-19 pandemic) and in October 2020 (during Covid-19 pandemic) to compare the differences. Because it would be easier to choose titles published in English, all these books are being sold by Amazon.co.uk


Secondly, I prepared a csv file using Excel with all the information collected in which were included the prices, number of pages and main/specific subject of these books. 

Thirdly, I tested my hypothesis using Python with Scipy.Stats library.


What were the conclusions for price, number of pages and main/specific subject of these books?

Using scipy.stats.ttest_ind for price, I concluded that there is not a variation in the number of pages between the books published in October 2019 and October 2020. 

In what respects to the price, the result of scipy.stats.ttest_rel showed me that there is not a variation in the prices from the different books when comparing October 2019 and October 2020.

Finally, the main/specific subject is independent of the "before covid-19" and "after covid-19",  as shown by the result of scipy.stats.chi2_contingency.

In this sense, and answering the question that is at the beginning,
it seems to be a bad idea making changes in the economic books market due to Covid-19 Pandemic.
***
For more information about my project "Covid-19 impact in Economics Books":
https://github.com/marisafernandes86/covid19_impact_in_books/

Comentários