Questions tagged [nls]

nls refers to nonlinear least-squares and is a function in R that allows to estimate the parameters of a nonlinear model.

nls should not be confused with nls-lang which is an environment variable for Oracle databases.

670 questions
0
votes
1 answer

Change decimal separator in windows xp with php 5.3 and oracle 10g

I have two computers : Server : Centos. PC Developer: windows xp Both: apache php 5.3 connection with the same BD. My table has a number column. When I print the number column in php, the output is : Server : 12.244 12.890 Pc…
JohnPortella
  • 1,791
  • 5
  • 21
  • 30
0
votes
1 answer

R: Error in function "nls" for my datset

I have data with climatological pressure values and the heights of the stations where the pressure was measured. I would like to fit an exponential model to them. The data look like this: x [1] 539 575 1320 438 1840 496 316 552 325 386 1599…
user3017048
  • 2,711
  • 3
  • 22
  • 32
0
votes
0 answers

Oracle NLS function/settings file location

I am working on a Oracle Jdeveloper project that was made by another person which I can no longer contact. On the code he uses this: nls['NO_ROWS_FOUND']. I have made some searches and I found that this goes to file that stores oracle environment…
0
votes
0 answers

how to specify objective function in nls() function in R

I have created an objective function f(x0) that returns sum of squares between actual and theoretical values by specifying intial guess x0. How do I specify minimization problem using nls() function? Thanks in advance.
dmitry
  • 424
  • 5
  • 13
0
votes
0 answers

Nonlinear model with nls(): Error: Parameters without initial values

I would like to estimate a nonlinear regression model of the following kind: y=ß0 + ß1*( b[1,theta]*x1 + b[2,theta]*x2 )+ e Description of the elements: y: the regressand x1: regressor 1 x2: regressor 2 ß0: parameter to be estimated ß1: parameter…
DatamineR
  • 10,428
  • 3
  • 25
  • 45
0
votes
1 answer

The NLS_DATE_FORMAT parameter is not being set using dynamic SQL

I have a stored procedure with dynamic SQL that creates a table and calls another procedure to insert some values into the table. The stored procedure also sets some session settings, one of which is the NLS_DATE_FORMAT. This parameter is not…
user2063351
  • 503
  • 2
  • 13
  • 31
0
votes
1 answer

Use R-function "nls" to estimate GEV parameters

I want to estimate the parameters of a GEV (generalized extreme value) distribution using the method of weighted least squares. I use R, and I found a function called nls which I think might be used for this purpose. It asks for a formula and an…
0
votes
1 answer

Problems calculating nls() in R

I'm trying to fit point data with polynomial functions within the program R and want to see which order makes the best fit. I use the nonlinear regression model nls(function, data, start), the function being y~a*(x+c)^b. What I want to do is to…
user2359280
  • 1
  • 1
  • 1
0
votes
1 answer

setting nls parameters for a curve

I am a relative newcomer to R and not a mathematician but a geneticist. I have many sets of multiple pairs of data points. When they are plotted they yield a flattened S curve with most of the data points ending up near the zero mark. A minority of…
Natalie Bjorklund
  • 175
  • 1
  • 2
  • 8
0
votes
1 answer

Conditional nls

I'm trying to fit the conditional nls with R 2.15.1. The same code was working fine with R 2.13 but now R 2.15.1 throws errors. x <- seq(from = 17, to = 47, by = 5) y <- c(26.2, 173.6, 233.9, 185.9, 115.4, 62.0, 21.7) Data <- data.frame(y, x) Fit…
MYaseen208
  • 22,666
  • 37
  • 165
  • 309
0
votes
1 answer

Oracle Date Literal [DD-MON-RR HH.MI.SSXFF AM]

I'm trying to use the timestamp format [DD-MON-RR HH.MI.SSXFF AM] to insert my date. I can't modify the database settings in anyway possible, and I have to insert the date through a JAVA's string format (I can't modify the class that defined it…
Datu Kisaragi
  • 3
  • 1
  • 1
  • 3
0
votes
1 answer

NLS_SORT NLS_COMP read incorreclty

I set NLS_SORT and NLS_COMP in hibernate: Hibernate: ALTER SESSION SET NLS_COMP=BINARY Hibernate: ALTER SESSION SET NLS_SORT=BINARY After that i try to read it back using: select * from nls_session_parameters where parameter…
Vyacheslav
  • 3,134
  • 8
  • 28
  • 42
-1
votes
1 answer

Fit Michaelis-Menten function

I am new to R and am trying to fit a nonlinear least squares model. The function is R=a*SSB/(1+b*SSB) the variables SSB and R are columns from a data set. The initial parameters are a = 0.005, b= 3.0e-10
-1
votes
1 answer

Extracting coefficients of non-linear equation across categorical variable

This question appears to be off-topic because it focuses on programming, debugging, or performing routine operations, or it asks about obtaining datasets. You could try the support links we maintain or the Open Data site instead. If you are asking…
-1
votes
1 answer

Oracle REGEXP_LIKE ignore CASE SENSITIVITY

We are trying the following request in Oracle Database 19.3 and the result is ever like the case sensitivity was ignores. select 1 from dual where regexp_like('CHIEN', '[a-z]+', 'c'); And the result of the request is 1 Even with: ALTER SESSION SET…
Chris
  • 9
  • 2
1 2 3
44
45