[Pymc-user] generating toy data with PyMC???
Status: Beta
Brought to you by:
fonnesbeck
From: Hugo K. <hug...@gm...> - 2006-02-24 09:45:54
|
Hi there, I have done some experiments with PyMC. Has been working very well so far, keep up the good work!!! Now, I want to use PyMC to *generate* data to do experiments with missing values. Therefore I need to generate toy data first. This toydata for example could consist of the following variables: age, income and gender and an outcome (e.g. change of buying product X) now I would like to have an underlying model to generate data from in which for instance age and income are correlated in some way and females like the product more then males. Also the correlation between income and age is stronger for females then for males. Would this be possible using PyMC? Did anyone do something like this? Sampl= e code would be appriciated very much! Regards, hugo |