SlideShare a Scribd company logo
SOLUCIÓN COMPENDIO 4
Taller de Aplicación:
Basándose en los anteriores procedimientos construir intervalos y gráficos para los siguientes datos que
corresponden a la edad de 50 microempresarios de la ciudad de Villavicencio
48 39 35 29 30
38 42 37 40 38
22 37 34 55 48
35 50 36 48 42
53 35 38 38 35
40 50 23 32 45
35 42 59 28 38
34 38 44 46 23
40 48 34 30 35
43 32 36 32 46
Códigos en R Resultados
Ingresando datos:
datos=c(48,38,22,35,53,40
,35,34,40,43,39,42,37,50,
35,50,42,38,48,32,35,37,3
4,36,38,23,59,44,34,36,29
,40,55,48,38,32,28,46,30,
32,30,38,48,42,35,45,38,2
3,35,46)
[1] 48 38 22 35 53 40 35 34 40 43
39 42 37 50 35 50 42 38 48 32 35
37 34 36 38
[26] 23 59 44 34 36 29 40 55 48 38
32 28 46 30 32 30 38 48 42 35 45
38 23 35 46
Calculando el rango:
Rang= max(datos)-
min(datos)
> Rang
[1] 37
Calculando el número de intervalos
m=round(1+3.3*log10(50))
La función Round, redondea al
entero más cercano.
> m
[1] 7
Longitud del intervalo:
C=Rang/m
> C
[1] 5.285714
Este resultado se redondea al entero más
cercano, por exceso en este caso 6.
Redefinir=42-37=5
2 Xmin-2=20
Xmax +3=62
Ahora le damos forma a los
intervalos
intervalos=cut(datos,
breaks=c(20,26,32,38,44,5
0,56,62))
Intervalos
[1] (44,50] (32,38] (20,26]
(32,38] (50,56] (38,44] (32,38]
(32,38] (38,44]
[10] (38,44] (38,44] (38,44]
(32,38] (44,50] (32,38] (44,50]
(38,44] (32,38]
[19] (44,50] (26,32] (32,38]
(32,38] (32,38] (32,38] (32,38]
(20,26] (56,62]
[28] (38,44] (32,38] (32,38]
(26,32] (38,44] (50,56] (44,50]
(32,38] (26,32]
[37] (26,32] (44,50] (26,32]
(26,32] (26,32] (32,38] (44,50]
(38,44] (32,38]
[46] (44,50] (32,38] (20,26]
(32,38] (44,50]
Levels: (20,26] (26,32] (32,38]
(38,44] (44,50] (50,56] (56,62]
Ahora se forma las frecuencias
absolutas
f=table(intervalos)
f
intervalos
(20,26] (26,32] (32,38] (38,44]
(44,50] (50,56] (56,62]
3 7 19 9
9 2 1
Calculando el número de
elementos de la muestra
n=sum(f)
> n
[1] 50
Construimos las frecuencias
absolutas
h
h=f/n
h
intervalos
(20,26] (26,32] (32,38] (38,44]
(44,50] (50,56] (56,62]
0.06 0.14 0.38 0.18
0.18 0.04 0.02
Construyendo frecuencias
absolutas acumuladas
F=cumsum(f)
F
(20,26] (26,32] (32,38] (38,44]
(44,50] (50,56] (56,62]
3 10 29 38
47 49 50
Construyendo las frecuencias
relativas acumuladas.
H=cumsum(h)
H
(20,26] (26,32] (32,38] (38,44]
(44,50] (50,56] (56,62]
0.06 0.20 0.58 0.76
0.94 0.98 1.00
Ahora se arman la tabla de
frecuencias
cbind(f,h,F,H)
f h F H
(20,26] 3 0.06 3 0.06
(26,32] 7 0.14 10 0.20
(32,38] 19 0.38 29 0.58
(38,44] 9 0.18 38 0.76
(44,50] 9 0.18 47 0.94
(50,56] 2 0.04 49 0.98
(56,62] 1 0.02 50 1.00
Construyendo marcas de clase
LimSup=c(26,32,38,44,50,56,62)
LimInf=c(20,26,32,38,44,50,56)
Marca= (LimSup+LimInf)/2
Marca
[1] 23 29 35 41 47 53 59
La tabla con las frecuencias y la
marca de clase
f Marca h F H
(20,26] 3 23 0.06 3 0.06
(26,32] 7 29 0.14 10 0.20
tabla=cbind(f,Marca,h,F,H) (32,38] 19 35 0.38 29 0.58
(38,44] 9 41 0.18 38 0.76
(44,50] 9 47 0.18 47 0.94
(50,56] 2 53 0.04 49 0.98
(56,62] 1 59 0.02 50 1.00
Gráfico de un histograma
hist(datos,
breaks=c(20,26,32,38,44,50,56,
62), col = "green", border =
1, main =
"MICROEMPRESARIOS",xlab =
"EDAD" , ylab = "FRECUENCIA")

