<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
        <?xml-stylesheet type="text/css" href="http://www.physics.drexel.edu/~wking/blog/styles/feed.css"?>
<title type="html">Theory</title>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog"/>
<link rel="self" type="application/atom+xml" href="http://www.physics.drexel.edu/~wking/blog/archives/theory/index-atom.xml"/>
<updated>2010-03-02T07:10:31-05:00</updated>
<author>
<name>Trevor</name>
<uri>http://www.physics.drexel.edu/~wking/blog</uri>
</author>
<id>http://www.physics.drexel.edu/~wking/blog/</id>
<generator uri="http://nanoblogger.sourceforge.net" version="3.3">
NanoBlogger
</generator>

<entry>
<title type="html">Astro search engine</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/11/04/index.html#e2008-11-04T13_35_18.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/11/04/index.html#e2008-11-04T13_35_18.txt</id>
<published>2008-11-04T13:35:18-05:00</published>
<updated>2008-11-04T13:35:18-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p><a href="http://www.astrometry.net">Astrometry.net</a> is awesome.</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">PlotPick program</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/10/01/index.html#e2008-10-01T19_55_03.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/10/01/index.html#e2008-10-01T19_55_03.txt</id>
<published>2008-10-01T19:55:03-05:00</published>
<updated>2008-10-01T19:55:03-05:00</updated>
<category term="Programming" />
<category term="Theory" />
<category term="Linux" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p>While calibrating my photodiodes, some of my surface bumps went out of
the linear-response range.  Since I'm not confident in my ability to
set boundaries programmatically at the moment, I thought I'd write up
a little utility to record clicks on key data points, so I could pick
out the “good data”.</p>

<p>Enter
<a href="http://www.physics.drexel.edu/~wking/code/index.shtml#plotpick">plotpick.py</a>,
the raw-data version of
<a href="http://www.physics.drexel.edu/~wking/blog/archives/2008/09/05/index.html#e2008-09-05T20_20_30.txt">clicklock.tk</a>.
Hope you like it :).</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Good introduction to protein folding simulations</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/09/10/index.html#e2008-09-10T14_32_09.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/09/10/index.html#e2008-09-10T14_32_09.txt</id>
<published>2008-09-10T14:32:09-05:00</published>
<updated>2008-09-10T14:32:09-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p><a href="http://www.fz-juelich.de/nic/nic-series/volume23/grosberg.pdf">Grosberg's
chapter</a>
of <em>Computational Soft Matter: From Synthetic Polymers to Proteins</em>
(available <a href="http://www.fz-juelich.de/nic/nic-series/volume23">online</a>)
seems to be quite a nice intro to basic methods in protein folding
simulations.  It cleared up the difference between lattice and
off-lattice models for me again, hopefully I'll remember this time ;).</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Getting numbers from journal figures</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/09/05/index.html#e2008-09-05T20_20_30.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/09/05/index.html#e2008-09-05T20_20_30.txt</id>
<published>2008-09-05T20:20:30-05:00</published>
<updated>2008-09-05T20:20:30-05:00</updated>
<category term="Programming" />
<category term="Theory" />
<category term="Linux" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p>This morning I wrote up this quick and easy way to get actual numbers
out of graphs and whatnot that show up in journal articles.</p>

<pre><code>$ pdfimages article.pdf fig
$ clickloc.tk fig-000.ppm &gt; fig-000.pixels
$ scale_click.sh 0 10 5 20 fig-000.pixels &gt; fig-000.data
</code></pre>

<p>Just use your first four clicks in
<a href="http://www.physics.drexel.edu/~wking/code/tcl-tk/clickloc.tk">clickloc.tk</a>
to mark out the x and y minimum and maximum values.  Then use
<a href="http://www.physics.drexel.edu/~wking/code/bash/scale_click.sh">scale_click.sh</a>
to convert the pixel values to the units listed in the figure.  In my
example, the x axis ran from 0 to 10 units, and the y axis ran from 5
to 20 units.  Supports log-scaled axes too.</p>

<p>Having gotten some numbers, my sawtooth simulator matches up fairly
well to <a href="http://www.biophysj.org/cgi/content/abstract/90/4/L33">Schlierf &amp; Rief's
results</a> on
both models.  Hooray! ;).</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Giving up on Gompertz theory</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T17_22_51.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T17_22_51.txt</id>
<published>2008-06-30T17:22:51-05:00</published>
<updated>2008-06-30T17:22:51-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p>I think I've spent enough time trying to find a nice analytic way to guess parameters for a Gompertz model fit to my unfolding probability densities.
I now have a heuristic which seems to work :p, and I suppose I'll be satisfied with that for the time being.</p>

<p>On to find out about analytic solutions to Kramers' unfolding rates.</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Data censoring</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T15_52_36.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T15_52_36.txt</id>
<published>2008-06-30T15:52:36-05:00</published>
<updated>2008-06-30T15:52:36-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p><a href="http://src.alionscience.com/pdf/CENSOR.pdf">This</a> is a nice paper with pretty pictures explaining the different types of data censoring.
I don't have to worry about that, since our data are uncensored (proteins being cheaper and living shorter lives than humans), but I was getting a bit nervous about what failure-censored sampling meant.</p>

