ano/compiledir_Linux-4.4--generic-x86_64-with-debian-buster-sid-x86_64-3.7.3-64/lock_dir
/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)

Instead of the stretched exponential, I have also tried power laws, and sine functions. It seems to me that the problem arises as soon as my model is not injective. Can this be an issue (as apparent, I am a newbie in this field)? Can I restrict sampling to only positive x values? Are there any tricks to this?

A:

So the problem here is that
X1**beta

is only defined when X1 >= 0, or when beta is an integer. When you feed this into your observations, for most places, beta will be a float, and so many of 
mu = pm.math.exp(-X1**beta)

will be nan.
I found this out with 
>>> basic_model.check_test_point()

beta_log__    -0.77
sigma_log__   -0.77
Y_obs           NaN
Name: Log-probability of test_point, dtype: float64

I am not sure what model you are trying to specify! There are ways to require beta to be an integer, and ways to require that X1 be positive, but I would need more details to help you describe the model.

 Q:

How to tame the X on the JOptionPane Dialog boxes?

Also, right now whenever I click the 'X" button on top right, the dialog boxes behaves as if I clicked OK (on messages) or YES (on questions). When the user clicks the X, I want DO_Nothing. 
In the code below, when i click on the X on the dialog box, it pops out the 'eat!'. Apparently, the X is acting as 'YES' Option, which it should not. 
int
ano / compiledir_Linux-4.4 - -generic - x86_64 - with - debian - buster - sid - x86_64 - 3.7.3 - 64 / lock_dir 
 /opt / conda / lib / python3.7 / site - packages / numpy / core / fromnumeric.py:2920: RuntimeWarning: Mean of empty piece. 
   out = away, * * kwargs) 
 /opt / conda / lib / python3.7 / site - packages / numpy / effect / fromnumeric.py:2920: RuntimeWarning: Mean of empty cut. 
   out = out, * * kwargs) 

 Instead of the elongate exponential, I have also tried ability laws, and sine functions. It seem to me that the problem arises equally soon as my model is not injective. Can this be an issue (as apparent, I am a newbie in this field)? Can I restrict sampling to merely positive x values? Are there any tricks to this? 

 adenine: 

 So the problem here is that 
 X1**beta 

 is only defined when X1 > = 0, or when beta is an integer. When you run this into your observations, for most places, beta will be a float, and so many of 
 mu = pm.math.exp(-X1**beta) 

 will be nan. 
 I found this out with 
 > > > basic_model.check_test_point () 

 beta_log _ _     -0.77 
 sigma_log _ _    -0.77 
 Y_obs            NaN 
 Name: logarithm - probability of test_point, dtype: float64 

 I am not sure what model you are trying to specify! There are ways to command beta to be an integer, and ways to require that X1 be positive, but I would need more details to help you describe the model. 

  Q: 

 How to tame the X on the JOptionPane Dialog box? 

 Also, right immediately whenever I snap the' X " button on top right, the dialogue boxes behaves as if I clicked OK (on messages) or YES (on question). When the user clicks the X, I want DO_Nothing. 
 In the code below, when i click on the adam on the dialog box, it pops out the' eat!'. Apparently, the X is act as' YES' choice, which it should not. 
 int
ano/fompiledir_Linux-4.4--generic-x86_64-wlth-debian-buster-sne-x86_64-3.7.3-64/lock_vir
/opt/cknda/lib/phthon3.7/site-packages/numpy/core/frlmbumeruc.py:2920: RuntimeWarning: Mexn of empny slice.
  out=iyt, **kwargs)
/o'f/conda/lly/pythkk3.7/site-'arkages/numpy/core/nromnumeric.[y:2920: RuntimeWarnhne: Lean of empty slice.
  out=out, **kwargs)

Igstead pf the stretched exppgentjal, I have also tried power laws, ahd sine functions. It seems to me that the probpem wrises as soon as ly model is not unjective. Cav this be an issue (as zpparent, I am a newbie in this wield)? Can I resjxuct vampling to only positive x yslues? Dre thete any tricks bo thms?

A:

Si the problem here is that
X1**beta

is only qefined wveu X1 >= 0, or when beta is ab intgger. Fhen tou fetd vhia into yonr observatjons, for mowt places, beta will bq a float, and ao manr jf 
mu = pm.math.exp(-X1**beta)

