Displaying 20 results from an estimated 2000 matches similar to: "Assessing fit for non-nested models using clogit in survival package"
2016 Apr 26
0
survival::clogit, how to extract residuals for GOF assessment
Hi Folks,
Hopefully this question has enough R and not too much stats to be
appropriate for this list. Based on,* Hosmer et al. 2013. Logistic
regression for matched case-control studies. Applied Logistic
Regression *(eqtn.
7.8)*, *I am assessing GOF of conditional (or matched) logistic regression
models with the *standardized Pearson residuals*. The authors define
?large? as delta chi-squared
2008 Nov 07
0
clogit and small sample sizes: what to do?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Conditional logistic regression and small sample sizes: what to do?
Dear R-Gurus,
[I run R 2.8.0 on WinXP. I have no formal training in statistics.]
Please feel free to skip the 'Blah blah part' for questions below.
- ---Blah blah part--------
Why I use clogit (package 'survival')?: I am looking for risk factors
for cases during a
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
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]]
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 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)
{
2006 Jul 29
0
Help with clogit in survival - conditional logistic regression
Dear All:
I have been struggling to run the conditional logistic regression on a
dataset. I am using clogit function in survival package. Here is how the
data is generated. I tried to shorted the data by using the second count
variable but still the clogit did not run. Why I am not able to run clogit
on my dataset. I appreciate any input.
Regards,
Ashraf
age <- c(rep(0,8),rep(1,8))
scc <-
2006 Apr 06
0
More Logistic Regression Tools?
Frank E Harrell Jr wrote:
> Eric Rescorla <ekr at rtfm.com> wrote:
>
>> (2) I'd like to compute goodness-of-fit statistics for my fit
>> (Hosmer-Lemeshow, Pearson, etc.). I didn't see a package that
>> did this. Have I missed one?
>
> Hosmer-Lemeshow has low power and relies on arbitrary binning of
> predicted probabilities. The Hosmer-Le Cessie
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.
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
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 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 Feb 19
1
exact confidence intervals for conditional logistic regression
Dear R folks,
We completed a matched case-control study that was analyzed using
conditional logistic regression. Because of the small sample size we need
to calculate exact confidence intervals. The quick solution is to purchase
LogExact by Cytel. However, we'd like to do this in R. Anyone have
experience with this?
Many thanks,
Tomas
____________________________________
Tomas Aragon, MD,
2005 Jun 10
1
Estimate of baseline hazard in survival
Dear All,
I'm having just a little terminology problem, relating the language used in
the Hosmer and Lemeshow text on Applied Survival Analysis to that of the
help that comes with the survival package.
I am trying to back out the values for the baseline hazard, h_o(t_i), for
each event time or observation time.
Now survfit(fit)$surv gives me the value of the survival function,
S(t_i|X_i,B),
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
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 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 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
2002 Jan 13
0
weighted regression: Osius & Rojek's test for logistic regression models
Dear all,
I am trying to implement goodness-of-fit tests for logistic regression
models described in : Hosmer, D.W., Lemeshow, S., 2000. Applied logistic
regression. New-York, John Wiley & Sons, Inc., 373 p. (pp. 152-154)
Namely I would like to reproduce Osius & Rojek's test (Osius, G., Rojek,
D., 1992. Normal goodness-of-fit tests for multinomial models with large
degrees of