search for: lrfit

Displaying 1 result from an estimated 1 matches for "lrfit".

Did you mean: lmfit
2012 Mar 29
2
How to improve, at all, a simple GLM code
Hi There, I am trying to fit a logit model to some data in a CSV file in R. Here is my code: Prepared_Data = read.csv("Prepared_Data.csv", header=TRUE) Prepared_Data attach(Prepared_Data) lrfit<-glm(C3~A1*B2*D4*E5,family = binomial) anova(lrfit, test="Chisq") write.csv(anova(lrfit, test="Chisq"), file="CWModelA.csv") shell.exec("CWModelA.csv") I am unsure as to how many methods there are of choosing a suitable model, however, I was hoping to fit...