How do I know the distribution and link function used in model development that the train function in caret uses? I have a dataset (My_Data) of values of houses (Value_House) and characteristics of the house (the covariates). The idea is to predict value of the house based on its covariates. I want to use R to select features using the AIC-minimizing criterion, so I use the caret package with the instruction:
My_model <- train(Form=Value_House~.,data=My_Data,na.action=na.pass,method="glmStepAIC") I get a model, and everything seems reasonable. I have been trying, however, to find the information on the distribution used in the fitting process, and the respective link function, but I do not see it anywhere on the return values or the help. Could someone tell me how I can see that information? Is it possible to change the default values?
glm. I believetrainshould pass anyfamilyargument toglm.