More Related Content

What's hot

Graphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsGraphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsKetan Jani
 
Maths Activities (Fun With Numbers)
Maths Activities (Fun With Numbers)Maths Activities (Fun With Numbers)
Maths Activities (Fun With Numbers)
ShubhyaLohani
 
Linear Programming Project
Linear Programming ProjectLinear Programming Project
Linear Programming ProjectChawal Ukesh
 
Teoria y problemas de conteo de segmentos cs01 ccesa007
Teoria y problemas de conteo de segmentos  cs01  ccesa007Teoria y problemas de conteo de segmentos  cs01  ccesa007
Teoria y problemas de conteo de segmentos cs01 ccesa007
Demetrio Ccesa Rayme
 
Teoría y problemas de conteo de segmentos CS11 ccesa007
Teoría y problemas de conteo de segmentos  CS11  ccesa007Teoría y problemas de conteo de segmentos  CS11  ccesa007
Teoría y problemas de conteo de segmentos CS11 ccesa007
Demetrio Ccesa Rayme
 
Mathematics and sports
Mathematics and sportsMathematics and sports
Mathematics and sports
Marina Njers
 
Math hssc-ii-a1
Math hssc-ii-a1Math hssc-ii-a1
Open GL 09 scan conversion
Open GL 09 scan conversionOpen GL 09 scan conversion
Open GL 09 scan conversionRoziq Bahtiar
 
Bresenham algorithm
Bresenham algorithmBresenham algorithm
Maths test
Maths testMaths test
Maths test
RahulMishra774
 
Graphing lines using slopeintercept
Graphing lines using slopeinterceptGraphing lines using slopeintercept
Graphing lines using slopeintercept
luna dionson
 
ws2 Linear Equation
ws2 Linear Equationws2 Linear Equation
ws2 Linear Equation
adi nurhadi
 
Completing the square v002
Completing the square v002Completing the square v002
Completing the square v002
cecilsie
 
Chapter 1 test 2012- 2013
Chapter 1 test 2012- 2013Chapter 1 test 2012- 2013
Chapter 1 test 2012- 2013eadeane
 
Box multiplication copy
Box multiplication   copyBox multiplication   copy
Box multiplication copy
CLakshmiPriya
 
7th math(c2) -l4
7th math(c2) -l47th math(c2) -l4
7th math(c2) -l4jdurst65
 
0580 s10 qp_22
0580 s10 qp_220580 s10 qp_22
0580 s10 qp_22King Ali
 

What's hot (18)

Graphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygonsGraphics6 bresenham circlesandpolygons
Graphics6 bresenham circlesandpolygons
 
Maths Activities (Fun With Numbers)
Maths Activities (Fun With Numbers)Maths Activities (Fun With Numbers)
Maths Activities (Fun With Numbers)
 
Linear Programming Project
Linear Programming ProjectLinear Programming Project
Linear Programming Project
 
Teoria y problemas de conteo de segmentos cs01 ccesa007
Teoria y problemas de conteo de segmentos  cs01  ccesa007Teoria y problemas de conteo de segmentos  cs01  ccesa007
Teoria y problemas de conteo de segmentos cs01 ccesa007
 
