Está en la página 1de 4

Taller #2 Corte #2

Nombres: Sebastián Garcia y Lizeth Castaño


Curso: Métodos Estadísticos
Fecha: 06/10/2020

CODIGO R

attach(Precipitacion)
colnames(Precipitacion)
library(MASS)

########################################################################

Maxima<-Precipitacion$MAXIMA
summary(Maxima)
hist(Maxima)
plot(density(Maxima, from = 0))
param = fitdistr(Maxima, densfun = "lognormal") ; param
alpha = param$estimate[1]
beta = param$estimate[2]
curve (dlnorm(x, meanlog = alpha, sdlog = beta), from = 0, to = 900, add = T, col = 2)

########################################################################

hist(Maxima, freq = F)
lines(density(Maxima, from = 0, to = 900))
plnorm(q = 200, meanlog = alpha, sdlog = beta, lower.tail = F)
GRAFICA FUNCION DE PROBABILIDAD SOBRE HISTOGRAMA

GRAFICA ESTIMACION LOG-NORMAL


RESULTADOS DE PARAMETROS

RESULTADOS DE PROBABILIDAD

CODIGO EN R
DESARROLLO A MANO

También podría gustarte