Coder Social home page Coder Social logo

kdecopula's People

Contributors

tnagler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kdecopula's Issues

numerical stability in interp_2d

Hello,

When using kdevine, I observed an odd effect of order of observations on density calculation. I traced it in a debugger to interp_2d function. Here is a pattern of behavior:

Browse[5]> u
             zr2       zr1
[1,] 0.001724833 0.0010000
[2,] 0.858983907 0.7091684

Browse[5]> interp_2d(u[1, , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 161.8257
Browse[5]> interp_2d(u[2, , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 1.141078

Browse[5]> interp_2d(u[c(1, 1), , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 161.8257 161.8257
Browse[5]> interp_2d(u[c(2, 2), , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 1.141078 1.141078
Browse[5]> interp_2d(u[c(1, 2), , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 161.825726   1.141078
Browse[5]> interp_2d(u[c(2, 1), , drop = F], obj$estimate, obj$grid, numeric(4), 
+           numeric(4))
[1] 1.141078e+00 1.000588e-15

Note the effect of switching from (1, 2) to (2, 1). Overall, it appears that having two observations in a particular order can crash the function.

I glanced at the interp_2d function, but that leads to other functions, which may take me a while to figure out. Do you have any thoughts on how to stabilize the calculation?

Thanks,

Slava

hhoeschle / EquilibriumModelsADMM.jl

hello,Thomas
I wonder if you have a copy of the EquilibriumModelsADMM.jl, I cannot get into connection with the developer,I saw you comments under the Project. Hope you have some hints

sorry for bothering you. thank you for your time and consideration.

about AIC in kdecop package

Dear Nagler

How could I solve the AIC of the types TTCV and TTPI, please?

when I fit data and estimate it using these types it doesn't give the AIC values.

Regards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.