Displaying 20 results from an estimated 2000 matches similar to: "Prediction plot for logistic regression output"
2010 Apr 06
1
GAMs and survival data
Hello. I'm trying to analyze data, which is looking at the relationship between temperature and survival for fish (from fertilization to emergence). Looking at the raw data, there appears to be a bell shaped relationship. Ordinarily for survival data, I would run a generalized linear model (because the data has a binomial error structure). However, I am thinking that running a generalized
2008 Aug 25
1
"unexpected symbol" error?
Hi. I am getting an "unexpected symbol" error, which I haven't gotten
before. I have checked my data and searched the FAQ. I hoping someone
has a suggestion on what I might be doing wrong? Thanks!
A. Gray
Fisheries Consultant
Here's the code I'm using and the error:
> 0708smolts <- read.csv("C:\Documents and Settings\ayesha\My
2008 Feb 27
2
Winbind+ldap = core dump
Hi,
I use samba 3.0.26a on fedora 8 as a fileserver for a win 2k3 domain. This
has worked fine for about 2 months without any problems. However I came to
the server 3 days ago and the harddrive was 100% full. On checking I found
60gb of core dumps in the winbind folder. I did a lot of searching and
couldnt find anything relevent for this release. I tried upgrading samba to
3.0.28 (fc8
2004 Mar 01
1
glm logistic model, prediction intervals on impact af age 60 compared to age 30
Dear R-list.
I have done a logistic glm using Age as explanatory variable for some
allergic event.
#the model
model2d<-glm(formula=AEorSAEInfecBac~Age,family=binomial("logit"),data=emrisk)
#predictions for age 30 and 60
preds<-predict(model2d,data.frame(Age=c(30,60)),se.fit=TRUE)
# prediction interval
2010 Aug 07
2
R: Confidence Intervals for logistic regression
a closer look to the help on predict.glm will reveal that the function
accepts a 'type' argument.
In you case 'type = response' will give you the results in probabilities
(that it seems to be what you are looking for).
There also is an example on use of the 'type' argument at the end of the
page.
Stefano
-----Messaggio originale-----
Da: r-help-bounces at r-project.org
2010 Sep 24
3
Odds ratio from Logistic model in R
Hi, I am new to R. Anyone can explain the following from R-help or
anyone can direct me how to calculate odds ratio from logistic model in
R. Thank you very much. Guoya
Stefano <stecalza at tiscalinet.it
<https://stat.ethz.ch/mailman/listinfo/r-help> > writes:
>Hi all.
>
>A simple question.
>Is there a function to compute the Odds Ratio and its confidence
intervall,
2001 Mar 05
1
Odds Ratio from Logistic Model
Hi all.
A simple question.
Is there a function to compute the Odds Ratio and its confidence intervall, from a logistic model (glm(.......,family=binomial....). I've written my own, but certainly someone did a better job.
Thank you in advance,
Stefano
***********************************************
Stefano Calza
Istituto di Statistica Medica e Biometria
Universit? degli Studi di Milano
Via
2006 Apr 03
1
Does logistic regression require the independence of samples?
Dear list:
Thanks a lot for help. I have a question and I could not find clear answers
easily.
When we do logistic regression for one type of events of interest as a
proportion of a broader types of events, does the logistic regression assume
that the number of whole types of events should be independent with the
number of type of interest?
For example, if one type of events and the whole type
2012 May 03
1
overlapping confidence bands for predicted probabilities from a logistic model
Dear list,
I'm a bit perplexed why the 95% confidence bands for the predicted probabilities for units where x=0 and x=1 overlap in the following instance.
I've simulated binary data to which I've then fitted a simple logistic regression model, with one covariate, and the coefficient on x is statistically significant at the 0.05 level. I've then used two different methods to
2012 Jan 18
4
confint function in MASS package for logistic regression analysis
I have the following binary data set:
Sex
Response 0 1
0 159 162
1 4 37
My commands
library(MASS)
sib.glm=glm(sib~sex,family=binomial,data=sib.data)
summary(sib.glm)
The coefficients in the output are
Estimate Std. Error z value Pr(>|z|)
(Intercept) -3.6826 0.5062 -7.274 3.48e-13
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
2005 Aug 26
1
compare c-index of two logistic models using rcorrp.senc() of the Hmisc library
Dear R-help,
Would it be appropriate to do the following to
calculate a p-value for the difference between c-ind
of x1 and c-inx of x2 using the output from
rcorrp.senc()
> r<-rcorrp.senc(x1,x1,y)
> pValue<-1-pnorm((r[11]-r[12])/(r[2]/r[5])*1.96)
Osman O. Al-Radi, MD, MSc, FRCSC
Chief Resident, Cardiac Surgery
University of Toronto, Canada
2007 Dec 07
1
paradox about the degree of freedom in a logistic regression model
Dear all:
"predict.glm" provides an example to perform logistic regression when the
response variable is a tow-columned matrix. I find some paradox about the
degree of freedom .
> summary(budworm.lg)
Call:
glm(formula = SF ~ sex * ldose, family = binomial)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.39849 -0.32094 -0.07592 0.38220 1.10375
2011 Sep 13
0
nls, the four parameter logistic equation, and prediction band
The error msg is telling you that R cannot evaluate the loss function, so you should not
expect answers.
You might try examining the data -- Are there NA or Inf entries?
Or prepare a dataframe with just X and Y, sort by X and graph.
Then check the nls computations by sampling, say, every 100 X's to give you a dataset with
about 160 observations. If that doesn't work, it is at least
2010 Jul 21
1
prediction from a logistic mixed effects model
Hi,
Is there any similar command to "predict" which can be used with a logistic
random effects model?
I have run a random effects model using "lme()", and then use
"predict.lme()" with no problems.
However, I would also like to run a logistic random effects model, and then
also run a predict command on the logistic random effects model.
If I use "lme()",
2024 Sep 03
0
How R calculates SE of prediction for Logistic regression?
Hi,
I have below logistic regression
Dat =
read.csv('https://raw.githubusercontent.com/sam16tyagi/Machine-Learning-techniques-in-python/master/logistic%20regression%20dataset-Social_Network_Ads.csv')
head(Dat)
Model = glm(Purchased ~ Gender, data = Dat, family = binomial())
How I can get Standard deviation of forecasts as
head(predict(Model, type="response", se.fit =
2011 Oct 25
2
Logistic Regression - Variable Selection Methods With Prediction
Hello,
I am pretty new to R, I have always used SAS and SAS products. My
target variable is binary ('Y' and 'N') and i have about 14 predictor
variables. My goal is to compare different variable selection methods
like Forward, Backward, All possible subsests. I am using
misclassification rate to pick the winner method.
This is what i have as of now,
Reg <- glm (Graduation ~.,
2005 May 26
0
Confidence intervals for prediction based on the logistic equation
Greetings,
We are performing a meta-analysis of mink pup survival data versus
chemical concentration. We have modeled percent survival successfully
using nls as shown below and the plot. What we need to do is construct a
confidence interval on the concentration at which we get 50% survival
(aka the EC50, although we may want other percent survivals in the
future). My first question is, what seems
2009 Mar 31
1
Can not get a prediction interval from Predict
I am trying to get a prediction interval from a glm regression.
With newdat being my set of values to be fitted, and glmreg the name of my
regression, I am using the following code.
predict(glmreg, newdat, se.fit = TRUE, interval = "confidence", level =
0.90)
The problem is that I am only getting the standard error and the fitted
value, not a prediction interval.
Any help would be
2008 Dec 16
1
Prediction intervals for zero inflated Poisson regression
Dear all,
I'm using zeroinfl() from the pscl-package for zero inflated Poisson
regression. I would like to calculate (aproximate) prediction intervals
for the fitted values. The package itself does not provide them. Can
this be calculated analyticaly? Or do I have to use bootstrap?
What I tried until now is to use bootstrap to estimate these intervals.
Any comments on the code are welcome.