Displaying 20 results from an estimated 100 matches similar to: "self-starter functions for y = a + b * c^x"
2008 Nov 08
3
Fitting a modified logistic with glm?
Hi all,
Where f(x) is a logistic function, I have data that follow:
g(x) = f(x)*.5 + .5
How would you suggest I modify the standard glm(..., family='binomial')
function to fit this? Here's an example of a clearly ill-advised attempt to
simply use the standard glm(..., family='binomial') approach:
########
# First generate some data
########
#define the scale and location of
2008 Apr 03
1
help with R semantics
Greetings:
I'm running R2.6.2 on a WinXP DELL box with 2 gig RAM.
I have created a new glm link function to be used with family = binomial.
The function works (although any suggested improvements would be welcome),
logit.FC <- function(POD.floor = 0, POD.ceiling =1)
{ if (POD.floor < 0 | POD.floor > 1) stop ("POD.floor must be between zero
and one.")
if
2011 Feb 15
1
Passing Arguments in a function
Hi All,
I'm having some trouble assigning arguments inside a function to
produce a plot from a model
Can anyone help me? Below I've outlined the situation and examples of
failing and working code.
Regards
Mike
## data ##
decay.data <- ...
behaviors lift reach.uu estimated.conversions.uu total.reach
1 1 432.0083 770 770 0.00
2
2008 Aug 21
5
psychometric functions
Hi,
I want to fit some psychophysical data with cumulative gaussians. There is
quite a convenient toolbox for matlab called 'psignifit' (formerly known as
'psychofit'). It allows the lower bound of the sigmoid to vary slightly from
zero, aswell as the upper bound to vary from one. with these two free
parameters, the fitted function is less sensitive to noisy data and
outliers.
2009 Jan 23
2
R for Computational Neuroscience?
Hi all,
I've noticed that many computational neuroscience research groups use
MATLAB. While it's possible that MATLAB may have some features
unavailable in R, I suspect that this may instead simply be a case of
costly tradition, where researchers were taught MATLAB as students and
pay for it as researchers because it's all they know.
I'd like to attempt to break the cycle by
2013 Oct 03
2
SSweibull() : problems with step factor and singular gradient
SSweibull() : problems with step factor and singular gradient
Hello
I am working with growth data of ~4000 tree seedlings and trying to fit non-linear Weibull growth curves through the data of each plant. Since they differ a lot in their shape, initial parameters cannot be set for all plants. That’s why I use the self-starting function SSweibull().
However, I often got two error messages:
2001 Jul 02
1
nls newbie: help approximating Weibull distribution
Hi folks,
I tried to retain the Weibull distribution using the `nls' function
and proceeding along the lines of the example provided in the
`SSweibull' help (at least I thought so):
t <- (1:200)/100
v <- pweibull(t, shape=3, scale=1)
df <- data.frame(Time=t, Value=v)
Asym <- 1.0; Drop <- 1.0; lrc <- 0; pwr <- 1
df.estimate <- nls(Value ~ SSweibull(Time,
2011 Feb 11
1
Passing function arguments
Hi All,
Im looking for some help passing function arguments and referencing them,
I've made a replica, less complicated function to show my problem, and how
i've made a work around for this. However i suspect there is a _FAR_ better
way of doing this.
If i do:
BuildDecayModel <- function(x = "this", y = "that", data = model.data) {
model <- nls(y ~ SSexp(x,
2007 May 29
0
new packages psyphy and MLDS
New packages psyphy and MLDS are available on CRAN:
psyphy ncludes an assortment of functions
useful in analyzing data from pyschophysical experiments. It
includes functions for calculating d' from several
different experimental designs, links for mafc to be
used with the binomial family in glm (and possibly
other contexts) and selfStart functions for estimating gamma values
2007 May 29
0
new packages psyphy and MLDS
New packages psyphy and MLDS are available on CRAN:
psyphy ncludes an assortment of functions
useful in analyzing data from pyschophysical experiments. It
includes functions for calculating d' from several
different experimental designs, links for mafc to be
used with the binomial family in glm (and possibly
other contexts) and selfStart functions for estimating gamma values
2009 May 19
4
nlrwr package. Error when fitting the optimal Box-Cox transformation with two variables
Dear all:
I'm trying to fit the optimal Box-Cox
transformation related to nls (see the code
below) for the demand of money data in Green (3th
Edition) but in the last step R gives the next
error message.
Error en
`[.data.frame`(eval(object$data), ,
as.character(formula(object)[[2]])[2]) :
undefined columns selected.
?Any idea to solve the problem?
Thanks in advance,
2008 Jan 22
2
extension to nlme self start SSmicmen?
Dear list,
Has anyone created a version of SSmicmen that allows testing for group
differences? The basic Michaelis-Menten equation is:
(Bmax * X) / (Kd + X).
The nlme package allows modeling of random effects for Bmax and Kd as
needed, but I curious how I can build in group differences? I have
receptor binding data for strains of mice, and following Pinheiro and
Bates' lead in their
2001 May 23
2
help: exponential fit?
Hi there,
I'm quite new to R (and statistics),
and I like it (both)!
But I'm a bit lost in all these packages,
so could someone please give me a hint
whether there exists a package for fitting
exponential curves (of the type
t --> \sum_i a_i \exp( - b_i t))
on a noisy signal?
In fact monoexponential decay + polynomial growth
is what I'd like to try.
Thanks in advance,
2004 Feb 04
1
Fitting nonlinear (quantile) models to linear data.
Hello.
I am trying to fit an asymptotic relationship (nonlinear) to some
ecological data, and am having problems. I am interested in the upper
bound on the data (i.e. if there is an upper limit to 'y' across a range
of 'x'). As such, I am using the nonlinear quantile regression package
(nlrq) to fit a michaelis mention type model.
The errors I get (which are dependant on
2013 Apr 23
2
SSbiexp
Hello all!
I have a problem to use a biexponential regression model:
I use this code:
n3<-nls(proc~SSbiexp(cls,a,b,c,d),data=bline) and this is the error message:
Error in nls(y ~ cbind(exp(-exp(lrc1) * x), exp(-exp(lrc2) * x)), data =
xy, :
singular gradient
My data is like this:
structure(list(proc = c(387.177462830167, 508.090511433077,
321.836817656365,
151.226805860727,
2006 Jun 03
0
IBM''s Starter Toolkit for DB2 on Rails (Windows only, at present)
I just saw this mentioned on OSNews:
http://www.alphaworks.ibm.com/tech/db2onrails?open&S_TACT=105AGX59&S_CMP=GR&ca=dgr-lnxw07awdb2onrails
(or http://tinyurl.com/o9npt)
From that page:
<quote>
What is Starter Toolkit for DB2 on Rails?
Users starting with Ruby and Rails are faced with the task of
downloading source code, obtaining compilers, compiling code, and
finding a
2013 Aug 29
0
[PATCH] Btrfs: don't use an async starter for most of our workers
We only need an async starter if we can''t make a GFP_NOFS allocation in our
current path. This is the case for the endio stuff since it happens in IRQ
context, but things like the caching thread workers and the delalloc flushers we
can easily make this allocation and start threads right away. Also change the
worker count for the caching thread pool. Traditionally we limited this to 2
2011 Oct 21
2
Re: Quicken 2011 Starter Edition, installs, crashes when run
I have been a Quicken user for many years but my upgrade to Mac Lion has ruined that good experience. It seems you do not care about Apple users.
2010 Sep 13
0
New Starter - Zach Leslie
Hi all
We''re pleased to announce Zach Leslie has joined us as an Operations
Engineer.
Zach is going to be managing internal infrastructure and support as well
as getting involved here and on IRC in helping people out with issues.
Zach had this to say about himself:
***
My professional geekery started as a sysadmin for a small start-up while
I was studying open source and deciding to
2011 Jan 17
1
Quicken 2011 Starter Edition, installs, crashes when run
I have a legal version of Quicken 2011 Starter Edition, and I am trying to install it using Wine on my up to date Linux Mint install (Mint 10 "Julia" based on Ubuntu Maverick)
I have tried this a couple of ways: using Wine from the default repos (1.2.10 I think?) as well as wine from the WineHQ site (1.3.11)
I have tried this install method: