search for: firstep

Displaying 3 results from an estimated 3 matches for "firstep".

Did you mean: firstel
2006 Jun 06
2
Error in inherits(x, "data.frame") : object "Dataset" not found
...dvice regarding what I am doing wrong or solutions are appreciated, regards Bob Green > logreg <- read.csv("c:\\logregtest.csv",header=T) > attach(logreg) > names(logreg) [1] "medyear" "where" "who" "dxbroad" "firstep" "standard" [7] "age" "sex" "successes" "failures" > model <- glm(cbind(successes, failures) ~medyear + age + sex + where + who + dxbroad + firstep + standard, family=binomial, data=Dataset) Error in inherits(x, "d...
2007 Jan 09
1
logistic regression in R - changing defaults
...r some advice in changing 2 defaults in a logistic regression. 1. It looks like the first category is the reference category? In the following syntax 'where' has 4 levels, how can I make the reference category the third category? model<- glm(cbind(sucesses, failures) ~ where + who + firstep + dxnarrow + age + sex + medyear, family = binomial, data=life.use) model 2. Is it possible to round results to 4 decimal points? If so, what syntax is required? Any assistance is appreciated, Bob Green
2006 Jun 04
1
logistic regression enquiry
...or is modification of the usual code required? 2. what is the best R package for performing logistic regression? Any assistance is much appreciated regards Bob Green In SPSS, each study was included I weighted the , though am unsure how I would format the data medyear where who dxbroad firstep standard age sex positive negative 89 3 2 1 0 0 31.5 71 28 117.00 98 2 2 1 0 1 48.0 62 15 72.00 98 4 1 1 0 0 45.2 61 42 57.00 89 3 0 1 0 1 28.7 63 19 48.00 99 2 2 1 0 1 34.7 73 27 73.00 88 3 0 1 0 1 30.6 58 26 57.00 94 1 1 1 0 1 36.3 81 70 124.00 96 3 1 1 0 1 40.0 57 27 40.00 96 2 2 1 0 1 33.1 64 9...