mle with non-anonymous custom pdf, HELP

1 visualizzazione (ultimi 30 giorni)
jeff bodington
jeff bodington il 28 Apr 2014
Commentato: Andrew Newell il 28 Apr 2014
There appear to be no complete examples of mle with custom non-anonymous pdfs. The below yields a nonsense error message. HELP!
%Initialize theta. theta1 = 0.1; theta2 = 0.5; start = [theta1 theta2] %QC test of pdf for prob. of observed pref. rank vector. testlogprob = log(wpdf(theta1, theta2, data)) %Call the pdf. pdfH = @wpdf; %Define pdf "function handle." [phat,pci]= mle(dat,'pdf',@pdfH(theta1, theta2, data),'start',start)

Risposte (0)

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by