customerID gender SeniorCitizen Partner Dependents
0002-ORFBO: 1 Female:3488 Min. :0.0000 No :3641 No :4933
0003-MKNFE: 1 Male :3555 1st Qu.:0.0000 Yes:3402 Yes:2110
0004-TLHLJ: 1 Median :0.0000
0011-IGKFF: 1 Mean :0.1621
0013-EXCHZ: 1 3rd Qu.:0.0000
0013-MHZWF: 1 Max. :1.0000
(Other) :7037
tenure PhoneService MultipleLines InternetService
Min. : 0.00 No : 682 No :3390 DSL :2421
1st Qu.: 9.00 Yes:6361 No phone service: 682 Fiber optic:3096
Median :29.00 Yes :2971 No :1526
Mean :32.37
3rd Qu.:55.00
Max. :72.00
OnlineSecurity OnlineBackup
No :3498 No :3088
No internet service:1526 No internet service:1526
Yes :2019 Yes :2429
DeviceProtection TechSupport
No :3095 No :3473
No internet service:1526 No internet service:1526
Yes :2422 Yes :2044
StreamingTV StreamingMovies Contract
No :2810 No :2785 Month-to-month:3875
No internet service:1526 No internet service:1526 One year :1473
Yes :2707 Yes :2732 Two year :1695
PaperlessBilling PaymentMethod MonthlyCharges
No :2872 Bank transfer (automatic):1544 Min. : 18.25
Yes:4171 Credit card (automatic) :1522 1st Qu.: 35.50
Electronic check :2365 Median : 70.35
Mailed check :1612 Mean : 64.76
3rd Qu.: 89.85
Max. :118.75
TotalCharges Churn
Min. : 18.8 No :5174
1st Qu.: 401.4 Yes:1869
Median :1397.5
Mean :2283.3
3rd Qu.:3794.7
Max. :8684.8
NA's :11
Este conjunto tiene una muestra de 7037 clientes de una compañia telefonica, presenta información sobre variables cuantitativas y cualitativas. Tiene el objetivo de analizar las causas de por que los clientes se van de la compañia.
Row ——————————————————————————–
Row ——————————————————————————-
A mayor de antiguedad en la empresa mayor cargo total para el cliente, se observa una correlación de 0.83.
---
title: "Tablero 1"
author: "Alejandra Scarpetta"
date: "2025-10-23"
output:
flexdashboard::flex_dashboard:
orientation: rows
social: menu
source_code: embed
---
Información de los datos
===============================================================================
Row
-------------------------------------------------------------------------------
### Estadisticas
```{r setup}
Telc = read.table("Telco_Cusomer_Churn (1).csv", header=TRUE, sep=",",
dec=".", stringsAsFactors = TRUE)
summary(Telc)
```
Row
-------------------------------------------------------------------------------
### Información
Este conjunto tiene una muestra de 7037 clientes de una compañia telefonica,
presenta información sobre variables cuantitativas y cualitativas. Tiene el
objetivo de analizar las causas de por que los clientes se van de la compañia.
### Marketing digital

Histogramas
================================================================================
Row
--------------------------------------------------------------------------------
### Antiguedad
```{r hist1}
library(ggplot2)
ggplot(Telc, aes(x=tenure))+
geom_histogram(fill="maroon3")+
labs(title="Histograma antiguedad", x="antiguedad (meses)",
y="conteo")
```
Row
--------------------------------------------------------------------------------
### Cargos Mensuales
```{r hist2}
ggplot(Telc, aes(x=MonthlyCharges))+
geom_histogram(fill="pink")+
labs(title="Histograma cargos mensuales",
y="conteo", x="cargos mensuales (usd)")
```
Row
-------------------------------------------------------------------------------
### Cargos Totales
```{r hist3}
ggplot(Telc, aes(x=TotalCharges))+
geom_histogram(fill="lightgreen")+
labs(title="Histograma cargos totales",
x="cargos totales (usd)", y="conteo")
```
Diagrama de cajas
===============================================================================
Row
-------------------------------------------------------------------------------
### Antiguedad
```{r caja1}
ggplot(Telc, aes(x=tenure))+
geom_boxplot(fill="lightblue")+
labs(title="Diagrama de caja antiguedad", x="antiguedad (meses)")
```
Row
--------------------------------------------------------------------------------
### Cargos Mensuales
```{r caja2}
ggplot(Telc, aes(x=tenure))+
geom_boxplot(fill="deeppink3")+
labs(title="Diagrama de caja antiguedad", x="antiguedad (meses)")
```
Row
-------------------------------------------------------------------------------
### Cargos Totales
```{r caja3}
ggplot(Telc, aes(x=TotalCharges))+
geom_histogram(fill="deepskyblue2")+
labs(title="Histograma cargos totales",
x="cargos totales (usd)", y="conteo")
```
Correlación
===============================================================================
Row
-------------------------------------------------------------------------------
### matriz de correlación
```{r cor1}
library(corrplot)
nuevosDatos = data.frame(Telc$tenure, Telc$MonthlyCharges, Telc$TotalCharges)
r = cor(na.omit(nuevosDatos))
corrplot(r, method="number")
```
Row
-------------------------------------------------------------------------------
### Diagrama de dispersión
```{r dispersion}
ggplot(Telc, aes(x=tenure, y=TotalCharges))+
geom_jitter()+
geom_smooth(method="lm", colour="purple")+
labs(title="Diagrama de dispersión", y="cargos totales (usd)",
x="antiguedad (mes)")
```
### Interpretación
A mayor de antiguedad en la empresa mayor cargo total para el cliente, se observa una correlación de 0.83.