Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-18 Thread Luigi Marongiu
Oh, I got it! I was sending the fluorescence instead of the cycles x. Thank you ``` desmos <- rutledge(list(half_fluorescence = 27.1102, slope = 2.76798, max_fluorescence = 11839.8, back_fluorescence = -138.864) , 1:45) ``` On Wed, Mar 17, 2021 at 8:58 PM Duncan Murdoch

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 12:37 p.m., Luigi Marongiu wrote: sorry, I don't get it... Modify your rutledge function to print x, and you'll see the values of high printed. x should be 1:45. Duncan Murdoch On Wed, Mar 17, 2021 at 2:35 PM Duncan Murdoch wrote: On 17/03/2021 6:59 a.m., Luigi Marongiu

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
sorry, I don't get it... On Wed, Mar 17, 2021 at 2:35 PM Duncan Murdoch wrote: > > On 17/03/2021 6:59 a.m., Luigi Marongiu wrote: > > yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + > > B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos > > with? Tx > >

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 6:59 a.m., Luigi Marongiu wrote: yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos with? Tx No, it's not. Duncan Murdoch On Wed, Mar 17, 2021 at 11:31 AM Duncan Murdoch wrote: On

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
yes, but in `rutledge` I model y as `y = (M / ( 1 + exp(-(x-m)/s)) ) + B`, with x being 1:45. Isn't that the equivalent of what I fed Desmos with? Tx On Wed, Mar 17, 2021 at 11:31 AM Duncan Murdoch wrote: > > On 17/03/2021 5:41 a.m., Luigi Marongiu wrote: > > Hello, > > I have a dataset from a

