<?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 Andrea Ceballos on Medium]]></title>
        <description><![CDATA[Stories by Andrea Ceballos on Medium]]></description>
        <link>https://medium.com/@andrecezu?source=rss-1950a2b1b8d5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*b55UebiwsLLBTbtJ</url>
            <title>Stories by Andrea Ceballos on Medium</title>
            <link>https://medium.com/@andrecezu?source=rss-1950a2b1b8d5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 01:57:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andrecezu/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[Analyzing the national bachelor test results in Colombia]]></title>
            <link>https://medium.com/@andrecezu/analyzing-the-national-bachelor-test-results-in-colombia-339939b5511c?source=rss-1950a2b1b8d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/339939b5511c</guid>
            <category><![CDATA[university]]></category>
            <category><![CDATA[education]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Andrea Ceballos]]></dc:creator>
            <pubDate>Sun, 11 Jun 2023 01:38:35 GMT</pubDate>
            <atom:updated>2023-06-17T03:25:56.656Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ke67dKyDPgdkKHAtPozexw.jpeg" /><figcaption>Imagen from <a href="https://pixabay.com/es/users/alexas_fotos-686414/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2052868">Alexa</a> in <a href="https://pixabay.com/es//?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2052868">Pixabay</a></figcaption></figure><h3>Project Overview</h3><p>The test used to measure the quality of undergraduate education in Colombia is named “Saber — Pro”. This test was used to evaluate post-secondary education from 2003.</p><p><strong>Description of input data</strong></p><p>This test measures generic competencies, such as quantitative reasoning, critical lecture, writing communication, English, and citizen competencies. And specific competencies for the career of the student.</p><p>The ICFES shares this information, related to personal, academic, and socioeconomic information in order to propose ways to enhance the post-secondary education quality in the country.</p><p>The public information shared by the institute can be found <a href="https://www.icfes.gov.co/data-icfes">here</a>.</p><p><strong>Problem definition</strong></p><p>It is important to know how the different variables can affect a student&#39;s result on the test. That’s why I will create a regression model able to predict the final test score (Target variable) according to the prediction variables.</p><p><strong>Evaluation metric</strong></p><p>In order to see the extent to which the model is able to predict the test results based on the model variables, I will use the MAE (Mean Absolute Error). It is convenient because it has the same target variable units and it is robust to outliers. To see more about evaluation metrics in regression models you can look at the article found <a href="https://www.analyticsvidhya.com/blog/2021/05/know-the-best-evaluation-metrics-for-your-regression-model/">here</a>.</p><p><strong>Strategies for solving the problem</strong></p><p>To answer the questions defined above, I will use a linear regression model to see which variables are related to increases and decrease in the overall test results. On the other hand, I will use a descriptive analysis of variables such as the universities where the students finished their careers and the place they live to answer the last two questions.</p><p><strong>Expected results</strong></p><p>In general, I will expect that the university influences the overall scores of the students. In addition, the place where students live and the availability of items that make easier the students process such as internet in their house.</p><h3><strong>Exploratory Data Analysis (EDA)</strong></h3><p>The analyzed data is the one related to the test made in the second period of 2022. The first step was to see the general distribution of the test results. There we can see that the average score surrounds 150 points. The normal scores range is between 100 to 200 points and we have some exceptional cases that got results of 0 points as a minimum and more than 250 as a maximum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/919/1*ic51ETUrBNISmDHQwPKRhw.jpeg" /></figure><p>I wanted to see which variables had an impact on the categorical variables on the target variable. There I could see that all of them had a difference between the categories and the average results to a different extent.</p><p>For example, it could be seen a difference between the amount paid in the tuition and the test results. The higher results were obtained by students that paid higher tuition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*yd7wqaSfsrPDi2nhQEho7g.jpeg" /></figure><p>It is also interesting to highlight that students with higher socio-economic levels, tend to get better scores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*3XU2v2DEzrak4hDxtWB_VA.jpeg" /></figure><p>To end, there are groups of careers that tend to have better results than others. For example, careers related to natural and exact sciences, economy, administration, accountability, and similar careers, tend to have better scores, whereas careers related to recreation and sports, and education have lower scores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*EwgrZ15l1tc9GDR2BM4u7g.jpeg" /></figure><h3><strong>Methodology</strong></h3><p><strong>Data processing</strong></p><p>The first step was looking at variables where de 75% or more of the registers were null values. There I could remove the following columns from the analysis because of this factor:</p><ol><li>ESTU_OTROCOLE_TERMINO: This variable shows if a student studying in another school than the one he finished his studies.</li><li>ESTU_CURSODOCENTESIES: This variable shows if a student took a teaching course.</li><li>The variables ESTU_CURSOIESAPOYOEXTERNO, ESTU_CURSOIESEXTERNA, STU_SIMULACROTIPOICFES, ESTU_ACTIVIDADREFUERZOAREAS, ESTU_ACTIVIDADREFUERZOGENERIC, ESTU_OTROPLANTEL, ESTU_PREGRADOEXAMENSP: Show if the student took any preparation to present the exam.</li><li>ESTU_UNPOSTGRADO: If the student studied a postgraduate program.</li></ol><p>As the different punctuation variables were related to the global punctuation (Which is the target variable) and those variables are not independent, I deleted them and kept only the target variable to develop the analysis.</p><p>In that way, I had the selected categorical variables, and the target variable to develop the study and the data analysis.</p><p>On the other hand, to be able to train regression models, I created dummy variables as input for the regression models.</p><p><strong>Modeling</strong></p><p>The first step in creating the models is to divide the dataset into test and train so we can measure the results on both datasets and evaluate the extent to which the model is able to predict a student test result.</p><p>The first model I wanted to measure was a linear multiple model. It was fitted with the train data and tested with the test dataset. However, when we look at the MAE it is 16778428 when the test results have values between 0 and 300 points. Therefore, I could conclude this is not a good model to predict the result a student can get on the test.</p><p>That is why I tried with a random forest regressor in order to see if I could get better prediction results.</p><p>These steps and the related code can be seen in the notebook that appears <a href="https://github.com/Andrecezu1/Educational">here</a>.</p><p>With the data cleaned and the models developed I was able to answer the questions I made at the beginning of the study.</p><p>That’s why I tried a Random forest regressor model. With this model, I got MAE 19,1 for the test set and 19,09 for the train set. Those are much better results. However, I will like to see if they can be improved, by changing the model hyperparameters.</p><p><strong>Hiperparameter tuning</strong></p><p>For the Random Forest regressor, I used Grid Search changing the max depth and the n-estimators. With the hyperparameters tuning, it seems that the first random forest model is the one that best predicts the final results. The models and the scores can be seen in the following table:</p><h3><strong>Results</strong></h3><p>The linear model doesn’t predict in a good way the test results. It was shown that a better model is a random forest. For this case one with max_depth=3 and 50 n_estimators as can be seen in the following table. Therefore, the selected model to predict the test results of a student based on the selected variable is a Random Forest Regressor.</p><p><strong>Comparison Table</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*io_IqZR6C1UCSJqzyhmjow.jpeg" /></figure><h3><strong>Conclusion</strong></h3><ol><li>The variables that best represent the model are related with the place the people live and the university where they studied. For example, if a student lives in Seul or Barcelona, it is provable to get better results. The same happens if they studied in the following universities: Institucion universidad de antioquia; CESA; Universidad Nacional de Colombia, ICESI and Andes. On the other hand, it is probable to get overall lower scores if the student studies in: Universidad reformada, Fundacion universitaria San Alfonso, Universidad latinoamericana, Universidad Empresarial de Salamanca; Institución universitaria de Colombia; Fundación universitaria horizonte; Escuela de comunicaciones; corporación universitaria ideas and Excuela tecnológica de Neiva. This added to the fact of living in Sao Paulo.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rqO98zLQG9eEiYDV9ZXAIg.png" /></figure><p>2. The place where students live is related to their scores.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*YBtnMBqbIItUoHBiFs0UcQ.png" /></figure><p>Better results are obtained by students that live in Seul, Lima, Paris, Roma, Barcelona, Trenton, Sacramento, Buenos Aires, Extranjero, and Bogotá.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*ijvfWEsYlCjX7dx9jOmn4w.png" /></figure><p>The students that had the worst results live in Guainia, Guaviare, Putumayo, Vichada, Frankfurt, Vaupes, Choco, Miami, Sao Paulo, and New York.</p><p>3. The top 20 universities according to the test results are Universidad de los Andres, CESA, Universidad Nacional de Colombia (Bogotá), Universidad EIA, Universidad de la Sabana, Universidad Nacional de Colombia (Medellín), ICESI, Colegio mayor de nuestra señora del Rosario, Univesidad del Norte, and Pontificia universidad Javeriana.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/420/1*TW-ZctWUoWoZg3FjyJLUEg.png" /></figure><p><strong>Improvements</strong></p><p>It would be interesting to prove other models to see if the results can be improved. On the other hand, we could try to make a scale for ordinal variables so the impact of the improvement of one of the ordinal categorical variables could be seen.</p><p><strong>Acknowledgment</strong></p><p>Thanks to Udacity for the knowledge imparted, and to the ICFES that shares its data in order to enhance the education quality in Colombia.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=339939b5511c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Airbnb Data Analysis]]></title>
            <link>https://medium.com/@andrecezu/airbnb-data-analysis-37cf7c785011?source=rss-1950a2b1b8d5------2</link>
            <guid isPermaLink="false">https://medium.com/p/37cf7c785011</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[airbnb]]></category>
            <dc:creator><![CDATA[Andrea Ceballos]]></dc:creator>
            <pubDate>Sat, 27 May 2023 12:51:42 GMT</pubDate>
            <atom:updated>2023-05-27T12:51:42.182Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4h0fdcrxncC9DNeixBMc9g.jpeg" /><figcaption>Imagen de &lt;a href=”<a href="https://pixabay.com/es/users/instagramfotografin-5746148/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3399753">https://pixabay.com/es/users/instagramfotografin-5746148/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3399753</a>&quot;&gt;Peggy&lt;/a&gt; en &lt;a href=”<a href="https://pixabay.com/es//?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3399753">https://pixabay.com/es//?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=3399753</a>&quot;&gt;Pixabay&lt;/a&gt;</figcaption></figure><p>Most people have heard of or used Airbnb services. However, have you ever wondered which city will be better to go to? which one has the better ratings?</p><p>Airbnb has open data sources that enable everybody to analyze its data. In the project I developed I compared <a href="https://www.kaggle.com/datasets/airbnb/boston">Boston</a> and <a href="https://www.kaggle.com/datasets/airbnb/seattle">Seattle</a> ratings, related to relevant characteristics.</p><p>The complete project can be found <a href="https://github.com/Andrecezu1/Proyecto-Udacity-AnalisisDatos">here</a>. The main questions I wanted to answer were the following:</p><ol><li>What are the busiest times of the year to visit each city?</li><li>Which city has the best Airbnb ratings?</li><li>What characteristics are related to higher ratings?</li><li>Which are the best-rated hosts?</li></ol><p>To answer the first question I looked at the number of available and not available places in Boston and Seattle. In the image below, it can be seen that the busiest period of time in Boston is between July and August. On the other hand, The busiest period in Seattle is in March and in June.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*Cp-Gg0CY8_84Icf9_apkFA.jpeg" /></figure><p>To add, I compared the average ratings of both cities. And it can be seen that Seattle&#39;s ratings are slightly better than Boston&#39;s ratings. However, both cities have great levels. Therefore it would be fine to visit neither of them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/549/1*8idtbS64oIkGIX7gsIPllw.jpeg" /></figure><p>Then I decided to see what characteristics were related to better ratings. In this phase, I analyzed numeric variables and categorical variables.</p><p>In the categorical analysis, I made a linear regression model to see which variables had the greatest impact in predicting the rating score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*vW8E1fND2uZEMXrHgi_fmA.jpeg" /></figure><p>Some variables that increase the rating are: If the host neighborhood is near an industrial district or a government center. The fact that extra people could be admitted is another point in favor. Followed by a property type as a guest house.</p><p>The variables that decrease the rating are: If the neighborhood is Manhattan Beach if there is no information about the host identity verification, or room type, bed type, and high values of extra people.</p><p>To end, I wanted to see which were the best-rated hosts. In the analysis, I discovered that most of the hosts were 10 rated as it can be seen in the graphic below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*6s4r4RmJ6OWYJ_YME2ie_A.jpeg" /></figure><p>Therefore, it could not be possible to set a list of the best-rated host. But we can say that by acquiring Airbnb services in Boston or Seattle there is a high probability that you will enjoy your trip, and have a great experience in a vibrant city.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=37cf7c785011" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>