Displaying 1 result from an estimated 1 matches for "lagani".
Did you mean:
pagani
2012 Oct 02
1
count data as independent variable in logistinc regression
...TRUE);
outcome = sample(0:1, 100, replace = TRUE);
dataset = data.frame(outcome, var1, var2, var3);
#fitting the model
model = glm(outcome ~ ., family=binomial, data = dataset)
#inspecting the model
print(model)
###########################################################
Regards,
--
Vincenzo Lagani
Research Fellow
BioInformatics Laboratory
Institute of Computer Science
Foundation for Research and Technology - Hellas