cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
The Discovery Summit 2025 Call for Content is open! Submit an abstract today to present at our premier analytics conference.
Choose Language Hide Translation Bar
View Original Published Thread

Curve fitting on Data with three variable X,Y,Z

I have data with 3 variables X,Y,Z and i want to fit a model like ...
Y= a(x) + b(z)+c,
X and Z may have some powers (n) also.How to do it? Please guide
1 ACCEPTED SOLUTION

Accepted Solutions
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Curve fitting on Data with three variable X,Y,Z

Use the "Fit Model" platform. Add column Y to "Y" and columns X and Z to "Model Effects". To add powers of independent variables choose "Polynomial to Degree" under the "Macros" roll list. When you're done just hit "Run Model".

View solution in original post

3 REPLIES 3
ms
Super User (Alumni) ms
Super User (Alumni)

Re: Curve fitting on Data with three variable X,Y,Z

Use the "Fit Model" platform. Add column Y to "Y" and columns X and Z to "Model Effects". To add powers of independent variables choose "Polynomial to Degree" under the "Macros" roll list. When you're done just hit "Run Model".

Re: Curve fitting on Data with three variable X,Y,Z

Is there a way to determine the resulting formula? Will this same setup work for surface fitting?

Re: Curve fitting on Data with three variable X,Y,Z

Under the top red triangle, under Save Columns, you can select Prediction Formula option.