Sunday, December 4, 2011

Atrial fibrillation: stroke versus bleeding



This post uses the data from the papers (see tabs) and modelling.
Note:

  • refer to the papers for definitions, particularly for hypertension, renal and liver impairment
  • the models extrapolate beyond the data, e.g. for bleeding which in the source dataset does not extend for score above 5. The model is meant to be illustrative.

Atrial fibrillation: stroke versus bleeding



This post uses the data from the papers (see tabs) and modelling.
Note:

  • refer to the papers for definitions, particularly for hypertension, renal and liver impairment
  • the models extrapolate beyond the data, e.g. for bleeding which in the source dataset does not extend for score above 5. The model is meant to be illustrative.

Sunday, November 27, 2011

Make your own L



This post extends the theme of Lindenmayer systems. Dynamic functionality must be enabled to use the input fields and correct syntax is required. The axiom field is a string and requires quote marks. The rule list requires a list with the curly brackets and rule list of string to string to allow the StringReplace function to work.

Once appropriate input is provided you can explore your own iterated function system output (black and white or coloured). Clicking on the graphic should allow copying and pasting if you like it. I hope there is some amusement in playing with this embedded CDF.

Monday, November 21, 2011

L-system musing



In this post the effect of changing the angle in the iterated system is shown compared with previous post.

L-systems (Lindenmayer systems)


Sunday, November 20, 2011

Bayes theorem: illustrated

The following embedded CDF illustrates Bayes theorem. The example is modelling odds ratio of active versus control treatment as a log normal distribution. The blue curve is the prior distribution of the log odds, the red curve is the distribution of the evidence and the green curve is the posterior distribution of the log odds.


Cardiovascular mortality for non-cardiac surgery


Saturday, November 19, 2011

Symmetries of the cube



Use each slider to rotate cube around particular axis. For each slider the other axes are moved with the cube. However, when moving multiple sliders then the original axes of rotation are used. Not perfect but illustrative.

Checkboxes, adjacency graph and array plots



This post illustrates dynamic checkboxes. There are created from a square zero array. This is then used to dynamically generate a graph after interpreting the array as an adjacency matrix and als an array plot.

See previous attempt

Friday, November 18, 2011

The regular tetrahedron buried in the cube


Just a drink

The following embedded CDF is based on the reference:

PARAMETER ESTIMATION IN A THREE - COMPARTMENT MODEL
FOR BLOOD ALCOHOL CURVES
J.E.PIETERS, M.WEDEL*and G.SCHAAFSMA

Alcohol & Alcoholism, Vol. 25. No. 1. pp. 17-24, 1990

The parameter estimates used are tabulated:


See the original post: Alcohol.




Sunday, November 13, 2011

Cardiac output calculator



This post is another exploration of embedding CDF. The calculator does not have field validations, error messaging apart from those within Mathematica. As with other embeddings dynamic functionality must be enabled.

Saturday, November 12, 2011

Cardiac output from oximetry



In this post, I aim to explore the the sensitivity of cardiac output estimation to oxygen consumption, body surface area, hemoglobin concentration and arteriovenous oxygen difference.


The oxygen consumption is in mL/min. The hemoglobin is in g/L. The arteriovenous oxygen difference is difference in fractional saturation.

The vertical line is a hemoglobin of 150 g/L. The red line is a cardiac index of 2.8 L/(min m2)

See Thermodilution for some considerations with respect to Thermodilution assessment of cardiac output and an animated gif (this was made to prior to the capacity to embed CDF's. If time permits I will convert and embed).

Friday, November 11, 2011

Gorlin: mitral



In this post the sensitivity of the Gorlin formula to changes in the variables is explored. It is artificial. Diastolic filling period and heart rate are linked. The way this was done in this CDF is illustrative and not realistic. The direction of effects is correct.

Thank you Wolfram Technical Support



This is not the most purposeful use of the CDF file format embedding. I post it only for illustrative purposes. Press the 'Enable Dynamic' button to see the interactive graphic.

Thank you very much Wolfram Support for your instruction. My key errors:


  • failure to use SaveDefinitions
  • putting {fullscreen:'true'} in the embedding command

Saturday, October 29, 2011

Mathematica 8.04



This embedding was done using the CDF wizard in Mathematica 8.04.

Sunday, October 23, 2011

Nine Point Circle

Series demo

Here is a CDF based on the notebook I used to create the video for Nine Point Circle post.

LaTeX


I have found that Blogger makes using \(\LaTeX\) challenging. I have found MathJax provides a straightforward solution.
This is an attempt use \(\LaTeX\).
\[\int_a^b f(x) dx\]

Saturday, October 22, 2011

Latitude

Latitude

This is an embedded cdf of the post "What's in a name". See the post for the details.
In brief,

  • an eccentric ellipse is chosen to illustrate the difference between geocentric  (angle between movable black line and horizontal axis) and geographic latitude (angle between movable red line and horizontal axis)
  • The difference between geographic and geocentric latitude is plotted against geocentric latitude in the bottom graphic (geographic-geocentric)

Another Apple

Apple

Apple


This post shows that the HTML works for one of my own files, I have yet to be patient enough to make the image sizing. It does work!

To view this content, please install Wolfram CDF Player. You can
install the free CDF Player here.

Embedding CDF

This is my first blog post on this site.
I aim to use this site for embedding CDFs (if and when I get time and think they CDF is sufficiently mature).

I used the step by step instructions listed by on this link after looking at the blog; The Spline.




To view this content, please install Wolfram CDF Player. You can
install the free CDF Player here.