Teoría y problemas de conteo de segmentos CS11 ccesa007
Teoría y problemas de conteo de segmentos  CS11  ccesa007Teoría y problemas de conteo de segmentos  CS11  ccesa007
Teoría y problemas de conteo de segmentos CS11 ccesa007
 
Mathematics and sports
Mathematics and sportsMathematics and sports
Mathematics and sports
 
Math hssc-ii-a1
Math hssc-ii-a1Math hssc-ii-a1
Math hssc-ii-a1
 
Open GL 09 scan conversion
Open GL 09 scan conversionOpen GL 09 scan conversion
Open GL 09 scan conversion
 
Bresenham algorithm
Bresenham algorithmBresenham algorithm
Bresenham algorithm
 
Maths test
Maths testMaths test
Maths test
 
Linear equation 2 2
Linear equation 2 2Linear equation 2 2
Linear equation 2 2
 
Graphing lines using slopeintercept
Graphing lines using slopeinterceptGraphing lines using slopeintercept
Graphing lines using slopeintercept
 
ws2 Linear Equation
ws2 Linear Equationws2 Linear Equation
ws2 Linear Equation
 
Completing the square v002
Completing the square v002Completing the square v002
Completing the square v002
 
Chapter 1 test 2012- 2013
Chapter 1 test 2012- 2013Chapter 1 test 2012- 2013
Chapter 1 test 2012- 2013
 
Box multiplication copy
Box multiplication   copyBox multiplication   copy
Box multiplication copy
 
7th math(c2) -l4
7th math(c2) -l47th math(c2) -l4
7th math(c2) -l4
 
0580 s10 qp_22
0580 s10 qp_220580 s10 qp_22
0580 s10 qp_22
 

Similar to Solucion compendio 4

Solution of matlab chapter 2
Solution of matlab chapter 2Solution of matlab chapter 2
Solution of matlab chapter 2
AhsanIrshad8
 
Flair furniture LPP problem
Flair furniture LPP problemFlair furniture LPP problem
Flair furniture LPP problem
Karishma Chaudhary
 
Practical work 2
Practical work 2Practical work 2
Practical work 2
wkhairil80
 
Đề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô KýĐề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô Ký
Công Ty TNHH VIETTRIGROUP
 
INTRODUCTION TO MATLAB session with notes
  INTRODUCTION TO MATLAB   session with  notes  INTRODUCTION TO MATLAB   session with  notes
INTRODUCTION TO MATLAB session with notes
Infinity Tech Solutions
 
C23.2
C23.2C23.2
C23.2
BGEsp1
 
Example of calculate of root
Example of calculate of rootExample of calculate of root
Example of calculate of rootKt Silva
 
Python project
Python projectPython project
Python project
Young Song
 
Solution of matlab chapter 6
Solution of matlab chapter 6Solution of matlab chapter 6
Solution of matlab chapter 6
AhsanIrshad8
 
Programming with matlab session 1
Programming with matlab session 1Programming with matlab session 1
Programming with matlab session 1
Infinity Tech Solutions
 
Eligheor
EligheorEligheor
Eligheor
nickjeorly
 
Lab 5 template Lab 5 - Your Name - MAT 275 Lab The M.docx
Lab 5 template  Lab 5 - Your Name - MAT 275 Lab The M.docxLab 5 template  Lab 5 - Your Name - MAT 275 Lab The M.docx
Lab 5 template Lab 5 - Your Name - MAT 275 Lab The M.docx
smile790243
 
Math unit16 data presentation
Math unit16 data presentationMath unit16 data presentation
Math unit16 data presentation
eLearningJa
 
Gilat_ch02.pdf
Gilat_ch02.pdfGilat_ch02.pdf
Gilat_ch02.pdf
ArhamQadeer
 
Matlab ch1 (3)
Matlab ch1 (3)Matlab ch1 (3)
Matlab ch1 (3)
mohsinggg
 
