{"id":22929,"date":"2013-07-01T14:23:31","date_gmt":"2013-07-01T20:23:31","guid":{"rendered":"http:\/\/rankexploits.com\/musings\/?p=22929"},"modified":"2013-07-04T09:45:14","modified_gmt":"2013-07-04T15:45:14","slug":"bayesian-projection-of-rcp4-5","status":"publish","type":"post","link":"https:\/\/rankexploits.com\/musings\/2013\/bayesian-projection-of-rcp4-5\/","title":{"rendered":"Bayesian Projection of RCP4.5."},"content":{"rendered":"<p>I&#8217;ve been <del datetime=\"2013-07-01T18:44:16+00:00\">threatening<\/del> promising to post a Bayesian weighted projection based on the rcp4.5 models I&#8217;d downloaded from The Climate Explorer.  Today, I&#8217;m going to explain how I concocted a projections and compare it to the projection I would obtain if I simply averaged over model means from models with more than 1 run in the forecast period. <\/p>\n<p>A model mean projection created by computing the multi-model mean over from models with more than 1 run in the rcp4.5 scenario is shown in the R color &#8216;tomato&#8217; below. The solid line is the mean projection. The dashed line is the 2-sigma spread in the combined uncertainty of the model mean (of hypothetical models that might have been included in the set), uncertainty in which model is correct and the &#8216;model weather&#8217; creating the spread in the runs for each model.   Model runs are show in various &#8216;rainbow&#8217; colors, with the higher trends in &#8216;warmer&#8217; colors and lower trend in cooler colors.<br \/>\n<a href=\"http:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection-333x500.png\" alt=\"MeanProjection\" width=\"333\" height=\"500\" class=\"aligncenter size-medium wp-image-22931\" srcset=\"https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection-333x500.png 333w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection-199x300.png 199w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection-682x1024.png 682w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/MeanProjection.png 1200w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><\/p>\n<p>One of the difficulties with the projections above is that we already know that:<\/p>\n<ol>\n<li>Observed temperatures are lagging projections after 2000. This suggests the models may be running to warm but does not provide an explanation why. <\/li>\n<li>The residuals to trends fit over 30 years are consistently high for models compared to observations. This suggests that at frequencies less than 30 years &#8216;weather noise&#8217; in models is <i>too large<\/i>.  <\/li>\n<\/ol>\n<p>Given this I wondered: What projections would I obtain if I assigned a weight by initially giving all models above equal weights, then computing relative probabilities of each models in the following way:<\/p>\n<ol>\n<li>Assume that one of the models is &#8220;correct&#8221; and initially all models are assumed equally probable. This is my prior and will be written: P<sub>o<\/sub>(j=correct model) where the o subscript will indicate &#8216;prior&#8217;.<\/li>\n<li>Divide the 90 year period ending in Dec. 2012 into three 30 year periods. These will be denoted with subscripts &#8216;k&#8217; one for each period.<\/li>\n<li>For period (a) the linear trend, m<sub>obs,k<\/sub> and (b) rms<sub>obs,k<\/sub> of residuals for each of the &#8216;n&#8217; runs for an observational data set. (I chose GISTemp here.)  <\/li>\n<li>For each model, j, compute the (a) rms of residuals for each of the &#8216;n&#8217; runs. Compute the mean and standard deviation of the rms of residuals over these &#8216;n&#8217; runs rms<sub>mean,j<\/sub>, sd<sub>rms,j<\/sub>.  Then assuming rms of residuals are normally distributed about the model mean, find the probability the that the <i>observed<\/i> value would occur <i>given<\/i> model &#8216;j&#8217; is assumed correct.  That is P(rms<sub>obs,k<\/sub>|j=correct model) is the probability we would observed trend rms<sub>obs,k<\/sub> during period &#8216;k&#8217; if &#8216;j&#8217; is the correct model. This probability is defined by my assumption the distributions would be Gaussian, the model mean rms for the periods, and the standard deviation of the rms values for  runs (plus a slight addition to account for the finite size effect to to having a finite number of runs.)\n<p>Note that given the <i>prior<\/i>, one would expect the probability of observing rms<sub>obs,k<\/sub> to have been the sum over all &#8216;j&#8217; models of the product of observing this trend <I>given<\/i> model &#8216;j&#8217; is assumed true and the probability that model &#8216;j&#8217; is thought to be true: <\/p>\n<p><indent>P<sub>o<\/sub>(rms<sub>obs,k<\/sub>)= P(rms<sub>obs,k<\/sub>|j=correct model) * P<sub>o<\/sub>(j=correct model)<\/indent><\/p>\n<p>This provides a relative weighting for the model at this step.  Using the relative weighting and Bayes law, I computed the <I>posterior<\/I> probability that model &#8220;j=correct model&#8221; based on it&#8217;s agreement with &#8216;rms&#8217; data during period &#8216;k&#8217; as:<\/p>\n<p><indent>P<sub>1<\/sub>(j=correct model)<br \/>\n= P<sub>o<\/sub>(j=correct model) * [ P(rms<sub>obs,k<\/sub>|j=correct model) \/ P<sub>o<\/sub>(rms<sub>obs,k<\/sub>) ] <\/indent><\/p>\n<p>I then repeated this for all &#8216;k&#8217; periods each time using the posterior from the previous trend as the current prior.<\/p>\n<p>This step tended to pick out models with higher-than-30 year frequency &#8216;weather noise&#8217; was closest to that in the observations. (As a practical matter, it tended to pick out models with runs that had <i>less<\/i> &#8216;noise&#8217; than the typical model.)\n  <\/li>\n<li>After weighting by &#8216;noise, I repeated the above procedure but using <I>trends<\/i> during each of the three periods.  I cpmputed (a) the linear trend  ( m<sub>mean,j<\/sub>, sd<sub>m,j<\/sub>) over these &#8216;n&#8217; runs, assumed the distribution of trends was Gaussian.    <\/li>\n<\/ol>\n<p>When this process was completed, I had a posterior distribution of models giving the <I>probability<\/i> each model was &#8220;the&#8221; correct model with the weighting based on agreement with GISTemp based on the criterion defined above. <\/p>\n<p>Once completed, I plotted out the new projection, which is shown in blue below:<\/p>\n<p><a href=\"http:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection-333x500.png\" alt=\"ReweightedProjection\" width=\"333\" height=\"500\" class=\"aligncenter size-medium wp-image-22930\" srcset=\"https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection-333x500.png 333w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection-199x300.png 199w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection-682x1024.png 682w, https:\/\/rankexploits.com\/musings\/wp-content\/uploads\/2013\/07\/ReweightedProjection.png 1200w\" sizes=\"auto, (max-width: 333px) 100vw, 333px\" \/><\/a><br \/>\nThe more probable models with weights given on a scale of (1-100) are indicated. Others have been dropped off the graph.  As you can see, the rescaled trends are lower; I think this is principally due to the fact that the final observed 30 year trends are much lower than the data so models with the lowest trend are given higher probabilities.  <\/p>\n<p>I&#8217;m not going to discuss this too much because I suspect people are going to want to note key features of the analysis more than the actual results. Two very important features are:<\/p>\n<ol>\n<li>The Bayesian projection is clearly affected by the <I>prior<\/i> chosen to describe which models we thought probable in the first place. In this case, one prior assumption is that the models I am including in the analysis <I>do<\/i> contain the &#8220;truth&#8221;. If you do not believe the models in anyway shape of form, the Bayesian projections ought not to be seen as &#8220;better&#8221; (even if you &#8216;like&#8217; it &#8216;better&#8217;).<\/li>\n<li>The shift in the posterior is clearly affected by which observational data sets we used to compute transition probabilities for the priors. My choice was dictated by wanting to use metrics based on surface temperature &#8212; which is what I want to predict.  Of these, I wanted to select easy to compute metrics. I used the agreement with the observations of a metric whose magnitude is affected by &#8216;weather noise at frequencies less than 30 years&#8217; and the agreement with &#8217;30 year trends&#8217; in surface temperatures.  Other people could pick other metrics (e.g. ability to predict tropical cloudiness). There are many metrics one could pick and I might note there is a vast choice to pick ( or cherry pick ) from! <\/li>\n<\/ol>\n<p>For now: The blue curve is &#8220;Lucia&#8217;s Bayesian for rcp4.5&#8221;.  Will it pan out? Beats me! <\/p>\n<p><b>Update<\/b>: (July 4, 2013. Place holder so I remember relevance! )Saw this paper on <a href=\"https:\/\/twitter.com\/geschichtenpost\/status\/352772117802123265\">Twitter<\/a>: <a href=\"http:\/\/t.co\/isYZzLjb3i\">Climate Models, Calibration and Confi\frmation<\/a>. I need to read further in light of thoughts I had while doing above calculation and thinking about comparing my &#8220;Bayesian&#8221; optimum from the models to &#8220;no warming&#8221; models and so on. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been threatening promising to post a Bayesian weighted projection based on the rcp4.5 models I&#8217;d downloaded from The Climate Explorer. Today, I&#8217;m going to explain how I concocted a projections and compare it to the projection I would obtain if I simply averaged over model means from models with more than 1 run in &hellip; <a href=\"https:\/\/rankexploits.com\/musings\/2013\/bayesian-projection-of-rcp4-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Bayesian Projection of RCP4.5.<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15],"tags":[],"class_list":["post-22929","post","type-post","status-publish","format-standard","hentry","category-data-comparisons"],"_links":{"self":[{"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/posts\/22929","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/comments?post=22929"}],"version-history":[{"count":0,"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/posts\/22929\/revisions"}],"wp:attachment":[{"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/media?parent=22929"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/categories?post=22929"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rankexploits.com\/musings\/wp-json\/wp\/v2\/tags?post=22929"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}