FAST-NUCES · Spring 2026 · Probability & Statistics

Probability & Statistics

My Probability and Statistics course work – thirty lectures with practice sheets, two textbooks, five assignments with my solutions, quizzes, formula sheets, sessional solutions and the final project, from descriptive statistics and probability to distributions, inference and regression.

Course: Probability and Statistics FAST-NUCES Spring 2026 Lectures: 30 Language: R
30Lectures
5Assignments
14Quiz files
85PDF documents
30Screenshots
88Files in total

Overview

Probability and Statistics at FAST-NUCES Islamabad, Spring 2026. The repository has all thirty lectures with their practice question sheets, the two course textbooks, five assignments with my solutions, quiz papers and my solved quizzes, formula sheets, sessional solutions, notes for the final exam, an R script for data analysis and the final project statement.

Unit 1

Descriptive statistics

Types of data, charts, histograms, mean, median, variance, quartiles and box plots.

Unit 2

Probability

Sets, counting, laws of probability, conditional probability, trees and Bayes.

Unit 3

Random variables & distributions

Discrete, continuous and joint variables; binomial, Poisson, exponential, gamma, beta and normal.

Unit 4

Inference & regression

Limit theorems, estimation, confidence intervals, hypothesis tests, correlation and regression.

Lectures

Thirty lectures, most with a lecture file (LEC) and a practice question sheet (PQS). Every file opens on GitHub, where PDFs preview in the browser.

01Introduction to statisticsStatistics, data, variables · 2 files
02Presentation of dataTables, bar and pie charts, histograms · 2 files
03Descriptive measuresMean, median, mode, variance · 2 files
04Measures of positionQuartiles, percentiles, box plots · 2 files
05Basic probabilitySets, sample spaces, events · 2 files
06Permutations and combinationsCounting rules · 2 files
07Laws of probabilityAddition and multiplication laws · 2 files
08Conditional probabilityConditional and independent events · 2 files
09Probability trees and Bayes' theoremTree diagrams, total probability · 2 files
10Probability in machine learningNaive Bayes, decision trees · 1 files
11Discrete random variablesPMF, CDF, expectation · 2 files
12Continuous random variablesPDF, CDF, expectation · 2 files
13Joint discrete random variablesJoint, marginal, conditional PMF · 2 files
14Joint continuous random variablesJoint PDF, covariance · 2 files
15Binomial and Poisson distributionsCounts of successes and events · 2 files
16Geometric, negative binomial, multinomialTrials until success · 2 files
17Uniform and exponential distributionsWaiting times · 2 files
18Gamma and beta distributionsGamma and beta models · 2 files
19Normal distributionZ-scores and the normal table · 3 files
20Limit theoremsChebyshev, LLN, CLT · 1 files
21Estimation theory IPoint estimation, MLE · 1 files
22Estimation theory IIConfidence intervals, tests · 1 files
23Inference about a meanz and t tests for a mean · 2 files
24Difference of two meansTwo-sample inference · 2 files
25Correlation analysisPearson correlation · 2 files
26Simple linear regressionLeast squares line · 2 files
27Multiple linear regressionSeveral predictors · 2 files
28Data analysis using RR script for course data · 1 files
29Logistic regressionSigmoid, odds, classification · 2 files
30Decision treesSplitting rules, entropy · 2 files

Books & Notes

The two course textbooks, final exam preparation, practice questions and my own notes.

BTextbooksBluman and Walpole · 2 files
NNotes & practiceFinal exam questions, practice sheets, notes · 4 files

Folder Structure

Folder structure
Prob_and_Stat_Repo/
├── Assignments/                       (9 files)
├── Books/                             (2 files)
├── FinalProject/                      (1 file)
├── Lecture #01/                       (2 files)
├── Lecture #02/                       (2 files)
├── Lecture #03/                       (2 files)
├── Lecture #04/                       (2 files)
├── Lecture #05/                       (2 files)
├── Lecture #06/                       (2 files)
├── Lecture #07/                       (2 files)
├── Lecture #08/                       (2 files)
├── Lecture #09/                       (2 files)
├── Lecture #10/                       (1 file)
├── Lecture #11/                       (2 files)
├── Lecture #12/                       (2 files)
├── Lecture #13/                       (2 files)
├── Lecture #14/                       (2 files)
├── Lecture #15/                       (2 files)
├── Lecture #16/                       (2 files)
├── Lecture #17/                       (2 files)
├── Lecture #18/                       (2 files)
├── Lecture #19/                       (3 files)
├── Lecture #20/                       (1 file)
├── Lecture #21/                       (1 file)
├── Lecture #22/                       (1 file)
├── Lecture #23/                       (2 files)
├── Lecture #24/                       (2 files)
├── Lecture #25/                       (2 files)
├── Lecture #26/                       (2 files)
├── Lecture #27/                       (2 files)
├── Lecture #28/                       (1 file)
├── Lecture #29/                       (2 files)
├── Lecture #30/                       (2 files)
├── Notes & Practice Questions/        (4 files)
├── Quizes/                            (14 files)
├── Sessionals Solution/               (2 files)
├── assets/
│   ├── screenshots/   30 images
│   ├── thumbs/        gallery previews
│   └── css/  js/      website
├── index.html
├── .gitignore
├── .nojekyll
├── LICENSE
└── README.md

Get the Files

Clone everything with Git, or run the Lecture 28 R script.

Clone the repository

Command
git clone https://github.com/rohaan2802/Prob_and_Stat_Repo.git

Run the R script

Command
cd "Prob_and_Stat_Repo/Lecture #28"
Rscript "Lecture-28 Data Analysis Using R.R"

The R script works in base R. You can also open it in RStudio and run it line by line. The PDFs open directly on GitHub or in any PDF reader.

License

Lecture slides, lab handouts, assignment statements and textbooks belong to their instructors at FAST-NUCES and to their authors and publishers. They are shared here only for learning and revision – see LICENSE. My own notes, code and the organisation of this repository are free to use for study.