The fact that your house may go up in value after a few years does not make it an investment. That's speculation. It's just like buying bare land holding it for years and hoping it goes up one day.
A year ago you might have argued that house prices are going up, up, up. It was tough to sit in the sidelines in Houston while homeowners in the East and West coast were getting 'rich'. Well now that we're back to normal we can assume a historical average of 4% annual appreciation.
With 4% appreciation and after deducting all the expenses associated with a house it can hardly be considered an investment per se.
Does that mean you shouldn't buy a house? Not at all. I believe in the long run homeowners will always come out ahead financially vs renters albeit for different reasons.
So yes, even after all I said go out and buy a house. I'll explain why in the next post :-)