Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many warnings when running vpcstats() on a binless VPC #28

Open
billdenney opened this issue May 1, 2023 · 0 comments
Open

Many warnings when running vpcstats() on a binless VPC #28

billdenney opened this issue May 1, 2023 · 0 comments

Comments

@billdenney
Copy link

When running a vpc that looks like this:

vpc_plotprep <-
  observed(d_mod_pk_aug, x = TIME, y = AVALN, lloq = ALLOQ) %>%
  simulated(vpc_prep_aug, x = time, y = sim) %>%
  stratify(~TRTP) %>%
  predcorrect(pred = PRED) %>%
  binless(loess.ypc = TRUE) %>%
  vpcstats(qpred = c(0.1, 0.5, 0.9))

I get many of the following warnings. Are they concerning?

1: In .local(x, ...) : singularity problem
2: In rq.fit.sfn(x, y, tau = tau, rhs = rhs, control = control,  ... :
  tiny diagonals replaced with Inf when calling blkfct

The warnings appear to come from this code:

tidyvpc/R/vpcstats.R

Lines 1621 to 1663 in af467fe

# Internal Function
.sic.strat.ypc <- function(llam, quant) {
a <- AIC(
rqss(
l.ypc ~
qss(x, lambda=exp(llam)),
tau=quant, na.action=na.exclude, data = strat.split[[i]]
),
k=-1
)
}
.sic.strat <- function(llam, quant){
a <- AIC(
rqss(
y ~
qss(x, lambda=exp(llam)),
tau=quant, na.action=na.exclude, data = strat.split[[i]]
),
k=-1
)
}
.sic.ypc <- function(llam, quant){
a <- AIC(
rqss(
l.ypc ~
qss(x, lambda=exp(llam)),
tau=quant, na.action=na.exclude, data = obs
),
k=-1
)
}
.sic <- function(llam, quant){
a <- AIC(
rqss(
y ~
qss(x, lambda=exp(llam)),
tau=quant, na.action=na.exclude, data = obs
),
k=-1
)
}

P.S. I'm having other issues, too. This could be related to something else in my work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant