Incorporating behavioral principles in primary data analysis with application to beer demand