postpi's People
postpi's Issues
Functions in the package
The package should contain these functions that the users see (the other helper functions can be hidden by not exporting them)
-
iap_relate
-inputs: test_dat, formula (with y as outcome, predictions as covariates))
-outputs: rel_mod (the relationship model) -
iap_relate_plot
- inputs: rel_mod
-outputs: diagnostic plots (y and y_p for continuous along with model fit, for binary it could observed probability versus predicted)
- inputs: rel_mod
-
iap_glm
- inputs: formula, valid_dat, rel_mod
- outputs: regression model output from using the bootstrap approach (estimate, se, t-statistic, output in standard broom format)
-
iap_lm_deriv
- inputs: formula, valid_dat, rel_mod
- outputs: regression model output from using iap_boot approach (estimate, se, t-statistic, output in standard broom format)
old
-
iap_relate_plot
- inputs: data set, prediction model, outcome variable, smoother choice (linear, loess)
- outputs: plot of y versus predicted y for continuous data, plot of y versus predicted probability for binary
-
iap_outcomes_plot
- input: data set, prediction model, relationship model
-output: plot of bootstrapped/simulated y versus real y
- input: data set, prediction model, relationship model
-
iap_sim
- input: number of covariates, number of samples (total), fraction in training/testing,validation, whether the outcome is binary or continous
- output: data frame with columns outcome, covariate_1, covariate_2, etc., and group with values of either training, testing, or validation.
We should base this on the tidyverse/caret packages
When building a prediction/relationship model the user should use caret: http://topepo.github.io/caret/index.html
When setting up the sampling scheme the user should use rsample: https://github.com/tidymodels/rsample
When setting up the inference model the user should use recipes: https://github.com/tidymodels/recipes
We should use yardstick to measure accuracy:
https://github.com/tidymodels/yardstick
Output for the models should be created in broom format:
https://github.com/tidymodels/broom
Vignette not found
Hello! the link to the vignette is broken!
Let's use the Leekgroup package creation guide
Can we use this guide please to make the package: https://github.com/jtleek/rpackages
We should have a vignette that shows different applications
We should include a step by step vignette on how to:
(1) Set up training/testing/validation
(2) Fit the model and use it.
(3) Diagnose when it is going wrong.
(4) Shows how to do this for many covariates.
Let's change the title of this package to lowercase.
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.