Hart:Stats: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Template:Hart}} | {{Template:Hart}} | ||
==Computing Interests== | ==Computing Interests== | ||
My main computing interests are in agent based models and Bayesian hierarchical models. I program almost exclusively in R, although I do occasionally work with MatLab and Mathematica. | |||
Below are some code examples from manuscripts, talks and just my own edification. | |||
Here is code for an agent based model of a three species metacommunity. The code has been written to run on a Linux node at the Vermont advanced computing center (VACC), but I have visualization code for the output and code that can visualize model runs. Please contact me if you are interested. You can see the model code [[Media: ESA_ABM.r | here]] | |||
The above model is a fancier version of an initial mockup I did in [http://ccl.northwestern.edu/netlogo/ NetLogo], you can see my code [[Media:Competition_colonization_tradeoff.nlogo| here] | |||
I am interested | |||
I am also interested in other computational methods as they apply to ecology such as evolutionary computation and cellular automata models. Here is a simple GA written in R to solve the simple [http://www.duke.edu/vertices/update/win95/genalg.html one max] problem. Here is my [http://www.uvm.edu/~ehart1/GA_Max_1.R solution] | |||
I do much of my Bayesian computation using WinBUGS, but I also hand code samplers when I need to. Here are two examples. | |||
-A home grown metropolis sampler [http://www.uvm.edu/~ehart1/MH_Norm.R MH_Norm:] fort estimating the parameters for a normal distribution from a vector of random normal numbers and then an example with linear regression | |||
-Sample code from my hierarchical time series models, this is an example that runs on the VACC again for [[Media:VACC_Model_Runs.r|Chironomidae]] | |||
==Bayesian Resources== | |||
A few blogs that I read regularly are those by [http://learnbayes.blogspot.com/ Jim Albert], and [http://www.stat.columbia.edu/~gelman/blog/ Andrew Gelman]. | |||
I also have used the following books to help teach myself | I also have used the following books to help teach myself | ||
Line 24: | Line 33: | ||
Of course I also rely on my adviser [http://www.uvm.edu/~ngotelli/home.html Nick Gotelli's] book [http://www.amazon.com/Primer-Ecological-Statistics-Nicholas-Gotelli/dp/0878932690/ref=sr_1_2?ie=UTF8&s=books&qid=1219779461&sr=1-2 A primer of Ecological Statistics] | Of course I also rely on my adviser [http://www.uvm.edu/~ngotelli/home.html Nick Gotelli's] book [http://www.amazon.com/Primer-Ecological-Statistics-Nicholas-Gotelli/dp/0878932690/ref=sr_1_2?ie=UTF8&s=books&qid=1219779461&sr=1-2 A primer of Ecological Statistics] | ||
Revision as of 13:50, 16 March 2010
Computing Interests
My main computing interests are in agent based models and Bayesian hierarchical models. I program almost exclusively in R, although I do occasionally work with MatLab and Mathematica.
Below are some code examples from manuscripts, talks and just my own edification.
Here is code for an agent based model of a three species metacommunity. The code has been written to run on a Linux node at the Vermont advanced computing center (VACC), but I have visualization code for the output and code that can visualize model runs. Please contact me if you are interested. You can see the model code here
The above model is a fancier version of an initial mockup I did in NetLogo, you can see my code [[Media:Competition_colonization_tradeoff.nlogo| here]
I am also interested in other computational methods as they apply to ecology such as evolutionary computation and cellular automata models. Here is a simple GA written in R to solve the simple one max problem. Here is my solution
I do much of my Bayesian computation using WinBUGS, but I also hand code samplers when I need to. Here are two examples.
-A home grown metropolis sampler MH_Norm: fort estimating the parameters for a normal distribution from a vector of random normal numbers and then an example with linear regression
-Sample code from my hierarchical time series models, this is an example that runs on the VACC again for Chironomidae
Bayesian Resources
A few blogs that I read regularly are those by Jim Albert, and Andrew Gelman.
I also have used the following books to help teach myself
Jim Clark's Models for Ecological Data
Jim Albert's Bayesian Computation in R
And a couple books by Andrew Gelman:
Data analysis using regression and multilevel/hierarchical models
Of course I also rely on my adviser Nick Gotelli's book A primer of Ecological Statistics