digital signal-processing-lab-manual
digital signal-processing-lab-manualdigital signal-processing-lab-manual
digital signal-processing-lab-manual
Ahmed Alshomi
 
R part I
R part IR part I
R part I
Ruru Chowdhury
 

Similar to Solucion compendio 4 (18)

Solution of matlab chapter 2
Solution of matlab chapter 2Solution of matlab chapter 2
Solution of matlab chapter 2
 
Flair furniture LPP problem
Flair furniture LPP problemFlair furniture LPP problem
Flair furniture LPP problem
 
17
1717
17
 
Practical work 2
Practical work 2Practical work 2
Practical work 2
 
Đề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô KýĐề Thi HK2 Toán 7 - THCS Tô Ký
Đề Thi HK2 Toán 7 - THCS Tô Ký
 
INTRODUCTION TO MATLAB session with notes
  INTRODUCTION TO MATLAB   session with  notes  INTRODUCTION TO MATLAB   session with  notes
INTRODUCTION TO MATLAB session with notes
 
C23.2
C23.2C23.2
C23.2
 
Example of calculate of root
Example of calculate of rootExample of calculate of root
Example of calculate of root
 
Python project
Python projectPython project
Python project
 
Solution of matlab chapter 6
Solution of matlab chapter 6Solution of matlab chapter 6
Solution of matlab chapter 6
 
Programming with matlab session 1
Programming with matlab session 1Programming with matlab session 1
Programming with matlab session 1
 
Eligheor
EligheorEligheor
Eligheor
 
Lab 5 template Lab 5 - Your Name - MAT 275 Lab The M.docx
Lab 5 template  Lab 5 - Your Name - MAT 275 Lab The M.docxLab 5 template  Lab 5 - Your Name - MAT 275 Lab The M.docx
Lab 5 template Lab 5 - Your Name - MAT 275 Lab The M.docx
 
Math unit16 data presentation
Math unit16 data presentationMath unit16 data presentation
Math unit16 data presentation
 
Gilat_ch02.pdf
Gilat_ch02.pdfGilat_ch02.pdf
Gilat_ch02.pdf
 
Matlab ch1 (3)
Matlab ch1 (3)Matlab ch1 (3)
Matlab ch1 (3)
 
digital signal-processing-lab-manual
digital signal-processing-lab-manualdigital signal-processing-lab-manual
digital signal-processing-lab-manual
 
R part I
R part IR part I
R part I
 

More from cannia

Solucion compendio 10
Solucion compendio 10Solucion compendio 10
Solucion compendio 10
cannia
 
Solucion compendio 9
Solucion compendio 9Solucion compendio 9
Solucion compendio 9
cannia
 
Solución compendio 8
Solución compendio 8Solución compendio 8
Solución compendio 8
cannia
 
Tercer corte
Tercer corteTercer corte
Tercer corte
cannia
 
Macro exposicion
Macro exposicionMacro exposicion
Macro exposicion
cannia
 
Segundo corte
Segundo corteSegundo corte
Segundo corte
cannia
 
Segundo corte
Segundo corteSegundo corte
Segundo corte
cannia
 
Primer corte
Primer cortePrimer corte
Primer corte
cannia
 
Mapa conceptual
Mapa conceptualMapa conceptual
Mapa conceptual
cannia
 
Solucion compendio 5
Solucion  compendio 5Solucion  compendio 5
Solucion compendio 5
cannia
 
Solucion compendio 4
Solucion compendio 4Solucion compendio 4
Solucion compendio 4
cannia
 
Solucion compendio 2
Solucion compendio 2Solucion compendio 2
Solucion compendio 2
cannia
 
Solucion compendio 1
Solucion compendio 1Solucion compendio 1
Solucion compendio 1
cannia
 
Hoja de vida julieth
Hoja de vida juliethHoja de vida julieth
Hoja de vida julieth
cannia
 
Datos hoja de vida
Datos hoja de vidaDatos hoja de vida
Datos hoja de vida
cannia
 
