Publications by Samuel C. Singer

Discussion 1

14.03.2024

Introduction head(housingsales) ## # A tsibble: 6 x 3 [1M] ## DATE HSN1FNSA Time ## <chr> <dbl> <mth> ## 1 2009-12-01 24 2009 Dec ## 2 2010-01-01 24 2010 Jan ## 3 2010-02-01 27 2010 Feb ## 4 2010-03-01 36 2010 Mar ## 5 2010-04-01 41 2010 Apr ## 6 2010-05-01 26 2010 May For this discussio...

2332 sym 5 img

Discussion FE

27.11.2023

Dataset Overview       In this discussion, I will be using the ChickWeight pre-installed dataset. This is a panel dataset which tracks the weights of chicken over a period of 21 days, providing additional information on their diet and other variables. data <- ChickWeight head(ChickWeight,n=20) ## Grouped Data: weight ~ Time | Chick ## weig...

4632 sym

RD

14.11.2023

1 Regression Discontinuity Description      RDD is used to see the impact of a change in a single variable on an otherwise similair population. This is done by establishing a specific cutoff in a flow variable, and seeing whether at that specific threshold there is some sort of discrete jump in the distribution.      ## ## Attaching pack...

3143 sym Python (216 sym/3 pcs) 2 img

Discussion 8

24.10.2023

1 Introduction       Instrumental Variables serve as a valuable tool that allows us to run regressional models with variables that would otherwise be endogenous. IVs do so by employing the process of 2SLS, where an exogenous variable is used to predict the endogenous variable within our initial model. Then, the predicted values, free of endog...

4749 sym

Discussion Post #6

09.10.2023

1 Introduction       Difference in Differences estimators are most frequently used in policy-analysis projects, allowing the researchers to investigate the impact of some treatment on the dependent variable. This discussion post demonstrates the effectiveness of Diff-in-Diff by analyzing a dataset from 2005, which focuses on the impact that n...

5769 sym 6 img 12 tbl

Homework #1 - MoneyBall

05.10.2023

## Warning in !is.null(rmarkdown::metadata$output) && rmarkdown::metadata$output ## %in% : 'length(x) = 2 > 1' in coercion to 'logical(1)' 1 Introduction       Baseball is a numbers game. Or at least it has been since Billy Beane adopted the then extremely unpopular strategy of exposing statistics to improve the Oakland A’s performance. In ...

19371 sym Python (3589 sym/12 pcs) 32 img 21 tbl

Discussion #5 vol2

02.10.2023

1 Bias of an Estimator       To establish what a bias of an estimator is, we must first remember what an estimator is. Calculated with the formula: \[ \beta_{k}=\frac{{Cov(x, y)}}{{Var(x)}} \]      where the \(Cov(x,y)\) determines the direction of the slope coefficient, and the \(Var(x)\) standardizes the estimate. A single beta coeffi...

7519 sym 5 tbl

Discussion Post #5

02.10.2023

1 Bias of an Estimator       To establish what a bias of an estimator is, we must first remember what an estimator is. Calculated with the formula: \[ \beta_{k}=\frac{{Cov(x, y)}}{{Var(x)}} \]      where the \(Cov(x,y)\) determines the direction of the slope coefficient, and the \(Var(x)\) standardizes the estimate. A single beta coeffi...

7143 sym 5 tbl

Document

29.09.2023

#Import Dataset training <- read.csv("/Users/samuelsinger/Desktop/Homework #1 Econometrics/training.csv") #Loading Packages library(psych) library(sjPlot) library(sjmisc) library(sjlabelled) library(ggplot2) library(Hmisc) library(dplyr) library(pacman) library(tidyverse) library(summarytools) library(visdat) library(stargazer) #Data Analysis #Miss...

17 sym R (12794 sym/10 pcs) 19 img

Discussion Post 4

25.09.2023

I. Gaus-Markov Conditions       There are five assumptions in the Gaus-Markov theorem, which are used to assure that the coefficient estimates are BLUE, BLUE being an acronym for “Best Linear Unbiased Estimator.” The five assumptions are: 1. Random Sample 2. Linear in Parameter 3. Zero-Conditional Mean 4. No Perfect Collinearity 5....

9003 sym R (1720 sym/15 pcs) 11 img 4 tbl