We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We might want a situation where the true parameter value is varying across scenario settings
Currently simsum gives a warning message (rather than an error) if the true variable is also in by. But the nlp plot does not work.
A contrived example below is shown where esigma is assumed to be the true value of the parameter (estvarname)
s.nlp.true <- rsimsum::simsum( data = nlp, estvarname = "b", true = "esigma", se = "se", methodvar = "model", by = c("baseline", "ss", "esigma") ) autoplot(s.nlp.true, stats = "bias", type = "nlp")
Work-around A work-around is to create a copy of the true parameter.
nlp$esigma.copy <- nlp$esigma s.nlp.true2 <- rsimsum::simsum( data = nlp, estvarname = "b", true = "esigma.copy", se = "se", methodvar = "model", by = c("baseline", "ss", "esigma") ) autoplot(s.nlp.true2, stats = "bias", type = "nlp")
The text was updated successfully, but these errors were encountered:
Now fixed in PR #53:
library(rsimsum) s.nlp.true <- rsimsum::simsum( data = nlp, estvarname = "b", true = "esigma", se = "se", methodvar = "model", by = c("baseline", "ss", "esigma") ) #> 'ref' method was not specified, 1 set as the reference library(ggplot2) autoplot(s.nlp.true, stats = "bias", type = "nlp")
Created on 2023-05-28 with reprex v2.0.2
If you'd like you can test it with:
remotes::install_github("ellessenne/rsimsum", ref = remotes::github_pull("53"))
Sorry, something went wrong.
This is fixed in {rsimsum} 0.13.0, which is now on CRAN.
ellessenne
No branches or pull requests
We might want a situation where the true parameter value is varying across scenario settings
Currently simsum gives a warning message (rather than an error) if the true variable is also in by. But the nlp plot does not work.
A contrived example below is shown where esigma is assumed to be the true value of the parameter (estvarname)
Work-around
A work-around is to create a copy of the true parameter.
The text was updated successfully, but these errors were encountered: