Order () command, where?

52 views
Skip to first unread message

Avalenol

unread,
Aug 9, 2024, 12:01:25 PMAug 9
to OxCal
Hi,

Could you please indicate where to place the Order() command in this model that I am trying to implement? I simply want to use the Order function to calculate the posterior probability for different chronological relations between two Bayesian radiocarbon phases. 

After spending several days reading everything I could on the subject, I'm convinced that it’s something very simple, but my brain is refusing to solve it. 

Thank you very much in advance.


Alex

Here is my model:

Plot()

 {

  Outlier_Model("General",T(5),U(0,4),"t");

  Sequence()

  {

   Tau_Boundary("Start P1")

   {

    color="purple";

   };

   Phase("P1")

   {

    R_Date("Beta-163133", 4280, 50){ Outlier("General", 0.05); };

    R_Date("KIA-39434", 5160, 35){ Outlier("General", 0.05); };

    R_Date("RICH-21776", 5438, 35){ Outlier("General", 0.05); };

    R_Date("RICH-21772", 4035, 32){ Outlier("General", 0.05); };

    R_Date("RICH-21771", 4456, 33){ Outlier("General", 0.05); };

    R_Date("UtC-5171", 5720, 60){ Outlier("General", 0.05); };

    R_Date("UtC-6517", 4785, 40){ Outlier("General", 0.05); };

    R_Date("RICH-21981", 5165, 36){ Outlier("General", 0.05); };

    R_Date("CSIC-176", 5820, 60){ Outlier("General", 0.05); };

    R_Date("Beta-177237", 5060, 40){ Outlier("General", 0.05); };

    R_Date("KIA-27617", 5495, 45){ Outlier("General", 0.05); };

    Date("DateP1") {color="blue";};

    Interval("P1 P2 Interval");

    KDE_Plot("KDEP1")

    {

    };

   };

   Boundary("End P1"){color="purple";};

   Boundary("Start P2"){ color="green";};

   Phase("P2")

   {

  R_Date("KIA-30020", 3900, 30){Outlier("General", 0.05);};

R_Date("RICH-32306", 3864, 26){Outlier("General", 0.05);};

R_Date("RICH-33499", 3860, 37){Outlier("General", 0.05);};

R_Date("KIA-20213", 3850, 25){Outlier("General", 0.05);};

R_Date("UtC-7878", 3840, 60){Outlier("General", 0.05);};

    Date("DateP2") {color="blue";};

    KDE_Plot("KDEP2")

    {

    };

   };

   Tau_Boundary("End P2"){color="green";};

  };

Order("Extinction")

{

Date("=StartP1");

Date("=EndP1");

Date("=StartP2");

Date("=EndP2");

};

 };


MILLARD, ANDREW R.

unread,
Aug 9, 2024, 12:08:07 PMAug 9
to ox...@googlegroups.com
Dear Alex,

Your code is structured correctly but you have different names in the Order command to those in the Boundaries, for example, in Tau_Boundary("Start P1")  the name has a space but in Date("=StartP1") there is no space.

Best wishes 

Andrew 

-- 

Dr. Andrew Millard 

Associate Professor of Archaeology,

Durham University, UK 

Email: A.R.M...@durham.ac.uk  

Personal page: https://www.durham.ac.uk/staff/a-r-millard/ 

Dunbar 1650 MOOC: https://www.futurelearn.com/courses/battle-of-dunbar-1650 

 


From: ox...@googlegroups.com <ox...@googlegroups.com> on behalf of Avalenol <aval...@gmail.com>
Sent: Friday, August 9, 2024 17:01
To: OxCal <ox...@googlegroups.com>
Subject: Order () command, where?
 
You don't often get email from aval...@gmail.com. Learn why this is important
[EXTERNAL EMAIL]
--
You received this message because you are subscribed to the Google Groups "OxCal" group.
To unsubscribe from this group and stop receiving emails from it, send an email to oxcal+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/oxcal/b421bb1a-a8de-4859-9118-aaeeb4cd642bn%40googlegroups.com.

Alex Valenzuela

unread,
Aug 14, 2024, 10:53:13 AMAug 14
to ox...@googlegroups.com
Dear Andrew, 

thank you so much for the incredibly quick response.  As I suspected, It was so simple and obvious that I was completely blind to it!!
 It works wonderfully now. 

Thanks a lot. 

Alex

Missatge de MILLARD, ANDREW R. <a.r.m...@durham.ac.uk> del dia dv., 9 d’ag. 2024 a les 18:08:


--
--------------------------------------------------------------
Dr. Alejandro Valenzuela Oliver

Mediterranean Institute for Advanced Studies (IMEDEA)
Ecology and evolution (EEG)
C/ Miquel Marquès, 21
07190 Esporles
Illes Balears, SPAIN.
https://imedea.uib-csic.es/en/the-institute/staff/?staff_id=778
--------------------------------------------------------------

-----------------------------------------------
Reply all
Reply to author
Forward
0 new messages