100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4,6 TrustPilot
logo-home
Other

Primera prueba de evaluación continua

Rating
-
Sold
-
Pages
5
Uploaded on
29-03-2021
Written in
2020/2021

Primera prueba de evaluación continua

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
March 29, 2021
Number of pages
5
Written in
2020/2021
Type
Other
Person
Unknown

Subjects

Content preview

---

title: "PEC1 Otoño 2020"

author: "UOC"

date: ''

output:

pdf_document: default

word_document: default

fontsize: 12pt

---



Las PECs se basarán en una base de datos obtenida a partir del repositorio de microdatos del
“Banco Mundial” en

https://microdata.worldbank.org/index.php/catalog/424/get-microdata



Contiene indicaciones, entre otros de



1. *City* = Nombre de la ciudad

2. *Country* = País

3. *Population2000* = Población de la ciudad en 2000.

4. *PM10Concentration1999* = “PM10 concentrations (micro gramos por cubic meter) in
residential areas of cities larger than 100,000”, en 1999

5. *Region* = Clasificación en región geográfica

6. *IncomeGroup* = Clasificación según nivel de ingresos del país.



Para importar los datos podemos usar la siguiente instrucción:



```{r}

dadesPM10<-read.table("AirPollution2000WB_UOC2.csv", header=TRUE,

sep=";",na.strings="NA",

fileEncoding = "UTF-8", quote = "\"",

colClasses=c(rep("character",4),rep("numeric",2),

rep("character",2)))

, ```



Os puede ser útil consultar el siguiente material:



1. Manuales 1 y 3 de R

2. Actividades Resueltas del Reto 1 (Estadística Descriptiva)



Hay que entregar la práctica en forma de fichero pdf (exportando el resultado final a pdf por
ejemplo) en esta misma tarea Moodle; no hace falta que la entreguéis en el registro de EC.



# NOMBRE: Guillem Grande Pla



# PAC1



Una vez importados los datos



## Pregunta 1. (25%) Encontrad los resúmenes numéricos y un histograma de la variable
PM10Concentration1999 y comentad el resultado.



summary(dadesPM10$PM10Concentration1999)

Min. 1st Qu. Median Mean 3rd Qu. Max.

6.0 24.0 38.0 51.1 71.0 359.0

hist(dadesPM10$PM10Concentration1999)
R141,14
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
guillemgrandepla

Get to know the seller

Seller avatar
guillemgrandepla Universitat Oberta de Catalunya
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
4 year
Number of followers
0
Documents
1
Last sold
-

0,0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions