search for: cwmodela

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

Did you mean: cmmodel
2012 Mar 29
2
How to improve, at all, a simple GLM code
...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 the full/saturated model and choose the significant terms only as my final model. My first question therefore: is there a better way to fit a mode...