Methods used to fit curves (as in linear or non-linear regression) to data.

learn more… | top users | synonyms

2
votes
1answer
62 views

Using the Weibull curve to model responses from a direct mail campaign. Model isn't fitting the data very well

I'm trying to build a model to forecast direct mail marketing campaign responses. In the "response" vector are the average number of responses from a marketing campaign from day 1 to day 63 (8 weeks). ...
0
votes
0answers
31 views

Associating non-linear three-time-point change with a continuous variable

I would be incredibly grateful for help or advice regarding my following project: I have 3 time points (0, 30, 120 min) and complete data for about $n=500$ subjects for a continuous variable $M$. ...
0
votes
1answer
77 views

Fit data to a bivariate function

I want to fit my (x,y,z) data points to a function. You can see the data on Fig.1. The data is symmetric along the main diagonal. To understand my data I have studied (y,z) curves at different ...
0
votes
0answers
27 views

Area under a curve- is there a way to find the % completion of a marketing campaign on a particular day?

I'm trying to build a model to forecast direct mail marketing campaign responses. In the code below I was able to use responses from a previous campaign to create a smooth curve (i.e. continuous ...
0
votes
0answers
33 views

I was able to use R to fit a curve to model direct mail marketing responses- just need the % of responses that are likely to occur each day

I'm trying to model the responses from a direct mail marketing campaign so that I can use it to forecast for future campaigns. In the code below, I started with the average number of responses by day ...
7
votes
1answer
72 views

How do you find the population size N based on the highest n values?

For example assume $N$ people performed a selection test like GMAT. Assume the distribution of the scores is a normal distribution (but parameters are not known). If you have a list of the $n$ highest ...
0
votes
0answers
6 views

Comparison of two entities based on samples

Suppose I have two sample sets $X = [[x_1, y_1], [x_2, y_2], ...]$ and $Y = [[x_1, y_1], [x_2, y_2], ...]$ data set $x$ points may not the same, also y values change wrt other factors/parameters lets ...
1
vote
0answers
8 views

Linear fit parameter-errors as a function of the number of data-points

