Displaying 3 results from an estimated 3 matches for "sallysims".
2011 Oct 17
3
Importing all observations and variables from csv file into dataframe
Hello,
I need some help getting started with data analysis. I’m having trouble getting R to read my data file. I’ve referred to various R help documentation, the website, and FAQs, but I don’t see my situation listed.
I saved an Excel file (post-2007 Excel version) of data as a “.csv” file. However, the file still appears in column format when I open it. Does that happen when you save a an
2011 Nov 07
2
logistric regression: model revision
Hello,
I am working on fitting a logistic regression model to my dataset. I removed the squared term in the second version of the model, but my model output is exactly the same.
Model version 1: GRP_GLM<-glm(HB_NHB~elev+costdis1^2,data=glm_1,family=binomial(link=logit))
summary(GRP_GLM)
Model version 2: QM_1<-glm(HB_NHB~elev+costdis1,data=glm_2,family=binomial(link=logit))
2011 Dec 12
0
Formatting probability data to produce confusion matrix for binary data for logistric regression
Hello R folks,
I’m looking to produce a confusion matrix using the command: cmx(PData,threshold=0.49,na.rm=FALSE) for a logistic regression model (1 is habitat, 0 is nonhabitat).
To compile my PData data file (csv file) (as in the example above), I’m using the output of the predict(glm) function. Is there a way to export the output of the predict function (which formats itself as shown below)