BookmarkSubscribeRSS Feed
TerryYan
Calcite | Level 5

Assumed that I have datasets, the historical return of stocks for example, and I want to fit the distribution of those returns.

How to approach that using MCMC procedure?

Or any others way can do the distribution fitting?(I tried Severity procedure but worked not good)

 

Thank you very much!

3 REPLIES 3
PGStats
Opal | Level 21

proc univariate and proc kde. Or proc fmm for mixtures.

PG
Ksharp
Super User

Use PROC COPULA to get it, but you need SAS/ETS .

Rick_SAS
SAS Super FREQ

You've asked the One Million Dollar Question.  There have been countles papers and books written about how to simulate data. I recommend Simulating Data with SAS for a SAS-oriented programming approach.   If it is univariate data, PROC UNIVARIATE fits many common distributions.  However, in many cases you need to ask yourself "what features of this data are important" and then make sure the simulation preserves those features. 

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 1252 views
  • 4 likes
  • 4 in conversation