Obtaining Coefficients and Uncertainties for a Least-Squares Parabola

  • Thread starter Thread starter diegojco
  • Start date Start date
  • Tags Tags
    Parabola
AI Thread Summary
The discussion focuses on the challenge of obtaining coefficients and uncertainties for a least-squares parabola, similar to those derived for a linear least-squares regression. The user expresses frustration with the complexity of deriving these expressions and the lack of uncertainty calculations available in Matlab. They successfully outline the formulas for linear regression coefficients and their uncertainties but struggle to adapt these methods for a parabolic fit. The conversation suggests that logarithmic transformations may be necessary to simplify the parabolic data into a linear form for analysis. Ultimately, the user seeks guidance on calculating uncertainties for their parabolic least-squares fitting, which is crucial for their lab report on Maxwell's Disc.
diegojco
Messages
23
Reaction score
0
I have tried to find some information of the expresions for a least-squares parabola coefficients (including their uncertaintities), then I have tried to do it for myself using the minimum condition for partial derivatives as same as with the least-squares line, but the expressions of coefs are so complex, and then I have no idea to obtain uncertaintities. In Matlab are a function to get the coefficients but not the uncertaintities, and I am upset, since I must get how to obtain uncertaintities, it's fundamental for a lab report on Maxwell's Disc.

Please Help Me!
 
Physics news on Phys.org
For the linear least-squares regression we can get:

y=ax+b

a=(Σxy-nxmeanymean)/(Σ(x^2)-n(xmean^2))

b=ymean-axmean

and their uncertaintities:

Δa=sqrt((Σ((y-(ax)-b)^2))/(n-2))/sqrt(Σ(x^2)-n(xmean^2))

Δb=sqrt((Σ((y-(ax)-b)^2))/(n-2))*sqrt((1/n)+((xmean^2)/D))

where D=(Σ(x^2)-n(xmean^2)). hence we have that the ecuation is:

y=(a±Δa)x+(b±Δb)

Well I'm triying to do the same for a parabolic least-squares.
 
for a parabolic least squares, you need to use logarithms.
/s
 
plot you graph on log paper. it should make a stright line.
 
Kindly see the attached pdf. My attempt to solve it, is in it. I'm wondering if my solution is right. My idea is this: At any point of time, the ball may be assumed to be at an incline which is at an angle of θ(kindly see both the pics in the pdf file). The value of θ will continuously change and so will the value of friction. I'm not able to figure out, why my solution is wrong, if it is wrong .
Thread 'Voltmeter readings for this circuit with switches'
TL;DR Summary: I would like to know the voltmeter readings on the two resistors separately in the picture in the following cases , When one of the keys is closed When both of them are opened (Knowing that the battery has negligible internal resistance) My thoughts for the first case , one of them must be 12 volt while the other is 0 The second case we'll I think both voltmeter readings should be 12 volt since they are both parallel to the battery and they involve the key within what the...
Thread 'Trying to understand the logic behind adding vectors with an angle between them'
My initial calculation was to subtract V1 from V2 to show that from the perspective of the second aircraft the first one is -300km/h. So i checked with ChatGPT and it said I cant just subtract them because I have an angle between them. So I dont understand the reasoning of it. Like why should a velocity be dependent on an angle? I was thinking about how it would look like if the planes where parallel to each other, and then how it look like if one is turning away and I dont see it. Since...
Back
Top