Publications by Karla Mireya Hernández Cartagena HC18035
prueba_clase
R Markdown This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents. For more details on using R Markdown see http://rmarkdown.rstudio.com. When you click the Knit button a document will be generated that includes both content as well as the output of any embedded R code chunks within t...
594 sym R (268 sym/2 pcs) 1 img
prueba_matrices
Creacion de Matrices Matriz y #Generacion de la matriz y matriz_y<-matrix(data = c(20, 30, 36, 24, 40), nrow = 5, ncol = 1, byrow = TRUE) colnames(matriz_y)<-c("y") print(matriz_y) ## y ## [1,] 20 ## [2,] 30 ## [3,] 36 ## [4,] 24 ## [5,] 40 Matriz x matriz_x<-cbind(rep(1,5), matrix(data = c(4,10...
146 sym R (813 sym/8 pcs)
Guia1_Econometria_GT03
Numeral 1 Ejercicio 1: Calculo de las matrices A,P,M options(scipen = 99999999) load("C:/Users/USUARIO/Downloads/modelo_ventas.RData") matriz_X_1<-model.matrix(modelo_ventas) matriz_XX_1<-t(matriz_X_1)%*%matriz_X_1 #Calculo de la matriz A matriz_A_1<-solve(matriz_XX_1)%*%t(matriz_X_1) print(matriz_A_1) ## 1 ...
2307 sym R (1480402 sym/59 pcs) 1 img
Libreria fastGraph-HC18035-GT03
Cargado de datos. options(scipen = 999999) library(wooldridge) data(hprice1) head(force(hprice1), n=5) #mostrar las primeras 5 observaciones ## price assess bdrms lotsize sqrft colonial lprice lassess llotsize lsqrft ## 1 300 349.1 4 6126 2438 1 5.703783 5.855359 8.720297 7.798934 ## 2 370 351.5 3 9903 207...
289 sym R (3101 sym/12 pcs) 5 img
Ejercicio Heterocedasticidad-HC18035-GT03
Cargado de datos library(wooldridge) data(hprice1) head(force(hprice1), n=5) #mostrar las primeras 5 observaciones ## price assess bdrms lotsize sqrft colonial lprice lassess llotsize lsqrft ## 1 300 349.1 4 6126 2438 1 5.703783 5.855359 8.720297 7.798934 ## 2 370 351.5 3 9903 2076 1 5.913503 5.86221...
416 sym R (2747 sym/7 pcs) 1 img
Ejercicio Colinealidad-HC18035-GT03
Cargado de datos. library(wooldridge) data(hprice1) head(force(hprice1), n=5) #mostrar las primeras 5 observaciones ## price assess bdrms lotsize sqrft colonial lprice lassess llotsize lsqrft ## 1 300 349.1 4 6126 2438 1 5.703783 5.855359 8.720297 7.798934 ## 2 370 351.5 3 9903 2076 1 5.913503 5.8622...
510 sym R (4076 sym/15 pcs) 2 img
Ejercicio autocorrelación-HC18035-GT03
Cargado de datos library(wooldridge) ## Warning: package 'wooldridge' was built under R version 4.0.5 data(hprice1) head(force(hprice1), n=5) #mostrar las primeras 5 observaciones ## price assess bdrms lotsize sqrft colonial lprice lassess llotsize lsqrft ## 1 300 349.1 4 6126 2438 1 5.703783 5.855359 8.720297 7.798934 ...
658 sym R (3054 sym/14 pcs)
Ejercicio Normalidad-HC18035-GT03
Cargado de datos library(wooldridge) data(hprice1) head(force(hprice1), n=5) #mostrar las primeras 5 observaciones ## price assess bdrms lotsize sqrft colonial lprice lassess llotsize lsqrft ## 1 300 349.1 4 6126 2438 1 5.703783 5.855359 8.720297 7.798934 ## 2 370 351.5 3 9903 2076 1 5.913503 5.86221...
561 sym R (3604 sym/13 pcs) 3 img
Document
Enfoque Tradicional. library(readxl) library (forecast) serie.ivae <- read_excel("C:/Users/USUARIO/Downloads/Karla Mireya Hernandez Cartagena - IVAE_SLV_C.xlsx", col_types = c("skip", "numeric"), skip= 5) serie.ivae.ts <- ts(data = serie.ivae, start = c(2009, 1), ...
201 sym R (3657 sym/13 pcs) 11 img
Document
Librería Stargazer para Modelos Corregidos con Estimadores HAC library(foreign) library(stargazer) datos_regresion<-read.dta("https://stats.idre.ucla.edu/stat/data/crime.dta") modelo_crime<-lm(crime ~ poverty + single, data = datos_regresion) print(modelo_crime) Call: lm(formula = crime ~ poverty + single, data = datos_regresion) Coefficient...
269 sym R (1490 sym/7 pcs) 2 tbl