One line PredY ? Statistics 2Var
04-21-2021, 05:21 PM
Post: #1
 Schraf Junior Member Posts: 6 Joined: Jan 2021
One line PredY ? Statistics 2Var
Hello.

No problem finding the value of y using the method below:

C1:={750,850} --> x1 and x2
C2:={55,65} --> y1 and y2

Predict y3 knowing x3=813.7 :

PredY(813.7) --> 61.37 (linear regression)

It's also ok when I use the data columns in Statistics 2Var App.

But in the documentation we can read: PredY(mode, x, parameters)

mode = 1 for linear regression (OK ?)
x = 813.7 (OK ?)
parameters ?? I try {{750,850},{55,65}} or the slope and Y-intercept but it does not work.

Do you have an idea ?
04-21-2021, 10:44 PM
Post: #2
 roadrunner Senior Member Posts: 438 Joined: Jun 2015
RE: One line PredY ? Statistics 2Var
If you are not in the spreadsheet app type it like this:

04-22-2021, 04:36 AM
Post: #3
 Wes Loewer Senior Member Posts: 427 Joined: Jan 2014
RE: One line PredY ? Statistics 2Var
Just to clarify, there are two different PredY functions.

Statistics_2Var.PredY() which appears to only take 1 X parameter and uses the fit type selected in Symb screen.

Spreadsheet.PredY() which takes the 3 parameters that you were trying to use.
04-22-2021, 07:00 AM
Post: #4
 Schraf Junior Member Posts: 6 Joined: Jan 2021
RE: One line PredY ? Statistics 2Var
I understand my mistake, there were several functions PredY...

Thanks
04-22-2021, 12:21 PM
Post: #5
 jonmoore Senior Member Posts: 308 Joined: Apr 2020
RE: One line PredY ? Statistics 2Var
(04-22-2021 04:36 AM)Wes Loewer Wrote:  Just to clarify, there are two different PredY functions.

Statistics_2Var.PredY() which appears to only take 1 X parameter and uses the fit type selected in Symb screen.

Spreadsheet.PredY() which takes the 3 parameters that you were trying to use.

I think this is one of those areas where the interactive help cards could be improved by including the Statistics and Spreadsheet prepend details. A very simple change but the clarity will be greatly improved.
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)