Publications by Arvind Sharma

data_types_appendum

01.07.2024

1 R Inbuilt Data No need to install/load any package. datasets are already pre-installed. ?datasets() library(help = "datasets") ?swiss # give information on data set 'swiss' help(USArrests) # give information on data set 'USArrests' You will find some code that can be used to create graphs in the help files....

381 sym R (904 sym/14 pcs) 2 img

MathReview

01.07.2024

Table of contents 1 Theory 2 Implementation in R 2.1 Matrix A 2.1.1 Alternative ways to create a matrix 2.2 RConics for adjugate of a matrix 2.3 Matrix B 2.4 Matrix C 2.5 Matrix D 2.6 Matrix E 2.6.1 NA values Math Review # Clear the work space rm(list = ls()) # Clear environment gc() # Clear unused memory used (Mb...

3440 sym

OLS_matrixVSlm

01.07.2024

Table of contents 1 Introduction 2 Data 2.1 Estimating Equation 3 Model 3.1 Setup 3.2 Derivation 4 Implementation: Matrix Algebra 5 Implementation: lm() command 5.1 Interpretation 6 Supplementary 7 Standard Errors Intuition 8 Calculating Standard Errors 9 References OLS: From Scratch using Matrix Algebra in R 1 Introduction One of the very...

9307 sym Python (15777 sym/36 pcs) 3 img

R_Markdown_TypingMathEquations

01.07.2024

Can replace ‘html_document’ with ‘pdf_document’ in the .Rmd (Rmarkdown) file above manually to generate the output in your preferred format. However, I would strongly suggest using HTML format initially as the setup is likely to reduce math symbol issues if you do not have Latex installed locally. Also, make sure to change the settings of t...

3103 sym 1 img

log_time_series_for_better_fit

01.07.2024

?datasets library(help = "datasets") ?UKgas Quarterly UK gas consumption from 1960Q1 to 1986Q4, in millions of therms. df <- UKgas plot(df) plot(log(df)) Fitting the best fit line through the logged time series gives a much better fit....

165 sym R (80 sym/3 pcs) 2 img

BEA_API

17.05.2024

https://github.com/us-bea/bea.R 1 Set Up # Clear the workspace rm(list = ls()) # Clear environment -remove all files from your workspace gc() # Clear unused memory ## used (Mb) gc trigger (Mb) limit (Mb) max used (Mb) ## Ncells 527654 28.2 1172937 62.7 NA 669291 35.8 ## Vcells 969134 7.4 8388608 64.0 3...

503 sym R (11651 sym/30 pcs) 2 img

Final MH Research 05122024

12.05.2024

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 the...

683 sym R (63756 sym/88 pcs) 12 img

Final MH Research

12.05.2024

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 the...

683 sym R (70843 sym/88 pcs) 12 img

CPS_discussion_updated

12.05.2024

1 Labor Force Statistics from the Current Population Survey The Current Population Survey (CPS) is a monthly survey of households conducted by the Bureau of Census for the Bureau of Labor Statistics. It provides a comprehensive body of data on the labor force, employment, unemployment, persons not in the labor force, hours of work, earnings, a...

2474 sym R (3055 sym/21 pcs) 4 img

MH Research

11.05.2024

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 the...

659 sym R (65948 sym/62 pcs) 4 img