Blog Archives

Microeconomic Theory and Linear Regression (Part 2)

April 21, 2017
By
Microeconomic Theory and Linear Regression (Part 2)

Introduction In the first part of this article I explained and compared four different functional forms to model apples' production. This is what I need to retake the previously explained examples: # Libraries #install.packages(c("micEcon","lmtest","bbmle","miscTools")) library(micEcon) library(lmtest) library(stats4) #this is a base package so I don't install this library(bbmle) library(miscTools

Read more »

Microeconomic Theory and Linear Regression (Part 1)

April 14, 2017
By
Microeconomic Theory and Linear Regression (Part 1)

Introduction Last week I found a lot of materials I used as teaching assistant. Among those materials I found some class notes from Arne Henningsen, the author of micEcon R package. I'll use that package and some others to show some concepts from Microeconomic Theory. Packages installation: #install.packages(c("micEcon","lmtest","bbmle","miscTools")) library(micEcon) library(lmtest) library(stats4) #this is a...

Read more »

Microeconomic Theory and Linear Regression (Part 1)

April 14, 2017
By
Microeconomic Theory and Linear Regression (Part 1)

Introduction Last week I found a lot of materials I used as teaching assistant. Among those materials I found some class notes from Arne Henningsen, the author of micEcon R package. I'll use that package and some others to show some concepts from Microeconomic Theory. Packages installation: #install.packages(c("micEcon","lmtest","bbmle","miscTools")) library(micEcon) library(lmtest) library(stats4) #this is a...

Read more »

The Hitchhiker’s Guide to Ggplot2 in R

March 22, 2017
By
The Hitchhiker’s Guide to Ggplot2 in R

Published: 2016-11-30 Updated: 2017-03-23 "Any bleeder knows that books are never finished, only abandoned." Why Information Grows About the book You can find the book here. This is a book that may look complete but changes in R package are al...

Read more »

The Hitchhiker’s Guide to Ggplot2 in R

March 22, 2017
By
The Hitchhiker’s Guide to Ggplot2 in R

Published: 2016-11-30 Updated: 2017-03-23 "Any bleeder knows that books are never finished, only abandoned." Why Information Grows About the book You can find the book here. This is a book that may look complete but changes in R package are al...

Read more »

Linear Regression and ANOVA shaken and stirred (Part 2)

March 20, 2017
By

In the first part of this entry I did show some mtcars examples, where am can be useful to explain ANOVA as its observations are defined as: $$ am_i = \begin{cases}1 &\text{ if car } i \text{ is manual} \cr 0 &\text{ if car } i \text{ is automatic}\end{cases} $$ Now I'll show another example to continue the last example from...

Read more »

Linear Regression and ANOVA shaken and stirred (Part 2)

March 20, 2017
By

In the first part of this entry I did show some mtcars examples, where am can be useful to explain ANOVA as its observations are defined as: $$ am_i = \begin{cases}1 &\text{ if car } i \text{ is manual} \cr 0 &\text{ if car } i \text{ is automatic}\end{cases} $$ Now I'll show another example to continue the last example from...

Read more »

Linear Regression and ANOVA shaken and stirred (Part 1)

March 19, 2017
By

Linear Regression and ANOVA concepts are understood as separate concepts most of the times. The truth is they are extremely related to each other being ANOVA a particular case of Linear Regression. Even worse, its quite common that students do memorize equations and tests instead of trying to understand Linear Algebra and Statistics concepts that can keep you away...

Read more »

Linear Regression and ANOVA shaken and stirred (Part 1)

March 19, 2017
By

Linear Regression and ANOVA concepts are understood as separate concepts most of the times. The truth is they are extremely related to each other being ANOVA a particular case of Linear Regression. Even worse, its quite common that students do memorize equations and tests instead of trying to understand Linear Algebra and Statistics concepts that can keep you away...

Read more »

Linear Regression and ANOVA shaken and stirred

February 21, 2017
By

Linear Regression and ANOVA concepts are understood as separate concepts most of the times. The truth is they are extremely related to each other being ANOVA a particular case of Linear Regression. Even worse, its quite common that students do memorize equations and tests instead of trying to understand Linear Algebra and Statistics concepts that can keep you away...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)