Displaying 8 results from an estimated 8 matches for "exponetial".
Did you mean:
exponential
2018 Apr 05
2
Obtain gradient at multiple values for exponetial decay model
Readers,
Data set:
t,c
0,100
40,78
80,59
120,38
160,25
200,21
240,16
280,12
320,10
360,9
400,7
graphdata<-read.csv('~/tmp/data.csv')
graphmodeld<-lm(log(graphdata[,2])~graphdata[,1])
graphmodelp<-exp(predict(graphmodeld))
plot(graphdata[,2]~graphdata[,1])
lines(graphdata[,1],graphmodelp)
Please what is the function and syntax to obtain gradient values for the model curve at
2018 Apr 05
0
Obtain gradient at multiple values for exponetial decay model
This smells like homework, which the Posting Guide indicates is off topic.
I am not aware of "the function" that will solve this, but if you know what a gradient is analytically then you should be able to put together a solution very similar to the code you already have with the addition of using the coef function.
--
Sent from my phone. Please excuse my brevity.
On April 5, 2018
2018 Apr 06
0
Obtain gradient at multiple values for exponetial decay model
Try
coef( graphmodeld )
And you don't need to approximate if you use the newdata argument to the predict function.
I think reading the "Introduction to R" that comes with R would help.
--
Sent from my phone. Please excuse my brevity.
On April 5, 2018 2:00:45 PM PDT, g l <gnulinux at gmx.com> wrote:
>> Sent: Thursday, April 05, 2018 at 4:40 PM
>> From:
2018 Apr 06
0
Obtain gradient at multiple values for exponetial decay model
> On Apr 5, 2018, at 2:00 PM, g l <gnulinux at gmx.com> wrote:
>
>> Sent: Thursday, April 05, 2018 at 4:40 PM
>> From: "Jeff Newmiller" <jdnewmil at dcn.davis.ca.us>
>>
>> the coef function.
>>
>
> For the benefit of other novices, used the following command to read the documentation:
>
> ?coef
>
> Then tried and
2018 Apr 05
4
Obtain gradient at multiple values for exponetial decay model
> Sent: Thursday, April 05, 2018 at 4:40 PM
> From: "Jeff Newmiller" <jdnewmil at dcn.davis.ca.us>
>
> the coef function.
>
For the benefit of other novices, used the following command to read the documentation:
?coef
Then tried and obtained:
> cvalue100<-coef(graphmodelp~100)
> cvalue100
NULL
Then looked at the model values which of course correspond
2004 May 09
1
need help: regression models
...nd the best fit model for them.
First, this data are in a matrix. Each of the columns are treatments and the raws are repetions for the each tratment.
So, i've already maden one chart with all the boxplot graphic, for each treatment.
Now, i need to find the best fit model for them, i know that exponetial or log model would be perfect in this situation (both can help me)
Therefore, i need to find the best exponential model for this data, and i would like draw this tendence line in my boxplot (if it is possible, of course.)
if someone could help me i would be appreciated.
i am trying to solve thes...
2003 Mar 14
3
Outlook .pst files on Samba PDC
Occasional problems arise where the .pst file just will not copy from the
users profile on the server. Doesn't seem to be related to the file size.
Has anyone had issues with outlook and Samba PDC - (win2k clients).
Solutions that have worked have ranged from complete loss of the .pst file
to restarting users profile from scratch. thanks
Alex Genna
2011 Dec 10
2
p-value for hazard ratio in Cox proportional hazards regression?
Hi,
I'm new to R and using it for Cox survival analysis. Thanks to this great forum I learned how to compute the HR with its confidence interval.
My question would be: Is there any way to get the p-value for a hazard ratio in addition to the confidence interval?
Thanks,
Thierry
--
Thierry Panje Visiting Student Researcher
Department of Psychology Stanford