<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Linh Vu on Medium]]></title>
        <description><![CDATA[Stories by Linh Vu on Medium]]></description>
        <link>https://medium.com/@linhvu11?source=rss-d946e2409a02------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*gh00xAQep_OvVKNSbjmxaw.png</url>
            <title>Stories by Linh Vu on Medium</title>
            <link>https://medium.com/@linhvu11?source=rss-d946e2409a02------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 08:16:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@linhvu11/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Neuron Entrainment: Do Network Neurons Follow the Frequency of a Pulsed Neuron?]]></title>
            <link>https://linhvu11.medium.com/neuron-entrainment-do-network-neurons-follow-the-frequency-of-a-pulsed-neuron-853a94d70c4c?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/853a94d70c4c</guid>
            <category><![CDATA[statistical-analysis]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[biology]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[neuroscience]]></category>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Wed, 14 Feb 2024 04:48:49 GMT</pubDate>
            <atom:updated>2024-02-14T04:48:49.808Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>The human brain is an incredibly complex network of neurons that communicate with each other through electrical signals. <strong><em>Neuron entrainment</em></strong> is a phenomenon in which the firing of one neuron influences the activity of other neurons in the network (Herrmann et al., 2016). When a neuron is pulsed at a specific frequency, it has been observed that other neurons in the network can entrain to that frequency (Schnitzler and Gross, 2005). However, the extent to which other neurons in the network synchronize their firing with the pulsed neuron remains unclear. This raises the initial research questions for this analysis report: “Does the frequency of a pulsed neuron impact the frequency of other network neurons? What coordination patterns do pulsed frequency and response neuron frequency follow?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vL50LxSgGzMF5QiC.jpg" /></figure><h3>Summary</h3><p>For a Data Science senior capstone project, our team of four students worked on a client project about <strong><em>neuron entrainment</em></strong><em>. </em>A group of graduate students in Miami University’s Biology department conducted research studying the frequency (Hz) of network neurons in response to the entrainment of the pulsed neuron. The initial conclusion of her team is that there is not always the same number of network neuron bursts as pulsed neuron pulses. In other words, the entrainment of the pulsed neuron does not always lead to the synchronization of the firing of the other neurons in the network at the same frequency.</p><p>The study focuses on four types of neurons: LG, IC, DG, and LPG, and uses data from four datasets to explore the relationship between pulsed and response neuron frequencies. The analysis also aims to identify any linear or non-linear relationships between the variables. To analyze the data, the same approach and flow of analysis will be used for each of the four datasets. We use multiple statistical methods to determine whether there is an influence between pulsed neurons and others in the network, whether their relationship is linear or nonlinear, what ratios they follow, and whether there is a difference in different levels of pulse frequency.</p><h3>Methodology</h3><h4>Data Processing</h4><p>The database for this research project consists of four datasets, each containing data on the frequency of four different types of neurons: LG, IC, DG, and LPG. The raw data is recorded in an Excel file, with each sheet representing one type of neuron. Each dataset includes two sets of frequency data:</p><ul><li>Baseline data, which represents the frequency of all four neuron types before any of them are pulsed</li><li>Pulsed data, which represents the frequency of the same neuron types after one of them has been pulsed.</li></ul><p>The pulsed data includes the pulsed frequency and the response frequency of each neuron type. Additionally, the dates of the experiments are recorded for each sheet.</p><p>We begin the data processing by separating the columns of each original Excel sheet, which include the date, pulse frequency, and response frequency for each pair of pulse and response neuron, then merging them again in a long format. The merged datasets will include the Date, Pulse frequency, Response frequency, and Neuron factor (3 levels) indicating the type of response neuron used for each observation. Next, the baseline data will be grouped into four datasets, and these datasets will include the Dates and frequency in Hz of the baseline frequency for all four neurons.</p><p>To ensure that the data is complete and accurate, we will remove any observations with missing values (N/A). This step is essential to ensure that the analysis is based on the most comprehensive data possible. By processing the data in this way, we will have four datasets in a suitable format for analysis that will allow us to investigate the research question. The Neuron factor variable will also enable us to compare the results across different types of response neurons, providing us with valuable insights into the impact of the pulsed neuron frequency on the network’s synchronization. After the data processing step is complete, we will proceed with the flow of the analysis outlined in the research question.</p><h4><strong>Methodology</strong></h4><p><strong>1. Intra-class Correlation</strong></p><p>The intra-class correlation (ICC) is a statistical measure used to assess the degree of agreement or similarity between observations within the same group or cluster. We want to determine the between-group and within-group correlation of the Response neuron measurements when grouped by Date and Pulsed Neuron. In other words, we want to see if there is a high correlation among Response frequencies being measured at different dates when the same neuron is pulsed. If there is no correlation or low correlation, we might be able to ignore the Dates effect when we carry out the analysis for the rest of our project. Otherwise, we will need to take into consideration the Dates effect on Response frequencies in other analysis moving forward.</p><p><strong>2. Analytical Approach</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dm782TTwZgDDHO8T" /><figcaption>Analysis Flow and Steps</figcaption></figure><p>We will follow the same procedure to analyze the four datasets to answer our research question. First, we determine whether there is a significant difference between the baseline and pulsed data for each neuron type to answer the question: <em>Does neuron entrainment of the pulsed neuron have an effect on the response neurons in the network?</em> If there is no significant difference between the baseline and pulsed data for a specific pair of pulsed and response neurons, that pair will be ignored for further analysis. Otherwise, the next step is to determine whether the relationship between the pulsed and response neuron frequencies is more linear or non-linear. If the relationship is more linear, the slope of the relationship will be analyzed to determine if it is significantly different from zero and estimate the closest ratio of pulse and response frequencies. If the relationship is non-linear, the pulse frequency levels will be compared pairwisely to determine if they are significantly different.</p><p>For each dataset (LG, IC, DG, LPG), we employ a <strong>Generalized Linear Model (GLM)</strong> to investigate the impact of pulsed neurons on response neurons. Hypotheses are formulated to assess the significance of different factors and interaction terms in the model. The results guide us in determining whether pulsed neurons have a significant effect on the frequency of response neurons.</p><p>Following the <strong>GLM</strong> analysis, statistical models are employed to explore linear and non-linear relationships between pulsed and response neurons. <strong>Linear</strong> models are fitted to establish relationships between pulse frequency and response frequency. <strong>Non-linear </strong>models, particularly <strong>Generalized Additive Models (GAM)</strong>, are employed to capture more complex relationships.</p><p>Model comparisons are conducted to assess the goodness of fit between linear and non-linear models, ensuring the chosen model adequately represents the data. <strong>Pairwise comparisons</strong> and <strong>coordination pattern analyses</strong> are performed to understand the nuanced relationships between pulse and response frequencies. These analyses involve hypothesis testing to determine if specific ratios or slopes between frequencies are significant.</p><p>In conclusion, our study examined the responses of different neurons to various pulsed datasets, and we found that the <strong>non-linear GAM</strong> model provided a <strong>better</strong> fit for the data in most cases. Specifically, the <strong>DG</strong> neuron responded significantly to the <strong>LG</strong> Pulsed dataset, and the non-linear model provided a more accurate understanding of this relationship than the linear model. The <strong>LG</strong> and <strong>LPG</strong> neurons responded significantly to the <strong>IC </strong>Pulses, and once again, the non-linear model provided a better fit to the data. However, for the <strong>DG</strong> Pulsed dataset, the non-linear model did not necessarily provide a significantly better fit, and we had to look into the linear model to investigate the coordination between neurons. Similarly, for the <strong>LPG</strong> Pulsed dataset, the <strong>DG</strong> neuron responded significantly, but the non-linear model was not better than the linear model, and we had to examine the coordination between neurons using the linear model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*65x_Fl8ixL8clPTe" /><figcaption>Linear Graph of Linear Model for <strong>LG_DG dataset</strong> with non-linear smoothing line (red)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mMfc3DkwsZeoPft7" /><figcaption>Linear Graphs of Linear Model for <strong>IC dataset</strong> with non-linear smoothing lines (red)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*x5dbB75T8pdxKFqa" /><figcaption>Linear Graphs of Linear Model for <strong>DG dataset</strong> with non-linear smoothing lines (red)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IawiBEcEFd8uwjvs" /><figcaption>Linear Graph of Linear Model for <strong>LPG dataset</strong> with non-linear smoothing line (red)</figcaption></figure><h3>Conclusion</h3><p>Our findings highlight the importance of selecting an appropriate model for analyzing neural responses to different stimuli. The non-linear model appears to be better suited for capturing the complex and non-linear relationships between pulses and neural activity. Our study provides insights into the specific neurons that respond to different pulsed datasets and their potential roles in neural signaling and information processing. These findings have important implications for future research aimed at understanding the neural mechanisms underlying behavior and cognition. Further studies could explore how these neurons interact with each other and contribute to larger neural circuits and systems.</p><h3><strong>References</strong></h3><ol><li>Herrmann, C. S., Rach, S., Neuling, T., &amp; Strüber, D. (2013). Transcranial alternating current stimulation: A review of the underlying mechanisms and modulation of cognitive processes. Frontiers in Human Neuroscience, 7, 279.</li><li>Kandel, E. R., Schwartz, J. H., &amp; Jessell, T. M. (Eds.). (2000). Principles of neural science (4th ed.). McGraw-Hill.</li><li>Nunez, P. L., &amp; Srinivasan, R. (2006). Electric fields of the brain: The neurophysics of EEG (2nd ed.). Oxford University Press.</li><li>O’Keefe, J., &amp; Dostrovsky, J. (1971). The hippocampus as a spatial map. Preliminary evidence from unit activity in the freely-moving rat. Brain Research, 34(1), 171–175.</li><li>Rajagovindan, R., &amp; Ding, M. (2011). From prestimulus alpha oscillation to visual-evoked response: An inverted-U function and its attentional modulation. Journal of Cognitive Neuroscience, 23(6), 1379–1394.</li><li>Singer, W. (1999). Neuronal synchrony: A versatile code for the definition of relations? Neuron, 24(1), 49–65.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=853a94d70c4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Medicare Fraud Detection through Big Data and Machine Learning Models]]></title>
            <link>https://linhvu11.medium.com/medicare-fraud-detection-through-big-data-and-machine-learning-models-1dd0d12bafb5?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/1dd0d12bafb5</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[predictive-analytics]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[medicare]]></category>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Mon, 12 Feb 2024 04:07:42 GMT</pubDate>
            <atom:updated>2024-02-12T04:07:42.665Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Medicare is a federal health insurance program that primarily serves individuals aged 65+, as well as certain younger individuals with disabilities. However, Medicare fraud is intentionally and illicitly deceiving the Medicare system in the United States for financial gain. Medicare fraud contributes significantly to healthcare costs and access problems, which are estimated to account for 3–10% of total spending. The fraudulent activities involve collusion among providers, physicians, and beneficiaries, leading to deceptive practices such as billing for nonexistent services or inflating charges. These can lead to increased taxes and healthcare costs, with an estimated loss of over $100 billion from taxpayers. Regulators need help with manual review processes and proprietary data limitations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0u1ucVPunM3Nfnbk.jpg" /></figure><h3>Summary</h3><p>For a master-level course <strong><em>Managing Big Data</em></strong>, my team of four students demonstrates an analytics approach to accurately identify physician fraud in healthcare leveraging publicly available data sources: CMS Medicare Part D Prescribers data, CMS Open Payments data, a list of Excluded Individuals and Entities (LEIE), and public healthcare reviews. Our proposed solution focuses on a sophisticated data model designed to analyze factors related to service providers, aiming to evaluate and predict the likelihood of fraudulent activities. In our solution, we address a crucial aspect of Medicare fraud: using AI tools to create false identities through authentic patient information. While AI can be misused for fraudulent activities, we leveraged it to assist with our code solutions, Chat GPT in particular, showcasing the versatility of such tools in cybersecurity.</p><p>Our workflow involves data pairing, feature extraction, and the application of various classification models to achieve optimal fraud detection performance. Multiple classification algorithms were developed using open Medicare Part D prescribing datasets, historical fraud records, and derived anomaly indicators. With just 20 engineered features, tree ensemble models, including but not limited to Decision Trees and Random Forests, we achieved over 90% precision and recall on out-of-sample test cases.</p><h3>Data Sources</h3><h4>1. Medicare Part D Prescribers (<a href="https://data.cms.gov/provider-summary-by-type-of-service/medicare-part-d-prescribers/medicare-part-d-prescribers-by-provider-and-drug/data/">link</a>)</h4><ul><li>Analysis of prescribing patterns for identifying potential outliers.</li><li>Understanding medication utilization trends.</li><li>Spotting unusual or suspicious prescription activities.</li><li>Contains details on prescriptions, payments, and providers at the drug and physician level.</li><li>Includes number of claims, total costs, number of unique patients, etc.</li><li>Can be used to analyze prescribing patterns and identify anomalous/suspicious behavior.</li></ul><p><strong>Features:</strong></p><ul><li><strong>NPI:</strong> National Provider Identifier (NPI) for the performing provider on the claim.</li><li><strong>Last Name</strong></li><li><strong>First Name</strong></li><li><strong>City</strong></li><li><strong>Provider Specialty Source</strong>: specialty code or taxonomy code)</li><li><strong>Drug Brand Name:</strong> Brand name (trademarked name) of the drug filled.</li><li><strong>Tot_Clms:</strong> The number of Medicare Part D claims. This includes original prescriptions and refills.</li><li><strong>Tot_30day_Fills:</strong> The aggregate number of Medicare Part D standardized 30-day fills. The standardized 30-day fill is derived from the number of days supplied on each Part D claim divided by 30.</li><li><strong>Tot_Day_Suply:</strong> The aggregate number of day’s supply for which this drug was dispensed.</li><li><strong>Tot_Drug_Cst: </strong>The aggregate drug cost paid for all associated claims. This amount includes ingredient cost, dispensing fee, sales tax, and any applicable vaccine administration fees and is based on the amounts paid by the Part D plan, Medicare beneficiary, government subsidies, and any other third-party payers.</li></ul><h4>2. CMS Open Payment 2019–2021 Dataset (<a href="https://openpaymentsdata.cms.gov/datasets">link</a>)</h4><ul><li>Examining financial relationships between healthcare providers and industry.</li><li>Identifying potential conflicts of interest through payments and transfers of value.</li><li>Enhancing transparency and accountability in healthcare.</li><li>Details claims for procedures and medical services under Medicare Part B.</li><li>Contains provider info, specialty, location, payments, number of services, charges, etc.</li><li>Useful for identifying outliers or unusual billing patterns by providers.</li></ul><p><strong>Features:</strong></p><ul><li><strong>NPI:</strong> National Provider Identifier (NPI) for the performing provider on the claim.</li><li><strong>Total_Payment_sum</strong> (from the <strong>Open Payment dataset</strong>): Total value of general payments to a particular physician.</li></ul><h4><strong>3. LEIE Dataset (</strong><a href="https://oig.hhs.gov/exclusions/exclusions_list.asp"><strong>link</strong></a><strong>)</strong></h4><ul><li>Screening healthcare providers against the List of Excluded Individuals and Entities.</li><li>Verifying if any involved individuals or entities are excluded from federal healthcare programs.</li><li>Mitigating fraud risk by excluding ineligible parties from participation.</li></ul><h4>4. Ohio Medical Board — Monthly Formal Actions (<a href="https://med.ohio.gov/laws-and-regulations/disciplinary-information/monthly-formal-actions">link</a>)</h4><ul><li>Reviewing formal actions taken by the Ohio Medical Board.</li><li>Keeping abreast of disciplinary information and potential issues in the healthcare sector.</li><li>This comprehensive list outlines the diverse applications and insights gained from each data source, providing a holistic approach to leveraging healthcare data for fraud detection and prevention.</li></ul><h3><strong>Methodology</strong></h3><h4><strong>Data Exploration</strong></h4><p>In the initial phase of our project, we described the raw data, outlining its key attributes and characteristics. Data cleansing techniques are applied to address inconsistencies, missing values, and outliers. The initial dataset underwent a thorough examination to identify and handle missing values, outliers, and inconsistencies. Any instances of missing data were either imputed or removed, ensuring the dataset’s completeness and integrity. This step served as a foundational understanding, setting the stage for subsequent analyses.</p><p>A simple data model is constructed to establish relationships among different datasets. This facilitates the integration of information from Part D Prescriber, LEIE, and Payment Received datasets. Effective feature sets are determined based on the nature of fraud patterns. Features include prescribing patterns, drug-related information, and geo-demographic metrics. The goal is to create a comprehensive set of attributes that can unveil potential fraudulence in Medicare claims.</p><p>Following the raw data exploration, we assembled a comprehensive dataset by merging relevant information for training and testing our machine-learning models. This dataset included a detailed description of features, providing essential context for developing and evaluating our models.</p><p>Conducting Exploratory Data Analysis (EDA) was pivotal in uncovering our dataset’s patterns, trends, and outliers. This process facilitated a deeper comprehension of the data and guided decisions in refining our models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8sxqamNEJg4IbYgZ" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N2EcJxbEy6rjs9PF" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*ksNZEgjtPaMrdFJiPwIVQQ.png" /></figure><h4>Analytics Technique</h4><p>Data preprocessing is a critical phase in the machine learning pipeline that involves cleaning, transforming, and organizing raw data to enhance the performance and reliability of the subsequent model. All the pre-processing steps below collectively create a clean, standardized, and balanced dataset, providing a solid foundation for training and evaluating machine learning models.</p><p>Firstly, unnecessary variables, such as <em>‘Last_Name</em>,’ <em>‘First_Name</em>,’ <em>‘City</em>,’ and <em>‘Drug_Name</em>,’ were dropped from the dataset. This step aimed to reduce dimensionality and focus on the most relevant features of the model.</p><p>Next, we used a logarithm to scale the numerical features. A logarithm can be beneficial when the data spans several orders of magnitude. Many machine learning algorithms are sensitive to the scale of input features. Features with larger magnitudes can dominate those with smaller magnitudes during the training process, leading to biased or inefficient models. Therefore, scaling compresses the range of the data, making it more suitable for specific algorithms. Scaling can also help some optimization algorithms converge faster and ensure that all features contribute equally to the distance computation. We used standardization to scale numeric features using the <strong><em>StandardScaler</em></strong><em> </em>from the <strong>scikit-learn</strong> library. This process ensures that features with different units or magnitudes do not disproportionately influence the model. On the other hand, we converted the categorical variables into a numerical format using dummy encoding. This transformation ensures compatibility with machine learning algorithms that require numerical input.</p><p>The target variable was a binary indicator for fraud claims. The dataset was imbalanced, with only <strong>0.1%</strong> positive fraud cases (see below). Therefore, to address the class imbalance in the target variable, the <strong><em>Synthetic Minority Over-sampling Technique (SMOTE)</em></strong> was applied to the training set to create synthetic minority samples. SMOTE generates synthetic samples for the minority class, balancing the class distribution and preventing the model from being biased toward the majority class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*U8Q1XILO6yomaadui0znqA.png" /></figure><p>After pre-processing, the dataset used for modeling contained <strong>18</strong> feature columns. The dataset was divided <strong>80/20</strong> into training and testing sets using the <strong><em>train_test_split</em></strong><em> </em>function. <strong>Stratified sampling</strong> was employed to maintain the distribution of the target variable in both sets. The prepared dataset then underwent model fitting using various machine learning algorithms to model the relationship between the input features and the binary target variable <em>‘Is_Fraud.’ </em>The models were trained on the SMOTE-resampled training data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cgunprBH3P8MgS6tfWYBhQ.png" /></figure><p>In <strong>predictive analytics</strong>, the purpose is to construct an analytical model that anticipates a specific target metric. This target metric is commonly employed to guide the learning process in an optimization algorithm. Predictive analytics can be categorized into two types based on the measurement level of the target: regression and classification. We will employ logistic regression, random forest classification, and other ensemble and boosting techniques for our machine-learning models to further enhance and fine-tune the model. Machine learning algorithms used in our project include:</p><ul><li><strong>Logistic Regression</strong>: a linear classification algorithm.</li><li><strong>Random Forest Classifier: </strong>an ensemble learning method to capture complex relationships within the data.</li><li><strong>Decision Tree Classifier: </strong>known for its interpretability.</li><li><strong>Gaussian Naive Bayes: </strong>based on Bayes’ theorem, applied to assess the performance on the imbalanced dataset.</li><li><strong>Extra Trees Classifier</strong>: known for robustness, was trained to provide an additional benchmark for comparison.</li><li><strong>Gradient Boosting Classifier</strong>: an ensemble model boosting weak learners was employed to capture complex relationships and improve overall predictive accuracy.</li></ul><p>We involved an additional innovation by incorporating a <strong>text-mining</strong> predictor derived from <strong>unstructured</strong> data, enhancing the overall predictive capacity of our models.</p><h4>Model Evaluation</h4><p>As we approached the final stages of model development, we carefully evaluated different models and identified the best-performing ones. The models were compared based on crucial evaluation metrics: precision, recall, F1 score, AUC, accuracy, and <strong>Brier</strong> score. Additionally, the importance of the <strong>Decision Tree Classifier</strong> feature was analyzed to understand the contribution of each feature to the model’s predictive performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/552/1*gFOq6FAf7Ry7L9BsRKnmSg.png" /><figcaption>Decision Tree Classifier model’s important features</figcaption></figure><p>The feature importance indicates the importance percentage of each feature. The most important feature is ‘<em>Tot_30day_Fills_max-mean</em>’, followed by other features like ‘<em>Tot_Clms_sum</em>,’ ‘<em>Tot_Clms_max-mean</em>,’ and ‘<em>Tot_Day_Suply_sum</em>,’ which means the most important features were statistics related to several claims, prescription fills, supply days, costs, payments, and provider specialty:</p><ul><li>The average maximum number of Medicare Part D standardized 30-day fills.</li><li>The total number of Medicare Part D claims.</li><li>The average of the maximum number of Medicare Part D claims.</li><li>The total number of day’s supply for which this drug was dispensed.</li></ul><h3><strong>Conclusion</strong></h3><p>Upon completing the model development phase, we focused on reviewing the project’s conclusion. In this critical assessment, we provided insights into the outcomes of our analyses and offered comments on the limitations encountered during the project, along with suggestions for future improvements.</p><p>The <strong>Decision Tree</strong> and <strong>Extra Trees</strong> models achieved exceptional performance with near-perfect scores on all metrics. This indicates very high predictive capabilities for identifying fraud in this dataset without much overfitting. If computational efficiency is a concern, and the <strong>Decision Tree </strong>and <strong>Extra Trees Classifier</strong> are balanced, they might be the preferred models due to their outstanding performance. <strong>Logistic Regression</strong>, while offering interpretability, does not match the high performance of the tree-based models. <strong>Naive Bayes</strong>’s performance was considerably lower than that of other models.</p><h3><strong>Recommendations</strong></h3><h4>Model Improvements</h4><p>In terms of improvement, leveraging technology to train models on larger samples from different years and states using publicly available CMS datasets is recommended. Including FDA data and an Opioid drug list can enhance the model’s ability to identify potential drug-related fraud. Adding fraud data into the training dataset and employing ensemble methods with parameter tuning can also elevate overall model performance. Feature engineering methods, such as introducing density metrics and temporal patterns, should be explored, and regular model retraining is also advised to maintain predictive accuracy.</p><h4><strong>Model Deployment</strong></h4><p>From a business perspective, the developed model is significant in predicting provider fraud and supporting insurance companies in scrutinizing claims. Improved model performance assists in detecting fraud among networks of physicians, providers, and beneficiaries. Continuous improvement can contribute to governmental decision-making against fraudulent health providers. Ultimately, this project’s contribution to the economy involves reducing inflation caused by fraudulent practices and lowering insurance premiums, preventing healthcare costs from becoming burdensome.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B1dSwr0boqPsE_stzmlIew.png" /></figure><h3><strong>How Did ChatGPT Involve In Our Project?</strong></h3><p>This section is a comprehensive record detailing the incorporation of <strong>ChatGPT</strong> and other <strong>generative AI tools</strong> within our team’s workflow and how these tools were applied to complement our coding efforts and enhance the overall quality of our analytical work.</p><p>Our team embarked on a project employing <strong>ChatGPT</strong> to expedite the development of a web-scraping solution designed to extract medical data from <a href="http://healthgrades.com/"><em>HealthGrades.com</em></a>. Despite <strong>ChatGPT</strong>’s proficiency in generating general code snippets, we encountered challenges adapting it to the specific intricacies of our <strong>medical data scraping</strong> task. <em>HealthGrades.com</em> presented unique structural and data presentation challenges that proved challenging for the model, given the specialized nature of the information.</p><p>Compounding these challenges was the limited discussion or availability of relevant information in the model’s training data, resulting in less accurate or incomplete responses. Consequently, the model required extensive prompting and clarification, rendering the process less efficient than seeking guidance from domain-specific forums, tutorials, or consulting with experts in medical web scraping. This experience underscored the limitations of relying solely on a general-purpose language model for specialized and nuanced projects.</p><p>The objective of our <strong>web-scraping</strong> initiative was to uncover intricate details from <em>HealthGrades.com</em> to aid in the understanding and prevention of Medicare fraud. The challenges posed by the healthcare industry and the emphasis on fraud detection highlighted the necessity for precise and domain-specific data extraction. While <strong>ChatGPT</strong> demonstrated its capacity to generate general coding snippets, it needed to deliver tailored solutions for medical data retrieval and analysis nuances. The intricacies of the Medicare industry demanded a nuanced approach, often involving interactions with specialized forums, experts, and domain-specific resources. As the project progressed, it became evident that leveraging <strong>ChatGPT</strong> for such a targeted and intricate task required extensive prompting and supplementary expertise to bridge the gap between general language understanding and the complexities of healthcare data. Our commitment to developing a fraud detection solution for empowering consumers remained steadfast, prompting a shift in focus towards a hybrid approach that combined the strengths of <strong>ChatGPT</strong> with the precision offered by domain experts and specialized tools in the Medicare landscape.</p><p>Moreover, regarding the details for web scraping, <em>Healthgrades.com</em> would have been an excellent resource for our <strong>unstructured</strong> data. However, our targeted data was embedded inside the <strong>HTML</strong> code, making it challenging for the previous code chunks we had prepared. Another limitation was that we needed more time to flesh out the presentation aspects of our project rather than the background or the coding.</p><p>In summary, our experience revealed that while <strong>ChatGPT</strong> proved to be a valuable tool and practical starting point, relying solely on it to generate our final solution would have significantly diminished the efficacy and complexity of our project.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1dd0d12bafb5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Do Other Factors Influence the Gender Wage Gap by Occupation?]]></title>
            <link>https://linhvu11.medium.com/how-do-other-factors-influence-the-gender-wage-gap-by-occupation-3c59dcc1dd51?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c59dcc1dd51</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[wage-gap]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[gender-equality]]></category>
            <category><![CDATA[statistical-modeling]]></category>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 05:07:44 GMT</pubDate>
            <atom:updated>2022-10-24T05:19:32.890Z</atom:updated>
            <content:encoded><![CDATA[<p>One of the main concerns of labor economics is the persistence of gender differences in the job market. It plays a significant role in policymaking due to the need for labor force mobility and heterogeneity. In order to aim certain labor regulations in the appropriate direction, it is crucial to determine to which extent gender influences the wage gap. There have been many reports about how the gender wage gap varies by occupation all over the world and it is concluded that in nearly all occupations, whether working in occupations dominated by women, dominated by men, or with a more equal balance of men and women, women’s average earnings are lower than that of men. In addition to the gender wage gap within occupations, there is a gender wage gap between occupations. At the same skill levels, male-dominated occupations seem to pay better than female-dominated occupations.</p><h3>Introduction</h3><p>The main goal of this paper is to take a closer look at and dive deeper into the gender wage gap by occupation to study other factors that have an influence on the significant gender wage gap by occupation. This paper also contributes to the understanding of the gender wage gap by occupation by comparing the changes in the gap over time, due to the fact that in recent years, many gender rights and gender inequality acts have widely been conducted.</p><h3><strong>Data</strong></h3><p>The data used in this analysis was created by Professor Peter Nencka, the instructor of the course ECO 311 section A, based on the NLSY97 survey. NLSY97 stands for National Longitudinal Survey of Youth 1997 (NLSY97), a part of the National Longitudinal Surveys (NLS) program. The dataset focused specifically on the Employment section of the survey. In the employment section, all respondents in the NLSY97 were asked about their present and prior jobs and the payment types that they received (overtime, tips, commissions, bonuses, incentive pay, and other types), in addition to their base salary. Additionally, the dataset contains other related variables in other sections, such as educational background, family background, and personal identity (gender and race).</p><p>The original dataset contains 7,796 observations and 45 variables including all categories mentioned above. After cleaning the dataset, I obtained 13 variables including numeric variables, character variables, and dummy variables, as summarized in Table 1 and Tables 2.1 to 2.7 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UHd1yR761m2JmW7glQ6BMw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OCa7YxoU-E6quso67FJUCQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m9j_5liPNjiH3pyq0Orqzg.png" /></figure><h4><strong>Empirical strategy</strong></h4><p>By selecting the above variables from the dataset, I am going to do the analysis by first proving again the gap between female and male employees within each industry and between industries; then, I start building models adding the selected variables to study their influence on the gender wage differences, one of which is the model to study the change of gender wage gap by occupation over time, using the year variable.</p><p>The purpose of my strategy is to find among other factors: years of school, highest education, number of years of experience in the actual market, race (black vs. non-black), whether the respondents have married or not, and whether the respondents have children or not, which can be proved to be the causes of the wage difference between female and male by occupation. The term gender wage “gap” or “difference” mentioned here can be understood and analyzed from various aspects. Firstly, the wage gap between female and male employees within each occupation; secondly, the gender wage difference between different industries (which has the smallest and largest gap), and the wage gap between different industries regarding each gender. All three aspects will be carefully analyzed, so there would be regression models going with more regression models: for adding other factors listed above and for the analysis of the changes over time. The results will be discussed and visualized in more detailedly and comprehensively in the following part of the paper.</p><h4><strong>Results</strong></h4><p>Firstly, I study the gender wage gap within each industry by conducting a linear model of the log wage and the combination of gender and industry variables, and after running the regression, I got the result that the p-value of the <em>gap_within_industry</em> model is smaller than <em>2.2e-16</em>, which is very small, enabling us to make the conclusion that the combination of gender and industry variables has an influence on the log wage response variable, which means there exists an influence of gender on wage (or log wage) within each industry, and vice versa. However, diving deeper into each coefficient in the summary table, only the <em>genderMale:industryIndustry 6</em> coefficient has the p-value of 0.0405 which is smaller than 0.05, while other combination coefficients have a larger p-value. Let’s continue studying other models.</p><p>Considering the gap between different industries, I select only gender, industry, and log wage variables from the cleaned gender wage gap dataset, and after grouping by industry and gender, I calculate the different mean log wage between males and females in each industry to obtain the results in Table 3.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*d7hTSfpC_9UTsHb6wYz0sQ.png" /><figcaption><strong>Table 3: Gender wage gap in each industry</strong></figcaption></figure><p>Looking at Table 3, the gender wage gap of industry 6 is the largest and that of industry 8 is the positive smallest, and only in industry 17 that the mean log wage of female employees is larger than that of male employees. It can be seen that the difference varies by industry.</p><p>Then, I built a model adding other variables being independent variables, and ran the regression. Overall, the p-value of this model is smaller than <em>2.2e-16</em>, which is small enough for us to conclude the significance of the model. Additionally, the p-values for the <em>years_of_school, married, has_child, actual_experience, black</em>, and <em>highest_edu</em> independent variables are all smaller than 0.05, so all the added variables are significant in predicting the log wage of employees, along with the combination of <em>gender</em> and <em>industry</em> variables. However, the R-squared of this model is smaller than that of the first one, which means there is less percentage of the data that fit this second model than the first one.</p><p>Next, I look at the salary of each gender by first creating 2 more datasets by filtering the gender wage gap dataset and grouping both of them by the industry variable. Concerning the wage for female workers, the first model has log_wage as the dependent variable and industry as the independent variable, and the second model has log_wage as the dependent variable and industry along with <em>years_of_school, married, has_child, actual_experience, black, </em>and<em> highest_edu</em> as independent variables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*dVqjJIaN_B_fN02tE0CX0Q.png" /><figcaption><strong>Table 4: Summary of female wage models:</strong></figcaption></figure><p>As shown in the above table, the p-values of both models are small enough to conclude the significance of the models. In the second model, all the added variables have the corresponding p-value that is smaller than 0.05, so all those variables are significant in the model.</p><p>Similarly, I also built two models concerning the wage for male workers and got the similar result on the overall summary of two models, as shown in Table 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*Be8TGt-LpG-uwCNCOJrckw.png" /><figcaption><strong>Table 5: Summary of female wage models</strong></figcaption></figure><p>However, in the second model for male workers, while the other added independent variables besides the <em>industry</em> variable have significant p-value, only the <em>has_child</em> variable has a p-value larger than 0.05, which makes this variable not significant in the model. After removing the has_child variable, I built another model for the wage of male workers and the summary showed a significant model with a small p-value and all the independent variables are also significant.</p><p>Finally, before coming to the conclusion, I think it is necessary to look at the changes in the gender wage gap over time. After creating another dataset including only <em>year, gender, </em>and <em>log</em> <em>wage</em> variables, I clean the data and calculate the mean log wage difference between male and female workers in each year of observation. Then, I created a graph to visualize the changes over time as shown in Figure 1 below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*ze3lC5kxAjQyLqGgZKBdRA.png" /><figcaption><strong>Figure 1: Gender wage over time</strong></figcaption></figure><p>As can be seen in the line graph, the largest gaps appear in the year 1989, 1990, 1991, and 2008, and the smallest gaps are in the year 2010 and 2013. Therefore, after many fluctuations, the gender wage gap decreases sharply over time overall. This can partially prove the effectiveness of the gender equality programs conducted in recent years.</p><h3><strong>Conclusion</strong></h3><p>After running regressions for all models created, we can conclude that the factors that affect the gender wage gap by industry include years of school, highest education, family background (marriage status and number of children), number of years of experience in the actual market, and race (black or non-black). Especially the female and male separated models bring an interesting finding that the <em>has_child</em> variable is only significant in the female models, but not in male models. This can be interpreted that having children might affect the work performance of female workers, leading to the effect on female workers’ average wage, but in contrast, hardly affects those of male workers. Additional research has been conducted to support this claim, including one by the National Women’s Law Center:</p><blockquote>“Many factors drive the gender pay gap, but one of the most common explanations is the so-called “motherhood penalty,” or the way that women’s earnings are negatively impacted by raising children, while men’s earnings are not. According to an analysis of Census data by the non-profit National Women’s Law Center, mothers in the U.S. are paid 71 cents for every $1 fathers make — about $16,000 a year in lost wages.”</blockquote><p>And one by the National Bureau of Economic Research:</p><blockquote>“A study from the National Bureau of Economic Research analyzes how women’s earnings are impacted by having children in Denmark, a country that, as noted by Vox, offers public nursery care for children under 3 for $737 a month, about $8,844 per year. According to MarketWatch, Americans spend between $9,000 and $9,600 per child per year.”</blockquote><p>Additionally, the decrease of the overall gender wage gap over time proves the effectiveness of many gender right acts conducted in recent years and shows that there should be more and more programs and campaigns needed to support and empower women in their jobs and promote the gender equality in every aspect of daily life.</p><h3><strong>References</strong></h3><ol><li><em>Attachment 3: 2000/2002 Census Occupation I … — Nlsinfo.org</em>. <a href="https://nlsinfo.org/sites/default/files/attachments/121217/att300.pdf">https://nlsinfo.org/sites/default/files/attachments/121217/att300.pdf</a>.</li><li><em>Glassdoor</em>, <a href="https://glassdoor.app.box.com/v/gender-pay-data">https://glassdoor.app.box.com/v/gender-pay-data</a>.</li><li><em>National Archives and Records Administration</em>, National Archives and Records Administration, <a href="https://clintonwhitehouse3.archives.gov/WH/EOP/CEA/html/gendergap.html#expl">https://clintonwhitehouse3.archives.gov/WH/EOP/CEA/html/gendergap.html#expl</a>.</li><li>“National Longitudinal Survey of Youth: 1997.” <em>National Longitudinal Survey of Youth | 1997 | National Longitudinal Surveys</em>, <a href="https://www.nlsinfo.org/content/cohorts/nlsy97">https://www.nlsinfo.org/content/cohorts/nlsy97</a>.</li><li><em>RPubs</em>, <a href="https://www.rpubs.com/manojeega/551233">https://www.rpubs.com/manojeega/551233</a>.</li><li>Zimmermann@stlouisfed.org, and Andrew &amp; McGee McGee. “Performance Pay, Competitiveness, and the Gender Wage Gap: Evidence Fr.” <em>IZA Discussion Papers</em>, Institute of Labor Economics (IZA), 2 Feb. 2014, <a href="https://ideas.repec.org/p/iza/izadps/dp8563.html">https://ideas.repec.org/p/iza/izadps/dp8563.html</a>.</li><li>Zimmermann@stlouisfed.org, and Michael R. &amp; Webber Strain. “High School Experiences, the Gender Wage Gap, and the Selection of OCC.” <em>IZA Discussion Papers</em>, Institute of Labor Economics (IZA), 2 Feb. 2015, <a href="https://ideas.repec.org/p/iza/izadps/dp9277.html">https://ideas.repec.org/p/iza/izadps/dp9277.html</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c59dcc1dd51" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Analyses of Consumer Expenditures in the Fourth Quarter of 2020 and 2021]]></title>
            <link>https://linhvu11.medium.com/analyses-of-consumer-expenditures-in-the-fourth-quarter-of-2020-and-2021-ef7cd5450e4?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef7cd5450e4</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[r]]></category>
            <category><![CDATA[consumer-behavior]]></category>
            <category><![CDATA[2021-trends]]></category>
            <category><![CDATA[data-visualization]]></category>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Sat, 22 Oct 2022 04:43:02 GMT</pubDate>
            <atom:updated>2022-10-24T05:18:18.672Z</atom:updated>
            <content:encoded><![CDATA[<p>The Bureau of Economic Analysis (BEA) of U.S. Department of Commerce reported on January 27, 2022 that the <em>“real gross domestic product (GDP) increased at an annual rate of 6.9 percent in the fourth quarter of 2021.”</em> This acceleration reflected the increases in consumer spending on goods and services such as health care, transportation, and entertainment during this holiday period. Additionally, according to a study from the NPD Group, the 15% increase in consumer spending in the last quarter of 2021 contributed 9% in revenue growth and 1% in unit growth, compared to the same time in 2020. In this project, I study the consumer spending habits of U.S. citizens during November and December 2021 and compare them with the overall expenditures of the last holiday season in 2020 to confirm the information above from BEA and NPD Group.</p><h3><strong>An Overview of the Datasets</strong></h3><p>From the Consumer Expenditure Surveys of the U.S. Bureau of Labor Statistics (BLS), I use two datasets for my project: Interview Survey of 2020 and Interview Survey of 2021. I focus on 12 major expenditure groups and 6 characteristics of a consumer unit/person:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*poHugcwNZvbxcsuch_AHKg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*Lt1uwb0SZg1ophZ_RWdLpg.png" /></figure><h4><strong>Consumer Expenditures in Q4 of 2020 and Q4 of 2021</strong></h4><p>I created a grouped bar plot to visualize the difference in consumer expenditures between November and December as well as between holiday seasons of 2020 and 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*B91lQv_Ior78zA8_TsWGiw.png" /></figure><p>Average expenditure is the average dollar amount a consumer unit (a family/a person) spends for a particular item or a group of items. From the plot, it is clear that the average expenditure in December is nearly double that in November, which totally makes sense because people tend to go shopping and travel more around the time of Christmas and New Year. One more thing that can be told from the plot is that the average expenditure in Q4 of 2021 is higher than that of 2020. This is also reasonable because in 2021, U.S. was on its way to economically recovering from the impact of COVID-19 pandemic, while in 2020, the world was still struggling during the peak of the global pandemic.</p><h4><strong>Spending Percentage Change in Major Category from 2020 to 20201</strong></h4><p>Let’s take a closer look to explore the changes in consumer spending from Q4 2020 to Q4 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*3bT7U3gnie0hZi3vZJIF3g.png" /></figure><p>The major changes in consumer expenditures are found in reading, personal care, and alcoholic beverage categories, while the average spending on apparel and education experienced a noticeable decrease from Q4 2020 to Q4 2021.</p><h4><strong>Spending Distribution on Different Groups</strong></h4><p>Given the percentage change above, I would like to explore further the differences in the spending distribution of U.S. citizens between Q4 2020 and Q4 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*AoMFWJ_6vxExePCM3sNJ_Q.png" /></figure><p>Although it is shown in Chart 2 that the percentage change in expenditures from 2020 to 2021 is most significant in the `reading` category, the average percentage of total expenditure spending on reading is the lowest among all major categories. On the other hand, people in both Q4 2020 and Q4 2021 tend to spend the most on 5 categories: housing, food, transportation, personal insurance and pensions, and healthcare.</p><h4><strong>Expenditures on Apparel and Services</strong></h4><p>The largest percentage decline in spending was in Apparel and Services. Chart 4 below describes the amount spent on Apparel and Services of different consumer unit sizes. Except for consumer units of 3 people, the declines in apparel spending from Q4 2020 to Q4 2021 occurred in other groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*GsPrRrx6LrGV6nW2YRWmLA.png" /></figure><h4><strong>Housing and Non-housing Expenditures</strong></h4><p>Housing is the major category in consumer spending, and on average, housing expenditures take more than one-third of the total expenditures, as shown in the chart below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*IKtELW8C-lTraCNzQCnXYw.png" /></figure><p>I also plotted a graph to understand the spending habits of different age groups on housing and non-housing categories in 2021. It seems that people aging from 35 to 54 years old spend on housing more than people in other age groups, and they also have the highest total expenditures.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*L3Ap6IREMTdAao33FpGNHQ.png" /></figure><h4><strong>Average Expenditures by Age of Reference Person</strong></h4><p>Let’s explore more differences in spending habits among seven age groups. Chart 6 below shows that 3 age groups that have the highest average total expenditures for both Q4 2020 and Q4 2021 are 35–44, 45–54, and 55–64. This is reasonable because people in this age range are the mostly breadwinning parents of the family, so they spend more than other groups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*DaDVEVU9aGYpMfpDVXxeGA.png" /></figure><p>The 2021 CE data are categorized into distinct generational groups based on their birth year: Post-Millennials (1997 or later), Millennials (1981–96), Generation X (1965–80), Baby Boomers (1946–64), and Silent and Greatest (GI) generations (1945 or earlier).</p><p>Chart 7 displays the percentage of allocation of total food expenditures of different generations. And from the plot, we can see that spending on food at home and food away from home show distinctive patterns across generations in the 2021 CE data. The share of total food spending allocated to food at home tends to increase with age of reference person, while the share allocated to food away from home tends to decrease with age of reference person. Some of the differences may be directly attributable to life-cycle effects. For example, when in the retirement age range, the elders may have more time to prepare meals at home than people who are still working. In addition, members of Silent and GI generation may have age-related health constraints that limit their access to restaurants. Nevertheless, other factors, such as income and family size, may differ by generation and may have an influence on the allocation of the food budget as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*knHkW6Khg9l8b4MHiaRO8Q.png" /></figure><p>Given the relationship between health and age, I would like to examine the healthcare expenditures by age group in 2020, when older consumers were disproportionately affected by the pandemic, and at the end of 2021, when the pandemic is over. Healthcare spending is made up of four components: health insurance, medical services, prescription and non-prescription drugs, and medical supplies. Chart 8 below shows the changes in average expenditures on healthcare and its components from Q4 2020 to Q4 2021 by age group.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*k69p2pF-hxK81WtnUC2Vqw.png" /></figure><p>Across all age groups, only people in age groups under 25 spent less on healthcare in 2021 than in 2020, while all other age groups spent more. The decrease in healthcare spending by those under 25 years old was mainly driven by decreases in spending on medical services and health insurance. Not surprisingly, people in age group 65–74 and 575 and older spent more on medical services and drugs in 2021 than in 2020.</p><h3><strong>Conclusion</strong></h3><p>In conclusion, the analyses and visualizations in this project have successfully shown the increases in consumer expenditures in the fourth quarter of 2021, compared to the same quarter of the previous year. Particularly, according to Statista’s report, consumer spending in 2021 reached over 13.8 trillion U.S. dollars in the United States, while in the fourth quarter of 2020, that amount was around 12.93 trillion U.S. dollars. Additionally, I discovered other patterns in expenditures among different age groups, generations, and sizes of consumer units. This project provides great insights into consumer spending habits on food, housing, healthcare, and apparel and services.</p><h3>References</h3><ol><li>Amick, Brian. “Consumer Spending in Fourth Quarter of 2021 Improves from Previous Year.” <em>Bake Magazine RSS</em>, Bake Magazine, 27 Jan. 2022, <a href="https://www.bakemag.com/articles/15683-consumer-spending-in-fourth-quarter-of-2021-improves-from-previous-year">https://www.bakemag.com/articles/15683-consumer-spending-in-fourth-quarter-of-2021-improves-from-previous-year</a>.</li><li>Amick, Brian. “Consumer Spending Insights for 2021 Holiday Season.” <em>Bake Magazine RSS</em>, Bake Magazine, 4 Oct. 2021, <a href="https://www.bakemag.com/articles/15248-consumer-spending-insights-for-2021-holiday-season">https://www.bakemag.com/articles/15248-consumer-spending-insights-for-2021-holiday-season</a>.</li><li>“Consumer Expenditures in 2020.” <em>U.S. Bureau of Labor Statistics</em>, U.S. Bureau of Labor Statistics, 1 Dec. 2021, <a href="https://www.bls.gov/opub/reports/consumer-expenditures/2020/home.htm">https://www.bls.gov/opub/reports/consumer-expenditures/2020/home.htm</a>.</li><li>Foster, Ann C. “Consumer Expenditures Vary by Age : Beyond the Numbers.” <em>U.S. Bureau of Labor Statistics</em>, U.S. Bureau of Labor Statistics, <a href="https://www.bls.gov/opub/btn/volume-4/consumer-expenditures-vary-by-age.htm">https://www.bls.gov/opub/btn/volume-4/consumer-expenditures-vary-by-age.htm</a>.</li><li>“Gross Domestic Product, Fourth Quarter and Year 2021.” <em>Gross Domestic Product, Fourth Quarter and Year 2021 | U.S. Bureau of Economic Analysis (BEA)</em>, <a href="https://www.bea.gov/news/blog/2022-01-27/gross-domestic-product-fourth-quarter-and-year-2021">https://www.bea.gov/news/blog/2022-01-27/gross-domestic-product-fourth-quarter-and-year-2021</a>.</li><li>Gruenwedel, Erik. “NPD: 2021 U.S. Consumer Technology Revenue Up 9%, Following Double-Digit Growth in 2020.” <em>Media Play News</em>, 7 Jan. 2022, <a href="https://www.mediaplaynews.com/npd-2021-us-consumer-technology-revenue-up-9-percent-following-double-digit-growth-in-2020/">https://www.mediaplaynews.com/npd-2021-us-consumer-technology-revenue-up-9-percent-following-double-digit-growth-in-2020/</a>.</li><li>“Personal Income and Outlays, December 2021.” <em>Personal Income and Outlays, December 2021 | U.S. Bureau of Economic Analysis (BEA)</em>, <a href="https://www.bea.gov/news/blog/2022-01-28/personal-income-and-outlays-december-2021">https://www.bea.gov/news/blog/2022-01-28/personal-income-and-outlays-december-2021</a>.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef7cd5450e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Analysis and Recommendations on Netflix Content]]></title>
            <link>https://linhvu11.medium.com/data-analysis-and-recommendations-on-netflix-content-28707163553a?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/28707163553a</guid>
            <category><![CDATA[meta]]></category>
            <category><![CDATA[netflix]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-storytelling]]></category>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 02:02:42 GMT</pubDate>
            <atom:updated>2022-11-11T21:37:28.560Z</atom:updated>
            <content:encoded><![CDATA[<p>This is a project associated with my participation as a finalist in the Meta Data Challenge 2022. I would be more than happy to receive comments/questions regarding Meta Data Challenge’s application and further details.</p><h3>Introduction</h3><p>In this project, I am given a dataset of <a href="https://www.kaggle.com/datasets/shivamb/netflix-shows"><strong>Netflix Movies and TV Shows on Kaggle</strong></a>, and my responsibilities are:</p><ol><li><strong>Conducting data analysis</strong> on the trends of the content that Netflix adds to their catalog;</li><li><strong>Investigate </strong>what content should be bought/produced for “Zuckflix,” a hypothetical streaming service of Meta.</li></ol><p>I utilize <strong>Python</strong> to perform EDA and visualizations, then come up with recommendations and storytelling on different graphs. My <strong>goals</strong> during the whole data analytics process are to <strong>(1)</strong> keep my exploratory simple and straightforward, and <strong>(2)</strong> design clear visualizations so they are effective and able to highlight important insights.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/0*puClFxWSP4buuk08.gif" /></figure><h3>Netflix dataset</h3><p>First, let’s take a look at the dataset.</p><p>Netflix dataset consists of <strong>8,807 rows </strong>of movies and TV shows and <strong>12</strong> <strong>columns</strong> providing 12 characteristics for each movie/TV show. After cleaning the data and dealing with the missing data, I got the final dataset of <strong>8,790</strong> Movies/TV Shows and <strong>12</strong> columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gCxbPNBxQnrQ4ejXB5b-gg.png" /></figure><h3>Analyses and Visualizations</h3><h4>1. The Growth of Netflix</h4><p>Let’s start with a little interesting story. Netflix was founded in 1997 by Reed Hastings and Marc Randolph as a DVD-by-mail service. Throughout 25 years, it has gone through a whirlwind of changes. On April 14, 1998, NetFlix.com was launched with 925 titles available for rent through a traditional pay-per-rental model (50¢US per rental U.S. postage; late fees applied), according to <a href="https://en.wikipedia.org/wiki/Timeline_of_Netflix"><em>Wikipedia</em></a>. Here’s a picture of the older Netflix website with a purple color scheme.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*oUHIeww3UtD4NEXH" /></figure><p>Netflix is now growing explosively. First and foremost, let’s have a closer look at the growth of Netflix based on its stock price aligning with the content releasement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DAVEJlzPSek-T6o2.png" /><figcaption>Netflix Stock Price vs. Content Releasement</figcaption></figure><p>It is clear that Netflix had a slow start before 2014, then exploded since 2015, followed by a rapid increase in 2016–2017. <em>The Motley Fool</em> stated on December 2017 that <em>“</em><a href="https://www.fool.com/investing/2017/12/23/why-2017-was-a-year-to-remember-for-netflix-inc.aspx"><em>2017 Was a Year to Remember for Netflix</em></a><em>.”</em> with a <strong>52%</strong> increase in the stock, in addition to its best haul in <strong>Emmy</strong> nominations<strong> </strong>that year. Netflix was also set to have its best year ever in terms of subscriber growth and profits, as the streaming leader was on pace to add nearly <strong>22 million </strong>subscribers and produce earnings of <strong>$1.25 </strong>per share. After that, Netflix was on the growth track, and the peak global content amount was in 2019.</p><p>However, due to the COVID-19 pandemic, content additions slowed down in 2020, which aligns with the information shown in the graphs above.</p><h4>2. Content Preferences on Netflix: Movies vs. TV Shows</h4><p>The summary of the data set shows that Netflix is currently focusing more on Movies than on TV Shows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/0*V9uSWUYaXKUa9UDV.png" /><figcaption>Number of Movies &amp; TV Shows on Netflix</figcaption></figure><p>Let’s see if this is the initial focus of Netflix or if there are any changes over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NAFWfcFGI4FLbgIW.png" /><figcaption>Netflix Content Releasement Over Time</figcaption></figure><p>It appears that Netflix has been focusing more on increasing Movie content, compared with TV Shows, since it is shown that the number of Movies added increased much more dramatically than the number of TV shows.</p><p>What about new content added each month?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*49WfDHyvN8p0OfU2.png" /><figcaption>Netflix Content Releasement by Month</figcaption></figure><p>Holiday seasons — December, January, and July seem to be the best time for the release of new content on Netflix. Netflix acknowledges its customers’ time-spending habits, that they tend to have more time off during those periods of the year. And that is a great time to reel people in! Also noted that Netflix adds more new Movies during the second half of the year, from June to December.</p><h4>3. Netflix Library by Country</h4><p>So far, I have explored that Netflix prefers Movies to TV Shows, consistently over years. Now let’s explore the distribution of Netflix’s content by origin, or country.</p><p>I built an interactive map using <strong>Plotly</strong> to visualize the distribution of Netflix content all over the world. Below are 3 world maps of Netflix library in 2008, 2017, and 2021.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*D2YXVCCMSH6X0ocSoGYIbg.png" /><figcaption>Netflix Library in 2021</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*WefV1xpI1-LVjge-ez1Imw.png" /><figcaption>Netflix Library in 2017</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1013/1*fp28kdCuYsQNr-s0DDGFkQ.png" /><figcaption>Netflix Library in 2008</figcaption></figure><p>The most prolific producers of content for Netflix are the United States, India, and the UK. Since Netflix is a U.S. company, It makes sense that the U.S. is the primary content contributor.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dxatJqL280ZLd_Os.png" /><figcaption>Top 10 Largest Netflix Library</figcaption></figure><p>Numerically, although India and the U.K. rank second and third among Netflix content producers, they have a significant distance behind the U.S.</p><p>Continuing on exploring the Netlfix Library by Country, as it is shown at the beginning that Netflix prefers Movies to TV Shows. Let’s see how this preference varies by country.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8PwdDq1M2PAlMEGv.png" /><figcaption>Movies vs. TV Shows among Top 10 Netflix Library</figcaption></figure><p>Bollywood and Hollywood, 2 big film industries in the world, have the number of Movies on Netflix outweighs the number of TV Shows. Whereas, the gap between Movies and TV Shows from the U.K. is smaller, which means the preference between Movie content and TV Show content from the U.K. is more balanced. On the other hand, Netflix seems to invest more in TV series from Australia and East Asian countries — Japan and South Korea, while it invests more in Movies from European countries — France and Spain.</p><h4>4. How Old Are The Content On Netflix?</h4><p>Netflix’s success lies in promoting a mix of both ‘old-fashioned’ content and radical advancements.</p><p>I would like to explore the “Age” of content on Netflix, which means the gap between when movies/shows are released and when they are added.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/883/0*d0uiXA8WldrLsXzO.png" /><figcaption>Average Age of Movies on Netflix</figcaption></figure><p>This age gap varies by country. For content from Spain, Netflix appears to promote new movies released from 2017, while for content from Egypt &amp; India, Netflix invests in older movies, on average. Netflix also prefers movies produced during the 2010s and newly released from USA and UK.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/901/0*agEMo7_hx71Fbde7.png" /><figcaption>Average Age of TV Shows on Netflix</figcaption></figure><p>The age gap for TV Show content seems to be quite smaller. This might be due to the fact that series are updated and released each year, and there are truly more classic Movies than classic TV Shows that are worth being invested in for a long period of time.</p><h4>5. Ratings and Target Audience</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UuUKQOgWLdofHddd.png" /><figcaption>Movies and TV Shows Ratings</figcaption></figure><p>Some ratings are only applicable to Movies, such as PG-13, PG, NC-17, and UR. The most common ratings for both Movies &amp; TV Shows are TV-MA (for Adults group) and TV-14 (for Teens group).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sflbDmz5qnBog-kj.png" /><figcaption>Netflix’s Target Audience</figcaption></figure><p>Most of the movies and shows from the U.S.A. and the U.K. are made for adults, while those produced in India target more on teenager group of audiences. The largest groups of target audience are Adults and Teenagers, aligning with TV-MA &amp; R ratings for adults and TV-14 &amp; PG-13 ratings for teens — 4 in 5 most common ratings of Netflix content. On the other hand, USA, Canada, Japan, and Australia produce the most content on Netflix for older kids. Canadian and Australian contents are also the 2 main libraries on Netflix for kids.</p><h4>6. Movie and TV Show Genres</h4><p>Netflix offers a range of genres to subscribers, and it would be interesting to analyze this feature. One thing to notice is that most of Movie content falls into multiple genres. So let’s take a look at the heat map of Movie genres below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LVbo1RJwZyvz9LZL.png" /><figcaption>Genres Distribution of Netflix Movies</figcaption></figure><p>It is interesting that Independent Movies tend to be Dramas and are rarely in the Children’s genre.</p><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/0*75nqmzBXCNNg7_6g.png" /></figure><p>The 3 most common genres of both Movies and TV Shows are International, Dramas, and Comedies.</p><h4>7. Movie and TV Show Duration</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MpGLnlReF0yokQgX.png" /></figure><p>So, a good amount of movies on Netflix have a duration of 75–120 mins. It is acceptable considering the fact that a fair amount of the audience cannot watch a 3-hour movie in one sitting. Additionally, Netflix is adding more single-season TV shows than series that have 2 seasons or more.</p><h4><strong>8. Netflix Titles</strong></h4><p>It is interesting to note that many films and series share the same keywords in their titles. This is the word cloud of titles of Netflix content. “World, Love, Life, Girl, Story, Christmas, Man, Black, Time” are the most frequent words appearing on Netflix titles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/0*7gET7IDp6sU2LoNf.png" /></figure><h4>9. Netflix Description</h4><p>This is the word cloud for the description of Netflix movies and series. “Family, Life, New, World, Love, Woman, Friend” are the most popular words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/727/0*wuYJ_7Ng-DJlHAKR.png" /></figure><h3>Conclusion</h3><p>I enjoyed participating Meta Data Challenge 2022, and also enjoyed exploring the Netflix dataset. Netflix is becoming more and more popular among various age groups and social classes, and it is important to acknowledge the impact of this streaming platform on the global entertainment market and the economy in general.</p><p>I hope you enjoy reading my analyses!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28707163553a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[About Me]]></title>
            <link>https://linhvu11.medium.com/thank-you-for-visiting-my-professional-portfolio-aba45443528b?source=rss-d946e2409a02------2</link>
            <guid isPermaLink="false">https://medium.com/p/aba45443528b</guid>
            <dc:creator><![CDATA[Linh Vu]]></dc:creator>
            <pubDate>Sun, 02 Oct 2022 21:47:11 GMT</pubDate>
            <atom:updated>2025-11-27T19:04:58.440Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hi! Thank you for visiting my professional portfolio!</h3><p>I am Linh Vu, a data‑driven educator and analyst currently pursuing an MSc in Management at Leeds Beckett University in the United Kingdom (UK), after completing an MS in Business Analytics and a BSc in Data Science &amp; Statistics at Miami University in the United States (US). My work sits at the intersection of business, data, and education, and I am especially interested in how analytics and generative AI can improve decision‑making and learning outcomes.​</p><h4><a href="https://drive.google.com/file/d/1RHdjslCSf28-1_Ax9CObgpIC2oZkfZuc/view?usp=sharing"><strong>View My Short CV/Resume here</strong></a></h4><h4><a href="https://drive.google.com/file/d/11OFmNuuKXXruNdeDSHgrFHQAIgmsAGsn/view?usp=sharing">View My Full CV with Projects here</a></h4><h4><a href="https://www.linkedin.com/in/linhvu11/"><strong>Visit My LinkedIn here and Connect with me</strong></a></h4><p>I am always full of ideas and questions. I research and explore data to answer most of them by recognizing patterns, because I believe that everything happens for a reason. This space is my <strong><em>“garden of thoughts,”</em></strong> where I share my ideas and opinions on a variety of topics: business, education, social issues, statistics, mathematics, and science through data analytics projects and reflective writings. I love not only exploring data, but also uncovering the story behind it and how it connects to the broader context of customers, organizations, and society.</p><p>Professionally, I have worked across nonprofit, healthcare, technology, and consulting environments in roles such as Analytics Associate, Data Engineer/Business Consultant, and Data/Visualization Intern. Alongside industry work, I have been tutoring since 2018 and now also teach business. mathematics, English, and analytics‑related subjects, helping students and adult learners achieve academic and professional goals. I care about educational equity and actively support initiatives that expand access to high‑quality, personalised learning.</p><p>More about myself, curiosity is at the core of who I am. I am the kind of person who constantly asks questions, designs experiments, and builds projects to test new ideas. Learning is a lifelong process for me, and my international journey , living and studying in Vietnam, the United States, and the United Kingdom, has shaped how I think about culture, opportunity, and impact.</p><p>If you are interested in collaborating on data‑driven projects, education initiatives, or research around business analytics and management, feel free to reach out.</p><h3><strong>Skills and Knowledge</strong></h3><h4><strong>Technical Skills:</strong></h4><p><strong>▹</strong> <strong>Data Analysis &amp; Visualization, Statistical Modeling: </strong>R, Python, SAS, DAX, MS Excel, Tableau.<br><strong>▹ Database Management System (DBMS), Data Mining &amp; Processing:</strong> MySQL, MS SQL, NoSQL, MongoDB.<br><strong>▹ Microsoft Power Platform:</strong> PowerApps, Power Automate, SharePoint, Power BI.<br><strong>▹</strong> <strong>Software Development:</strong> Java, JavaScript, HTML, CSS<br><strong>▹ Machine Learning &amp; Deep Learning:</strong> Regression, Classification, Clustering, Neural Networks, Transformers, CNNs, RNNs, TensorFlow, Scikit-learn, Natural Language Processing (NLP), Spark NLP, NLTK, Word2Vec, LDA.<br><strong>▹ Data Storytelling<br>▹ Business/Financial Analytics<br>▹ Analytical Reasoning &amp; Decision-Making</strong></p><h4>Business &amp; Leadership:</h4><p>Project/Event Planning, Problem-Solving, Teamwork, Conflict Resolution, People Analysis, Time Management, Organizational Skills, Market Research, Marketing, Branding, Direct Sales.</p><h4><strong>Teaching:</strong></h4><p>Tutoring/Coaching, Mentoring, Communication, Content Creation, Curriculum Development, Adaptability, Student Engagement, Classroom Management.</p><h4><strong>Others:</strong></h4><p>Leadership, Management (Trello, Notion), Communication, Content Development, Design (Canva, Adobe Illustrator), Administrative Writing (Microsoft Office), Public Relations, Public Speaking, Critical Thinking, People Analysis, Problem Solving.</p><h3><strong>Leadership and Volunteering Experiences</strong></h3><p>▹ School Officer at <a href="https://www.leedsbeckett.ac.uk/leeds-business-school/">Leeds Beckett Business School</a>.<br>▹ Course Representative of <a href="https://www.leedsbeckett.ac.uk/courses/management-msc">MSc Management course</a>, Leeds Beckett Business School<br>▹ Community Leader of <a href="https://www.leedsbeckett.ac.uk/leeds-business-school/business-strategy-operations-and-enterprise/">Business Strategy, Operations, and Enterprise Students’ Community</a>, Leeds Beckett University</p><p>▹ President of <a href="https://www.instagram.com/vsa.miami/">Vietnamese Student Association at Miami University</a>.<br>▹ Committee Member of <a href="https://miamioh.edu/graduate-school/student-resources/responsibilities-committee.html">Miami University’s Graduate Student Rights and Responsibilities Committee</a>.<br>▹ Student Ambassador of Miami University’s <a href="https://miamioh.edu/fsb/graduate-programs/msba/index.html">Master of Science in Business Analytics (MSBA) program</a>, Department of Information Systems and Analytics.</p><p>▹ Associate Director of <a href="https://www.facebook.com/develophvn">Developh Vietnam Organization</a>, providing full-stack educational resources and built a global network of 6,000+ young creators interested in Technology.</p><p>▹ Founder of Lucky Envelopes Charity Fund, providing support to children in need and disadvantage individuals with difficult family backgrounds, collaborated with Oncology Department at <a href="https://nch.gov.vn/#">Vietnam National Children’s Hospital</a>.</p><p>▹ Head of Teaching Team of <a href="https://www.facebook.com/SweetApplyProject">Sweet Apply Project</a>, helping students in need overcome difficulties by eliminating illiteracy and developing their abilities.</p><p>▹ <a href="http://hn-ams.edu.vn/en/content/meet-ams-ambassador-vu-nam-trang-linh-vietnamese-women-s-day">Ambassador of Hanoi-Amsterdam High School</a>.</p><h3><strong>Interests</strong></h3><p>Education, Volunteering and Community Involvement, Traveling, Reading, Podcasting, Event Planning &amp; Organizing, Yoga &amp; Fitness, Cooking &amp; Baking, Self-Development.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aba45443528b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>