symbolic integration for chi-square distribution
2 views (last 30 days)
Show older comments
I want to do following integration:
syms x y
F = @(x,y)chi2pdf(y,2).*chi2pdf(x,1);
fp = int(int(F,y,x-3,100),x,0,100);
However, it does not show an explicit number. Is there any way to carry out the integration? Thank you.
0 Comments
Accepted Answer
Walter Roberson
on 21 Dec 2011
Possibly you will have to go back to the definition of chi2pdf that is on the documentation page, http://www.mathworks.com/help/toolbox/stats/chi2pdf.html as chi2pdf routine is a numeric routine rather than a symbolic routine.
2 Comments
Walter Roberson
on 21 Dec 2011
There seems to be a formula at
http://en.wikipedia.org/wiki/Noncentral_chi-squared_distribution#Cumulative_distribution_function
More Answers (0)
See Also
Categories
Find more on Noncentral Chi-Square Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!