On 14/08/14 19:49, Russell, Robin wrote:
> Hello list, does anyone have or know of anyone that has WinBUGS code
> that will solve the following problem.
>
> I predict y as a function of x and then want to ask "for a given value
> of y what is the most likely value of x?" Essentially I am looking for
> calibration curve code.
>
Treat it as a missing data problem: basically put a prior on x. The
complex example is St Veit in Vol. III of the examples. There's a simple
missing data example here (IIRC Andrew Thomas came up with this, I added
the typos):
<http://www.rni.helsinki.fi/~boh/Teaching/BAfLSSpain2007/E11MisLine.odc>
with slides here:
<http://www.rni.helsinki.fi/~boh/Teaching/BAfLSSpain2007/L12MissPred.pdf>
Bob
--
Bob O'Hara
Biodiversity and Climate Research Centre
Senckenberganlage 25
D-60325 Frankfurt am Main,
Germany
Tel: +49 69 7542 1863
Mobile: +49 1515 888 5440
WWW: http://www.bik-f.de/root/index.php?page_id=219
Blog: http://blogs.nature.com/boboh
Journal of Negative Results - EEB: www.jnr-eeb.org
-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]
To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.
To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list
|