Thank you very very much... It's perfect to my goal...
--
View this message in context:
http://r.789695.n4.nabble.com/Exponential-distribution-tp3394476p3396803.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org maili
Try this
x <- seq(0,15,0.01)
plot(x+1, dexp(x, 0.2), c(0,15), c(0,0.8),type="l", ylab="f(x)")
lines(x+1, dexp(x, 0.8))
grid()
abline(v=1, col="lightgray", lty="dotted",)
Best
ep
--
View this message in context:
http://r.789695.n4.nabble.com/Exponential-distribution-tp3394476p3395829.html
Sen
The code is like this:
plot(0,0, type="n", xlim=c(1,15), ylim=0:1, xlab="...",
ylab="...", main="Example)
lines(1:15, line1, col=4)
lines(1:15, line2, col=2)
legend("topright", c("alpha = 0.2", "alpha = 0.4"), col=c(4,2), lty=1)
How can I build the vectors line1 and line2 ?
--
View this messag
Dear R-users,
I have to plot a exponential distribution like the plot in the pdf
attached. I've write this code but I don't know how to draw the two lines..
Can anyone help me please?
Thank you very much
Pippo http://r.789695.n4.nabble.com/file/n3394476/exponential_smoothing.pdf
exponentia
What do you mean by 'correct' here? If you do manually what glm() does,
you would expect to get the same answer, but that is not independent
verification.
As far as I recall either glm nor survreg are calculation the exact
variance in this case -- they are both making use of asymptotic theory
Dear all,
I've tried to solve the Es. 12, cap 4 of "Introduction to GLM" by Annette
Dobson.
It's about the relationship between survival time of leukemia patients and
blood cell count.
I tried to fit a model with exponential distribution, first by glm (family
gamma and then dispersion paramete
6 matches
Mail list logo