Sunday, May 20, 2018

Rashtriya Swasthya Bima Yojana (RSBY) or National Health Insurance Programme: A case study of Odisha

The health insurance program for the people below poverty line was launched in 2008. More details here: https://en.wikipedia.org/wiki/Rashtriya_Swasthya_Bima_Yojana 
Data sources:
  1. District wise data about the health insurance premium and hospitalization expenses is available here: http://www.rsby.gov.in/Statewise.aspx?state=24 
  2. District wise census data is available here: https://odisha.data.gov.in/catalog/primary-census-abstract-odisha#web_catalog_tabs_block_10 
Data analysis:
  1. The two datasets were merged by district name and simple charts were created using scatter plots and maps.
  2. Female literacy percentage was calculated as number of female literates over total number of females.
  3. Enrollment percentage was calculated as enrolled families over total target families.
  4. Private percentage was calculated as number of private hospitals empaneled to provide RSBY benefits over total number of public and private hospitals empaneled.
  5. Data was grouped by District.
  6. Tableau was used as charting software tool.
Charts:
I started by displaying parameters by state map to give an overall understanding of the geographic distribution of parameters.
3 districts had 100% RSBY enrollment among the target families; Sonepur, Nayagarh and Kalahandi.


The average hospitalization expense was a mixed bag across districts ranging from 889 rupees in Kandhamal to 7062 rupees in Jagatsinghpur.


 Districts near capital city of Bhubaneshwar were equipped with both public and private empaneled hospitals as compared to public hospital majority regions. Khordha had 71% private hospitals empaneled to serve patients under RSBY scheme.


 The geographical spread of female literacy showed distinct areas of low, medium and high literacy.

After the geographical charts were plotted, I created some scatter plots to understand the interdependence of factors.
The private hospital had 14 times higher average hospitalization expense as compared to a public hospital. (Slope of private graph trend line is 85 while slope of public graph trend line is 6)



Overall hospitalization expense increased with the increase of private public mix of hospitals.


Hospitalization expense increased with the number of hospitalization. Private hospital dominated districts can be seen as falling way above the trend line.
Hospitalization expense = 2105 * Number of Hospitalization or 1 hospitalization resulted in 2105 rupees worth of expense on average.



Number of hospitalizations generally increased with the increase in the number of enrolled families. Female literacy didn't appear as an impact factor here.
Number of hospitalization = 0.05*Enrolled families or only 1 out of 20 enrolled families used the hospitalization facility.




Count of enrolled families under the RSBY scheme decreased with increase in female literacy, which was a surprise.





Average hospitalization expense increased with female literacy; which shows that hospitalizations were lesser in number but more expensive suggesting surgeries or accidental illnesses.




Conclusion
Few important observations come up after the analysis:
  1. Average hospitalization expense per family was 105 rupees whereas premium was 370 rupees as mentioned on the webpage, i.e. claim ratio of 28%.
  2. The enrollment of target families is yet to be completed. Emphasis needs to be put on finishing enrollment soon.
  3. Use of private is meaningful only if they provide a medical treatment that government hospitals can't or if they are located at a place where there are no government hospitals.
  4. The data was available till September 2017. So there is a need to update the data on RSBY portal.

Sunday, August 6, 2017

NYC Taxi Duration challenge





Saturday, September 24, 2016

Visualisation of Indian Cricket Team's Test Match Performance (since 2000)

Often the test matches start on Thursday and end on Monday. As Monday is a working day, a lot of office goers face distraction from work as the last day of Test match is often the most exciting day with lots of action. This scheduling pattern of test matches is also evident in the ongoing India-New Zealand Kanpur Test match as well which began on 22nd September 2016, Thursday. 

Based on these thoughts, I have created a visualisation on the performance of the Indian Cricket Team in Test matched since 2000 and have tried to see if there is an observable pattern of results by last day of a test match.

Here is the link for visualisation:
https://public.tableau.com/profile/n.singh#!/





Observation:
Wins and narrow wins have occurred in matches ending on Monday.
I categorised any test win by less than 50 runs or by less than or equal to 3 wickets as a narrow win.

Feedback and comments are highly solicited. If you believe that there is a discrepancy in the visualisation, please also point out the same as well.

Thanks.

References:

Monday, September 5, 2016

Sentiment analysis of e-commerce firms in India: August 2016

Hello readers,

After a break of 2 months, the sentiment analysis series is back.
I hope you all must be doing very good.
Happy Ganesh Puja to my readers!

Table of sentiment analysis scores: [Note that Snapdeal's twitter handle did not respond to our request for tweets]


Sl. No.
Names
Total tweets
Positive tweets
Negative tweet
Sum
score
4
Jabong
8749
754
64
818
92
1
Amazon
6090
944
190
1134
83
2
eBay
1368
111
56
167
66
5
Myntra
1045
64
71
135
47
3
Flipkart
6986
383
723
1106
35

Total tweets: Total number of tweets returned from the official twitter handles
Positive tweets: Number of tweets that are either marked as positive or extremely positive
Negative tweets: Number of tweets that are either marked as negative or extremely negative
Sum: Sum of positive and negative tweets
Score: Positive tweets/ Total tweets

Chart of tweets categorised as positive to negative and the trend chart are as under (trend chart falls to zero for the past two months as I was not ranking the firms and has nothing to do with anything else):

(click to enlarge)


(click to enlarge)


References:
1. twitteR package for R
2. Original twitter handles of the e-commerce firms (Snapdeal's twitter handle did not respond to our request for tweets.)
3. Twitter API
4. R Programming Language


Just an update post

Hello readers, Hope you are doing well. September was spent cleaning and loading a lot of cloud files to local backup. October will be spent...