Comments (6)
Hello,
Addressing 2 issues:
- You see the same random variables because of the seed
- The cdf is a 1-to-1 transformation so given any input, it should return deterministically the same output
That said, after reviewing the code, I noticed I made a mistake with the random generation in that I should have sampled the data with replacement. I'll fix it in the next update.
from copulae.
Hello,
Thanks for your response.
Sorry I was not clear enough, what I meant is that :
print(cop.cdf(np.array([[0.1, 0.5, 1.]])))
# Gives [0.13366667]
print(cop.cdf(np.array([[0.1, 1., 1.]])))
# Gives [0.13366667]
print(cop.cdf(np.array([[1., 1., 1.]])))
# Gives [0.13366667]
I understand that cdf is deterministic but it does not mean that it should map all possible inputs into 0.13366667, right?
This behavior is different from other types of copulae (like the normal one) where the cdf function gives the output I expected.
from copulae.
Yes, you're right. Thank you for pointing out the bug.
The issue arises because I was trying to make it convenient by auto-adjusting the data into pseudo-observations when it is not already so. When I take it away, it'll be correct. I'll release the fix in the next copy.
from copulae.
Thank you very much! Looking forward to it.
from copulae.
@M-Soundouss I pushed up a fix in 0.7.0.
from copulae.
Thank you very much!
from copulae.
Related Issues (20)
- Copula Fit Replication with SAS using Uniform Marginals HOT 2
- Error after update HOT 2
- Designation of p_obs does not affect the fit HOT 2
- the summary( ) got converging error HOT 2
- ModuleNotFoundError: No module named 'copulae.special._specfunc' HOT 2
- Python 3.6 not supported? HOT 4
- How to Inverse Normalisation?[Quantile Function] HOT 2
- Fixing Correlation Matrix if copulae.fit() HOT 2
- test_gmc failures HOT 1
- Feature Request - Plot a copula
- Gaussian Mixture Copula Model gives wrong sampling
- Frank and Gaussian Copula give Error
- PEP 517 builds HOT 1
- Ver 0.7.7 - Kendall Tau not supported for Student Copula HOT 1
- Fit Summary HOT 1
- Support for discrete marginals
- Thank you! HOT 2
- An error occurred while importing copulae HOT 2
- GitHub project documentation link is broken HOT 1
- Reference for gaussian mixture copula
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copulae.