How to OLS several lines at once?

  • Context: Undergrad 
  • Thread starter Thread starter phrozenfearz
  • Start date Start date
  • Tags Tags
    Lines Ols
Click For Summary
SUMMARY

The discussion centers on fitting a regression model to multiple sets of data that represent the same ideal data set, specifically when the dependence on x is not multiple. The user seeks guidance on how to fit a curve to nine sets of equations, each defined as y=f(x) with variations primarily in pressure. The mention of Vector Autoregressive Model indicates a consideration of time series analysis, though the user is uncertain if this applies to their case. The objective is to create a unified curve that approximates y in terms of x across varying pressures.

PREREQUISITES
  • Understanding of regression analysis techniques
  • Familiarity with curve fitting methods
  • Knowledge of experimental data collection and analysis
  • Basic concepts of pressure variations in experimental setups
NEXT STEPS
  • Research "Polynomial Regression for Multiple Data Sets" to explore curve fitting techniques.
  • Learn about "Generalized Additive Models (GAM)" for flexible modeling of relationships.
  • Investigate "Multivariate Regression Analysis" for handling multiple dependent variables.
  • Explore "Data Normalization Techniques" to standardize datasets before analysis.
USEFUL FOR

This discussion is beneficial for data analysts, researchers in experimental physics, and anyone involved in regression modeling of multiple datasets under varying conditions.

phrozenfearz
Messages
9
Reaction score
0
Hello PhysicsForums.com!

I've got several sets of data that are all intended to represent the same ideal data set. I need to fit a regression to said sets of data - but have no idea of how to go about it.

All multiple-regression literature I can find reads to the tune of: given y=a*f(x1)+b*f(x2), but I don't have multiple dependence on x. I just have 9 sets of equations that all look like:
Point 1...
y1=f(x1)
y2=f(x2)
y3=f(x3)
Point 2...
y1=f(x1)
y2=f(x2)
y3=f(x3)

If somebody could point me in the right direction, I would be very appreciative!

Thanks!
 
Physics news on Phys.org
Are you talking about Vector Autoregressive Model?
yt=a*y_t-1+b*x_t+...et
xt=c*x_t-1+d*y_t+...,ut
 
I don't think so... but please elaborate more on the method.

In return, I'll elaborate more on what I have and what I need:

I have several sets of [x] and [y] data series, taken by experiment, on separate occasions. The experimental setup, in terms of the two variables I need to fit a curve to, only varies in pressure. The variation comes in a slight translation along the x-axis.

My goal is to fit a curve to ALL of these data sets to act as an approximate representation of [y] in terms of [x] across the pressure range from the experiment.

Thanks!
 

Similar threads

  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
7
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K