Displaying 20 results from an estimated 900 matches similar to: "Solving a multinomial gompertz partial differential equation in r"
2012 Dec 05
2
stiff delay differential equations
Hello List,
Can you recommend me if odeSolve can handle stiff delay differential equations
with discontinuities? Or any other package?
Best,
-m
2010 Apr 26
1
finite difference scheme for 2D differential equations
Hello everyone,
I am trying to solve 2D differential equations using finite difference
scheme in R. I have been able to work with the equations with only one
spatial dimensions but I want to extend it to the two dimensional problem.
For example i can simulate one dimensional diffusion using a code like the
following. But I want to write a similar code for,say, a two dimensional
diffusion
2004 Jun 02
2
poisson regression with robust error variance ('eyestudy')
Dear all,
i am trying to redo the 'eyestudy' analysis presented on the site
http://www.ats.ucla.edu/stat/stata/faq/relative_risk.htm
with R (1.9.0), with special interest in the section on "relative risk
estimation by poisson regression with robust error variance".
so i guess rlm is the function to use. but what is its equivalent to the
glm's argument "family"
2012 Nov 15
2
survreg & gompertz
Hi all,
Sorry if this has been answered already, but I couldn't find it in the
archives or general internet.
Is it possible to implement the gompertz distribution as
survreg.distribution to use with survreg of the survival library?
I haven't found anything and recent attempts from my side weren't
succefull so far.
I know that other packages like 'eha' and
2006 Nov 06
4
neg-bin clustered analysis in R?
Dear All,
I'm analysing a negative binomial dataset from a population-based
study. Many covariates were determined on household level, so all
members of a household have the same value for those covariates.
In STATA, there seems to be an option for 'clustered analysis' for
neg-bin regression. Does an equivalent exist for R(MASS)'s glm.nb or a
comparable function?
Many thanks for
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)
{
2012 Apr 23
0
summing two probability density functions from Gompertz hazard model
Hi, r-help members.
I have a question about summing two density distributions. I have two
samples from which I've estimated hazard parameters for a Gompertz mortality
model. With those parameters, I can calculate the PDF (survival function
times hazard function) of ages-at-death in a birth cohort subject to the
hazard function at each age. I'd like to combine these two density
2012 Apr 16
0
Gompertz-Makeham hazard models---test for significant difference
Hi, all.
I'm working with published paleodemographic data (counts of skeletons that
have been assigned into an age-range category, based upon observed
morphological characteristics). For example, the following is the age
distribution from a prehistoric cemetery in Egypt:
naga <-
2011 Aug 16
1
Fit Gompertz' curve'
Hi,
I build a graph taking into account the times: 1,
2,4,6,8,10,12,15,18,21,24,28,32 and 48.
Be that the scale of the X axis does not look right. It
seems equidistant. (graph attached)
What changes have I to do in the following commands so that
the scale be correct?
interaction.plot(Tempo, Trat, Valor, ylim=c(0, 2), las=1,
lty=c(1,2,3,4), lwd=3, bty='l',
2009 Mar 06
1
fitting a gompertz model through the origin using nls
Dear all!
I tried to fit Gompertz growth models to describe cummulative germination rates
using nls. I used the following code:
germ.model<-nls(percent.germ~a*exp(-b*exp(-k*day)),data=tab,start=list(a=100,b=10,k=0.5))
My problem is that I want that the fitted model goes through the origin, since
germination cannot start before the experiment was started, and y-max should be
100.
Does anyone
2010 Feb 05
1
Using coxph with Gompertz-distributed survival data.
Dear list:
I am attempting to use what I thought would be a pretty straightforward practical application of Cox regression. I figure users of the survival package must have come across this problem before, so I would like to ask you how you dealt with it. I have set up an illustrative example and included it at the end of this post.
I took a sample of 100 data points from each of two populations
2008 Nov 12
3
Fitting data to a sigmoidal curve
Hi-
I'm a biologist trying to figure out the growth rate of salamanders in
different ponds. I collected individuals from various populations at
different dates, and using the size and date collected, I want to figure out
the growth curve of each population. My question is: How do I fit my data to
a Gompertz function in R?
Thank you so much!
Sarah
--
View this message in context:
2007 Jul 11
1
Stepwise GLM selection by LRT?
Dear List,
having searched the help and archives, I have the impression that
there is no automatic model selection procedure implemented in R that
includes/excludes predictors in logistic regression models based on
LRT P-values. Is that true, or is someone aware of an appropriate
function somewhere in a custom package?
Even if automatic model selection and LRT might not be the most
appropriate
2006 Jan 31
1
Mixed-effects models / heterogeneous covariances
Dear R-list,
maybe someone can help me with the following mixed-effects models
problem, as I am unable to figure it out with the 'nlme-bible'.
I would like to fit (in R, obviously) a so-called animal model (google
e. g. "Heritability and genetic constraints of life-history" by Pettay
et al.) to estimate the variance component that is due to genetic
effects. The covariances of
2012 Sep 14
2
Creation of text files for use with UCODE_2005
Hello,
I'm new to R-help, although I am a frequent user of its resources. I am
using the package REACTRAN to run some relatively simple transport modeling
(which we hope will evolve greater functionality over time). I would like to
optimize model parameters to match observed field data, and am interested in
using UCODE_2005 for this, which our lab has previously used to great
success.
The
2010 Oct 24
1
building compiled help html files
Dear R People
I figured it out. I should RTFM before asking questions, particularly
on Saturday nights!
Thanks for your patience.
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
mailto: erinm.hodgess at gmail.com
2006 Jun 12
2
solving first-order differential equation
I am an initial user of R. Could you give me some explanations or examples on how to solve the first order differential equations by the first-order Runge-Kutta method?
Thank you very much
Kind regards
2017 Dec 19
1
Partial differential equation
Hello, I am having troubles with heat conduction problem. Below is the
given information. Should I move forward with this problem like any other
1-D PDE?
?T/?t = a* (?^2T/?x^2)
I.C. For t = 0 and 0 ? x ? 10, T = 0 ?C
B.C. For x = 0 cm and all t , T = 100?C
For x = 10 cm and all t , T = 0 ?C
The thermal diffusivity is a = 2.0 cm^2 /s.
I also added what I have for code in R. Any help will
2012 Jul 18
1
Defining a variable outside of optim or differential equation solver.
This is applicable to either using optim or the differential equation
solver or any similar solver
Suppose I want to use the differential equation solver and this is my code
d<-y[2]
vdpol<-function(t,y)
{
list(c(1,
d,
3,
4
)
}
stiff<-ode(y=rep(0,4),times=c(0,1),func=dvdpol,parms=1)
The thing is I want d to be composed of one of state variables in the
2008 Oct 15
1
parameter assessment in differential equation
Hi,
I'd like to know whether R is capable to assess parameters in a model
describing the kinetic of a pollutant adsorption onto activated carbon.
A common relation is for instance the Adam-Bohart-Thomas' one:
dx/dt = K1 * (qm-x)*C - K2x
where {K1,K2} are the unknown paramters and {qm,C} are known parameters
Of course I get experimental data sets of measured x as a function of time.