BookmarkSubscribeRSS Feed
CACHO
Calcite | Level 5

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?

2 REPLIES 2
cminard
Quartz | Level 8

You could probably write a contrast or estimate statement to test it.

SteveDenham
Jade | Level 19

From the SAS/STAT documentation of shared concepts, I found this option for the LSMESTIMATE statement:

 

TESTVALUE=value-list
TESTMEAN=value-list

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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1253 views
  • 0 likes
  • 3 in conversation