Questions tagged [nonlinear-regression]

Use this tag only for regression models in which the response is a nonlinear function of the parameters. Do not use this tag for nonlinear data transformation.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

How to model suspected piecewise-linear data with a lasso GLM

My data consist ~130 observations. Each observation has several thousand features (including many collinear or otherwise useless features) and a position along a single spatial dimension. Some sets of ...
Neuromancer's user avatar
0 votes
1 answer
56 views

Which model for highly skewed data

The response variable in the dataset is highly skewed with a "ceiling effect". The errors of a fitted regression model, will thus also be skewed. I tried to fit a regression but as expected ...
Simone's user avatar
  • 244
0 votes
0 answers
19 views

How to know errorbars on accuracy to nonlinear fit: $A(1-\cos(x+\phi))$ with poisson noise?

I am trying to write some code that accurately estimates the parameters for the following function: $$ Y = A(1-V \cos(X+\phi)) $$, where this output data is poisson distributed. To do this, I first ...
Steven Sagona's user avatar
1 vote
0 answers
28 views

Neural network as alternative to conventional nonlinear regression?

Can I use the strength of neural networks for data analysis? Suppose I want to find a fit to a noisy sine curve $1 - V \sin(w \theta+ \phi)$ and I want to find an estimate for parameters V, $w$ and $\...
Steven Sagona's user avatar
1 vote
1 answer
17 views

How to do sensitivity analysis in case of non linear regression model?

Suppose I have built a complicated non-linear regression model where the dependent variable is y and the independent variables are x1, x2 and x3. In that case, how can I answer the question if I ...
Mash's user avatar
  • 11
0 votes
0 answers
73 views

Spatial structure in the random forest residuals

I have a data.frame which includes the response and several predictor variables. The variables were raster data which I converted them into a ...
Nikos's user avatar
  • 111
1 vote
1 answer
46 views

How to deal with a summation term in a regression model?

In the following fixed-effects model, $EI$ is a dummy variable indicating an economic integration agreement in place between $i$ and $j$. $A$ is used to index the specific agreement an $i, j$ pair ...
ametricsb's user avatar
9 votes
2 answers
616 views

Relative variable importance/explained variation from a single model fit

I am seeking a measure of relative variable importance or relative explained variation that will apply to all types of linear and nonlinear regression models and that requires only fitting one model. ...
Frank Harrell's user avatar
2 votes
1 answer
51 views

GAM - factor smooth and main effects for both variables?

I am working with data on cuteness judgements and size judgments for differently named fantasy creatures. The interesting part ...
odaxom's user avatar
  • 23
0 votes
0 answers
7 views

DLNM: centering of continuous variables

DLNM centers the basis variables at the mean of the continuous variables. The value at which the variable is centered becomes the reference. How do I change the centered/reference value? As per the ...
Pam G's user avatar
  • 13
0 votes
1 answer
21 views

Interpreting linear and quadratic terms with same sign

I am running a second order model with betweenness centrality and closeness centrality as independent variables and cognitive demand as dependent variable. The results shows that betweenness ...
Rona Elizabeth Kurian's user avatar
1 vote
0 answers
19 views

Adding a categorical variable to a model fit for comparing parameter estimates?

I am fitting a non-linear model to multiples species where the y is growth rate and x is irradiance. These growth-irradiance curves are common and there is a great r package 'phytotools' that ...
MockCommunity1's user avatar
0 votes
0 answers
7 views

Anyway to transform data with a varying derivative into something that can give me comparative percent changes everywhere?

Sorry about the confusing title, I am so confused that I don't even know how to frame the question. I have a device that gives me two sets of output values depending on how I set the surface charge of ...
Dominik Duleba's user avatar
0 votes
0 answers
11 views

Spliced Distributions Framework for python

