How to solve an equation that include an array variable inside a copula function?

I want to solve an equation that has two variables x and y where x is (for example) normally distributed and y is inside a copula function. For example:
J = 100;
x = normrnd(3.7,1,[1 J]);
rho = 0.5; nu = 1; % t copula parameters
u = ksdensity(x',x','function','cdf'); % estimating the CDF of x
% The equation between variables x and y is:
syms y
v = ksdensity(y',y','function','cdf'); % Estimating the CDF of unknown...
% variable y to be used for copula construction
f = copulapdf('t',[u v],rho,nu); % copula of CDF(x) and CDF of unknown variable y
eqn = f == x.*y;
solx = solve(eqn,y)
I know that the code above is wrong; I just wrote it to help you understand the problem.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Probability Distributions and Hypothesis Tests에 대해 자세히 알아보기

태그

질문:

2015년 8월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by