Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
A model which is a function of some other data
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jeremy Sanders  
View profile  
 More options Feb 24 2009, 5:47 am
From: Jeremy Sanders <jeremysand...@gmail.com>
Date: Tue, 24 Feb 2009 02:47:55 -0800 (PST)
Local: Tues, Feb 24 2009 5:47 am
Subject: A model which is a function of some other data
Hi - I have as follows:

Datasets D1 (like flux) and D2 (temperature). Each dataset has
Gaussian uncertainties on each of its values. The uncertainties on D1
are quite a lot smaller than D2.

They are actually computed from the same raw data, but they are
hopefully mostly independent. In the future I'd like to work from the
raw data but it is quite hard to convert the raw data to D2 (it uses a
number of 3rd party tools).

I have a model (with parameters) which converts from flux (D1) to
temperature (D2). What I'd like to do is take the two different
datasets and compute the model parameters and uncertainties.

If I ignored the uncertainties on D1 then the problem would be fairly
easy to do with MCMC, I suspect. Is it possible to set up a model
which can take one sort of data to predict another with PyMC?

Thanks

Jeremy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Huard  
View profile  
 More options Feb 24 2009, 9:37 am
From: David Huard <david.hu...@gmail.com>
Date: Tue, 24 Feb 2009 09:37:27 -0500
Local: Tues, Feb 24 2009 9:37 am
Subject: Re: [pymc] A model which is a function of some other data

Jeremy,

It's certainly possible, I've done something along these lines for an
hydrological model:http://www.agu.org/pubs/crossref/2008/2007WR005949.shtmlusing
pymc.

When taking errors into account for D1, what you do is assume there exists a
set of unknown true values T1. These true values are related both to the
data D1 through your gaussian error distribution, and to the D2 dataset
through the model, model parameters and output uncertainty.

D1 = T1 + gaussian_error
D2 = Model(T1, parameters) + gaussian_error (standing for both output data
uncertainty and model uncertainty)

In pymc, you'd then have two sets of @stochastic objects: the parameters,
and all the true input values. You'd have also two sets of @observed
stochastic: D1 and D2.
It is also useful to define the model as a @deterministic object.

HTH,

David

On Tue, Feb 24, 2009 at 5:47 AM, Jeremy Sanders <jeremysand...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jeremy Sanders  
View profile  
 More options Feb 24 2009, 10:38 am
From: Jeremy Sanders <jeremysand...@gmail.com>
Date: Tue, 24 Feb 2009 07:38:47 -0800 (PST)
Local: Tues, Feb 24 2009 10:38 am
Subject: Re: A model which is a function of some other data

On Feb 24, 2:37 pm, David Huard <david.hu...@gmail.com> wrote:

> It's certainly possible, I've done something along these lines for an
> hydrological model:http://www.agu.org/pubs/crossref/2008/2007WR005949.shtmlusing
> pymc.

Thanks - that's helpful... I'll work on it.

Jeremy


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »