Assuming the LS-mean is estimable, PROC MIXED constructs an approximate t test to test the null hypothesis
that the associated population quantity equals zero.
Is there a way to test the null hypothesis that the associated population quantity equals ONE?
You could probably write a contrast or estimate statement to test it.
From the SAS/STAT documentation of shared concepts, I found this option for the LSMESTIMATE statement:
specifies the value under the null hypothesis for testing the estimable functions in the LSMESTIMATE statement. The rules for specifying the value-list are very similar to those for specifying the divisor list in the DIVISOR= option. If no TESTVALUE= is specified, all tests are performed as
. Missing values in the value-list also are translated to zeros. If you specify fewer values than rows in the LSMESTIMATE statement, the last value in value-list is carried forward.
What I didn't find were any examples of how to use this, but I would expect to see some in the SGF and regional SUG proceedings, so you might look there.
SteveDenham
The TESTVALUE= option affects only p-values from individual, joint, and multiplicity-adjusted tests. It does not affect confidence intervals.
The TESTVALUE option is not available for the multinomial distribution, and the values are ignored when you perform a sampling-based (Bayesian) analysis
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!
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.
Select SAS Training centers are offering in-person courses. View upcoming courses for: