CMUTARA is a web-based application developed using R Shiny and integrated with ChatGPT. It is designed to support teaching and research in econometrics and statistics by offering model selection, estimation, AI-generated interpretation, and theoretical explanations.
🟢 No installation required. Just open your browser and start using the tool.
You can use CMUTARA directly from any modern web browser.
-
Open one of these browsers:
- Google Chrome
- Mozilla Firefox
- Microsoft Edge
- Safari
-
Go to the application: 👉 https://woraphon.shinyapps.io/CMUTARA/
-
Upload your
.csv
dataset. -
Select your dependent and independent variables.
-
Explore the features:
- 📊 Model suggestions based on data characteristics
- 🧮 Regression estimation (OLS, Logit, Probit, Poisson, etc.)
- 💬 AI-generated interpretation of model results
- 📚 Theoretical and statistical explanations
- 📁 Exportable reports in various formats
The complete source code is available at:
🔗 https://github.com/woraphonyamaka/CMUTARA
This section is for developers who want to run CMUTARA locally for customization or offline testing.
- Linux ✅
- Windows ✅
- macOS ✅
- R (version ≥ 4.2.0)
- RStudio (optional)
- Internet access for OpenAI API features
1) Clone the repository
git clone https://github.com/woraphonyamaka/CMUTARA.git
cd CMUTARA
2) Install required R packages:
install.packages(c(
"shiny","shinydashboard","shinyWidgets","shinyjs","bslib",
"plotly","ggplot2","readr","readxl","dplyr","stringr","httr",
"pastecs","e1071","tseries","aTSA","plm","urca","tsDyn",
"vars","rugarch","dynlm","MASS","nnet","mlogit","oglmx",
"stargazer","marginaleffects","mfx","lmtest","mctest","forecast",
"mathjaxr","chatgpt"
))
3) Set your OpenAI API key (required for ChatGPT features)
You can get your API key by signing in to your OpenAI account here: https://platform.openai.com/account/api-keys
Sys.setenv(OPENAI_API_KEY = "YOUR_OPENAI_API_KEY")
# (Optional) Save the key for future sessions
# write("OPENAI_API_KEY=YOUR_OPENAI_API_KEY", file = file.path(Sys.getenv("HOME"), ".Renviron"), append = TRUE)
4) Run the Shiny application:
shiny::runApp("CMUTARA8 remove key.R")