avatar
SAS expert help!# Database - 数据库
l*a
1
I am working on a project and need to do something like this:
for 3 different time period like 30, 40, 50 days, I have three different
interest rates 1,1.2, 1.5. I need to obtain a trendline with y=interest rate
and x=time.Hopefully, the function will be looks like y=a*x+b*x^2. Then I am
gonna plug in a new period of time(like 45 days) and get a new interest rate.
I can use regression to get the parameter, but how can I keep the parameter
from regression and use this function to calculate out a
avatar
n*n
2
When you do the regression, you can specify outstat=table_name. Then you
should check the outstat table to find the regression parameter names. Using
this outstat table, you can apply your resultant regression to the new data.

rate.

【在 l*********a 的大作中提到】
: I am working on a project and need to do something like this:
: for 3 different time period like 30, 40, 50 days, I have three different
: interest rates 1,1.2, 1.5. I need to obtain a trendline with y=interest rate
: and x=time.Hopefully, the function will be looks like y=a*x+b*x^2. Then I am
: gonna plug in a new period of time(like 45 days) and get a new interest rate.
: I can use regression to get the parameter, but how can I keep the parameter
: from regression and use this function to calculate out a

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。