Displaying 20 results from an estimated 10000 matches similar to: "How would you do a logistic analysis"
2000 Oct 24
2
multinominal probit & logit
Dear everybody!
Are there algorithms for multinominal logit/probit available for R? Is it my
fault that I cannot find these in CRAN? Has somebody programmed these?
with best wishes
Ott Toomet
Ott.Toomet at mail.ee
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2006 Dec 20
1
help for multinominal logistic regression code
Dear all,
firstly I would like to say I am a beginner user for R and also naturally a new member of this mail list. This means I have newer read previous mails before.
I need a small help for my analysis. I want to perform a multinominal logistic regression for my data set. But as I told before I am a beginner for R and I couldn't find the code for multinominal logistic
2002 Jan 03
1
item characteristic curves (logistic regression w. constant)
I'm trying to do a sort of home-brew item-characteristic-curve.
This is a plot of the probability of getting a test item correct,
as a function of the mean score on the test. (The last part is
the home brew part.)
Logistic regression with glm would work nicely, EXCEPT for the
fact that the curve requires a guessing parameter. So the
asymptote on the left is not 0 but rather something like
2005 Jul 27
2
logistic regression: categorical value, and multinomial
I have two questions:
1. If I want to do a binomial logit, how to handle the
categorical response variable? Data for the response
variables are not numerical, but text.
2. What if I want to do a multinomial logit, still
with categorical response variable? The variable has 5
non-numerical response levels, I have to do it with a
multinomial logit.
Any input is highly appreciated! Thanks!
Ed
2012 Oct 17
4
function logit() vs logistic regression
Hello!
When I am analyzing proportion data, I usually apply logistic regression
using a glm model with binomial family. For example:
m <- glm( cbind("not realized", "realized") ~ v1 + v2 , family="binomial")
However, sometimes I don't have the number of cases (realized, not
realized), but only the proportion and thus cannot compute the binomial
model. I just
2005 Oct 11
2
Logistic Regression using glm
Hello everyone,
I am currently teaching an intermediate stats.
course at UCSD Extension using R. We are using
Venables and Ripley as the primary text for the
course, with Freund & Wilson's Statistical Methods as
a secondary reference.
I recently gave a homework assignment on logistic
regression, and I had a question about glm. Let n be
the number of trials, p be the estimated
2003 Aug 19
3
logistic regression without intercept
I want to do a logistic regression without an intercept term. This
option is absent from glm, though present in some of the inner functions
glm uses. I gather glm is the standard way to do logistic regression in
R.
Hoping it would be passed in, I said
> r <- glm(brain.cancer~epilepsy+other.cancer, c3,
> family=binomial(link="logit"), intercept=FALSE)
which produced
2009 Jul 17
2
Getting the C-index for a dataset that was not used to generate the logistic model
Does anyone know how to get the C-index from a logistic model - not using
the dataset that was used to train the model, but instead using a fresh
dataset on the same model?
I have a dataset of 400 points that I've split into two halves, one for
training the logistic model, and the other for evaluating it. The structure
is as follows:
column headers are "got a loan" (dichotomous),
2005 Nov 22
1
what does the it when there is a zero events in the Logistic Regression with glm?
Dear all,
I have a question about the glm. When the events of an observation is 0,
the logit function on it is Inf. I wonder how the glm solve it.
An example:
Treat Events Trials
A 0 50
B 7 50
C 10 50
D 15 50
E 17 50
Program:
treat <- factor(c("A", "B", "C", "D", "E"))
events <- c(0, 7, 10, 15,
2012 Dec 30
3
Odds Ratio and Logistic Regression
Dear All,
I am learning the ropes about logistic regression in R.
I found some interesting examples
http://bit.ly/Vq4GgX
http://bit.ly/W9fUTg
http://bit.ly/UfK73e
but I am a bit lost.
I have several questions.
1) For instance, what is the difference between
glm.out = glm(response ~ poverty + gender, family=binomial(logit),
data=mydata)
and
glm.out = glm(response ~ poverty * gender,
2004 Aug 02
3
logistic regression
I have a system with a binary response variable that was hypothesized to
follow a simple logistic function. The relationship between the continuous
independent variable and the logit is clearly not monotonic. I have two
questions. 1) Can anyone recommend a reference that describes my modeling
options in this case, and 2) what facilities does R have to deal with this
situation?
Thanks,
Kevin
2009 Jul 14
2
SOS! error in GLM logistic regression...
Hi all,
Could anybody tell me what happened to my logistic regression in R?
mylog=glm(mytraindata$V1 ~ ., data=mytraindata, family=binomial("logit"))
It generated the following error message:
Error in model.frame.default(Terms, newdata, na.action = na.action,
xlev = object$xlevels) :
factor 'state1' has new level(s) AP
Thank you!
2009 Oct 08
1
unordered multinomial logistic regression (or logit model) with repeated measures (I think)
I am attempted to examine the temporal independence of my data set and think
I need an unordered multinomial logistic regression (or logit model) with
repeated measures to do so. The data in question is location of chickens.
Chickens could be in any one of 5 locations when a snapshot sample was
taken. The locations of chickens (bird) in 8 pens (pen) were scored twice a
day (AMPM) for 20 days
2007 Nov 15
3
not R question : alternative to logistic regression
I was just curious if anyone knew of an alternative model to logistic regression where the probabilities seems pretty linear to the predictor rather than having that S shape that probit and logit assume.
Maybe there is there some kind of other GLM that could accomplish that. Any textbook references or suggestions
are appreciated. I have most of the texts but if someone knows of a text that talks
2012 Jul 24
2
limit of detection (LOD) by logistic regression
Dear all,
I am trying to apply the logistic regression to determine the limit of
detection (LOD) of a molecular biology assay, the polymerase chain reaction
(PCR). The aim of the procedure is to identify the value (variable
"dilution") that determine a 95% probability of success, that is
"positive"/"total"=0.95. The procedure I have implemented seemed to work
looking
2006 Aug 31
3
what's wrong with my simulation programs on logistic regression
Dear friends,
I'm doing a simulation on logistic regression model, but the programs can't
work well,please help me to correct it and give some suggestions.
My programs:
data<-matrix(rnorm(400),ncol=8) #sample size is 50
data<-data.frame(data)
names(data)<-c(paste("x",1:8,sep="")) #8 independent variables,x1-x8;
#logistic regression model is
2010 Jun 06
2
fitting multinomial logistic regression
Sir,
I want to fit a multinomial logistic regression in R.I think mlogit() is the
function for doing this. mlogit () is in packege globaltest.But, I can not
install this package. I use the following:
install.packages("globaltest")
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2012 Feb 29
2
puzzling results from logistic regression
Hi all,
As you can see from below, the result is strange...
I would imagined that the bb result should be much higher and close to 1,
any way to improve the fit?
Any other classification methods?
Thank you!
data=data.frame(y=rep(c(0, 1), times=100), x=1:200)
aa=glm(y~x, data=data, family=binomial(link="logit"))
newdata=data.frame(x=6, y=100)
bb=predict(aa, newdata=newdata,
2007 Feb 02
1
multinomial logistic regression with equality constraints?
I'm interested in doing multinomial logistic regression with equality
constraints on some of the parameter values. For example, with
categorical outcomes Y_1 (baseline), Y_2, and Y_3, and covariates X_1
and X_2, I might want to impose the equality constraint that
\beta_{2,1} = \beta_{3,2}
that is, that the effect of X_1 on the logit of Y_2 is the same as the
effect of X_2 on the
2010 Nov 11
2
Consistency of Logistic Regression
Dear R developers,
I have noticed a discrepancy between the coefficients returned by R's glm()
for logistic regression and SAS's PROC LOGISTIC. I am using dist = binomial
and link = logit for both R and SAS. I believe R uses IRLS whereas SAS uses
Fisher's scoring, but the difference is something like 100 SE on the
intercept. What accounts for such a huge difference?
Thank you for