Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Re: Curve fitting on Data with three variable X,Y,Z

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 06-22-2009 05:30 PM
(1675 views)

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

Y= a(x) + b(z)+c,

X and Z may have some powers (n) also.How to do it? Please guide

3 REPLIES 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Your problem specification is incomplete. Let me respond by first asking a few questions.

Why do you think you should use powers of X and Z? Are those powers prespecified? Are X and Z nonnegative? If the powers are not prespecified integer values, then you could run into problems if the algorithm which is used to fit the model tries to raise a negative value to a noninteger power.

Do you want to consider polynomial functions of X and Z? The model below is representative of a polynomial model:

Y = a1(**X**) + a2(**X**2**) + a3**(X**3**) + b1(**Z**) + b2(**Z**2**) + c

Finally (for now, anyway), what motivates the model that you want to fit?

Why do you think you should use powers of X and Z? Are those powers prespecified? Are X and Z nonnegative? If the powers are not prespecified integer values, then you could run into problems if the algorithm which is used to fit the model tries to raise a negative value to a noninteger power.

Do you want to consider polynomial functions of X and Z? The model below is representative of a polynomial model:

Y = a1(

Finally (for now, anyway), what motivates the model that you want to fit?

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

i have data with one variable Y that changes depending on X and Z. But this change is not linear. I want to find the best fit curve and equation.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

The values of X, Y and Z involve some negative values also and secondly the values are like 0.9,... -0.04,... 1.05

Are you ready for the spotlight? We're accepting content ideas for **SAS Innovate 2025** to be held May 6-9 in Orlando, FL. The call is **open **until September 16. Read more here about **why** you should contribute and **what is in it** for you!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.