Giter Club home page Giter Club logo

cvcqv's Introduction

πŸ’« About Me:

🌐 Socials:

LinkedIn Stack Overflow Twitter

πŸ’» Tech Stack:

Python Rust R
Postgres MySQL MongoDB MicrosoftSQLServer SQLite
Azure AWS Google Cloud
FastAPI Flask Apache Airflow
Pandas NumPy Plotly PyTorch scikit-learn SciPy
LINUX Docker Notion Chart.js Bootstrap CSS3 HTML5

πŸ“Š GitHub Stats:



πŸ† GitHub Trophies


cvcqv's People

Contributors

maanibeigy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

cvcqv's Issues

[Bug]Wrong formula for CV CI Vangel method?

Hi,

you may have a small error in your formula that is computing the CI of the CV according to Vangel:
From your code:
lower.tile.vangel <- cv/sqrt(((u1 + 1)/(v + 1) - 1 )*(cv^2) + u1/v)

I think, instead it needs to be u1 + 2, i.e.:
lower.tile.vangel <- cv/sqrt(((u1 + 2)/(v + 1) - 1 )*(cv^2) + u1/v)

The same happens in the upper limit.

Best regards,
Roman

[Bug] McKay interval slightly incorrect? (Either in vignette or code)

The code for the McKay interval is:

else if ("mckay" %in% method && correction == FALSE) {
v <- length(x) - 1
t1 <- stats::qchisq(1 - alpha/2, v)/v
t2 <- stats::qchisq(alpha/2, v)/v
u1 <- v * t1
u2 <- v * t2
est.mckay <- cv
lower.tile.mckay <- cv/sqrt((u1/(v + 1) - 1) * (cv^2) +
u1/v)
upper.tile.mckay <- cv/sqrt((u2/(v + 1) - 1) * (cv^2) +
u2/v)
}
else if ("mckay" %in% method && correction == TRUE) {
v <- length(x) - 1
t1 <- stats::qchisq(1 - alpha/2, v)/v
t2 <- stats::qchisq(alpha/2, v)/v
u1 <- v * t1
u2 <- v * t2
est.mckay <- cv_corr
lower.tile.mckay <- cv_corr/sqrt((u1/(v + 1) - 1) * (cv_corr^2) +
u1/v)
upper.tile.mckay <- cv_corr/sqrt((u2/(v + 1) - 1) * (cv_corr^2) +
u2/v)
}
Note that we have (v + 1) instead of (v) as it is in the vignette.
Which is correct?

Thanks!

Edit: Your package has been very helpful, thank you very much.

Install problems

HI, I am having trouble installing and using your cvcqv in R.
When I install the package it seems to be OK, but when I try to load the cvcqv library I get an error saying there is no package called 'ellipse'. I have tried installing the ellipse package but this fails - the install of ellipse says there is no package called ellipse!
I have also tried the install with specified paths, but I still ge the same error.
Do you have any ideas? Ellipse is not listed as a dependency for this package.
Thanks,
Geoff

install.packages("cvcqv")
Installing package into β€˜\icnas2.cc.ic.ac.uk/baldwin/R/win-library/3.6’
(as β€˜lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/cvcqv_1.0.0.zip'
Content type 'application/zip' length 351307 bytes (343 KB)
downloaded 343 KB

package β€˜cvcqv’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\baldwin\AppData\Local\Temp\RtmpGoMdcj\downloaded_packages

library(cvcqv)
Error: package or namespace load failed for β€˜cvcqv’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called β€˜ellipse’

cv_versatile(

  • x, 
    
  • na.rm = TRUE, 
    
  • digits = 3, 
    
  • method = "kelley", 
    
  • correction = TRUE, 
    
  • alpha = 0.05
    
  • )
    Error in cv_versatile(x, na.rm = TRUE, digits = 3, method = "kelley", :
    could not find function "cv_versatile"

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.