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
Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.
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.