s-news
[Top] [All Lists]

Re: help with nonlinear regression (nls or nlme)

To: Nicola Koper <nkoper@yahoo.com>
Subject: Re: help with nonlinear regression (nls or nlme)
From: Jørgen Meisfjord <jorgen.meisfjord@bio.uib.no>
Date: Thu, 21 Sep 2006 08:52:59 +0200
Cc: S-news <s-news@wubios.wustl.edu>
In-reply-to: <20060920214409.6258.qmail@web36209.mail.mud.yahoo.com>
References: <20060920214409.6258.qmail@web36209.mail.mud.yahoo.com>
User-agent: Internet Messaging Program (IMP) 3.1-cvs
Dear Nicola,

I seem to remember having seen a similar error message. It happened when I 
imported data from an Excel worksheet in which rows or records had been 
deleted. Try returning to the worksheet, copy the data to a new Excel file, 
and import the data to S-Plus from the new file.

Good luck!

Jørgen
-- 
Jørgen Meisfjord

Dpt. Biology
University of Bergen
PB. 7800
5020 Bergen
Norway



Sitat Nicola Koper <nkoper@yahoo.com>:

> Hi everyone, 
> 
> I'm just starting to use nlme, and am practicing
> starting with nls (as illustrated on page 347 of
> pinheiro and bates). 
> 
> For learning purposes, I am starting with a simple
> model,
> 
> Model.edge <- nls(richness.song.by.round ~ 
> INT/(1+(0.25*((disttowkm/ICP)^B))),
> data=upland.point.counts.bt.with.wetlands5, start =
> c(INT = 2, ICP = 1, B = 1))
> 
> I am getting the error "546 NAs found in value, while
> calling subroutine do_nls"
> 
> This is suspicious, as there are 547 rows of data, but
> I can't figure out the specific problem as neither the
> response variable nor the independent variable
> (disttowkm) have missing values.
> 
> Any help would be appreciated.
> Nicky
> 
> 
> 
> ************************************************************
> 
> Dr. Nicola Koper
> Assistant Professor
> Natural Resources Institute
> University of Manitoba
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> --------------------------------------------------------------------
> This message was distributed by s-news@lists.biostat.wustl.edu.  To
> unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
> the BODY of the message:  unsubscribe s-news
> 

<Prev in Thread] Current Thread [Next in Thread>