[R] Comparing goodness of fit between two logistic regression models

2012-11-13 Thread hoguejm
Greetings, I want to compare the goodness-of-fit between several different models that I have developed using Logistic Regression. I have been doing some research and am sort of confused on how to do this. I know it is not as simple as in an OLS model, however since there is no "R-squared" valu

Re: [R] Is there a way to export regression output to an excel spreadsheet?

2012-11-09 Thread hoguejm
I am very very new with R. Needless to say, your comment is a bit confusing. My regression name is "mylogit" Anyway to write a code that I can copy paste? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Is-there-a-way-to-export-regression-output-to-an-excel-spreadshe

[R] Why does my regression output look like this?

2012-11-09 Thread hoguejm
EstimateStd. Error z value Pr(>|z|) (Intercept) 2.338e+00 2.400e+03 0.0010.99922 fac

[R] Is there a way to export regression output to an excel spreadsheet?

2012-11-09 Thread hoguejm
I want to export the coefficient values and p-values from my regression output into a spreadsheet. Is there a way to do this? -- View this message in context: http://r.789695.n4.nabble.com/Is-there-a-way-to-export-regression-output-to-an-excel-spreadsheet-tp4649155.html Sent from the R help mai

[R] Obtaining R-squared value in Logistic Regression

2012-11-08 Thread hoguejm
I do not see an R-squared value after preforming the glm regression. Is there a separate command for this? Thanks -- View this message in context: http://r.789695.n4.nabble.com/Obtaining-R-squared-value-in-Logistic-Regression-tp4648954.html Sent from the R help mailing list archive at Nabble

[R] Changing Date Variables as Continuous Variables

2012-11-03 Thread hoguejm
I am very new to R, so I apologize if this question is trivial. I have a row in my data of dates in the format mm/dd/; about 3500 rows. I am using this variable in a logistic regression model, and need to treat it as continuous, not a factor as r has decided it is. I tried the as.numeric fu

Re: [R] Error in contrasts message when using logistic regression code.

2012-10-23 Thread hoguejm
How to change categorical vars to factors. I am very new at R Thanks -- View this message in context: http://r.789695.n4.nabble.com/Error-in-contrasts-message-when-using-logistic-regression-code-tp4647198p4647226.html Sent from the R help mailing list archive at Nabble.com. _

[R] Error in contrasts message when using logistic regression code.

2012-10-23 Thread hoguejm
I have a rather large data set (about 30 predictor variables) I need to preform a logistic regression on this data. My response variable is binary. My code looks like this: mylogit <- glm(Enrolled ~ A + B + C + ... + EE, data = data, family = binomial(link="logit")) with A,B,C, ... as my predic