Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have been stuck on the followng quesiton,please help.

1 回表示 (過去 30 日間)
Abheet Khaira
Abheet Khaira 2018 年 4 月 15 日
閉鎖済み: Abheet Khaira 2018 年 5 月 4 日
We hope to generate two correlated random variables X and Y such that: X Exp(lambda), Y Weibull( alpha; beta ), with lambda= 2, alpha= 2, beta= 3: Do the following for three diff erent values for the correlation: X;Y = 0.8; 0.2 and -0.8
(a) Use a Gaussian copula to generate N = 105 independent (X; Y ) pairs and estimate the correlation using the simulated data.
(b) Plot all (X; Y ) pairs. Verify that the marginal distributions look appropriate. (In MATLAB use command \histogram(X)" or \scatterhist(X,Y)")
  4 件のコメント
Walter Roberson
Walter Roberson 2018 年 4 月 16 日
Notice all the little square boxes. Those are place-holders for characters that are not printable.
It appears that at least one of them stands in for the ~ sign, and one of them stands in for rho

回答 (1 件)

Bernhard Suhm
Bernhard Suhm 2018 年 4 月 23 日
It's not our role to help solve course problems here, but maybe copularnd and corr will let you do what you need.

この質問は閉じられています。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by