Hoja de vida camila
Hoja de vida camilaHoja de vida camila
Hoja de vida camila
cannia
 
Portafolio derecho
Portafolio derechoPortafolio derecho
Portafolio derecho
cannia
 
Solucion compendio 4
Solucion compendio 4Solucion compendio 4
Solucion compendio 4
cannia
 
Solucion compendio 2
Solucion compendio 2Solucion compendio 2
Solucion compendio 2
cannia
 
Solucion compendio 1
Solucion compendio 1Solucion compendio 1
Solucion compendio 1
cannia
 

More from cannia (20)

Solucion compendio 10
Solucion compendio 10Solucion compendio 10
Solucion compendio 10
 
Solucion compendio 9
Solucion compendio 9Solucion compendio 9
Solucion compendio 9
 
Solución compendio 8
Solución compendio 8Solución compendio 8
Solución compendio 8
 
Tercer corte
Tercer corteTercer corte
Tercer corte
 
Macro exposicion
Macro exposicionMacro exposicion
Macro exposicion
 
Segundo corte
Segundo corteSegundo corte
Segundo corte
 
Segundo corte
Segundo corteSegundo corte
Segundo corte
 
Primer corte
Primer cortePrimer corte
Primer corte
 
Mapa conceptual
Mapa conceptualMapa conceptual
Mapa conceptual
 
Solucion compendio 5
Solucion  compendio 5Solucion  compendio 5
Solucion compendio 5
 
Solucion compendio 4
Solucion compendio 4Solucion compendio 4
Solucion compendio 4
 
Solucion compendio 2
Solucion compendio 2Solucion compendio 2
Solucion compendio 2
 
Solucion compendio 1
Solucion compendio 1Solucion compendio 1
Solucion compendio 1
 
Hoja de vida julieth
Hoja de vida juliethHoja de vida julieth
Hoja de vida julieth
 
Datos hoja de vida
Datos hoja de vidaDatos hoja de vida
Datos hoja de vida
 
Hoja de vida camila
Hoja de vida camilaHoja de vida camila
Hoja de vida camila
 
Portafolio derecho
Portafolio derechoPortafolio derecho
Portafolio derecho
 
Solucion compendio 4
Solucion compendio 4Solucion compendio 4
Solucion compendio 4
 
Solucion compendio 2
Solucion compendio 2Solucion compendio 2
Solucion compendio 2
 
Solucion compendio 1
Solucion compendio 1Solucion compendio 1
Solucion compendio 1
 

Recently uploaded

How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
Jisc
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
joachimlavalley1
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
Delapenabediema
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
kaushalkr1407
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
heathfieldcps1
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
EverAndrsGuerraGuerr
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
Special education needs
 

Recently uploaded (20)

How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
Additional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdfAdditional Benefits for Employee Website.pdf
Additional Benefits for Employee Website.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
The basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptxThe basics of sentences session 5pptx.pptx
The basics of sentences session 5pptx.pptx
 
Thesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.pptThesis Statement for students diagnonsed withADHD.ppt
Thesis Statement for students diagnonsed withADHD.ppt
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
special B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdfspecial B.ed 2nd year old paper_20240531.pdf
special B.ed 2nd year old paper_20240531.pdf
 