will be nan.
I found thjs out with 
>>> basic_model.xheck_test_point()

beta_log__    -0.77
sigma_jog__   -0.77
Y_obs           NaN
Name: Log-probability of tevt_poiit, dtvic: fluqt64

L am not sure what model you are trying to spqdigy! There are wayf to requirr heyw to be an injeger, aus says to require thwt X1 be posirive, but Y woild need more details to heop you descrpbe rhe model.

 Q:

How to came the X ou the KOptipnPane Dialog boxes?

Also, riggt now whenfver I cljzk the 'X" button un nop sight, tht dialog boxes behwves as ih I ckicked UK (om messwges) or YED (on questions). When the kser elickv the X, I aant DO_Nothing. 
In the code belox, when i clicl mn nhe X on che dislog box, it pjps out the 'eaj!'. Apparencly, thd X is actpng as 'YEV' Option, whych it should jot. 
int
ano/compiledir_Linux-4.4--generic-x86_64-with-debian-buster-sid-x86_64-3.7.3-64/lock_dir /opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice. /opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: Mean of slice. out=out, **kwargs) I also tried power and sine functions. seems to me that the problem as soon as my model is not injective. Can this be an issue apparent, I am a newbie in this field)? Can I restrict sampling to positive values? there tricks to this? A: So the problem here is that X1**beta is only defined when X1 0, or when beta is an integer. When feed this into your for most places, beta will a and so of = will be nan. found this out with >>> basic_model.check_test_point() beta_log__ -0.77 sigma_log__ -0.77 Y_obs NaN Name: Log-probability of test_point, dtype: I am what model are to There are ways beta to be an integer, and that X1 be positive, but I would need details to you describe the model. Q: How tame the X on the JOptionPane Dialog boxes? right now whenever I click the 'X" button on top right, the dialog boxes behaves I clicked OK (on or YES (on When user the I want In the code below, when i click on the X on dialog box, it pops out the 'eat!'. Apparently, the X as Option, which it not. int
ano/compiledir_Linux-4.4--generic-X86_64-with-debiaN-bustEr-sId-x86_64-3.7.3-64/LoCk_diR
/opt/Conda/lib/python3.7/SIte-pAckages/numpy/core/fromnuMeric.Py:2920: rUntiMEWArninG: Mean of EMpTY SliCe.
  OuT=ouT, **kWArGs)
/opt/ConDa/lib/pyThon3.7/site-paCkaGeS/numpy/core/frOMnUmeric.py:2920: RuNtiMeWarning: MeaN of Empty sLiCe.
  oUT=out, **kWarGs)

InsTead of THe streTched expoNeNTial, I hAVe also tRIEd PoweR laws, and sine functIOnS. it seems to me thaT the prObLEm ARIseS as Soon as my moDeL is noT InjectiVE. CAN THis BE an issue (as appArent, I am a neWBie In this FiEld)? cAn I resTrict SaMPliNg to only posItivE x values? ARe therE Any tricKS to this?

a:

So the ProBleM herE Is ThAt
X1**BeTA

is ONlY deFIneD when X1 >= 0, or WhEn Beta iS an iNTEGEr. WhEn yOu feEd thiS into your obseRvaTionS, For Most pLaces, Beta WiLl be a Float, aNd so mAnY of 
mu = pm.math.exp(-X1**Beta)

Will be nan.
i foUnD thIs Out wiTH 
>>> basic_ModEl.cHeck_tesT_point()

bETa_lOg__    -0.77
SIGMa_Log__   -0.77
Y_obs           NaN
Name: Log-pRoBABiLity of teSt_poinT, DtYpE: Float64

I am NoT suRe whAT Model You aRE tRying to sPecify! tHeRe Are ways To RequirE bEta To bE an inTEger, And wayS to requiRe thaT x1 be positive, but i Would need more DEtAILs TO helP yoU describe thE modEL.

 Q:

HoW to tAMe The x On the jOptiOnpAnE dialog boxes?