I am trying to work out the errors of $m$ and $b$ in a linear least-square fit of a straight $y = m \cdot x + b$ to $N$ equally-spaced data points $Y_i$ on the interval $I = [-\Delta x \cdot ...
1
vote
0answers
93 views

Statistical modeling method for curves with uncertainty

I would like to ask for advice on choosing a suitable modelling method for the following problem: I am modeling the performance of a device for curve estimation. I have collected a data set ...
0
votes
0answers
24 views

How do I interpret which model is the best fit for my distribution (AIC)?

I'm new here so looking for some guidance; How do I interpret the following variables to understanding which model is considered the best fit to my distribution. ...
0
votes
2answers
70 views

Curve fitting of (x,y) coordinates

I have three (x,y) coordinates that I got from experimental data. The coordinates represent drug solubility at corresponding pH values as appears below: ...
9
votes
1answer
149 views

Additive Error or Multiplicative Error?

I'm relatively new to statistics and would appreciate help understanding this better. In my field there is a commonly used model of the form: $$P_t = P_o(V_t)^\alpha$$ When people fit the model to ...
2
votes
1answer
36 views

Exponential equation fitting

I have two variables: y= head (0.5,0.10,0.15,0.25,0.34) and x= instar (1, 2, 3, 4,5). How fitting my data on exponential growth in R? I need p-value fitting, F (is possible?), R^2 and degree freedom. ...
2
votes
1answer
84 views

Using B-splines within a linear mixed-effects model in R

I am using linear mixed-effect model (run with the lme() function in the nlme package in R) that has one fixed effect, one ...
0
votes
0answers
34 views

Is Linear model right fit here? [duplicate]

I am new to linear regression. I am trying to see if linear curve fitting is the right thing to do here. Here is what I tried. My Data: ...
2
votes
1answer
247 views

Fitting a quadratic through 5 points, goal is to find the maximum

I have some physical experiments done at various locations. The locations produces a set of observations y for one value of x, the independent variable. In the end across a set of locations I have ...
0
votes
0answers
52 views

Curve fitting in R. L-shaped?

I have measurements for my dependent and independent variable across 4 different experimental sites ...
0
votes
0answers
17 views

R: Fit a trendline to these points in ggplot [duplicate]

I have measurements for my dependent and independent variable across 4 different experimental sites ...
1
vote
1answer
62 views

Why does matlab show r squared for non-linear

Inspired by the comments here http://stackoverflow.com/questions/27288483/python-multiple-curve-fitting-models In matlab, why is the R squared value displayed if it is meaningless for non-linear ...
0
votes
1answer
68 views

Fitting a curve best practice

I have some data as tuples $ (y,x)$. I am trying to fit a quadratic curve to the data, its known from the physics of the problem that the relationship should be quadratic. The problem is that I have ...
0
votes
0answers
16 views

Fitting a curve to app retention data

Lets say an app has a retention graph like below (where "1.0" is the number of downloads on october 16, the table is active users, among people who signed up on october 16, on future days). I want to ...
3
votes
3answers
243 views

Does a best fit make sense in this case?

I have collected data from 60 candidates, 30 female and 30 male, measuring their pain tolerance, or rather time able to withstand pain. I have plotted the times against the $n$th candidate: Would ...
0
votes
0answers
24 views

Multiple regression for curvilinear seasonal data

This question is related to How to analyze curvilinear seasonal data I have data like following: ...
0
votes
2answers
91 views

How to analyze curvilinear seasonal data

I have monthly values of a continuous variable from many subjects, the mean of which on plotting show curvilinear pattern with lower values in summer months. How can I analyze and report the ...
1
vote
1answer
106 views

Fitted Beta distribution always holds water. Can I force it not to?

I am trying to fit a beta distribution to election forecast data. The ultimate purpose is determining with what probability the election will be decided by one vote (more on this here). My data is as ...
2
votes
1answer
62 views

Predicting continuous output

I'm trying to predict output per worker for given inputs of capital (physical capital), labor (human capital) & productivity. I have a data set of several countries ...
0
votes
0answers
20 views

fitting a non-linear curve with one parameter

I have an equation: $\ddot{x}+(\delta+\epsilon\cos{t})x=0$ known as the Mathieu equation.The $\delta-\epsilon$ parameter space of this equation looks something like The red lines in this diagram ...
1
vote
0answers
24 views

How can I assess if a parametric model can reproduce the same curve with different parameters?

I have a parametric model that I think it is "degenerate" in the sense that I can obtain the same model with different parameters. For example, if I have a convolution of two 1D Gaussians (say, G1 ...
2
votes
1answer
26 views

Testing hypothesis about the location of the maximum point on a curve

I have data from an experiment on the relationship between PPI (the dependent variable, a measure of startle reflex attentuation by weak stimuli) and SOA (the main independent variable; it's the time ...
2
votes
0answers
93 views

Fitting a logistic curve to cumulative data using glm()

I'm trying to fit a logistic curve to cumulative data, derived from satellite imagery. Previously, I have point observation data which were either 0s or 1s. Os being 'forest' and 1s being ...
0
votes
0answers
51 views

Approximate Probability Distribution Function

I am trying to approximate a large discreet probability distribution function using a histogram with a small number of entries. I.e., create a piece-wise first-order polynomial approximation for a ...
1
vote
0answers
96 views

How should I report the significance of a spline smooth obtained using mgcv in R?

I wish to test whether a spline-based smooth could be replaced by a linear term. I am using the mgcv package in R. Using the example from the helpfile: ...
1
vote
1answer
68 views

What distribution family would best fit this graph?

Sorry if this type of question is not kosher. I'm new around here, so please forgive me. Anyway, I have a dataset that describes the probability that users will like certain articles from my corpus ...
0
votes
0answers
24 views

How should I fit this data?

I have a dataset: ...
6
votes
0answers
161 views

Applying a variance-stabilizing transform to a fitted function (rather than data)

Outline I'm working with data corrupted by a mixed Poisson-Gaussian noise model (for example with images gathered in astronomy or electron microscopy), and have been using the generalized Anscombe ...
0
votes
0answers
7 views

Looking for catalog of “mechanism classes” that give rise to specific curve shapes

(I apologize for the length of this post. I don't know how to frame the question more succinctly.) I have some experimental data, in the form of a collection of curves with fairly little noise, ...
1
vote
0answers
95 views

grofit package for growth curves and prediction?

I am trying to use grofit package for biological growth curves. I would like to see which curves describe best my data and from them predict results I don’t have. I basically have a sample of data ...
1
vote
0answers
31 views

Types of growth curves that can be compared using statmod compareGrowthCurves

I'm using the function compareGrowthCurves in the R package statmod, but I can't seem to find an explanation of what types of curve this is valid for. Does anyone ...
4
votes
1answer
567 views

Total least squares curve fit problem

I am trying to fit a quadratic curve across a scatter plot of two variables. Since both variables are noisy I cannot use an ordinary least square regression (OLS) and I would like to have a ...
3
votes
1answer
53 views

Distribution based on rate of distinct values

I am investigating the following problem: I have a large set of values, many of which are repeated. Measuring the number of distinct (or unique) values shows that their number grows much slower than ...
2
votes
1answer
58 views

Confidence interval for a constrained fit to Gaussian-like data

I'm working with data from an instrument which is expected a priori to produce Gaussian (normally) distributed data: \begin{equation} G = A\exp\left(-\dfrac{(x - \mu)^2}{\sigma} \right) ...
7
votes
1answer
147 views

Given loads of data, can we always model it with polynomials?

Given Taylor series and enough data so as to not risk over-fitting, do you actually need to think about if your phenomenon is following an exponential, quadratic, logarithmic, ..., behaviour? I'm sure ...
2
votes
0answers
49 views

How to approximate error on Chi-Squared Fit when bin counts are zero

I am using a galaxy image simulator that provides a 2D histogram that has the number of photons per pixel (bin) $N$. I am currently using a least-squares residual: $\sum_{bin}(f_{data}-f_{model})^2$ ...
1
vote
1answer
29 views

Approaches for extracting single-year age estimates from age-buckets

I'm trying to estimate a binary function of $Y$~$Bernouli(p_{i})$ where $p_{i}=f(age)$ where f is an unknown continuous function. There are obviously a lot of methods to try to reconstruct f (splines, ...
4
votes
1answer
245 views

N-sigma curves for a non-linear least square curve fit

I'm using python's scipy.optimize.curve_fit routine (which uses a non-linear least squares) to fit an exponential function of the form: ...
0
votes
0answers
55 views

How to corretly scale sum of squared residuals of two different sets of data in order to compare them?

I did numerical simulations of two different systems that returned me N=1000 histograms expressed as $\{x,y,y'\}$, where $x$ is the independent variable, $y=P(x)$ is the probability distribution ...
0
votes
0answers
16 views

Weighing data during distribution fits

I currently have multiple sets of data in the form of a histogram. Using Matlab, the all look to be very well described by the negative binomial distribution. However, the far right tail not modeled ...
2
votes
1answer
69 views

Finding analytic form for distributions using linear regression, need ideas

I'm trying to find an analytical form to describe these probability density functions: I'm pretty new to all of this, but think I should use some linear combination of basis functions (so I can then ...
0
votes
0answers
244 views

Fitting for a Poisson-Gaussian Mixture Distribution

First of all, I am rather new to statistics, so go easy on me. I am aware that the negative binomial distribution can be thought to arise as a result of letting the $\lambda$ parameter in a Poisson ...
2
votes
1answer
172 views

How to fit a mixture of Gamma distributions to the PMF of a discrete distribution?

I have a PMF of some discrete distribution that has been numerically computed. Note that I do not have any samples to work with here, so techniques like Maximum-Likelihood and Expectation-Maximization ...