Displaying 20 results from an estimated 400 matches similar to: "More Logistic Regression Tools?"
2011 May 08
1
Hosmer-Lemeshow 'goodness of fit'
I'm trying to do a Hosmer-Lemeshow 'goodness of fit' test on my logistic
regression model.
I found some code here:
http://sas-and-r.blogspot.com/2010/09/example-87-hosmer-and-lemeshow-goodness.html
The R code is above is a little complicated for me but I'm having trouble
with my answer:
Hosmer-Lemeshow: p=0.6163585
le Cessie and Houwelingen test (Design library): p=0.2843620
2002 Oct 21
2
More Logistic Regression Tools?
I've been using R to do logistic regresssion, and that's working
well, but there are two things I haven't figured out how to do.
(1) Is there some pre-existing function that will let you compute the
odds ratios and confidence intervals for them for a specific fit. I know
how to do this manually or even write a function that I can call with
the coefficients and se, but
2005 Sep 13
1
logistic regression with nominal predictors
(Sorry for obvious mistakes, as I am quite a newby with no Statistics
background).
My question is going to be what is the gain of logistic regression over
odds ratios when none of the input variables is continuous.
My experiment:
Outcome: ordinal scale, ``quality'' (QUA=1,2,3)
Predictors: ``segment'' (SEG) and ``stress'' (STR). SEG is
nominal scale with 24
2010 Jul 07
1
Different goodness of fit tests leads to contradictory conclusions
I am trying to test goodness of fit for my legalistic regression using several options as shown below. Hosmer-Lemeshow test (whose function I borrowed from a previous post), Hosmer–le Cessie omnibus lack of fit test (also borrowed from a previous post), Pearson chi-square test, and deviance test. All the tests, except the deviance tests, produced p-values well above 0.05. Would anyone please
2008 Sep 16
2
Hosmer- Lemeshow test
Dear R - help,
I am working on the Credit scorecard model. I am using the Logistic regression to arrive at the regression coefficients model.
I want to use the Hosmer - Lemeshow test .
In order to understand the use of R - language, I had referred the following URL
http://www.stat.sc.edu/~hitchcock/diseaseoutbreakRexample704.txt
The related data 'diseaseoutbreak' is available
2008 Sep 25
1
HOW to use the Hosmer–Lemeshow test? in R
i want to know how to use the Hosmer?Lemeshow test? in R. Can anyone show me
the program to me and tell me how to use it?
--
View this message in context: http://www.nabble.com/HOW-to-use-the-Hosmer%E2%80%93Lemeshow-test%E2%80%8F-in-R-tp19675283p19675283.html
Sent from the R help mailing list archive at Nabble.com.
2002 Nov 22
2
hosmer-lemeshow
Hi eveybody.
I've seen posted before the same question, but no answer. Is there anybody
who has implemented the Hosmer-Lemeshow test in R?
TIA,
Stefano
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the
2010 Sep 01
1
[Q] Goodness-of-fit test of a logistic regression model using rms package
Hello,
I was looking for a way to evaluate the goodness-of-fit of a logistic regression model. After googling, I found that I could use "resid(fit, 'gof')" method implemented in the rms package. However, since I am not used to the "le Cessie-van Houwelingen normal test statistic," I do not know which statistic from the returned from the "resid(fit,
2008 Nov 07
1
two kind of Hosmer and Lemeshow’s test
I know that there are two method to apply the Hosmer and Lemeshow?s. One of
them is calculated based on the fixed and pre-determined cut-off points of
the estimated probability of success. One of them is calculated based on
the percentiles of estimated probabilities.
In the previous post,i find that the Hosmer and Lemeshow?s test how to use
in R.
hosmerlem <-
function (y, yhat, g = 10)
{
2003 Oct 20
1
Fitting a Weibull/NaNs
I'm trying to fit a Weibull distribution to some data via maximum
likelihood estimation. I'm following the procedure described by Doug
Bates in his "Using Open Source Software to Teach Mathematical
Statistics" but I keep getting warnings about NaNs being converted to
maximum positive value:
> llfunc <- function (x) { -sum(dweibull(AM,shape=x[1],scale=x[2], log=TRUE))}
>
2007 Jun 19
2
BIC and Hosmer-Lemeshow statistic for logistic regression
I haven't find any helpful thread. How can i calculate BIC and
Hosmer-Lemeshow statistic for a logistic regression model. I have used glm
for logistic fit.
--
View this message in context: http://www.nabble.com/BIC-and-Hosmer-Lemeshow-statistic-for-logistic-regression-tf3945943.html#a11193273
Sent from the R help mailing list archive at Nabble.com.
2008 Sep 22
0
the package of R which is related Hosmer?Lemeshow test?
the package of R which is related Hosmer?Lemeshow test?
--
View this message in context: http://www.nabble.com/the-package-of-R-which-is-related-Hosmer-Lemeshow-test--tp19613179p19613179.html
Sent from the R help mailing list archive at Nabble.com.
2006 Apr 09
1
logistic regression model with non-integer weights
When fitting a logistic regression model using weights I get the
following warning
> data.model.w <- glm(ABN ~ TR, family=binomial(logit), weights=WEIGHT)
Warning message:
non-integer #successes in a binomial glm! in: eval(expr, envir, enclos)
Details follow
***
I have a binary dependent variable of abnormality
ABN = T, F, T, T, F, F, F...
and a continous predictor
TR = 1.962752
2013 Apr 23
1
Hosmer Lemeshow test
Hi to everybody. I use the following routine (i found it in the internet)
to compute the Hosmer-Lemeshow test in the framework of logistic regression.
hosmerlemeshow = function(obj, g=10) {
# first, check to see if we fed in the right kind of object
stopifnot(family(obj)$family=="binomial" && family(obj)$link=="logit")
y = obj$model[[1]]
# the double bracket
2003 Jun 23
0
Reliability analysis and Laplace factor functions
Is there some package out there that implements functions
for reliability analysis, especially for software reliability?
In particular, I'm looking for:
* Laplace factor (Cox & Lewis 1978)
* Goel-Okumoto fitting
Thanks in advance,
-Ekr
--
[Eric Rescorla ekr at rtfm.com]
2003 Jul 17
1
Hosmer- Lemeshow test
dear all,
i made some analysis with logistic regression. do you know if there is
already a function available for the hosmer-lemeshow fitness test?
thank you very much for the help
best wishes
andi
2005 Oct 01
2
update MASS
I'd like to update MASS from version 7.2-11 to version 7-2.19. I am
running R 2.0.1 on ubuntu, that installs MASS with the package r-cran-vr.
I have tried doing update.packages(), and I get a list of packages that
I could update, but none is called MASS.
I have tried the following too, right after launching emacs, but to no
avail.
<QUOTE>
> update.packages("MASS")
trying
2007 May 25
0
Hosmer-lemeshow test for survival
Dear All,
I am looking for function's code to implement the Hosmer-Lemeshow gof test
for survival data.
Could anyone share it?
TIA
Mario
[[alternative HTML version deleted]]
2010 Jul 09
1
Appropriate tests for logistic regression with a continuous predictor variable and Bernoulli response variable
I have a data with binary response variable, repcnd (pregnant or not) and one predictor continuous variable, svl (body size) as shown below. I did Hosmer-Lemeshow test as a goodness of fit (as suggested by a kind “R-helper” previously). To test whether the predictor (svl, or body size) has significant effect on predicting whether or not a female snake is pregnant, I used the differences between
2005 Oct 02
1
rate instead of scale in ?ks.test
I am not sure whether I'm doing something wrong or there is a bug in the
documentation of ks.test. Following the posting guide, as I'm not sure,
I haven't found this in the bug tracker, and the R FAQ says that stats
is an Add-on package of R, I think this is the place to send it.
?ks.test provides the example
<QUOTE>
# Does x come from a shifted gamma distribution with shape 3