BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello and great forum!!

I have undertaken a fixed income portfolio analysis for one of my University's endowment funds, and I am working on a model to calculate returns. I have constructed a multiple linear equation and know one of the regressor coefficients. Does anyone know of a way for me to hold the known value constant, while letting sas adjust the coefficients on the other independent variables?

Any help or direction is greatly appreciated!

Tim
3 REPLIES 3
Paige
Quartz | Level 8
ROBUSTREG wasn't designed for this situation.

A possible way around this would be to fit the model with the known coefficient, and then compute residuals and do ROBUSTREG on the residuals. I haven't thought this through 100% to convince myself that is reasonable, but it sounds like it would work at first glance.
Dale
Pyrite | Level 9
If you have the model

  Y = b0 + b1*X1 + b2*X2 + ... + bk*Xk + C*Z

where C is known a priori, then you can rewrite the equation as:

  Y* = Y - C*Z = b0 + b1*X1 + b2*X2 + ... + bk*Xk

So, all you need to do is to construct a new response variable in which you subtract the known effect from the original response. You can then fit your model employing this new response and predictors X1, X2, ..., Xk.
deleted_user
Not applicable
Thank you, Paige and Dale!

My data now looks great!

Tim

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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.

Discussion stats
  • 3 replies
  • 1641 views
  • 0 likes
  • 3 in conversation