<p>In other jargon news, the <a href="http://en.wikipedia.org/wiki/Order_statistics">first order statistic</a>, just means the sample minimum.</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Gompertz' paper</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T15_05_40.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T15_05_40.txt</id>
<published>2008-06-30T15:05:40-05:00</published>
<updated>2008-06-30T15:05:40-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p>The natural logarithm (log base e) used to be called the <em>hyperbolic logarithm</em> (see <a href="http://www.humboldt.edu/~mef2/Presentations/Estimations.html">here</a>).
Other than the understandably old fasioned notation, Gompertz article is wonderfully written, so much so that I can follow all his math, even with the strange notation (although obviously I had to look hyperbolic logs up).
He makes a number of brief excursions to set up the problem, including a reference to "the great age of the patriarchs of scripture".
He even takes a break to clarify his exponent notation.  I love this guy.</p>

<p>All the non-symbolic math was starting to confuse me, so I went back and Googled a bit more, turning up <a href="http://dx.doi.org/10.1016/j.amc.2003.08.086">this</a> paper which claims to help fit the Gompertz distribution, and even (gasp) uses the same Gompertz distribution that Gompertz does :p.
It even talks about probability density functions.
I dunno if I'm ready for another relationship yet though, I've been hurt so many times before ;).</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Gompertz/Gumbel distributions</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T13_39_51.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/06/30/index.html#e2008-06-30T13_39_51.txt</id>
<published>2008-06-30T13:39:51-05:00</published>
<updated>2008-06-30T13:39:51-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p><a href="http://www.statistik.uni-dortmund.de/de/content/forschung/publikationen/forschungsberichte/Life-Table-Forecasting.pdf">This paper</a> by Peter Pflaumer gives a bit more technical detail to the whole Gompertz/Gumbel lifespan thing.
I need to remember that my model works, I just need a stable way of estimating the model parameters from which to start optimizing a fit.
Pflaumer derives a formula for the mode, but it is still trancendental in the force scaling parameter.</p>

<p>Hmm, I should see what Garrett thinks of the <a href="http://dx.doi.org/10.1016/j.insmatheco.2006.02.012">economics</a> of this distribution, since that's what it was originally developed for.
He probably already knows all about it, why didn't I think to ask last weekend?
Ah, because I started this on Sunday and saw him on Saturday :p.</p>

<p>I though <a href="http://dx.doi.org/10.1016/j.cam.2003.12.030">this</a> aught to do it for me, but it seems their rate has an extra <code>-ln(P)</code> in it.
Rats.</p>

<p>Desperate times call for going back to <a href="http://www.jstor.org/stable/107756">Gompertz' original paper</a>.</p>]]>
</div>
</content>

</entry>
<entry>
<title type="html">Gumbel/Fisher-Tippett distributions</title>
<author>
<name>Trevor</name>
</author>
<link rel="alternate" type="text/html" href="http://www.physics.drexel.edu/~wking/blog/archives/2008/06/29/index.html#e2008-06-29T14_10_54.txt"/>
<id>http://www.physics.drexel.edu/~wking/blog/archives/2008/06/29/index.html#e2008-06-29T14_10_54.txt</id>
<published>2008-06-29T14:10:54-05:00</published>
<updated>2008-06-29T14:10:54-05:00</updated>
<category term="Theory" />
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<![CDATA[<p>Aha, the probability of Bell-model unfolding under constant force-loading has a name!
It is a <a href="http://en.wikipedia.org/wiki/Fisher-Tippett_distribution">Fisher-Tippett distribution</a>, of which the Gumbel distribution is a particular type.
However, NIST refers to it as a <a href="http://www.itl.nist.gov/div898/handbook/eda/section3/eda366g.htm">minimum Gumbel distribution</a>.</p>

<p>Hmm, hopefully I'm not just confusing myself looking at the standardized form, let me go double check...
What is a <a href="">cumulative distribution function</a> anyway?
Ah, <code>CDF(x)</code> is just the probability that the variable will be <code>&lt;= x</code>, so the probability distribution function is given by <code>PDF(x) = -d(CDF)/dx</code>.</p>

<p>Alright, looks like my distribution is a bit different than the Fisher-Tippett because I need a non-unity a factor <code>a</code> in <code>PDF(x) = exp(-ax/b)*exp[-exp(x/b)]</code> with <code>z := exp(-x/b)</code>.
Basically, I have a Fisher-Tippett distribution with a poorly scaled <code>x</code>, but I don't know how to rescale <code>x</code> until I've fit my distribution.
So the search continues...</p>

<p>The <a href="http://en.wikipedia.org/wiki/Gompertz-Makeham_law_of_mortality">Gompertz-Makeham Law</a> law for exponentially increasing failure rate is what I want.
But Wikipedia says this is the same as Fisher-Tippett with time inversion.</p>

<p>There is a nice discussion of aging in general, but not much math <a href="http://longevity-science.org/Failure-Models-2006.pdf">here</a>.</p>]]>
</div>
</content>

</entry>

</feed>

