Plantillas de código en R
Español:
En este repositorio se encuentran las plantillas de código que he generado para el curso de Métodos Estadísticos como ayutande de la Dra Eloisa Díaz-Francés. Estas plantillas estan orientadas a la enseñanza de R nivel introductorio, el cual es el necesario para el acompañamiento del curso y las actividades que requiere.
Al inicio de cada código se explica su contenido y aquí se deja una lista con los temas tratados en cada uno:
-
1_Introduccion.R: Comandos y funciones básicas de R.
-
2_Data Frames y Estadisticas Descriptivas.R: Cómo crear un data frame, filtracion de datos y subconjuntos. Obtención de estadísticas descriptivas.
-
3_Graficas de funciones.R: Métodos básicos de graficación, títulos, etiquetas de ejes, colores, tipos y grosor de líneas, etc.
-
4_Tarea 1.R: Función de densidad, función de distrbución, simulación de muestras, frecuencias relativas.
-
5_Tarea 2.R: Estimadores de momentos para la distribución normal, gamma y exponencial.
-
6_Tarea 3 pt 1.R: Relación entre la media y varianza de la distribución poisson.
-
7_Tarea 3 pt 2.R: Función de verosimilitud de una normal con logdatos.
English:
In this repository you will find the code templates that I have generated for the Statistical Methods course as assistant to Dr. Eloisa Díaz-Francés. These templates are oriented to the teaching of R introductory level, which is necessary for the accompaniment of the course and the activities that requires.
At the beginning of each code its content is explained. Here is a list with the topics covered in each one:
-
1_Introduccion.R: Commands and basic functions of R.
-
2_Data Frames y Estadisticas Descriptivas.R: How to create a data frame, subsets and filtering of data. Obtaining descriptive statistics.
-
3_Graficas de funciones.R: Basic methods of graphing, titles, labels of axes, colors, types and thickness of lines, etc.
-
4_Tarea 1.R: Density function, distribution function, sample simulation, relative frequencies.
-
5_Tarea 2.R: Moment estimators for the normal, gamma and exponential distributions.
-
6_Tarea 3 pt 1.R: Relationship between the mean and variance of the poisson distribution.
-
7_Tarea 3 pt 2.R: Likelihood function of the normal distribution with logdata.