The data can be found in the \data
folder of your homework repository.
Read the data with
pp <- read_csv("data/paris_paintings.csv")
Take a peek at the codebook.
Go to the #assignment-links channel on Slack and click on the link for mini-hw-07, and accept the assignment.
In this case study your goal is to fit models that include both main and interaction effects and do model selection.
Decide on a subset of variables to consider for your analysis. Think about it as focusing on certain aspects of the price determination, as opposed to all aspects. You’re allowed a maximum of 10 total variables to consider, including interactions. The more variables you consider the longer model selection will take so keep that in mind.
Decide among these which variables might make sense to interact. Remember, we consider interactions when variables might behave differently for various levels of another variable. Ideally, you would get some expert guidance for choosing which variables to interact, however the curators of the data are not in class with you, so instead they have compiled a list of interactions that might be potentially interesting:
school_pntg
& landsALL
/ lands_figs
/ lands_ment
landsALL
/ lands_figs
/ lands_ment
& paired
othartist
& paired
surface
& paired
surface
& figures
/ nfigures
dealer
& prevcoll
endbuyer
& prevcoll
winningbiddertype
& artistliving
This is not an exhaustive list, so you might come up with others.
Check / no check