Displaying 20 results from an estimated 3000 matches similar to: "linear terms within a nonlinear model"
2017 Oct 18
4
Error messages using nonlinear regression function (nls)
Hi all,
I am trying to use nonlinear regression (nls) to analyze some seed germination data, but am having problems with error codes.
The data that I have closely matches the germination dataset included in the drc package.
Here is the head of the data
temp species start end germinated TotSeeds TotGerminated Prop
1 10 wheat 0 1 0 20 0 0.0
2 10 wheat
2017 Oct 20
1
Error messages using nonlinear regression function (nls)
Hi
Keep your messages in the list, you increase your chance to get some answer.
I changed your data to groupedData object (see below), but I did not find any problem in it.
plot(wlg)
gives reasonable picture and I am not such expert to see any problem with data. Seems to me, that something has to be wrong with nlsList function.
> wheat.list <- nlsList(Prop ~ SSlogis(end,Asym, xmid,
2003 Oct 29
2
Where is rmutil package?
Pursing my earlier question, when I tried loading Lindsey's gnlm, I got
a
message
Loading required package: rmutil
Warning message:
There is no package called 'rmutil' in: library(package, character.only
= TRUE, logical = TRUE, warn.conflicts = warn.conflicts,
According to the R documentation
http://finzi.psych.upenn.edu/R/doc/html/packages.html
rmutil is in the standard
2005 Apr 15
1
gnlr3 location parameter
Hi list,
my previous question was obviously too basic to deserve an answer -
apologies for that. I'm learning, things can only get better :-)
My current problem is with fitting a generalized gamma distribution with
an additional "shift" parameter, that represents a shift of the
distribution along the X axis.
The gnlr3 function (in Jim Lindsey's GNLM package) fits this
2019 Feb 05
0
Jim Lindsey's packages back on CRAN
R Users,
Jim Lindsey's R packages:
* event: Event History Procedures and Models
* gnlm: Generalized Nonlinear Regression Models
* growth: Multivariate Normal and Elliptically-Contoured Repeated
Measurements Models
* repeated: Non-Normal Repeated Measurements Models
* rmutil: Utilities for Nonlinear Regression and Repeated Measurements
Models
* stable: Probability Functions and
2019 Feb 05
0
Jim Lindsey's packages back on CRAN
R Users,
Jim Lindsey's R packages:
* event: Event History Procedures and Models
* gnlm: Generalized Nonlinear Regression Models
* growth: Multivariate Normal and Elliptically-Contoured Repeated
Measurements Models
* repeated: Non-Normal Repeated Measurements Models
* rmutil: Utilities for Nonlinear Regression and Repeated Measurements
Models
* stable: Probability Functions and
2007 Dec 06
1
differences in using source() or console
Dear all,
Is there *any* reason explaining what I describe below?
I have the following line
myfun(x)
If I type them directly in R (or copy/past), it works..
However if I type in R 2.6.1
> source("code.R") ##code.R includes the above line
Error in inherits(x, "data.frame") : object "d" not found
namely myfun() does not work correctly.
In particular the
2003 Oct 29
1
One inflated Poisson or Negative Binomal regression
Hello
I am interested in Poisson or (ideally) Negative Binomial regression
with an inflated number of 1 responses
I have seen JK Lindsey's fmr function in the gnlm library, which fits
zero inflated Poisson (ZIP) or zero inflated negative binomial
regression, but the help file states that for ' Poisson or related
distributions the mixture involves the zero category'.
I had thought
2008 Apr 10
1
Fit a nonlinear regression model with power exponentially distributed errors
How to fit a nonlinear regression model with power exponentially distributed
errors? I know gnlm has a function gnlr3 that could work, but I would be
grateful if example R code is provided.
Daniel
[[alternative HTML version deleted]]
2017 Oct 20
1
Error messages using nonlinear regression function (nls)
Thank you Martin.
If I understand correctly, OP could do
wheat.list <- nlsList(Prop ~ SSfpl(end, A, B, xmid, scal), data=wlg)
or add some small value to all zeroes
wlg$prop < -wlg$Prop+1e-7
wheat.list <- nlsList(prop ~ SSlogis(end,Asym, xmid, scal), data=wlg)
which gives fairly reasonable results.
plot(augPred(wheat.list))
Am I correct?
Cheers
Petr
> -----Original Message-----
2005 Oct 26
1
help with a self-starting function in nonlinear least squares regression.
Hello. I am having a problem setting up a self-starting function for
use in nonlinear regression (and eventually in the mixed model version).
The function is a non-rectangular hyperbola - called "NRhyperbola" -
which is used for fitting leaf photosynthetic rate to light intensity.
It has one independent variable (Irr) and four parameters (theta, Am,
alpha and Rd). I have created this
2007 Oct 01
0
Clustering literature was Re: nonlinear regression
Hi
It is preferable to echo your posts to r-help, you usually get more
answers and some definitelly superb to mine.
It is also better to start a new mail if your question has nothing to do
with original subject
"Maura E Monville" <maura.monville at gmail.com> napsal dne 01.10.2007
17:44:43:
> Unluckily I do not have the privilege of practising with R all day
> long. I
2001 May 09
3
odesolve check fails
Hi,
I just installed the odesolve package and ran the check command on it. It
failed trying to execute
library(gnlm).
Sure enough, there is no gnlm library on my system and I could not find it
on the CRAN archive either. Am I missing anything obvious or is gnlm some
private library that somehow found its way into the example section of
odesolve?
Thanks in advance,
Andy
2004 Feb 16
1
repeated measures nonlinear regression
Hi,
I found this email on the R website. I am trying to figure out how to
analyse a data set that I believe will need to be run through a procedure
involving repeated measures, regression and mixed models.
The data is of insect populations (dependent variable - either 0/1=binomial,
or as counts=poisson) in sites with different characteristics (multiple
independent variables which are both
2017 Oct 20
0
Error messages using nonlinear regression function (nls)
>>>>> PIKAL Petr <petr.pikal at precheza.cz>
>>>>> on Fri, 20 Oct 2017 06:33:36 +0000 writes:
> Hi
> Keep your messages in the list, you increase your chance to get some answer.
> I changed your data to groupedData object (see below), but I did not find any problem in it.
> plot(wlg)
> gives reasonable picture and I am
2005 Apr 14
0
gnlr/3 question
Hi list,
I'd like to fit generalized gamma and weibull distributions to a number
of data sets. I've been searching around and found references to R and
Jim Lindsey's GNLM package, which has the gnlr and gnlr3 procedures that
can do this.
Now, I'm completely new to R, and I'm working my way through the
introduction... Nevertheless, I'd like to ask if someone could post
2004 Oct 09
0
RE: zero-inflated count models (was polr problem solved)
John Fox wrote
<<<
>From your description, it seems possible that there are too many zeros
for a Poisson or negative-binomial model. Since the focus of your paper
is the methodology, you might want to try a zero-inflated Poisson or
negative-binomial model. Though I haven't tried them, I'm aware of two
sources of R functions for zero-inflated count models -- zeroinfl(),
from
2000 Mar 11
1
polr question
Dear friends.
Do Polr in Mass change the sign of the coefficients ? Example (McCullagh 1980)
options(contrasts=c("contr.treatment","contr.poly"))
library(Mass)
freq <- c(19,29,24,497,560,269)
yy <- ordered(gl(3,1,6))
z4 <- polr(yy~x,weights=freq)
> z4
Call:
polr(formula = yy ~ x, weights = freq)
Coefficients:
x2
-0.6026492
Intercepts:
1|2
2002 Oct 18
0
Question regarding nonlinear regression
Hi all,
I'm trying to calculate a nonlinear regression to get a simpler expression
for a complicated formula.
I expect that a function of the type
1
----------------------------
- (a + b1*x + b2*y)
1 + e
should be a good fit. Now I'm trying to calculate a regression with R and
must admit that I'm slightly confused by the variety of possibilities to
2005 Oct 26
0
self starting function for nonlinear least squares.
Following on my posting of this morning, concerning a problem that I am
having constructing a self-starting function for use with nls (and
eventually with nlsList and nlme), the following is the self-starting
function called NRhyperbola:
> NRhyperbola
function (Irr,theta,Am,alpha,Rd)
{
# Am is the maximum gross photosynthetic rate
# Rd is the dark resiration rate (positive value)
#