BookmarkSubscribeRSS Feed
deleted_user
Not applicable
What impact does QMethod option have on the output?

thanks.
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
From the doc:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000146729.htm

QMETHOD=OS|P2|HIST
specifies the method that PROC MEANS uses to process the input data when it computes quantiles. If the number of observations is less than or equal to the QMARKERS= value and QNTLDEF=5, then both methods produce the same results.

-- OS uses order statistics. This method is the same method that PROC UNIVARIATE uses.

Note: This technique can be very memory-intensive.

-- P2|HIST uses the P² method to approximate the quantile.

Default: OS
Restriction: When QMETHOD=P2, PROC MEANS will not compute the following:
•MODE
•weighted quantiles

Tip: When QMETHOD=P2, reliable estimations of some quantiles (P1,P5,P95,P99) might not be possible for some data sets.


For more info, look at the documentation on quantiles:
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a000608466.htm#a00032...

cynthia

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 5533 views
  • 0 likes
  • 2 in conversation