Solucion compendio 4

  • 1. SOLUCIÓN COMPENDIO 4 Taller de Aplicación: Basándose en los anteriores procedimientos construir intervalos y gráficos para los siguientes datos que corresponden a la edad de 50 microempresarios de la ciudad de Villavicencio 48 39 35 29 30 38 42 37 40 38 22 37 34 55 48 35 50 36 48 42 53 35 38 38 35 40 50 23 32 45 35 42 59 28 38 34 38 44 46 23 40 48 34 30 35 43 32 36 32 46 Códigos en R Resultados Ingresando datos: datos=c(48,38,22,35,53,40 ,35,34,40,43,39,42,37,50, 35,50,42,38,48,32,35,37,3 4,36,38,23,59,44,34,36,29 ,40,55,48,38,32,28,46,30, 32,30,38,48,42,35,45,38,2 3,35,46) [1] 48 38 22 35 53 40 35 34 40 43 39 42 37 50 35 50 42 38 48 32 35 37 34 36 38 [26] 23 59 44 34 36 29 40 55 48 38 32 28 46 30 32 30 38 48 42 35 45 38 23 35 46 Calculando el rango: Rang= max(datos)- min(datos) > Rang [1] 37 Calculando el número de intervalos m=round(1+3.3*log10(50)) La función Round, redondea al entero más cercano. > m [1] 7
  • 2. Longitud del intervalo: C=Rang/m > C [1] 5.285714 Este resultado se redondea al entero más cercano, por exceso en este caso 6. Redefinir=42-37=5 2 Xmin-2=20 Xmax +3=62 Ahora le damos forma a los intervalos intervalos=cut(datos, breaks=c(20,26,32,38,44,5 0,56,62)) Intervalos [1] (44,50] (32,38] (20,26] (32,38] (50,56] (38,44] (32,38] (32,38] (38,44] [10] (38,44] (38,44] (38,44] (32,38] (44,50] (32,38] (44,50] (38,44] (32,38] [19] (44,50] (26,32] (32,38] (32,38] (32,38] (32,38] (32,38] (20,26] (56,62] [28] (38,44] (32,38] (32,38] (26,32] (38,44] (50,56] (44,50] (32,38] (26,32] [37] (26,32] (44,50] (26,32] (26,32] (26,32] (32,38] (44,50] (38,44] (32,38] [46] (44,50] (32,38] (20,26] (32,38] (44,50] Levels: (20,26] (26,32] (32,38] (38,44] (44,50] (50,56] (56,62] Ahora se forma las frecuencias absolutas f=table(intervalos) f intervalos (20,26] (26,32] (32,38] (38,44] (44,50] (50,56] (56,62] 3 7 19 9 9 2 1
  • 3. Calculando el número de elementos de la muestra n=sum(f) > n [1] 50 Construimos las frecuencias absolutas h h=f/n h intervalos (20,26] (26,32] (32,38] (38,44] (44,50] (50,56] (56,62] 0.06 0.14 0.38 0.18 0.18 0.04 0.02 Construyendo frecuencias absolutas acumuladas F=cumsum(f) F (20,26] (26,32] (32,38] (38,44] (44,50] (50,56] (56,62] 3 10 29 38 47 49 50 Construyendo las frecuencias relativas acumuladas. H=cumsum(h) H (20,26] (26,32] (32,38] (38,44] (44,50] (50,56] (56,62] 0.06 0.20 0.58 0.76 0.94 0.98 1.00 Ahora se arman la tabla de frecuencias cbind(f,h,F,H) f h F H (20,26] 3 0.06 3 0.06 (26,32] 7 0.14 10 0.20 (32,38] 19 0.38 29 0.58 (38,44] 9 0.18 38 0.76 (44,50] 9 0.18 47 0.94 (50,56] 2 0.04 49 0.98 (56,62] 1 0.02 50 1.00 Construyendo marcas de clase LimSup=c(26,32,38,44,50,56,62) LimInf=c(20,26,32,38,44,50,56) Marca= (LimSup+LimInf)/2 Marca [1] 23 29 35 41 47 53 59 La tabla con las frecuencias y la marca de clase f Marca h F H (20,26] 3 23 0.06 3 0.06 (26,32] 7 29 0.14 10 0.20
  • 4. tabla=cbind(f,Marca,h,F,H) (32,38] 19 35 0.38 29 0.58 (38,44] 9 41 0.18 38 0.76 (44,50] 9 47 0.18 47 0.94 (50,56] 2 53 0.04 49 0.98 (56,62] 1 59 0.02 50 1.00 Gráfico de un histograma hist(datos, breaks=c(20,26,32,38,44,50,56, 62), col = "green", border = 1, main = "MICROEMPRESARIOS",xlab = "EDAD" , ylab = "FRECUENCIA")