gravatar

miaacostach

Miguel Ángel Acosta Chinchilla

Recently Published

Scraping Py and plots with R
In this example Im want to show how to make webscraping with Py and plots with R, using the RStudio IDE. Im work in Rmarkdown.
Web scraping tables statics pages
I want to show an example to download information in tables arranged in 9 static pages. It is the answer to a question asked in a forum:
Stacked bars
Wake_Up_country
Wake-up for country
Web scraping- Table content
Im present an example of web scraping of table web
Informe 1
Contiene el informe realizado en la clase de estadística para no estadísticos en R.
Pyramid graph
The descriptions steps for make this type of plot. Put a reproducible example data and code.
Filtering by string and operating with rows
The solution to split a column with multiple numbers is shown. All the numbers indicate a different column but the initial problem is that they are within the same cell.
Análisis de Componentes Principales (PCA)
PCA and Cluster examples.
Cox Proportional-Hazards Model -The Framingham Heart Study
The Framingham Heart Study is a long term prospective study of the etiology of cardiovascular disease among a population of free living subjects in the community of Framingham, Massachusetts. Was a landmark study in epidemiology in that it was the first prospective study of cardiovascular disease and identified the concept of risk factors and their joint effects. Im show a Cox Proportional-Hazards Model for this data and somes ways for data cleaning before construct the models.
Linear Regression
Example on simple and multiple linear regression. Linear regression on the Global Scale of Competitiveness of the 32 departments of Colombia from the Strength of the Economy, Logistics Infrastructure, Social Welfare and Human Capital, Science Technology and Innovation, Institutionality and Public Management. Initially, a multiple linear regression is proposed, however, after the analysis, a simple linear regression was chosen.
DATA CHALLENGE 2022
Analysis of data for data Challenge 2022. Ecuador Boxplot