Displaying 2 results from an estimated 2 matches for "hb_nhb".
Did you mean:
ab_ahb
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))
summary(QM_1)
The call in version 2 has changed:
Call:
glm(formula = HB_NHB ~ elev + costdis1, family = binomial(link = logit),...
2011 Oct 17
3
Importing all observations and variables from csv file into dataframe
...o R. When I use the summary command I get:
summary("C:\\Documents\\R_dfiles\\H_N_T.csv",header=TRUE,as.is=TRUE)
Length Class Mode
1 character character
But the data table actually has five columns and 1000 rows (example of first two lines):
OBJECTID X Y elev HB_NHB
1 265712.1 90770.42 7.6372 0
When I look at the .csv file, I see that the OBJECTID cell is selected so I think R is just reading the one cell as my data. How can I get R to read the all the data rows and columns? Is there a way to clear the one-cell selection status? Or perhaps there i...