Jon’s PhD Journal

June 30, 2009

Tue: making some graphs …

Filed under: Notes — JDE @ 8:53 am

Graphed up results from both velocity data and area data, ready for analysis. Some are looking pretty crazy … and might need replotting with new axis.  (Go look here: http://www.harding.edu/fmccown/R/)

Worked out a plan to automate APNG creation, which I will try to pull together when I have a spare 2 hours.

June 29, 2009

Mon: mixed bag session …

Filed under: Notes — JDE @ 8:47 am

Bunch of stuff today:

  • compiled the text file of combined velocity results, with one result per line, ready for use in R (175MB plan, 54MB zipped)
  • had to correct the data to go into said data file above, also
  • tried to upload some data to the mesh as well, so common data in one common repository
  • finished playing with the APNG POC for animating flocking results. Seems to work okay, generating files ~4MB in size for a 1000 timestep run. Could do with scripting though, as the GUI editor found allows <1000 images to be added at one point => multiple selections with mouse => waste of time.

June 22, 2009

Monday: excitement with R …

Filed under: Notes — JDE @ 8:38 am

Today was furthering graphing work with R, where I developed a script that will pump out boxplots like mad for the different experiments. All quite cool, but now need to start analysing them — e.g. print them off and have  a look at them all. (Measure gradients, etc). Also need to do the same for the velocity measures.

More links of use:

June 20, 2009

Sat: subsetting data in R …

Filed under: Notes — JDE @ 12:44 pm

See here: http://www.ats.ucla.edu/stat/splus/faq/subset_R.htm

Note that you have to use == for conditional equals, e.g y== 2

Random link that could prove of use: http://www.fort.usgs.gov/BRDScience/learnR9.htm — Regression diagnostics

This will probably prove to be useful: http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_scrpt.html — how to write scripts in R.

June 19, 2009

Friday: getting to base data …

Filed under: Notes — JDE @ 8:57 am

Worked out why I had 10 pieces of info in the velocity output: it’s a velocity for each bird. Ergo, experiments with 50 birds x 10 results = 500 columns of data. => not sure how to graph and visualise.

Started looking at generating base data for area today. Option a/ do it by hand in Excel, or b/ re-jig code. Going with option b/ but there is a gremlin that needs extracting from the works.

NB 2 way lookups in Excel? See here: http://skp.mvps.org/xl00002.htm. V. good, and means can get results into timestep, measure, grouping quite quickly.

June 17, 2009

Wednesday: converting code to not calculate stdev …

Filed under: Notes — JDE @ 9:00 am

Changing the code to not calculate stdev of velocities. In theory the change made should have worked … but why when I have 5 birds I get 10 results??

June 15, 2009

Monday: forgot a link …

Filed under: Notes — JDE @ 9:09 am

This book may be of use:

Mathematical models in biology

By Elizabeth Spencer Allman, John Anthony Rhodes

Monday: planning and reading about Stats …

Filed under: Notes — JDE @ 9:07 am

Some links that may be of use: lectures on model fitting http://www-users.york.ac.uk/~pjh503/mathematical_model/ and some userful terms for additional reading around on here: http://isolatium.uhh.hawaii.edu/m205L/lab6/fit/fit.htm

June 9, 2009

Tuesday: plotting charts …

Filed under: Notes — JDE @ 6:31 pm

Plotted graphs of area and velocity against the individual parameters tonight. In short, some of the velocity results are linear. It’s fair to say the area results are not, and don’t look to be easily transformed …

June 8, 2009

Mon: Planning and starting to analyse indep. vars …

Filed under: Notes — JDE @ 9:00 am

Completed weekly planning session. Had a bit of a tidy up re: data so have a ~80MB Zip file with mostly all of my summarised data in it — where has some of the random data for velocities gone?

Then started on charting the data, independent variables vs. area to begin with.

Older Posts »

Blog at WordPress.com.