Classical & Bayesian Instrument Development
In order to use the software, you can (1) run it on our server directly from a web browser or (2) download and install several programs. If you would like to run it on our server from your web browser go to: https://biostats-shinyr.kumc.edu/CBID/. This is a great option if you want to get started right away! If you would like to run it on your own computer follow these directions. We will assume you are using Windows, but you can use Google to find equivalent links for Linux. Note that if you are using a Mac, you will need to emulate Windows (via something such as WINE) because OpenBUGS is not available for Mac.
"Research reported in this publication was supported by the National Institute of Nursing Research of the National Institutes of Health under Award Number R03NR013236 (Principal Investigator: Dr. Byron Gajewski). The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institutes of Health. Use CBID or any reference sites at your own risk. The authors, NINR, and NIH are not responsible for uses of CBID."
STEP 1
Download and install the most recent versions of following:
1) R: https://cran.r-project.org/bin/windows/base/
2) R Studio (Make sure you install this after R): https://www.rstudio.com/products/rstudio/download/
3) OpenBUGS: http://www.openbugs.net/w/Downloads
STEP 2
Open R Studio, type the following commands in the console (bottom left window) and press enter. Alternatively, you can copy and paste all of the install.package lines, paste them in the console, and press enter to run them all at once:
install.packages("lavaan")
install.packages("psy")
install.packages("MCMCpack")
install.packages("boot")
install.packages("R2OpenBUGS")
install.packages("shiny")
This installs the necessary packages. You will know each package has installed successfully if you obtain a message similar to this one:
package 'lavaan' successfully unpacked and MD5 sums checked
STEP 3
Save the file CBIDapp_0.1.tar.gz on your computer. Keep it saved as a .tar.gz file, do NOT extract its contents.
STEP 4
We next use R Studio to install the CBID app:
1) On the top-left, with File, Edit, etc... click "Tools" "Install Packages"
2) For "Install from" choose "Package Archive File (.zip; .tar.gz)"
3) For "Package Archive", click browse, and select "CBIDapp_0.1.tar.gz" from wherever it is saved on your computer.
4) Click the install button.
STEP 5
Almost done! To run the app, run the following lines from the console:
library(shiny)
library(CBIDapp)
run_CBID()
After typing these commands the CBID app should run. There is a link to a tutorial describing how to use the software on the main page of the app:
If you have any questions, feel free to email Sam Pepper at spepper@kumc.edu.
If you are interested in practice with using CBID, we have prepared a small simulated data set you can download. If you would like to test the Bayesian analysis functions on this data set, we have also included a prior data set as well as an expert data set.
Once you have used the app, please send us your feedback as CBID is currently undergoing usability testing. We have created a short survey which can be found here: https://redcap.kumc.edu/surveys/?s=PDRXENKTKP