I would like to use a binomial distribution with this proc,
Can i do that?
I would like to use a constant, can i do that?
For a frequency distribution to be accepted through the COUNTSTORE= option of PROC HPCDM, you need to estimate it with PROC COUNTREG. Unfortunately, PROC COUNTREG does not support binomial distribution. However, it does support the negative binomial distribution, which is more commonly used to model count data than the binomial distribution. If you cannot use the negative binomial distribution, then you will need to use the external counts feature of PROC HPCDM. Steps to take:
I do not understand your question about "use a constant. Can you please elaborate? Do you want to simulate with a constant value of loss count? In that case, you can create a data set that contains one row and one column with column value being the constant value of the count you want to use, and then use the steps that are listed above to simulate with that constant count. If you want the sample size to be a multiple of the constant count, specifying the multiplier as the NREPLICATES= option.
Hope this answers your questions.
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.
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.