CS201 MID TERM SOLVED MCQs || PAST PAPERS || GROUP-1 || INTRODUCTION TO PROGRAMMING || VuTech Visit Website For More Solutions www.vutechofficial.blogspot.com …
STA642 ASSIGNMENT NO. 2 FALL 2022 || 100% RIGHT SOLUTION || PROBABILITY DISTRIBUTIONS || BY VuTech
Visit Website For More Solutions
www.vutechofficial.blogspot.com
SEND WHATSAPP OR E-MAIL FOR ANY QUERY
0325-6644800
kamranhameedvu@gmail.com
Course
Title
Probability
Distributions
Course
Code
STA642
Activity
Assignment
# 2
Total
Marks
10
Lessons
included
108-127
Submission
Deadline
Date: 25th January, 2023
Time:
23:59 Hours (Midnight)
Instructions to attempt assignment:
Take help from video lectures/PPTs/Recommended book
For writing symbols, use Math Type software. If you
already did not download it, get it from here.
Make your own attempt, any copy/past; cheating from
other student/website may result in ZERO marks and/or assignment
cancellation.
Question 1:
Drive the expression of MGF for the Binomial
distribution also find it’s Mean and Variance?
Solution:
The binomial distribution models the number of successes in a fixed number of Bernoulli trials, where each trial has a probability p of success and a probability of (1-p) of failure. The random variable X represents the number of successes in n trials. The probability mass function (PMF) of X is given by:
`p(x) = (n choose x) * p^x * (1-p)^(n-x) for x = 0, 1, 2, ..., n`
where (n choose x) = `n! / (x! * (n-x)!)` is the binomial coefficient.
The moment generating function (MGF) of a random variable X is defined as `MGF(t) = E(e^(tx)),` where t is a real number and E is the expected value operator. To find the MGF of a binomial random variable X, we substitute the PMF into the definition of MGF and simplify:
This MGF tells us that the binomial distribution is completely determined by two parameters: n, the number of trials, and p, the probability of success.
The mean of a binomial random variable X is given by the expected value of X, which is the first moment of the distribution. We can find the mean by taking the derivative of the MGF with respect to t, and then setting t = 0:
So the mean of a binomial random variable X is equal to np, where n is the number of trials and p is the probability of success.
The variance of a binomial random variable X is given by `Var(X) = E(X^2) - [E(X)]^2.` The second moment of the distribution can be found by taking the second derivative of the MGF with respect to t and then setting t = 0:
We provide Virtual University of Pakistan Study Materials such as Solution of Assignments, GDBs, Mid Term Solved Papers, Final Term Solved Papers, Mid Term Solved MCQs, and Final Term Solved MCQs. We also provide regular Semester Quizzes, Updated Handouts, and Short Questions and Answers. We help you with your research and many other educational-related topics, as far as we know. Furthermore, Share your problem with us and Please feel free to ask any related questions.