Linear estimation with indicator variable
Posted: Tue Jun 16, 2015 7:11 pm
Hi,
Can someone provide me with some guidance on how I should estimate a simple linear regression with an indicator variable?
Specifically, I am trying to estimate a linear regression that regresses selling price (SPRICE) on living area (LIVAREA)^2 but separating small houses from large houses using an indicator variable (LGELOT) which has the value of 1 for large lots and 0 for small lots. So essentially I should end up with an expression for that estimates the mean selling price for large lots and mean selling price for small lots and their associated coefficients for (LIVAREA)^2
I am using EViews 8 and just can't seem to obtain the answer. I've attached the EViews workfile.
Can someone provide me with some guidance on how I should estimate a simple linear regression with an indicator variable?
Specifically, I am trying to estimate a linear regression that regresses selling price (SPRICE) on living area (LIVAREA)^2 but separating small houses from large houses using an indicator variable (LGELOT) which has the value of 1 for large lots and 0 for small lots. So essentially I should end up with an expression for that estimates the mean selling price for large lots and mean selling price for small lots and their associated coefficients for (LIVAREA)^2
I am using EViews 8 and just can't seem to obtain the answer. I've attached the EViews workfile.