I'm estimating a model and want to test if one of the parameters differs from one (rather than zero). That is, I'm trying to find the equivalent of a "test" statement in a linear regression. Specifically, I'd like to test if the lambda coefficient differs from one. Thanks for any help.
You can get a test of whether lambda=1 by using an ESTIMATE statement (SAS/STAT 15.1 or later). For example,
ESTIMATE 'label' lambda-1;
This should give output that looks like this:
In this case, I labeled the ESTIMATE 'community' and added this statement to the first example in the PROC NLIN documentation:
estimate 'community' alpha-1;
The approx Pr >|t| is a two-tailed test of whether alpha differs from 1, by constructing the additional estimate alpha-1, which NLIN tests against zero.
SteveDenham
You can get a test of whether lambda=1 by using an ESTIMATE statement (SAS/STAT 15.1 or later). For example,
ESTIMATE 'label' lambda-1;
This should give output that looks like this:
In this case, I labeled the ESTIMATE 'community' and added this statement to the first example in the PROC NLIN documentation:
estimate 'community' alpha-1;
The approx Pr >|t| is a two-tailed test of whether alpha differs from 1, by constructing the additional estimate alpha-1, which NLIN tests against zero.
SteveDenham
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 25. Read more here about why you should contribute and what is in it for you!
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.