Re: [R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Duncan Murdoch
On 17/03/2021 5:41 a.m., Luigi Marongiu wrote: Hello, I have a dataset from a polymerase chain reaction. I am using the equation given by Rutledge (https://pubmed.ncbi.nlm.nih.gov/15601990/) but the profile I get in R does not match the data. I ran the same thing in Desmos and instead the

[R] modelling 4-parameter curve in R does not match data - how to proceed?

2021-03-17 Thread Luigi Marongiu
Hello, I have a dataset from a polymerase chain reaction. I am using the equation given by Rutledge (https://pubmed.ncbi.nlm.nih.gov/15601990/) but the profile I get in R does not match the data. I ran the same thing in Desmos and instead the profile is correct (attached). Why do I not get the

Re: [R] Modelling non-Negative Time Series

2016-02-01 Thread Giorgio Garziano
https://cran.r-project.org/web/packages/tsintermittent/tsintermittent.pdf Best, -- GG [[alternative HTML version deleted]] __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help

[R] Modelling non-Negative Time Series

2016-01-31 Thread Lorenzo Isella
Dear All, I am struggling to develop a model to forecast the daily expenses from a bank account. The daily time series consists (obviously) of non-negative numbers which can be zero in the days when no money is taken from the bank account. To give you an idea of the kind of series I am dealing

[R] Modelling categorical variables

2015-09-08 Thread Jessica Lavabre
Hi, I am a beginner with statistics and R and have no clue on how to model my data. I have collected information on seed traps (ID) that includes the habitat type (Hab) and different measures of distances. Also I have applied a modularity analysis, so that the seeds traps are grouped into

Re: [R] Modelling categorical variables

2015-09-08 Thread PIKAL Petr
re > Sent: Tuesday, September 08, 2015 11:01 AM > To: r-help@r-project.org > Subject: [R] Modelling categorical variables > > Hi, > > I am a beginner with statistics and R and have no clue on how to model > my data. I have collected information on seed traps (ID) that

[R] Modelling categorical and non-categorical datasets using Artifical Neural Networks

2013-05-29 Thread Shane Carey
Hi, I have to do some Radon modelling and I have categorical and non categorical datasets. I have been considering Artificial Neural Networks to do this. I was wondering has anybody done anything like this before and have you any advice before I start and where there might be some good tutorials

Re: [R] Modelling categorical and non-categorical datasets using Artifical Neural Networks

2013-05-29 Thread Rich Shepard
On Wed, 29 May 2013, Shane Carey wrote: I have to do some Radon modelling and I have categorical and non categorical datasets. I have been considering Artificial Neural Networks to do this. I was wondering has anybody done anything like this before and have you any advice before I start and

Re: [R] modelling and R misconceptions; was: package installtion

2011-11-17 Thread Uwe Ligges
This is hopeless, since you never seem to listen to our advice, therefore this will be my very last try: So you actually need local advice, both for statistical concepts and R related. No statistics software can estimate effects of variables that you observed to be constant (e.g. 0) all the

Re: [R] modelling and R misconceptions; was: package installtion

2011-11-17 Thread Scott Raynaud
: [R] modelling and R misconceptions; was: package installtion This is hopeless [That's a matter of perception-even concentration camp prisoners found a way to hope (see Viktor Frankl)], since you never [never is a strong word and many times leads to cognitive errors] seem to listen to our advice

[R] Modelling poisson distribution with variance structure

2010-08-04 Thread Karen Moore
I'm dealing with count data that's nested and has spatial dependence. I ran a glmm in lmer with a random factor for nestedness. Spatial dependence seems to have been accommodated by model. However I can't add a variance strcuture to this model (to accommodate heterogeneity). Is there a model that

Re: [R] Modelling poisson distribution with variance structure

2010-08-04 Thread Ben Bolker
Karen Moore kmoore at tcd.ie writes: I'm dealing with count data that's nested and has spatial dependence. I ran a glmm in lmer with a random factor for nestedness. Spatial dependence seems to have been accommodated by model. However I can't add a variance strcuture to this model (to

Re: [R] Modelling survival with time-dependent covariates

2010-07-02 Thread Terry Therneau
1-Would informing the algorithm coxph which samples represents the same person (through the use of an Id for example) improve the ?efficiency? of the estimated model? And if so, how should i do that? Using strata()? No, it makes no change. The reason is that the (start, stop] is just a trick.

[R] Modelling survival with time-dependent covariates

2010-07-01 Thread Ben Rhelp
Hi all, I am looking at the tutorial/appendix from John Fox on “Cox Proportional-Hazards Regression for Survival Data” available here: http://cran.r-project.org/doc/contrib/Fox-Companion/appendix-cox-regression.pdf I am particularly interested in modelling survival with time-dependent

[R] Modelling Crystal Growth

2010-06-25 Thread mplar1
Dear all, I would like to hear from anyone who has experience using R to simulate and visualise the formation and growth of crystals. Thank you. mpl -- View this message in context: http://r.789695.n4.nabble.com/Modelling-Crystal-Growth-tp2268746p2268746.html Sent from the R help mailing

[R] Modelling

2009-09-24 Thread Ashta
Dear R-users, Suppose I have the followin g sample of data, 0 1 2 4 3 1 2 1 3 1 1 3 3 4 1 0 1 2 1 2 1 4 1 4 2 1 2 2 1 1 The first variable is the response variable where 0 is defective and 1 normal. The other four factors( x1,x2,x3,x4) that influence

Re: [R] Modelling an incomplete Poisson distribution ?

2009-04-19 Thread Emmanuel Charpentier
Dear Ben, Le samedi 18 avril 2009 à 23:37 +, Ben Bolker a écrit : Emmanuel Charpentier charpent at bacbuc.dyndns.org writes: I forgot to add that yes, I've done my homework, and that it seems to me that answers pointing to zero-inflated Poisson (and negative binomial) are

[R] Modelling an incomplete Poisson distribution ?

2009-04-18 Thread Emmanuel Charpentier
Dear list, I have the following problem : I want to model a series of observations of a given hospital activity on various days under various conditions. among my outcomes (dependent variables) is the number of patients for which a certain procedure is done. The problem is that, when no relevant

Re: [R] Modelling an incomplete Poisson distribution ?

2009-04-18 Thread Emmanuel Charpentier
I forgot to add that yes, I've done my homework, and that it seems to me that answers pointing to zero-inflated Poisson (and negative binomial) are irrelevant ; I do not have a mixture of distributions but only part of one distribution, or, if you'll have it, a zero-deflated Poisson. An answer by

Re: [R] Modelling an incomplete Poisson distribution ?

2009-04-18 Thread Ben Bolker
Emmanuel Charpentier charpent at bacbuc.dyndns.org writes: I forgot to add that yes, I've done my homework, and that it seems to me that answers pointing to zero-inflated Poisson (and negative binomial) are irrelevant ; I do not have a mixture of distributions but only part of one

Re: [R] modelling probabilities instead of binary data with logisticregression

2009-03-25 Thread ONKELINX, Thierry
meys Verzonden: dinsdag 24 maart 2009 20:30 Aan: R-help Mailing List Onderwerp: [R] modelling probabilities instead of binary data with logisticregression Dear all, I have a dataset where I reduced the dimensionality, and now I have a response variable with probabilities/proportions between 0 and 1

Re: [R] modelling probabilities instead of binary data with logisticregression

2009-03-25 Thread joris meys
answer can be extracted from a given body of data. ~ John Tukey -Oorspronkelijk bericht- Van: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] Namens joris meys Verzonden: dinsdag 24 maart 2009 20:30 Aan: R-help Mailing List Onderwerp: [R] modelling probabilities

[R] modelling probabilities instead of binary data with logistic regression

2009-03-24 Thread joris meys
Dear all, I have a dataset where I reduced the dimensionality, and now I have a response variable with probabilities/proportions between 0 and 1. I wanted to do a logistic regression on those, but the function glm refuses to do that with non-integer values in the response. I also tried lrm, but

Re: [R] modelling probabilities instead of binary data with logistic regression

2009-03-24 Thread joris meys
Thank you all for the very fast answers. My proportions come from a factor analysis on a number of binary variables, in order to avoid having to fit 12 logistic regressions on the same dataset. By scaling the obtained scores to 0 and 1, I get weighted averages of the response combinations I'm

Re: [R] Modelling disease spread

2008-02-14 Thread francogrex
Thanks Marcel, In addition to your program and the reference to simecol, someone had replied to my private email pointing out RLadyBug: An R package for stochastic epidemic models which is on CRAN and which seems one of the most relevant. I write it here as a reference for users doing a future

[R] Modelling disease spread

2008-02-13 Thread francogrex
I was at a lecture the other day and I saw a presentation of very neat (short) animation modeling epidemic disease spread over a map region. When I ask what software they used they mentioned SAS. Do you know if there are equivalent resources in R to model the spread of disease with animation

Re: [R] Modelling disease spread

2008-02-13 Thread Bio7
The simecol package is maybe what you want. http://hhbio.wasser.tu-dresden.de/projects/simecol/ http://hhbio.wasser.tu-dresden.de/projects/simecol/ Another possibility is to use a program i've written. Here is a flash presentation maybe also interesting for you.