Displaying 20 results from an estimated 10000 matches similar to: "How to specify minimum and maximum x-axis value in logi.hist.plot?"
2012 May 28
1
need help in logistic regression
Hello everyone,
I tried to understand the relationship between temperature and the
death of an organism by using logistic regression.
glm(formula = Death ~ Temperature, family = binomial(link = "logit"),
data = mydata)
Coefficients:
Estimate Std. Error z value Pr(>|z|)
(Intercept) -87.9161 7.7987 -11.27 <2e-16 ***
Temperature
2017 Nov 05
0
Change colour of line in logi.hist.plot
> On Nov 5, 2017, at 6:03 AM, G?ran Bergqvist <Goran.Bergqvist at jagareforbundet.se> wrote:
>
> I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that.
If you look at the code for that function you see this line:
logi.curve <-
2011 Jun 01
1
Run R script automatically each morning and email results?
Greetings to all --
I am hoping that someone can offer some insight into an area where I have
very little experience. I have written some R code that generates a 90-day
plot of temperature vs. mortality. On whatever day the code is run it will
grab up-to-date vital statistics data from our server and combine it with
up-to-date temperature data from the web. This is a baby step in automated
2017 Nov 05
3
Change colour of line in logi.hist.plot
I am using the function logi.hist.plot in package popbio. I want to change the colour of the probability line from the default red to black. I have not been able to find out how to do that.
[[alternative HTML version deleted]]
2008 Jan 25
1
Poisson Maximum Likelihood Estimation
Hi
I am trying to carry out some maximum likelihood estimation and I'm not
making much headway, and I'm hoping that someone will be able to point me in
the right direction.
I am modelling mortality statistics. One way to do this is to model the
mortality rate (or, more accurately, log of the mortality rate, log_m) as
(say) a constant plus a proportion of age, plus time, so:
r_1 <-
2010 Mar 06
1
Possible to use array of spline functions for storing data?
Dear listeRs;
I am hoping to provide myself the ability to interpolate mortality
estimates within intervals for a range of conditions and ages. I have
four mortality tables derived from the Society of Actuaries 2001 VBT
tables that contains interval mortality rates by starting age and year
of duration. I would like to flexibly interpolate using a large set
(~4MM) of ages and conditions
2018 Feb 27
1
Help
Dear
I hope you are wery well when read this e-mail.My name is Firas ALSHAWY and
I am a Phd student in the high Institute of marine research - tishreen
university- Syria
I would like to want some help my in my research, I have data ( length -
weight - gonad weight - fishing mortality - natural mortality - the number
of fish-temperature of water, maximum age ) , I would like to use the
package (
2012 Jun 16
2
A basic design question for R
Hello R Community,
I have the following design question. I have a data set that looks
like this (shortened for the sake of example).
Gender Age
M 70
F 65
M 70
Each row represents a person with an age/gender combination. We could
put this data into a data frame.
Now, I would like to do some actuarial analysis on this data set. To
do so, I need to create and store
2012 Apr 07
6
Drawing a line in xyplot
i am trying to replicate the following graph using xyplot :
attach(x)
plot ( jitter(type), mortality, pch=16, xlim = c(0.25, 3.75))
lines ( c(1-0.375,1.375) , c ( median(mortality[type==1]),
median(mortality[type==1])), lwd=5,col=2)
lines ( c(2-0.375,2.375) , c ( median(mortality[type==2]),
median(mortality[type==2])), lwd=5,col=2)
lines ( c(3-0.375,3.375) , c ( median(mortality[type==3]),
2011 Feb 23
5
mgcv: beta coefficient and 95%CI
Hi i am doing an environmental research
The equation is as follow:
gam(y1 ~ x1 + s(x2) + s(x3) + s(x4), family = gaussian, fit = true)
I would like to obtain the beta coefficient and 95CI of x4 (or s(x4)), what
should I do?
Thanks,
Lung
--
View this message in context: http://r.789695.n4.nabble.com/mgcv-beta-coefficient-and-95-CI-tp3320491p3320491.html
Sent from the R help mailing list
2013 Nov 17
1
FactoMineR
Hola.
Como te dijo Carlos, el problema está en los nombres de las columnas y en
los nombres de las filas. Cuando hice la importación (con
dd<-read.csv('mortality.csv'), tuve problemas con las filas de nombre:
- Malignant tumour of the larynx trachea bronchus and lungs
- Malignant tumour of the lip pharynx and mouth
- Other endocrinological metabolic and nutritional conditions
2013 Nov 17
4
FactoMineR
Estimados
Queremos con el paquete FactoMineR hacer este tipo de tabla de mortalidad
que lea los datos desde de una tabla csv
Realizamos lo que viene en la ayuda y es muy interesante, sin embargo cuando
mandamos a leer desde la tabla csv original de los autores
no hace el análisis porque algo falta y no nos percatamos de que es. Adjunto
tabla original
Saludos cordiales
#ESTO ES LO QUE
2012 Nov 19
6
How to subset my data and at the same time keep the balance?
Hi guys,
I have 1000 rows of a dataset. In my analysis, I need 70% of the data,
run my analysis and then use the remaining 30% to test my model.
Could anybody kindly help me on this?
Cheers
2012 Jul 01
1
significant difference between Gompertz hazard parameters?
Hello, all.
I have co-opted a number of functions that can be used to plot the
hazard/survival functions and associated density distribution for a Gompertz
mortality model, given known parameters. The Gompertz hazard model has been
shown to fit relatively well to the human adult lifespan. For example, if I
wanted to plot the hazard (i.e., mortality) functions:
pop1 <- function (t)
{
2013 Mar 26
2
GAM model with interactions between continuous variables and factors
Hi all,
I am not sure how to handle interactions with categorical predictors in the
GAM models. For example what is the different between these bellow two
models. Tests are indicating that they are different but their predictions
are essentially the same.
Thanks a bunch,
> gam.1 <- gam(mortality.under.2~ maternal_age_c+ I(maternal_age_c^2)+
+ s(birth_year,by=wealth) +
+
2009 Nov 14
2
formatting dates in axis labels (ggplot2)
I'm having trouble figuring out how to format Date variables when used
as axis labels in graphs.
The particular case here is an attempt to re-create Nightingale's
coxcomb graph with ggplot2,
where I'd like the months to be labeled as "Mar 1885", "Apr 1885", using
a date format
of "%b %Y" applied to label the dates, or really anything other than
2003 Oct 27
1
Bioassays Yielding concentration-Mortality data
Dear all,
I'm trying reproduce an example of bioassays Yielding Concentration-Mortality Data particularly control - adjustment model from book Bioassay of Entomopathogenic Microbes and Nematodes chapter 7 with R.
I used glm with family=binomial and link=probit, but I do not know how to implement parameter gamma (control mortality - mortality of the untreated control insect in this exaple)
2012 Aug 07
2
Passing arguments to a function within a function ...
Hallo Everybody
How do you specify arguments for a function used within another function?
Here is my problem:
I am reconstructing a calculator for the burden of disease due to air
pollution from publications and tools published by the WHO. The
calculations make use of published dose-response relationships for
particular health end-points. This is then applied to populations with
known or
2009 Feb 23
1
why results from regression tree (rpart) are totally inconsistent with ordinary regression
Hi,
In my analysis of impacts of insecticide-treated bednets on malaria, I
look at the relationship between malaria incidence and mosquito
behaviors. The condensed data set is copied here. Ordinary regression
(lm) shows that Incidence was negatively related to Mortality. This
makes sense because the latter reflected the strength of killing
mosquitoes by insecticide-treated nets. Since the
2010 Oct 19
3
plot CI and mortality rate
Dear R Users:
I have the individual mortality rate and 95% CI of 100 hospitals,
how to do the plot with the individual hospital in the Yaxis, and the
mortality rate and 95% CI in the Xais and a overall mean as a reference
line?
Thanks and regards,
Xin
[[alternative HTML version deleted]]