There is an article Fat-Tailed Regression Modeling with Spliced Distributions that describes fat-tailed regression modeling by fitting the distribution consisting of N components (different ...
franz-german's user avatar
0 votes
0 answers
30 views

Multiple Regression with Second Factor that Increases Volatility

I'm trying to estimate y, how likely a quantity is to increase/decrease by x1% using historical data. This part is pretty straightforward. I check history for how many times that quantity has ...
SSC Fan's user avatar
  • 13
3 votes
2 answers
85 views

Why do we seek to find a model that approximates all data instead of finding a function that fits all data?

I tried to learn the principle idea of regressions. As I understand, the aim is to find a model that represents the relation between the x numbers and the y numbers, so that we can understand the ...
Magician's user avatar
1 vote
0 answers
41 views

Projection pursuit regression

Projection pursuit regression (PPR) is described in Hastie et al.'s The Elements of Statistical Learning in the chapter on neural networks. The algorithm was introduced by Friedman and Stuetzle (1981)....
Estacionario's user avatar
0 votes
0 answers
14 views

Is there any way I can improve my interrupted time series analysis on this data?

I ran a simple ordinary least squares (OLS) model of the form y = b_0 + b_1 * T + b_2 * D + b_3 * P + e where y is the number of murders in a given month, T is the number of months passed from the ...
Outlier's user avatar
  • 123
2 votes
0 answers
23 views

How can I compare performance between 100 groups?

I want to compare performance between 100 groups. Each group can be described by a value, say group size. In other words, I want to see how performance changes with group size. Each group has multiple ...
Anu's user avatar
  • 21
2 votes
1 answer
66 views

Does mean of residuals become zero in least-squares fitting of nonlinear regression model?

It is well known that the (sample) mean of residuals becomes zero in an unweighted OLS fitting of a linear regression model. How about the case for the nonlinear model? I have numerically tested ...
GreatJourney's user avatar
3 votes
1 answer
25 views

Testing for conditional independence with nonlinear relationships

I am reading about the IC and IC* (Inductive Causation) algorithms for discovering DAGs from observations. The first step of the algorithm is for each pair of variables a and b, search for a set of ...
Marc Bacvanski's user avatar
0 votes
0 answers
14 views

What does 'linear' word in multiple linear regression and linearity assumption in multiple linear regression mean? [duplicate]

I am studying linear regression. I want to ask is the linear word in multiple linear regression refers to the linear relationship between the target variable and each of the regression coefficients ...
shri's user avatar
  • 1
0 votes
0 answers
22 views

When adding a confidence interval "manually", doesn't visually appear to cover most cases [duplicate]

I have a non linear regression model that is based on an exponential decay function. When I try to add a confidence interval, instead of using the models in built 'confidence interval' prediction ...
Doug Fir's user avatar
  • 1,558
0 votes
1 answer
72 views

Estimating the decay parameter in Exponentially Weighted Moving Average (EWMA) model

Given the data $y_t$, $t=1, \cdots ,N$; I would like to estimate the decay parameter $\lambda$ in Exponentially Weighted Moving Average (EWMA) model, such that $y_{t+1} = \sum_{k=0}^K \lambda^k y_{t - ...
Stephen Ge's user avatar
2 votes
1 answer
57 views

What are the comparative advantages and disadvantages of interpreting regression output using marginal effects vs. ratios?

In models with a discrete dependent variable and/or linear models with non-linear right-hand specifications (interactions, polynomials, etc.), interpreting the association between Y and BX becomes ...
Brian Lookabaugh's user avatar
0 votes
0 answers
17 views

How should I use a larger dataset with fewer variables to help create a good model of a smaller dataset with more variables?

I have two data sets, DF1 and DF2. DF1 has millions of observations, and 20 variables. DF2 has ~100,000 observations, and 40 variables. The DF1 variables are a subset of the DF2 variables. I want to ...
rasputin's user avatar
0 votes
0 answers
25 views

Non-Linear data fitting for kinetic data

I am trying to fit a two_site model which I derived, (basically, rate as a function of pressures of reactants and products) to my experimental data. Just want to check if the logic below is fine, ...
Suyash Sachin Damir's user avatar
0 votes
1 answer
21 views

How to interpret results of a latent basis analysis when the estimated lambda exceeds 1?

I have ran a latent basis analysis and got the results below. S BY AE1 0.000 0.000 999.000 999.000 AE2 0.714 0.185 3.867 0.000 AE3 ...
EmH's user avatar
  • 15
0 votes
0 answers
18 views

Singular gradient in non-linear least squares (non-identifiability question)

I'm trying to conduct a non-linear least squares via the nls function. The right-hand side (non-linear) function is as follows: $-7 \ sigmoid(\theta_1 - x\beta) - 3 \ sigmoid(\theta_2 -x\beta) - 4 \ ...
UsDAnDreS's user avatar
  • 139
0 votes
1 answer
21 views

Difference in difference marginal probability from logistic model

I am trying to estimate the interaction term from a glmer model as a marginal probability contrast using emmeans. I can calculate the difference in differences marginal probability, but I was assuming ...
LucaS's user avatar
  • 515
0 votes
0 answers
64 views

Fitting a model with data that are truly "not applicable"

What model-fitting methods are available for data sets that have values that are truly "not applicable"? After reading about imputation, I've realized that my data set does not have "...
Florent H's user avatar
  • 153
1 vote
0 answers
13 views

Optimizing Constants in a Function with a Square Root Term

I am working on a curve fitting problem where I have a series of real data points, and I want to fit a curve to this data. The derivative of the function I am trying to fit has the form: f'(x) = -sqrt(...
Ahmet Ercan Batirel's user avatar
1 vote
0 answers
67 views

Non-linear model where the prediction is computationally fast

I am looking for a fast model that can fit several predictors $X$ to a non-linear response $y$. To show examples of the non-linearity of the response, I have generated the plots below by sampling ...
Florent H's user avatar
  • 153
1 vote
1 answer
47 views

Non-linear mixed effect model versus linear mixed model with quadratic terms, which one to choose?

I am in the process of modeling the predicted immune response since time to last drug dose. Please note that this is illustrative and not really the real context. I have been using ...
amedicalenthusiast's user avatar
1 vote
0 answers
43 views

Popcorn- what's the best way to compare the fit non-linear models for data that is not very complex?

I popped 7 bags of popcorn in 30 second increments and found the percentage of popped kernels in each time frame. I manipulated this data with sinusoidal, exponential, and cubic models. There is lots ...
robert's user avatar
  • 11
1 vote
0 answers
22 views

Regression model : does non-linearity imply interaction effect?

I would like to know more on the relation between non linearity and interaction effect. For example, if we have a linear model of the form $$ y = \beta_0 + \beta_1x_1 + \beta_2x_2 + \epsilon $$ we ...
coboy's user avatar
  • 111
1 vote
0 answers
21 views

How to do Multiple Comparisons of Fitted mle2 Model Coefficients

Is there a way to do a multiple comparison test (similar to tukey HSD test) of coefficient estimates from a mle2 model in R? Here is my specific application: I have a large dataset containing ...
PlantModeler's user avatar
5 votes
1 answer
271 views

Fit a non-linear model in R with restrictions

I'm trying to fit a model to some data in R. To simplify the question, I'll use an example. If the model that describes my process is y = f(a, b) where ...
Jake's user avatar
  • 153
2 votes
1 answer
69 views

Fitting a nonlinear model for a CDF

I have two questions in general here. Suppose I am recording data in time and the response that I am collecting is a monotonic curve that goes from 0 to 1 (sort of a like a CDF). I was thinking of ...
John Smith's user avatar
0 votes
1 answer
18 views

Statistical analysis of nonlinear equation

I have the following equation: $C_i = \frac{EF_eS_i\delta_wW_j(\frac{t_i}{t_j})^m(\frac{v_i}{v_j})^n\alpha_w\gamma_f}{dwtD_i}$ where $S_i = S_{base}(.455L_i^2-.710L_i+1.280)$ And $L_i = \frac{v_i}{v_j}...
user3527227's user avatar
3 votes
1 answer
89 views

Non-linear regression. Need some help implementing a model from a paper

I found this paper very useful for my research, however, I'm not familiar with non-linear regressions and I'm finding it tricky replicating it. Using the first f=model for example: ...
Favour Onyido's user avatar
0 votes
0 answers
21 views

Simple logistic regression - calculate likelihood by hand

I am following Introduction to Linear Regression Analysis by Montgomery, Peck Vining and on p. 430 they present the likelihood ratio test. It says that $$ \text{LR} = 2 \left[\ln(L(\text{FM})) - \ln(L(...
s5s's user avatar
  • 663
0 votes
1 answer
70 views

Multiple Linear regression unmet assumptions, what can I do?

I need your help with some work I am doing. Some context first: I am writing a dissertation for my master. The topic is about perceived trust in Smart Home technology. I launched a survey with a ...
Abdel Kdj's user avatar
0 votes
0 answers
20 views

Lower limit for NLME regression

I am using NLME packege in R to perform non linear regression. The aim of the model is to estimate parameters related with gaseous weight loss from different silages. I have defined my function as: <...
Emma's user avatar
  • 1
1 vote
0 answers
15 views

What statistical test should be used to test the relationship between the variables for a non-linear data set?

I am currently conducting an experiment and I am struggling to find a statistical test to test the relationship between my independent and dependent variables. My research is to find the relationship ...
ducks's user avatar
  • 11
0 votes
1 answer
37 views

Non-linear formulas in mgcv

in brms (which is heavily based on mgcv) there is a possibility to define non-linear formulas (meaning not linear in parameters). However, for different reasons I need to use mgcv. E.g. the model <...
Niklas's user avatar
  • 1
0 votes
0 answers
18 views

LPM vs. logistic regression with complete separation of data points

I can estimate a linear probability model on about 126,000 firm-quarter observations, but estimating the same model using logistic regression drops the usable sample to only about 75,000 observations ...
rac59's user avatar
  • 1
1 vote
0 answers
57 views

How can I combine model parameter uncertainty and input uncertainty?

Suppose I have a finite data sample $\mathbf{S} = \{ (\mathbf{x}^{(1)}, \mathbf{y}^{(1)}), \dots, (\mathbf{x}^{(N)}, \mathbf{y}^{(N)}) \}$ from an unknown data-generating function of the form $$ \...
Jacob's user avatar
  • 113
2 votes
0 answers
34 views

How to compute confidence interval of function of Gaussian Process Resgression

I have some data that I have modeled as a function of two Gaussian Process Regression models $X_i(p_i)$, where $p_i$ is a parameter, so my regression models is: $y(p_1, p_2) = f(X_1, X_2) = X_1(p_1)*(...
Ken Grimes's user avatar
0 votes
0 answers
27 views

Building a hybrid model? From a Random Forest and a OLS linear regressions

Cureently, I am conducting a regression study of household expenditure (target variable) from a set of determiants (income, household size, ...) in Malaysia using OLS and Random Forest. It is a long ...
Lu Cas's user avatar
  • 11

1
2 3 4 5
24