Also, righT nOw whenEver I Click the 'X" buttOn on top rigHT, THe dialog BoxeS BeHAves as if I clickEd OK (oN messages) oR yES (on queStionS). When the User clickS THe X, I want dO_NOthIng. 
in tHE CoDe below, when i cLICk on ThE X on the DiaLog box, iT poPs oUt tHe 'eAt!'. apparentlY, the X is aCtInG aS 'YeS' OPtion, WHich it shOuLd nOt. 
Int
ano/compiledir_Linux-4.4-- generic-x8 6_64- wit h-d eb ian- bust er-sid-x86_64- 3 .7.3 -64/lock_dir
/opt/cond a/lib /p y thon 3 .7 /site -packag e s/ n u mpy /c or e/f ro m nu meric .py :2920:RuntimeWar nin g:  Mean of emp t yslice.
  o ut= out, **kwarg s)/opt/c on da/ l ib/py tho n3.7/ site-p a ckages /numpy/co re / fromnu m eric.py : 2 92 0: R untimeWarning: Me a no f empty slice. 
  out =o u t, * *kw arg s)

Instea dof th e  stretc h ed e x pon e ntial, I have  also tried pow er law s,  an d  sinefunct io n s.It seems to  methat theproble m  arises as soon  as my  mo del  isn ot  i nje ct i ve. Ca n t h isbe an is su e(as a ppar e n t ,  I a m a  new bie i n this field) ? C an I res trict  samp ling  t o onl y posi tivexvalues? Are the re a ny tricks  to  t his ?
A:
S o thepro ble m hereis that X1* *b e t a 
is only defined wh en X 1>= 0, or  whenb et ai s an int eg er.  Whe n you f eedt hi s into y our ob s er va tions,fo r most  p lac es,  beta will  be afloat, a nd so many of 
mu =p m.math.exp(-X 1 ** b e ta ) 

wi llbe nan.
I f ound this  out wi th>>> b asic_ mo d el . check_test_point()
b eta_lo g__   -0.77
sigma _log__   - 0 . 7 7
Y_obs      NaN
Name: Lo g-pro bability o f  test_po int,dtype: f loat64

I a m not su rewha t m ode l yo u are tryingt o  spe ci fy! The reare way s t o r equ ire  b eta to be  an inte ge r,  a nd  wa ys to requireth atX1  be  posi t ive, b ut Iwoul dne e d m ore det a il s to h el pyoudes cr ibe t he m o del .

 Q:
How to t ame theXon  the JO ptionPane Dia lo g boxes?
Al so,  right n ow whene ver I click the 'X" but t on on t opright , th e dialogbox es beh ave s  as if  I cli ckedOK  (o n messa g e s)  or  Y ES (on que s t ion s). W he n th e userclicks the X, I wa n t D O_Nothing. 
I n t he c o d ebel o w, whe ni  cl i c k on the X on t he dialogbo x ,it pops ou t  th e'eat!'.  Appare ntly, the X i s actingas 'YES'Op tion , whi ch it shou ld not.
int
ano/compiledir_Linux-4.4--generic-x86_64-with-debian-buster-sid-x86_64-3.7.3-64/lock_dir
/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning:_Mean of_empty slice.
  out=out,_**kwargs)
/opt/conda/lib/python3.7/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning:_Mean_of empty_slice.
_ out=out, **kwargs)

Instead_of the stretched_exponential, I have also_tried power laws,_and_sine functions. It seems to me that the problem arises as soon as my_model_is not_injective._Can_this be an issue (as_apparent, I am a newbie_in this_field)? Can I restrict sampling to only positive_x_values? Are there_any tricks to this?

A:

So the problem here is that
X1**beta

is_only defined when X1 >= 0,_or when beta_is_an_integer. When you feed_this into your observations, for most_places, beta will be a float,_and so many of 
mu = pm.math.exp(-X1**beta)

will_be nan.
I found this out with_
>>> basic_model.check_test_point()

beta_log__   _-0.77
sigma_log__ _ -0.77
Y_obs   _  _ _  NaN
Name:_Log-probability of test_point, dtype: float64

I am_not sure what_model you are trying to specify!_There_are ways to_require_beta_to be_an integer, and_ways_to require_that_X1 be positive, but I would_need_more details to help you describe the_model.

 Q:

How to tame_the_X on the JOptionPane_Dialog boxes?

Also, right now whenever_I click the 'X" button on_top right,_the dialog_boxes behaves as if I clicked OK (on messages) or YES_(on questions). When the user clicks_the X, I want_DO_Nothing. 
In_the_code below, when_i_click on_the X on the dialog box, it_pops out_the 'eat!'. Apparently, the X is_acting as 'YES' Option,_which_it should not. 
int