Handouts Of Mth302 updated

📚 Handouts Of Mth302 updated (2).pdf

Brief overview

This document provides a comprehensive overview of fundamental business mathematics and statistics concepts. It covers essential financial calculations, matrix operations, data representation, statistical analysis, probability, and hypothesis testing, equipping readers with analytical tools for business decision-making.

Key points

  • Course objectives, basic arithmetic, and Excel applications for business mathematics.
  • Gross earnings calculations, averages, and fundamental financial mathematics.
  • Matrix operations and their applications in business contexts.
  • Statistical data representation, central tendency, and dispersion measures.
  • Probability distributions, hypothesis testing, and correlational analysis.

1. Course overview and basic mathematics applications

1.1 Course overview

  • Course title: Business Mathematics & Statistics (MTH 302).
  • Instructor: Dr. Zahir Fikri.
  • Course objective: Provide a mathematical basis for business financial decisions using arithmetic, algebra, ratio-proportion, and graphing.
  • Key skills emphasized: Logical reasoning and problem-solving.
  • Software requirement: Microsoft Excel.

1.2 Course structure and content

The course is divided into 8 modules, with Modules 1-4 focusing on Mathematics and Modules 5-8 on Statistics.

1.3 Module breakdown

ModuleTopicsLectures
1Applications of Basic Mathematics1-6
2Applications of Basic Algebra7-9
3Applications of Ratio and Proportion10-11
4Merchandising and Financial Mathematics12-16
5Break-Even Analysis17-22
6Statistical Representation of Data23-27
7Correlation, Time Series and Exponential Smoothing28-33
8Elementary Probability34-38
9Probability Distributions, Inference, Hypothesis Testing, Linear Programming39-45

5 6 7 8 9## 1.3 Evaluation criteria

  • Participation: Full participation is expected.
  • Assignments: Must be completed by the closing date.
  • Grading: Based on VU existing Grading Rules 3 10.
  • Mid-Term Exam: 35%
  • Final Exam: 50%
  • Assignments: 15%

1.4 Basic mathematics applications in Excel

Microsoft Excel is a spreadsheet software used extensively for business mathematics and statistics.

1.5 Arithmetic operations

Excel uses specific operators for calculations.

OperationSymbolExample (Excel)Result
Addition+=5+49
Subtraction-=5-41
Multiplication*=5*420
Division/=12/43
Percent%=20%0.2
Exponentiation^=5^225
  • Formulas: Start with an equals sign (=).
  • Cell References: Used to refer to data in specific cells (e.g., A15).
  • Ranges: A group of cells specified by the starting and ending cell, separated by a colon (e.g., A1:D15) 14.
  • SUM Function: Used to add a range of cells (e.g., =SUM(A34:F34)) 16.

🔑 Important: Formulas are entered into cells to display results. The formula bar shows the active formula.

📝 Example: To calculate the sum of 10 (in A15) and 5 (in B15) and show it in C15, the formula in C15 would be =A15+B15.

📝 Example: To multiply 25 (in A50) by 15 (in B50) and show the result in C50, the formula in C50 would be =A50*B50 18.

📝 Example: To divide 240 (in A75) by 15 (in B75) and show the result in C75, the formula in C75 would be =A75/B75.

📝 Example: To convert 20% to its decimal equivalent, enter =20% or if 20 is in A99, use =A99% in the adjacent cell.

📝 Example: To calculate 16 raised to the power of 2 (16^2), if 16 is in A85 and 2 is in B85, the formula in C85 would be =A85^B85 20.

🔑 Important: Always place punctuation outside the closing dollar sign for inline math expressions.

🔑 Important: When writing currency amounts, use full words like "dollars" or "euros", not symbols like USD or EUR 19.

🔑 Important: This course covers basic arithmetic operations and their application using Microsoft Excel for business calculations 12 15.

1.6 Course structure and tools

This course covers business mathematics and statistics. It will introduce essential mathematical operations.

Microsoft Excel will be a primary tool for applying these concepts. Students will use Excel to perform calculations and analyze data.

1.7 Basic mathematical operations in Excel

Excel is used to perform fundamental arithmetic. These operations are essential for business calculations.

  • Addition: Combining numbers to find a total.
  • Subtraction: Finding the difference between two numbers.
  • Multiplication: Repeated addition of a number.
  • Division: Splitting a number into equal parts.
  • Percentages: Expressing a part of a whole as 100.
  • Exponentiation: Repeated multiplication of a number by itself.

📝 Example: To calculate a 10% increase on a price of 50 dollars, you would multiply 50 by 1.10, resulting in 55 dollars. The formula in Excel would be =50*1.10.

1.8 Applying mathematical operations

Students should practice using Excel for these operations. The course website provides a downloadable worksheet.

This worksheet allows students to experiment with different values.

  • Practice: Change input values in the worksheet. Observe how the results change accordingly.
  • New worksheets: Create separate worksheets for each Excel operator. Use various numerical inputs.
  • Combinations: Develop worksheets that use multiple operations together. This simulates real-world problem-solving 21.

🔑 Important: Consistent practice with Excel is key to mastering these basic mathematical applications for business.

🔑 Important: Students are encouraged to download and utilize the provided Excel worksheet for hands-on practice and to reinforce understanding of mathematical operations.

2. Gross earnings, averages, and financial mathematics basics (part 1)

2.1 Calculating gross earnings

  • Gross earnings are total pay before deductions. They include basic salary and allowances.
  • Some allowances are tax-free up to 50% of the basic salary. Allowances above this threshold are taxable for both employee and employer.

📝 Example: An employee has a basic salary of 10,000 Rs. and allowances of 7,000 Rs. Non-taxable allowances are 50% of 10,000 Rs., which is 5,000 Rs. Taxable allowances are 7,000 Rs. - 5,000 Rs. = 2,000 Rs. Total taxable income is 10,000 Rs. + 2,000 Rs. = 12,000 Rs.

  • Common allowances include:

  • House Rent: typically 45% of basic salary.

  • Conveyance Allowance: usually 2.5% of basic salary.

  • Utilities Allowance: also around 2.5% of basic salary.

  • Provident Fund (PF) contributions are often 1/11th of the basic salary.

  • The employee deducts this amount from gross earnings.

  • The company contributes an equal amount to the employee's PF.

  • Total savings are 2/11th of the basic salary.

📝 Example: Basic salary is 10,000 Rs. Employee PF contribution: (1/11) * 10,000 Rs. = 909.1 Rs. Company PF contribution: (1/11) * 10,000 Rs. = 909.1 Rs. Total monthly savings: 909.1 Rs. + 909.1 Rs. = 1,818.2 Rs 24.

  • Gratuity Fund is another company contribution.
  • It is typically 1/11th of the basic salary per month.
  • This amount is invested for the employee's benefit.

📝 Example: Basic salary is 10,000 Rs. Company Gratuity contribution: (1/11) * 10,000 Rs. = 909.1 Rs.

  • Leave costs add to a company's expenses.
  • Calculated based on days allowed per year and gross salary.
  • The cost of leaves can be a significant percentage of gross salary.

📝 Example: Basic salary is 10,000 Rs., allowances are 5,000 Rs. (Gross salary = 15,000 Rs.). Working days per month = 22. Total cost of leaves per year (casual, earned, sick) = 32,727.3 Rs. This is 18.2% of the gross salary.

  • Social charges cover leaves, insurance, and other benefits.
  • These can total around 29% of the gross salary.
  • This includes medical/group insurance (about 5%) and other benefits (about 5.8%).

📝 Example: Gross salary is 15,000 Rs. Leaves cost: 0.182 * 15,000 Rs. = 2,730 Rs. Group insurance/medical: 0.05 * 15,000 Rs. = 750 Rs. Other social benefits: 0.058 * 15,000 Rs. = 870 Rs. Total social charges: 2,730 + 750 + 870 = 4,350 Rs 25.

  • Gross remuneration includes:
  • Basic Salary
  • Allowances (House Rent, Conveyance, Utilities)
  • Provident Fund
  • Gratuity Fund
  • Leaves
  • Group Insurance (Medical)
  • Miscellaneous social charges

🔑 Important: Benefits aim to increase employees' economic security 26.

2.2 Basic calculations with percentages

  • To convert a fraction to a percentage, multiply by 100 and add the '%' sign.
  • Formula: Percent=Fraction×100\text{Percent} = \text{Fraction} \times 100.

📝 Example: Convert 0.1 to a percent. 0.1×100=10%0.1 \times 100 = 10\%.

  • A percent can be represented as a fraction with a denominator of 100 or a decimal.

  • Example: 20%=20100=0.220\% = \frac{20}{100} = 0.2 27.

  • The percentage is found by multiplying the base by the rate.

  • Formula: Percentage=Base×Rate\text{Percentage} = \text{Base} \times \text{Rate}.

📝 Example: What percentage is 20% of 120? Rate=20%=0.2\text{Rate} = 20\% = 0.2 Base=120\text{Base} = 120 Percentage=0.2×120=24\text{Percentage} = 0.2 \times 120 = 24.

  • The base can be found by dividing the percentage by the rate.
  • Formula: Base=PercentageRate\text{Base} = \frac{\text{Percentage}}{\text{Rate}}.

📝 Example: Find the base if the rate is 24% and the percentage is 96. Rate=24%=0.24\text{Rate} = 24\% = 0.24 Percentage=96\text{Percentage} = 96 Base=960.24=400\text{Base} = \frac{96}{0.24} = 400 28.

  • Percentage change measures the relative change between two values.
  • Formula: Percentage Change=(Final Value−Initial ValueInitial Value)×100%\text{Percentage Change} = \left( \frac{\text{Final Value} - \text{Initial Value}}{\text{Initial Value}} \right) \times 100\%.

📝 Example: Sales increased from 1,000 dollars to 2,500 dollars. Change=2,500−1,000=1,500\text{Change} = 2,500 - 1,000 = 1,500 dollars Percentage Change=(1,5001,000)×100%=150%\text{Percentage Change} = \left( \frac{1,500}{1,000} \right) \times 100\% = 150\% 39.

📝 Example: 15 kg of fresh fruit shrinks to 3 kg of dried fruit. Change=3−15=−12\text{Change} = 3 - 15 = -12 kg Percentage Change=(−1215)×100%=−80%\text{Percentage Change} = \left( \frac{-12}{15} \right) \times 100\% = -80\% 41.

2.3 Averages and weighted averages

  • The arithmetic mean (average) is the sum of data values divided by the number of data values.
  • Formula: Average=SumN\text{Average} = \frac{\text{Sum}}{\text{N}} 32.

📝 Example: Data: 10, 7, 9, 27, 2. Sum = 10+7+9+27+2=5510 + 7 + 9 + 27 + 2 = 55. Number of data values (N) = 5. Average = 55/5=1155 / 5 = 11.

  • Microsoft Excel offers functions to calculate sums and averages.

  • SUM function: Adds numbers in a range or non-contiguous cells.

  • AVERAGE function: Calculates the arithmetic mean of arguments 33 36.

  • A weighted average gives more importance to certain data points.

  • Each data value is multiplied by its corresponding weight. These products are then summed.

  • Weights are typically expressed as fractions or decimals.

📝 Example: A student's overall grade. Homework weight = 10% (0.1), Quiz weight = 20% (0.2), Test weight = 70% (0.7). Homework grade = 92, Quiz grade = 68, Test grade = 81. Weighted average = (0.1×92)+(0.2×68)+(0.7×81)=79.5(0.1 \times 92) + (0.2 \times 68) + (0.7 \times 81) = 79.5.

📝 Example: Average hourly wage for labor. Skilled labor: 6 hours, 300 Rs./hour. Semiskilled labor: 3 hours, 200 Rs./hour. Unskilled labor: 1 hour, 100 Rs./hour. Total labor hours = 6+3+1=106 + 3 + 1 = 10. Weights: Skilled = 6/10 (0.6), Semiskilled = 3/10 (0.3), Unskilled = 1/10 (0.1). Weighted average wage = (0.6×300)+(0.3×200)+(0.1×100)=180+60+10=250(0.6 \times 300) + (0.3 \times 200) + (0.1 \times 100) = 180 + 60 + 10 = 250 Rs. per hour.

🔑 Important: Weighted averages are used when data points have different levels of significance, common in grade calculations and cost analyses 37 38.

3. Gross earnings, averages, and financial mathematics basics (part 2)

3.1 Percentage changes and compound growth

Percentage change measures the relative change between an original and a new value. It's calculated as the difference between the new and old value, divided by the old value, then multiplied by 100.

A positive result indicates an increase, while a negative result signifies a decrease.

Percentage Change = New Value−Old ValueOld Value×100\frac{\text{New Value} - \text{Old Value}}{\text{Old Value}} \times 100

For sequential percentage changes, each subsequent change is applied to the new, already adjusted value. This is common in salary increases over multiple years or compound interest calculations.

Compound Growth Formula: Final Value = Initial Value ×(1+Rate1)×(1+Rate2)×…\times (1 + \text{Rate}_1) \times (1 + \text{Rate}_2) \times \dots

  • Initial Salary: 5000 rupees
  • Year 1 Increase: 3%
  • Year 2 Increase: 2%
  • Year 3 Increase: 1%
  • Salary at End of Year 3: 5306 rupees 43.

This shows how compounding increases the final amount more than simply adding the percentages. For example, a 3% and then a 2% increase is not the same as a 5% increase.

  • Investment: 100,000 rupees 45.
  • Year 1 Return: 4%
  • Year 2 Return: 8%
  • Year 3 Return: -10%
  • Year 4 Return: 9%
  • Value at End of Year 4: 110,186 rupees 46.

3.2 Stock market metrics

Stocks represent ownership in a company. Various metrics help evaluate a stock's performance and value.

MetricDescriptionFormula
Stock yieldIncome generated from stock as regular dividends, expressed as a percentage.Annual Dividend PaymentsStock’s Current Share Price\frac{\text{Annual Dividend Payments}}{\text{Stock's Current Share Price}}
Earnings per share (EPS)Total company profits divided by the number of outstanding shares.Total ProfitsNumber of Shares\frac{\text{Total Profits}}{\text{Number of Shares}}
Price-earnings ratio (P/E)Valuation ratio comparing a company's share price to its earnings per share.Current Share PriceEarnings Per Share\frac{\text{Current Share Price}}{\text{Earnings Per Share}}
Net current asset value per share (NCAVPS)Company's current assets minus total liabilities, divided by the total number of outstanding shares.Current Assets−LiabilitiesOutstanding Shares\frac{\text{Current Assets} - \text{Liabilities}}{\text{Outstanding Shares}}
  • Outstanding shares: Stock currently held by investors; repurchased shares are excluded.
  • Market value: The price at which a stock trades at a given time.
  • Face value (par value): The original cost of a share, usually listed on the certificate and typically small 49.

Dividends

Dividends are a portion of a company's profit distributed to shareholders. They can be given as a fixed amount per share or as a percentage of the share's face value.

If a company declares a 50 percent dividend and the face value of a share is 10 dollars, the dividend is 5 dollars per share.

Buying and selling shares

When buying or selling shares, commissions are usually charged. These are typically a percentage of the transaction value.

  • Buying shares: Total cost includes the share price plus commission.

  • 100 shares at 62.50 dollars per share.

  • 2% commission on the total purchase price.

  • Total cost: 6,375 dollars.

  • Return on Investment (ROI): This measures the profitability of an investment. It includes gains from selling shares and any dividends received.

  • Bought 100 shares at 52.25 dollars each.

  • Sold 100 shares at 68 dollars each.

  • 1% commission on buying and selling.

  • 10% dividend per share (face value 10 dollars).

  • Total ROI: 29.46% 50.

3.3 Discounts and Net Cost Price

A discount is a reduction in price, usually expressed as a percentage of the list price. The net cost price is the final price after the discount is applied.

Net Cost Price = List Price - Discount

  • List Price: 2200 dollars

  • Discount Rate: 15%

  • Discount Amount: 330 dollars 52.

  • List Price: 4,500 rupees

  • Discount: 20%

  • Net Cost Price: 3,600 rupees 53.

3.4 Simple Interest

Simple interest is calculated only on the initial principal amount. It does not compound, meaning interest earned in previous periods is not included in future interest calculations.

Simple Interest (I) = P×R×T100\frac{P \times R \times T}{100}

Where:

  • PP = Principal amount
  • RR = Annual interest rate (%)
  • TT = Time in years

Total Amount (A) = P+IP + I

  • Principal (P): 500 dollars
  • Time (T): 4 years
  • Rate (R): 11%
  • Simple Interest (I): 220 dollars.

3.5 Compound Interest

Compound interest is calculated on the initial principal and also on the accumulated interest from previous periods. This leads to exponential growth of the investment.

Compound Amount (S) = P(1+r100)nP(1 + \frac{r}{100})^n

Where:

  • PP = Principal amount
  • rr = Annual interest rate (%)
  • nn = Number of periods

Compound Interest = S−PS - P

  • Principal (P): 800 dollars

  • Interest Rate: 10% per year

  • After 2 years: The amount grows to 968 dollars 54.

  • Investment (P): 750 dollars

  • Interest Rate (r): 12% per annum

  • Time (n): 8 years

  • Compound Interest: 1,107 dollars 55.

3.6 Annuities

Annuities involve a series of fixed payments made or received at regular intervals over a specified period. Common frequencies include yearly, semi-annually, quarterly, and monthly.

Key Notations for Annuities:

  • RR = Amount of annuity (payment per period)
  • nn = Number of payments (periods)
  • ii = Interest rate per conversion period
  • SS = Accumulated value (future value)
  • AA = Discounted value (present value)

Accumulated value of an annuity

The accumulated value, or future value (SS), is the total sum of payments plus all accumulated interest.

Accumulated Value (SS) = R×((1+i)n−1i)R \times \left( \frac{(1 + i)^n - 1}{i} \right)

The term ((1+i)n−1i)\left( \frac{(1 + i)^n - 1}{i} \right) is known as the accumulation factor.

  • Interest Rate (i): 4.25%
  • Number of Periods (n): 18
  • Annuity Amount (R): 10,000 rupees
  • Accumulation Factor: 26.24
  • Accumulated Value (S): 260,240 rupees.

Discounted value of an annuity

The discounted value, or present value (AA), represents the current worth of a series of future payments.

Discounted Value (AA) = R×(1−(1+i)−ni)R \times \left( \frac{1 - (1 + i)^{-n}}{i} \right)

The term (1−(1+i)−ni)\left( \frac{1 - (1 + i)^{-n}}{i} \right) is called the discount factor 59.

  • Interest Rate (i): 4.25%

  • Number of Periods (n): 18

  • Annuity Amount (R): 10,000 rupees

  • Discount Factor: 12.4059

  • Discounted Value (A): 124,059 rupees.

  • Annuity Amount: 2,000 rupees

  • Interest Rate (i): 11% per year, compounded semi-annually (0.055 per period)

  • Number of Periods (n): 10 years ×\times 2 periods/year = 20 periods

  • Discounted Value: 23,900.77 rupees 60.

3.7 Algebraic expressions

Algebraic expressions combine numbers, variables, and mathematical operations. Terms within an expression are separated by addition or subtraction.

Types of Algebraic Expressions:

  • Monomial: One term (e.g., 3x23x^2)
  • Binomial: Two terms (e.g., 3x2+xy3x^2 + xy)
  • Trinomial: Three terms (e.g., 3x2+xy−6y23x^2 + xy - 6y^2)
  • Polynomial: More than one term.
  • Factors in an algebraic expression can be numerical (constants) or literal (variables).
  • Multiplication is implied when factors are written next to each other (e.g., xyxy means x×yx \times y).
  • Division is indicated when one factor is written below another (e.g., 36x2y60xy2\frac{36x^2y}{60xy^2}) 61.

🔑 Important: Understanding how to apply percentage changes, compound interest, and annuity formulas is crucial for personal finance and investment calculations.

4. Gross earnings, averages, and financial mathematics basics (part 3)

4.1 Mathematical operations

  • Division by a monomial: To divide by a single term, identify and cancel common factors in the numerator and denominator.

Example: 36x2y60xy2=3⋅12⋅x⋅x⋅y5⋅12⋅x⋅y⋅y=3x5y\frac{36x^2y}{60xy^2} = \frac{3 \cdot 12 \cdot x \cdot x \cdot y}{5 \cdot 12 \cdot x \cdot y \cdot y} = \frac{3x}{5y}.

  • Division of terms: Divide each term in the numerator by the monomial denominator.

Example: 48a2−32ab8a=48a28a−32ab8a=6a−4b\frac{48a^2 - 32ab}{8a} = \frac{48a^2}{8a} - \frac{32ab}{8a} = 6a - 4b 62.

  • Polynomial multiplication: Multiply each term in one polynomial by every term in the other. The product of two negatives is positive.

Example: −x(2x2−3x−1)=(−x)(2x2)+(−x)(−3x)+(−x)(−1)=−2x3+3x2+x-x(2x^2 - 3x - 1) = (-x)(2x^2) + (-x)(-3x) + (-x)(-1) = -2x^3 + 3x^2 + x.

  • Exponentiation of expressions: Simplify terms within parentheses first, then apply the exponent to each factor.

Example: (3x6y3x2z3)2=(3x4y3z3)2=32(x4)2(y3)2(z3)2=9x8y6z6(\frac{3x^6y^3}{x^2z^3})^2 = (\frac{3x^4y^3}{z^3})^2 = \frac{3^2(x^4)^2(y^3)^2}{(z^3)^2} = \frac{9x^8y^6}{z^6} 63.

4.2 Solving linear equations

  • Collecting like terms: To solve for a variable, move all terms containing the variable to one side of the equation and constant terms to the other.

Example: A+9=137  ⟹  A=137−9=128A + 9 = 137 \implies A = 137 - 9 = 128.

  • Steps to solve:
  1. Collect like terms.
  2. Divide both sides by the variable's numerical coefficient.

Example: x=341.25+0.025x  ⟹  x−0.025x=341.25  ⟹  0.975x=341.25  ⟹  x=341.250.975=350x = 341.25 + 0.025x \implies x - 0.025x = 341.25 \implies 0.975x = 341.25 \implies x = \frac{341.25}{0.975} = 350 64.

4.3 Financial mathematics functions

This section details various Excel functions for financial calculations.

4.3.1 Loan and interest calculations

  • CUMIPMT: Calculates the cumulative interest paid on a loan over a specified period.
  • Syntax: CUMIPMT(rate, nper, pv, start_period, end_period, type)
  • rate: Interest rate per period.
  • nper: Total number of payment periods.
  • pv: Present value (loan amount).
  • start_period: First period of calculation.
  • end_period: Last period of calculation.
  • type: Payment timing (0 for end of period, 1 for beginning).

Example: Total interest paid in the second year (periods 13-24) of a 30-year loan at 9% annual interest with a present value of 125,000 dollars: =CUMIPMT(9%/12, 30*12, 125000, 13, 24, 0) results in -11135.23 dollars.

  • CUMPRINC: Calculates the cumulative principal paid on a loan over a specified period.
  • Syntax: CUMPRINC(rate, nper, pv, start_period, end_period, type)
  • Parameters are similar to CUMIPMT.

Example: Total principal paid in the second year (periods 13-24) of a 30-year loan at 9% annual interest with a present value of 125,000 dollars: =CUMPRINC(9%/12, 30*12, 125000, 13, 24, 0) results in -934.1071 dollars.

  • EFFECT: Returns the effective annual interest rate.
  • Syntax: EFFECT(nominal_rate, npery)
  • nominal_rate: The nominal annual interest rate.
  • npery: Number of compounding periods per year.

Example: Effective annual rate for a nominal rate of 5.25% compounded 4 times per year: =EFFECT(5.25%, 4) results in approximately 5.35%.

4.3.2 Future value calculations

  • FV: Returns the future value of an investment based on periodic payments and a constant interest rate.
  • Syntax: FV(rate, nper, pmt, pv, type)
  • rate: Interest rate per period.
  • nper: Total number of payment periods.
  • pmt: Payment made each period (use negative for cash outflow).
  • pv: Present value (initial lump sum; use negative for cash outflow).
  • type: Payment timing (0 for end of period, 1 for beginning).

Example 1: Future value of an investment with rate 6%, 10 periods, monthly payment of -200 dollars, initial value of -500 dollars, and payment at the beginning of the period: =FV(6%, 10, -200, -500, 1) results in 2581.40 dollars.

  • FVSCHEDULE: Returns the future value of an initial principal after applying a series of compound interest rates.
  • Syntax: FVSCHEDULE(principal, schedule)
  • principal: The present value.
  • schedule: An array or range of interest rates to apply.

Example: Future value of 1 dollar with a schedule of rates {0.09, 0.11, 0.1}: =FVSCHEDULE(1, {0.09, 0.11, 0.1}) results in 1.33089 dollars.

4.3.3 Other financial functions

  • IPMT: Returns the interest payment for an investment for a given period.
  • ISPMT: Calculates the interest paid during a specific period of an investment.
  • NOMINAL: Returns the annual nominal interest rate.
  • NPER: Returns the number of periods for an investment.
  • NPV: Returns the net present value of an investment based on periodic cash flows and a discount rate.
  • PMT: Returns the periodic payment for an annuity.
  • PPMT: Returns the payment on the principal for an investment for a given period.
  • PV: Returns the present value of an investment.
  • RATE: Returns the interest rate per period of an annuity.

Example: The interest rate for a 4-year loan with monthly payments of -200 dollars and a loan amount of 8000 dollars: =RATE(4, -200, 8000) results in approximately 9.24%.

🔑 Important: Understanding these financial functions allows for accurate calculation of loan payments, investment returns, and the time value of money, which are crucial for financial decision-making 66 67 68 69 70 71.

5. Matrices and their applications in business (part 1)

5.1 Introduction to matrices

  • A matrix is a rectangular arrangement of numbers.
  • Matrices are usually identified by capital letters like A, B, or C.
  • The numbers within a matrix can represent data, such as clothing orders for different sizes.

5.1.1 Matrix dimensions

  • The dimension or order of a matrix is described by its number of rows multiplied by its number of columns (rows × columns).
  • The '×' symbol in dimensions is a notation, not an instruction to multiply.

5.1.1.1 Types of matrices

  • A row matrix has dimensions of 1 × n, meaning one row and n columns.
  • A column matrix has dimensions of n × 1, meaning n rows and one column.
  • A square matrix has an equal number of rows and columns (n × n).

5.1.2 Identity and multiplicative identity matrices

  • An identity matrix (denoted as I) is a square matrix with 1s on the main diagonal (top-left to bottom-right) and 0s everywhere else.
  • Like the number 1 for real numbers, the identity matrix is the multiplicative identity for matrices. Multiplying any matrix by the identity matrix (of compatible dimensions) results in the original matrix.
  • For a 2×2 matrix A, A×I=AA \times I = A and I×A=AI \times A = A.

The identity matrix acts like the number 1 when multiplying matrices.

🔑 Important: Multiplying a matrix by the identity matrix yields the original matrix, i.e., A×I=AA \times I = A and I×A=AI \times A = A 73.

5.2 Matrix operations

Matrices are used to organize and interpret data, and perform calculations in business.

5.2.1 Matrix addition and subtraction

  • Matrix addition and subtraction involve adding or subtracting corresponding elements.
  • Matrices must have identical dimensions to be added or subtracted.

📝 Example: To find the total T-shirts ordered by two universities, add the corresponding elements of their order matrices. If University S ordered 100 small T-shirts and University R ordered 60, the total is 160 small T-shirts.

5.2.2 Scalar multiplication

  • Multiplying a matrix by a scalar (a single number) means multiplying every element of the matrix by that number.

📝 Example: If a production matrix represents 300 small T-shirts produced, multiplying by 0.5 would show the production of 150 small T-shirts.

5.2.3 Matrix multiplication

  • Matrix multiplication is used to calculate revenues, for example, by multiplying sales quantities by selling prices. 76.
  • To multiply matrix A (m × n) by matrix B (n × p), the number of columns in A must equal the number of rows in B. The resulting matrix AB will have dimensions m × p.
  • The element in the i-th row and j-th column of the product matrix AB is found by multiplying the i-th row of A by the j-th column of B and summing the products.

🔑 Important: For matrix multiplication A×BA \times B to exist, the number of columns in A must equal the number of rows in B.

📝 Example: If Company A sells 20,000 bottles of 591mL juice at 1.60 dollars each, its revenue from that item is 20,000×1.6020,000 \times 1.60 dollars 77.

5.2.3.1 Multiplication compatibility

ProductDimensionsInner Dimensions Match?Does Product Exist?Dimensions of Product Matrix
ABA (3×3), B (3×2)3 = 3Yes3×2
BAB (3×2), A (3×3)2 ≠ 3Non/a
  • Two non-zero real numbers are multiplicative inverses if their product is 1 78.
  • Two 2×2 matrices A and B are multiplicative inverses if A×B=IA \times B = I and B×A=IB \times A = I, where I is the 2×2 identity matrix.

🔑 Important: For matrices, the inverse product must result in the identity matrix 79.

5.3 Matrix functions in Excel

Excel provides functions to work with matrices, simplifying calculations.

FunctionDescription
MINVERSEReturns the inverse matrix for a given square matrix.
MDETERMCalculates the determinant of a square matrix.
MMULTComputes the product of two matrices.

5.3.1 MINVERSE function

  • The MINVERSE function requires a square array (equal rows and columns).
  • If the matrix cannot be inverted (its determinant is 0), MINVERSE returns a #NUM! error.
  • Formulas returning arrays, like MINVERSE, must be entered as array formulas using Ctrl+Shift+Enter.

📝 Example: To find the inverse of the matrix [4120]\begin{bmatrix} 4 & 1 \\ 2 & 0 \end{bmatrix}, use =MINVERSE(A4:B5) in Excel and press Ctrl+Shift+Enter 81.

5.3.2 MDETERM function

  • The MDETERM function calculates the determinant of a square array.
  • The determinant is a single number derived from the matrix's values, used for solving systems of equations.
  • Like MINVERSE, MDETERM requires an array with an equal number of rows and columns 82.

📝 Example: The determinant of the matrix [3611]\begin{bmatrix} 3 & 6 \\ 1 & 1 \end{bmatrix} can be found using =MDETERM({3,6;1,1}), which results in -3.

5.3.3 MMULT function

  • The MMULT function multiplies two matrices, returning an array with the row count of the first matrix and the column count of the second.
  • The number of columns in the first matrix must match the number of rows in the second matrix.
  • MMULT formulas also need to be entered as array formulas (Ctrl+Shift+Enter). 83.

📝 Example: To multiply matrix A [1320]\begin{bmatrix} 1 & 3 \\ 2 & 0 \end{bmatrix} and matrix B [2072]\begin{bmatrix} 2 & 0 \\ 7 & 2 \end{bmatrix}, use =MMULT(A25:B26,D25:E26) in Excel and press Ctrl+Shift+Enter 84.

5.4 Ratios and proportions

  • A ratio compares two or more quantities, written as a:b or a/b. The order matters.
  • To calculate a ratio, divide all values by the smallest value.
  • A proportion is an equation stating that two ratios are equal, such as a:b=c:da:b = c:d or a/b=c/da/b = c/d.

🔑 Important: Ratios compare quantities; proportions state equality between ratios.

5.4.1 Calculating ratios and proportions

  • To find an unknown in a proportion, cross-multiplication is used.
  • When dealing with unknown quantities in proportions, it's often helpful to set up the ratio of the unknown to the known. 90 91.

5.4.1.1 Ratio calculation example

  • Scenario: Three friends invest in a business: Ali (7800 dollars), Fawad (5200 dollars), and Tanveer (6500 dollars).
  • Calculation:
  • Smallest investment: 5200 dollars.
  • Divide each investment by 5200:
  • Ali: 7800/5200=1.57800 / 5200 = 1.5
  • Fawad: 5200/5200=15200 / 5200 = 1
  • Tanveer: 6500/5200=1.256500 / 5200 = 1.25
  • Ratio: 1.5: 1: 1.25 85.

5.4.1.2 Proportion calculation example

  • Scenario: The ratio of sales of Product X to Product Y is 4:3. If sales of Product X are forecasted at 180,000 dollars, what should sales of Product Y be?
  • Calculation:
  • Set up the proportion: 180,000/Y=4/3180,000 / Y = 4 / 3.
  • Cross-multiply: 180,000×3=4×Y180,000 \times 3 = 4 \times Y.
  • Solve for Y: Y=(180,000×3)/4=135,000Y = (180,000 \times 3) / 4 = 135,000 dollars 86.

5.4.1.3 Estimating with ratios

  • Scenario 1: A hospital with 500 beds has 200 nurses. If it adds a 100-bed wing, how many additional nurses are needed?
  • Ratio of new beds to existing beds: 100/500100 / 500.
  • Additional nurses = (Ratio of beds) × (Existing nurses) = (100/500)×200=40(100 / 500) \times 200 = 40 nurses.
  • Scenario 2: A fruit punch needs mango, apple, and orange juice in a 3:2:1 ratio. To make 2 liters of punch, how much of each is needed?
  • Total ratio parts: 3+2+1=63 + 2 + 1 = 6.
  • Mango juice: (3/6)×2(3/6) \times 2 liters = 1 liter.
  • Apple juice: (2/6)×2(2/6) \times 2 liters = 0.67 liters.
  • Orange juice: (1/6)×2(1/6) \times 2 liters = 0.33 liters. 88 89.

🔑 Important: Matrices offer powerful tools for data organization and calculation in business, from production planning to financial analysis. 72 75 80.

6. Matrices and their applications in business (part 2)

6.1 Ratios and proportions in business

  • A ratio compares two quantities. For example, a 7 to 5 ratio of passing to failing grades means for every 7 passing students, there are 5 failing students.
  • A proportion states that two ratios are equal. It is written as a/b=c/da/b = c/d.
  • In a proportion a/b=c/da/b = c/d, the terms bb and cc are called the "means," and aa and dd are the "extremes.".
  • The product of the means equals the product of the extremes: ad=bcad = bc.

Key Relationship: In a proportion, means product equals extremes product.

📝 Example: If the ratio of passing to failing grades is 7:5, then 5 out of every 12 students failed. For 36 students, (5/12) * 36 = 15 students failed.

📝 Example: To check if 24/140 is proportional to 30/176, compare 140×30=4200140 \times 30 = 4200 with 24×176=422424 \times 176 = 4224. Since 4200≠42244200 \neq 4224, they are not proportional.

📝 Example: To find the unknown xx in 2:x=3:92:x = 3:9, set up the proportion 2/x=3/92/x = 3/9. Cross-multiplying gives 18=3x18 = 3x, so x=6x = 6 92.

6.2 Merchandising concepts

Merchandising involves understanding terms of sale, pricing, and discounts. Key stakeholders include manufacturers, middlemen, retailers, and consumers.

6.2.1 Pricing and discounts

  • List price: The manufacturer's suggested retail price. Resellers often get a discount on this price to make a profit 93.
  • Trade discount: A reduction from the list price, usually based on a percentage.
  • Formula: Amount of discount = d×Ld \times L, where dd is the discount rate and LL is the list price.
  • Formula: Net Price = L−(d×L)=L(1−d)L - (d \times L) = L(1 - d) 94.

6.2.2 Markup

Markup is the amount added to the cost price to determine the selling price, covering overhead and profit. It can be a percentage of cost, a percentage of sale, or a fixed amount (Rs.

Markup).

Markup TypeFormula
Rs. MarkupSelling Price = Cost Price + Rs. Markup
% Markup on Cost (MUC)Selling Price = Cost Price \times (1 + \text{%Markup on cost})
% Markup on Sale Price (MUS)Cost Price = Selling Price \times (1 - \text{%Markup on sale})
  • If a markup percentage is given without specifying cost or sale, it is assumed to be on cost.

📝 Example: A golf shop buys a club for 2,400 Rs. and sells it for 4,500 Rs. The Rs. Markup is 2,100 Rs. The markup rate on cost is (2,100 / 2,400) ×\times 100% = 87.5% 96.

📝 Example: A game costs 1,500 Rs. with a 40% markup on cost. The Rs. Markup is 0.40×1,500=6000.40 \times 1,500 = 600 Rs. The selling price is 1,500+600=2,1001,500 + 600 = 2,100 Rs.

6.2.3 Markdown

Markdown is a reduction from the original selling price to stimulate demand or manage inventory. It can be a percentage of the current selling price or a fixed amount (Rs.

Markdown) 97.

  • Formula: New Selling Price = Current Selling Price \times (1 - \text{%markdown}).
  • Formula: New Selling Price = Current Selling Price - Rs. Markdown.

📝 Example: An item priced at 3,300 Rs. is marked down by 25%. The Rs. Markdown is 0.25×3,300=8250.25 \times 3,300 = 825 Rs. The new selling price is 3,300−825=2,4753,300 - 825 = 2,475 Rs 98.

6.3 Discount types and calculations

Discounts reduce the price offered to buyers. Common types include trade and cash discounts.

6.3.1 Trade discount

Trade discounts are given by manufacturers or wholesalers to buyers in the same trade, often for bulk purchases.

  • Single trade discount: A one-time percentage reduction.
  • Formula: Net Price = L(1−d)L(1 - d), where LL is the list price and dd is the discount rate.

📝 Example: An item with a list price of 3,000 Rs. has a 30% trade discount. The discount amount is 0.30×3,000=9000.30 \times 3,000 = 900 Rs. The net price is 3,000−900=2,1003,000 - 900 = 2,100 Rs 99.

  • Multiple or series trade discount: A sequence of discounts applied one after another. The total discount is NOT the sum of individual percentages.
  • Formula: Net Price = L(1−d1)(1−d2)(1−d3)...L(1 - d_1)(1 - d_2)(1 - d_3)....

📝 Example: A Rs. 20,000 item with series discounts of 20%, 10%, and 5%. The net price is 20,000(1−0.20)(1−0.10)(1−0.05)=20,000(0.8)(0.9)(0.95)=13,68020,000(1 - 0.20)(1 - 0.10)(1 - 0.05) = 20,000(0.8)(0.9)(0.95) = 13,680 Rs 101.

  • Equivalent single discount rate: The single rate that results in the same net price as a series of discounts.

📝 Example: A series discount of 15%, 10%, 5%. Applied to a Rs. 100 list price, the net price is 100(1−0.15)(1−0.10)(1−0.05)=72.68100(1 - 0.15)(1 - 0.10)(1 - 0.05) = 72.68 Rs. The equivalent single discount rate is 100% - 72.68% = 27.62% 103.

6.3.2 Cash discount

A cash discount is offered for prompt payment of an invoice. This benefits both seller (faster cash flow) and buyer (price reduction).

  • Common terms are "X/Y, net Z," meaning X% discount if paid within Y days, otherwise full amount due in Z days 105.

📝 Example: An invoice of 50,000 Rs. with terms 2/10. If paid within 10 days, a 2% discount is applied. The cash discount is 0.02×50,000=1,0000.02 \times 50,000 = 1,000 Rs. The net payment is 50,000−1,000=49,00050,000 - 1,000 = 49,000 Rs.

  • Discount periods: The time frame during which a cash discount can be taken.
  • Credit periods: The total time allowed to pay the invoice 106.

6.3.3 Partial payments with cash discounts

When making partial payments within a discount period, the discount applies to the amount paid.

📝 Example: You owe 40,000 Rs. with 3/10 terms. You pay 10,000 Rs. within 10 days. To find the effective payment, calculate the amount tt such that t(1−0.03)=10,000t(1 - 0.03) = 10,000. So, t=10,000/(1−0.03)≈10,309t = 10,000 / (1 - 0.03) \approx 10,309 Rs. Your new balance is 40,000−10,309=29,69140,000 - 10,309 = 29,691 Rs.

6.4 Margin versus markup

  • Margin: The amount left over from sales revenue after deducting the cost of goods sold and operating expenses, intended to cover profit. It's often calculated as a percentage of selling price.
  • Markup: The amount added to the cost price to determine the selling price. Usually calculated as a percentage of cost price 107.
ConceptCalculation BasisFormula
Markup on CostPercentage of Cost Price(Selling Price−Cost Price)/Cost Price×100%(\text{Selling Price} - \text{Cost Price}) / \text{Cost Price} \times 100\%
Markup on SalePercentage of Sale Price(Selling Price−Cost Price)/Selling Price×100%(\text{Selling Price} - \text{Cost Price}) / \text{Selling Price} \times 100\%
MarginPercentage of Sale Price(Same as Markup on Sale)

Key Distinction: Markup is added to cost; margin is what remains from sales. Unless specified, "markup" implies markup on cost.

📝 Example: An item costs 50 Rs. and sells for 100 Rs. Markup on cost is (50/50)×100%=100%(50/50) \times 100\% = 100\%. Margin (markup on sale) is (50/100)×100%=50%(50/100) \times 100\% = 50\%.

📝 Example: A sewing machine costs 1,500 Rs. with a 60% markup on cost. Rs. Markup is 0.60×1,500=9000.60 \times 1,500 = 900 Rs. Selling Price is 1,500+900=2,4001,500 + 900 = 2,400 Rs 109.

📝 Example: Flower arrangements sell for 35 Rs. with a 40% markup on cost. To find the cost: 35=Cost×(1+0.40)35 = \text{Cost} \times (1 + 0.40). Cost = 35/1.40=2535 / 1.40 = 25 Rs. Rs. Markup = 25×0.40=1025 \times 0.40 = 10 Rs.

📝 Example: Candles cost 2 Rs. and sell for 2.50 Rs. Rs. Markup is 2.50−2=0.502.50 - 2 = 0.50 Rs. Markup on selling price is (0.50/2.50)×100%=20%(0.50 / 2.50) \times 100\% = 20\% 110.

🔑 Important: Understanding whether a markup is based on cost or selling price is crucial for accurate calculations. Default to "markup on cost" if not specified. 95 108.

7. Matrices and their applications in business (part 3)

7.1 Markup calculations and conversions

This section focuses on calculating the selling price, cost price, and actual markup amount using different percentage markups. It also covers how to convert markup percentages between cost and selling price.

7.1.1 Calculating selling price and markup

The fundamental formula for calculating selling price (SS) is: S=C+MarkupS = C + \text{Markup} where CC is the cost price. Markup can be expressed as a percentage of either the cost price or the selling price.

  • Markup on Selling Price: If the markup is a percentage of the selling price (let's call it musmus), the formula becomes: S=C+(S×mus)S = C + (S \times mus) This can be rearranged to find the cost price: C=S−(S×mus)=S(1−mus)C = S - (S \times mus) = S(1 - mus) The actual markup amount is: Markup Amount=S×mus\text{Markup Amount} = S \times mus.

📝 Example: A business sells an item for 1,5001,500 dollars with a 60%60\% markup on the selling price.

  • The cost price is 1,500×(1−0.60)=1,500×0.40=6001,500 \times (1 - 0.60) = 1,500 \times 0.40 = 600 dollars.
  • The markup amount is 1,500×0.60=9001,500 \times 0.60 = 900 dollars 112.

7.1.2 Converting markup percentages

It is often necessary to convert a markup percentage from being based on cost to being based on selling price, or vice versa.

  • Markup on Cost to Markup on Selling Price: If you know the markup on cost (mucmuc), you can find the markup on selling price (musmus) using: mus=muc1+mucmus = \frac{muc}{1 + muc}.

📝 Example: To convert a 50%50\% markup on cost to a markup on selling price: mus=0.501+0.50=0.501.50=0.3333mus = \frac{0.50}{1 + 0.50} = \frac{0.50}{1.50} = 0.3333 This means the markup on selling price is 33.33%33.33\%.

  • Markup on Selling Price to Markup on Cost: If you know the markup on selling price (musmus), you can find the markup on cost (mucmuc) using: muc=mus1−musmuc = \frac{mus}{1 - mus}.

📝 Example: To convert a 33.33%33.33\% markup on selling price to a markup on cost: muc=0.33331−0.3333=0.33330.6667=0.5000muc = \frac{0.3333}{1 - 0.3333} = \frac{0.3333}{0.6667} = 0.5000 This means the markup on cost is 50%50\%.

🔑 Important: Understanding how to convert between markup on cost and markup on selling price is crucial for accurate pricing and profit analysis in business 113 114.

8. Statistical data representation and measures of central tendency (part 1)

8.1 Markdown and project financial analysis

  • Markdown: a reduction from the original selling price.
  • % Markdown calculation: (Rs. Markdown / Original Selling Price) × 100%.

📝 Example: A shirt originally priced at 500 dollars was sold for 360 dollars.

  • The amount of markdown is 140 dollars (500 - 360).
  • The percentage markdown is 28% (140 / 500 × 100%) 115.
  • To calculate markdown, you first need the original selling price. This is often determined by a prior markup calculation.

📝 Example: Plastic jugs bought for 57.75 dollars were marked up by 45% of the selling price. They were later marked down by 40%.

  • The original selling price was 105 dollars. This was found by assuming a selling price of 100, a cost of 55, and then scaling based on the actual cost.
  • The markdown amount was 42 dollars (105 × 40%).
  • The final sale price after the markdown was 63 dollars (105 - 42) 116.
  • Project financial analysis involves evaluating a firm's financial position and prospects. It aids in planning, financing, and determining growth.

🔑 Important: Key calculations in project financial analysis include cost estimates, revenue estimates, net cash flows, benefit-cost analysis, internal rate of return, and break-even analysis.

8.2 Financial analysis and Excel functions

  • Cost estimates are typically based on quantities and unit rates, often prepared using tabular worksheets.
  • Revenue estimates are calculated similarly to component costs.
  • Forecasts of costs and revenues require projection techniques, such as Time Series Analysis. Worksheets are used once the methodology is clear 117.
  • Net cash flow is the difference between revenue and cost. It is crucial as project operations and performance depend on it.
  • Benefit Cost (BC) ratio compares the present worth of benefits to costs. A ratio of 1 or more indicates viability.
  • Internal Rate of Return (IRR) is the discount rate where the present worth of costs equals the present worth of benefits.
  • Break-Even Analysis determines how long it takes to recover an investment and finds the point where cash inflow equals outflow 118.

8.2.1 Excel functions for depreciation

  • Excel offers various functions for financial analysis, including depreciation calculations.
FunctionDescription
AMORDEGRCReturns depreciation for each period, considering prorated depreciation for mid-period purchases.
AMORLINCSimilar to AMORDEGRC, also handles prorated depreciation for mid-period purchases.
DBCalculates depreciation using the fixed-declining balance method.
DDBCalculates depreciation using the double-declining balance method or a specified alternative.
SLNReturns straight-line depreciation for one period.
SYDReturns sum-of-years' digits depreciation for a specified period.
VDBCalculates depreciation for any period using double-declining or other specified methods.

119121 128 129

8.2.2 Excel functions for rates of return and net present value

  • MIRR calculates the modified internal rate of return, considering investment cost and reinvestment interest.
  • IRR calculates the internal rate of return for a series of cash flows130.
  • XIRR calculates the internal rate of return for cash flows that are not necessarily periodic.
  • PV returns the present value of an investment 125.
  • NPV returns the net present value of an investment based on cash flows and a discount rate 126.
  • XNPV returns the net present value for a schedule of cash flows that are not necessarily periodic 127.

🔑 Important: Excel stores dates as sequential serial numbers, which is crucial for financial calculations 120 132.

📝 Example: Calculating IRR in Excel. An initial investment of 70,000 dollars (entered as negative) and subsequent annual revenues are used. The IRR calculation depends on the range of revenue years included. Including more years generally improves the IRR if revenues are positive 122 131.

8.3 Linear equations in merchandising

  • Linear equations have several applications in merchandising mathematics.
ApplicationDetails
Solve two linear equations with two variablesDirectly solving systems of equations.
Solve problems requiring linear equationsSetting up and solving equations for specific business scenarios.
Perform linear Cost-Volume-Profit and break-even analysis employing:Analyzing the financial aspects of production and sales.
    The contribution margin approachFocuses on the revenue remaining after variable costs.
    The algebraic approach of solving cost/revenue functionsUsing algebraic methods to find equilibrium points.

Given: 2x−3y=−62x - 3y = -6 x+y=2x + y = 2

  1. Multiply the second equation by 2: 2x+2y=42x + 2y = 4.
  2. Subtract this from the first equation: (2x−3y)−(2x+2y)=−6−4(2x - 3y) - (2x + 2y) = -6 - 4, which simplifies to −5y=−10-5y = -10.
  3. Solve for yy: y=−10/−5=2y = -10 / -5 = 2.
  4. Substitute y=2y=2 into the second original equation: x+2=2x + 2 = 2.
  5. Solve for xx: x=0x = 0.

🔑 Important: Understanding how to set up and solve linear equations is fundamental for various merchandising and financial analyses, including break-even calculations 134.

9. Statistical data representation and measures of central tendency (part 2)

9.1 Methods of data presentation

  • Textual representation: Data is presented within paragraphs of text.
  • Semi-tabular representation: Data is arranged in rows.
  • Tabular representation: Data is organized into tables with rows and columns.
  • Graphical representation: Data is shown using charts and graphs.

9.2 Types of graphs

  • Picture graph (Pictograph): Values are represented by a proportional number of pictures. Each picture corresponds to a specific quantity.

  • Column graphs: Use bars to represent data. Often used for comparing discrete categories.

  • Line graphs: Plot data as points and connect them with a line. Best for showing trends over time153.

  • Circle graphs (Sector graphs): Divide a circle into sectors, where each sector represents a proportion of the whole. The full circle is 360 degrees152.

9.3 Measures of central tendency

Measures of central tendency summarize a dataset by providing a single value that represents the "center" of the data. Common measures include the mean, median, and mode.

The goal is to find a typical or representative value.

9.3.1 Mean

  • The mean is the arithmetic average of all values in a dataset.
  • To calculate the mean, sum all the values and divide by the total number of values.
  • Formula for a sample mean (xˉ\bar{x}): xˉ=∑i=1nxin\bar{x} = \frac{\sum_{i=1}^{n} x_i}{n} Where:
  • xix_i is each individual value.
  • nn is the number of values in the sample.
  • The mean is sensitive to outliers (extreme values)136.

9.3.2 Median

  • The median is the middle value in a dataset that has been ordered from least to greatest.
  • If there is an odd number of data points, the median is the single middle value.
  • If there is an even number of data points, the median is the average of the two middle values.
  • The median is less affected by outliers than the mean.

9.3.3 Mode

  • The mode is the value that appears most frequently in a dataset.
  • A dataset can have one mode (unimodal), more than one mode (multimodal), or no mode.
  • It is useful for categorical data and can identify the most common occurrence 135 150 151.

Measures of central tendency help understand the typical value in a dataset.

🔑 Important: The mean is affected by extreme values, while the median is more robust to them. The mode identifies the most frequent value.

📝 Example: For the dataset {2, 3, 3, 5, 7}, the mean is (2+3+3+5+7)/5=4(2+3+3+5+7)/5 = 4. The median is 3. The mode is 3. For the dataset {2, 3, 3, 5, 15}, the mean is (2+3+3+5+15)/5=6.2(2+3+3+5+15)/5 = 6.2. The median is 3. The mode is 3. The mean shifted significantly due to the outlier 15.

🔑 Important: The choice of central tendency measure depends on the data distribution and the presence of outliers. For skewed data, the median is often preferred over the mean.

🔑 Important: While this lecture covers statistical data representation and measures of central tendency, the primary focus of the provided text is break-even analysis using cost-volume-profit principles. The statistical concepts are introduced briefly.

10. Statistical data representation and measures of central tendency (part 3)

10.1 Graphing and organizing data

  • Line graphs: visually show trends over time or across categories. They help in understanding patterns like increasing or decreasing occurrences 155.
  • Histograms: bar graphs representing frequency distributions. Bar widths match class intervals, and heights show class frequencies.

10.2 Stem and leaf displays

  • A stem and leaf display organizes numerical data by separating digits. The stem represents the leading digit(s), and the leaf represents the trailing digit.
  • This method is useful for visualizing data distribution for moderate amounts of data 158.

Example of stem and leaf display

StemLeavesRepresents (TD Passes)
32, 3, 3, 732, 33, 33, 37
20, 0, 1, 1, 1, 2, 2, 2, 3, 8, 8, 920, 20, 21, 21, 21, 22, 22, 22, 23, 28, 28, 29
12, 2, 4, 4, 4, 5, 6, 8, 8, 8, 8, 9, 912, 12, 14, 14, 14, 15, 16, 18, 18, 18, 18, 19, 19
06, 906, 09

159

10.3 Tabulating numerical data

  • Grouping data into classes helps summarize large datasets.

Steps to group numerical data

StepDescription
1. Sort dataArrange raw data in ascending order.
2. Find rangeCalculate the difference between the maximum and minimum values.
3. Select classesChoose a number of classes, typically between 5 and 15.
4. Compute widthDivide the range by the number of classes and round up to the nearest whole number.
5. Determine limitsSet lower and upper boundaries for each class, ensuring they are continuous and cover all data.
6. Compute midpointsCalculate the midpoint for each class: (Lowerlimit+Upperlimit)/2(Lower limit + Upper limit) / 2.
7. Compute intervalsDefine the range for each class, e.g., "10 to 19" or "10 but under 20".

160### Frequency distribution concepts

  • Frequency: The count of observations falling within a specific class interval.
  • Relative frequency: The proportion of observations in a class interval (Frequency / Total Frequency).
  • Percent relative frequency: Relative frequency multiplied by 100.
  • Cumulative frequency: The sum of frequencies for a class and all preceding classes.
  • Percent cumulative relative frequency: Cumulative relative frequency multiplied by 100 162.

🔑 Important: Classes in a frequency distribution must be mutually exclusive, all-inclusive, continuous, and typically of equal width 161.

10.4 Measures of central tendency

  • Measures of central tendency describe the typical or middle value of a dataset. The main measures are the arithmetic mean, median, and mode 163.
  • These measures summarize large datasets, aiding in decision-making and comparisons.

Mean

  • Arithmetic mean: The sum of all values divided by the number of values. It is affected by extreme values.
  • For grouped data, the mean is calculated using class midpoints and frequencies: Mean = Sum(fX) / n, where f is frequency and X is class midpoint.

Median

  • Median: The middle value in a dataset ordered ascending or descending.
  • For an odd number of data points, it's the exact middle value.
  • For an even number, it's the average of the two middle values.
  • The median is not affected by extreme values 156.

Mode

  • Mode: The most frequently occurring value in a dataset.
  • A dataset can have one mode, multiple modes (multimodal), or no mode 157.

10.5 Statistical functions in Excel

  • Excel provides functions to calculate central tendency measures.

Key Excel functions

FunctionDescriptionIgnores Text/Logical ValuesIncludes Zero
AVERAGEReturns the arithmetic mean of numbers.YesYes
AVERAGEAReturns the arithmetic mean, including text (as 0) and logical values.NoYes
MEDIANReturns the middle value of a dataset.YesYes
MODEReturns the most frequently occurring value. Returns #N/A if no duplicates.YesYes
COUNTCounts cells containing numbers.YesYes
FREQUENCYCounts values within specified bins (ranges); requires array entry.YesYes

164 165167> 🔑 Important: No single measure of central tendency provides a complete picture of the data; consider them together for a full understanding 166.

🔑 Important: The FREQUENCY function must be entered as an array formula, returning one more value than the number of bins provided 168.

🔑 Important: For grouped data, the arithmetic mean is calculated using class midpoints (X) and their frequencies (f) with the formula Mean=∑(fX)/nMean = \sum (fX) / n 169.

11. Measures of dispersion, skewness, correlation, and line fitting (part 1)

11.1 Measures of dispersion

Measures of dispersion quantify how spread out data points are. They indicate the variability within a dataset.

  • Absolute measures: These are expressed in the same units as the original data.
  • Relative measures: These are expressed as ratios or percentages, allowing comparison between datasets with different units.

Types of absolute measures

  • Range: The difference between the largest and smallest values in a dataset. It is highly sensitive to extreme values.
  • Quartile Deviation (QD): Half the difference between the first quartile (Q1) and the third quartile (Q3). It measures the spread of the middle 50% of the data. Q.D.=Q3−Q12\text{Q.D.} = \frac{Q_3 - Q_1}{2}
  • Mean Deviation (MD): The average of the absolute differences between each data point and the mean. It is less affected by outliers than the range.
  • Variance: The average of the squared deviations from the mean. It measures the spread of data points around the mean. For a population, it's divided by NN; for a sample, it's divided by n−1n-1. σ2=∑(x−μ)2N\sigma^2 = \frac{\sum (x - \mu)^2}{N} s2=∑(x−xˉ)2n−1s^2 = \frac{\sum (x - \bar{x})^2}{n-1}
  • Standard Deviation (SD): The square root of the variance. It is the most widely used measure of dispersion and is in the same units as the original data. σ=∑(x−μ)2N\sigma = \sqrt{\frac{\sum (x - \mu)^2}{N}} s=∑(x−xˉ)2n−1s = \sqrt{\frac{\sum (x - \bar{x})^2}{n-1}}

Types of relative measures

  • Coefficient of Range: Ratio of the range to the sum of the largest and smallest values.
  • Coefficient of Quartile Deviation: Ratio of QD to the sum of Q1 and Q3.
  • Coefficient of Mean Deviation: Ratio of MD to the mean.
  • Coefficient of Variation (CV): Ratio of standard deviation to the mean, often expressed as a percentage. It helps compare variability between datasets with different means. CV=sxˉ×100%\text{CV} = \frac{s}{\bar{x}} \times 100\%

CV is unitless and useful for comparing variability across datasets 187.

11.2 Shape of distribution: Skewness

Skewness describes the asymmetry of a probability distribution.

Distribution TypeRelationship of Mean, Median, and ModeShape
SymmetricalMean = Median = ModeBell-shaped, balanced
Positively skewed (Right)Mean > Median > ModeTilted to the left
Negatively skewed (Left)Mode < Median < MeanTilted to the right

Empirical relationships for moderately skewed unimodal distributions

A common relationship is: Mean−Mode=3(Mean−Median)\text{Mean} - \text{Mode} = 3 (\text{Mean} - \text{Median}) This can be rearranged to find the median if the mean and mode are known: Median=13(Mode+2×Mean)\text{Median} = \frac{1}{3} (\text{Mode} + 2 \times \text{Mean}) For example, if the mode is 15 and the mean is 18, the median is 17 177.

Trimmed and Winsorized means

These are modified means that reduce the impact of extreme values.

  • Trimmed Mean: Calculated after discarding an equal percentage of data from both ends of the sorted dataset.
  • Winsorized Mean: Calculated after replacing extreme values at both ends with the next most extreme remaining values.

Example: For data 9.1, 9.2, 9.2, 9.2, 9.3, 9.9, Q1 is approximately 9.2 and Q3 is approximately 9.3.

  • Trimmed Mean (discarding 25% at each end): (9.2+9.2+9.2+9.3)/4=9.225(9.2 + 9.2 + 9.2 + 9.3) / 4 = 9.225
  • Winsorized Mean (replacing ends): (9.2+9.2+9.2+9.2+9.3+9.3)/6=9.233(9.2 + 9.2 + 9.2 + 9.2 + 9.3 + 9.3) / 6 = 9.233.

Five-number summary and box plots

  • 5-Number Summary: Minimum, Q1, Median (Q2), Q3, Maximum.
  • Box-and-Whisker Plot: A graphical representation of the 5-number summary, providing insight into data distribution and skewness.

Determining skewness from a box plot:

  • Symmetrical: Median is centered in the box; whiskers are roughly equal.
  • Right-skewed: Median is closer to Q1; the right whisker is longer. Median < Midhinge < Midrange.
  • Left-skewed: Median is closer to Q3; the left whisker is longer. Median > Midhinge > Midrange.

Example: Annual conference costs (000 Rs): 13.0, 14.5, 14.9, 15.2, 15.2, 15.4, 15.6, 16.2, 17, 23.1.

  • Smallest value: 13.0
  • Q1 = 14.8
  • Median = 15.3
  • Q3 = 16.4
  • Largest value: 23.1
  • Midrange = (13.0+23.1)/2=18.05(13.0 + 23.1) / 2 = 18.05
  • Midhinge = (14.8+16.4)/2=15.6(14.8 + 16.4) / 2 = 15.6 Since Median (15.3) < Midhinge (15.6) < Midrange (18.05), the distribution is right-skewed 186.

The 5-number summary and box plots visually assess distribution shape 185.

11.3 Correlation

Correlation measures the strength and direction of the linear relationship between two variables. It indicates how two variables change together.

Correlation does not imply causation.

11.4 Line fitting

Line fitting, also known as regression analysis, involves finding a line that best represents the relationship between variables. This line can be used for prediction.

Scatter diagrams help visualize the relationship before fitting a line.


🔑 Important: Understanding dispersion, skewness, and correlation is crucial for describing and interpreting data distributions effectively 178 189.

12. Measures of dispersion, skewness, correlation, and line fitting (part 2)

12.1 Measures of dispersion

  • Variance: The average of squared differences from the mean. It's expressed in squared units, making direct interpretation difficult.
  • Standard deviation (SD): The positive square root of the variance. It returns the measure to the original units, allowing for more intuitive understanding.
  • Formula for sample: S.D.=∑i=1n(xi−xˉ)2n−1S.D. = \sqrt{\frac{\sum_{i=1}^{n}(x_i - \bar{x})^2}{n-1}}.
  • Formula for population: σ=∑i=1N(xi−μ)2N\sigma = \sqrt{\frac{\sum_{i=1}^{N}(x_i - \mu)^2}{N}} 191.

Sample SD might overestimate population SD if n-1 is used for population division 192.

  • Coefficient of Variation (CV): Measures dispersion relative to the mean, useful for comparing variability between datasets with different means.

  • Formula: CV=σμ×100%CV = \frac{\sigma}{\mu} \times 100\%.

  • Example: Country 1 CV = 4/19.50 * 100% = 20.51%. Country 2 CV = 28/75 * 100% = 37.33%. Country 2 has greater variability in earnings.

  • Mean Deviation (MD): The average of absolute deviations from the mean or median.

  • Formula about mean (sample): MD=∑i=1n∣xi−xˉ∣nMD = \frac{\sum_{i=1}^{n}|x_i - \bar{x}|}{n} 193.

  • Formula about mean (population): MD=∑i=1N∣xi−μ∣NMD = \frac{\sum_{i=1}^{N}|x_i - \mu|}{N} 194.

The absolute value function in Excel (ABS) returns the absolute value of a number.

MeasureDefinitionUnits
VarianceAverage of squared deviations from the meanSquared units
Standard DeviationSquare root of variance; measures spread in original unitsOriginal units
Coefficient of Var.SD divided by the mean; unitless, good for comparing datasetsPercentage
Mean DeviationAverage of absolute deviations from the mean or medianOriginal units

12.2 Correlation analysis

  • Correlation: A measure quantifying the strength and direction of the linear relationship between two random variables.
  • Scatter Diagram: A plot of data points, with one variable on the x-axis and the other on the y-axis, to visually assess the relationship's pattern.

Correlation measures association; regression predicts intensity 197.

  • Types of correlation visualized on a scatter plot:
  • Perfect positive correlation: Points lie exactly on an upward-sloping line (r=1r=1).
  • Positive correlation: Points generally follow an upward trend (0<r<10 < r < 1).
  • No correlation: Points show no discernible pattern (r=0r=0) 199.
  • Negative correlation: Points generally follow a downward trend (−1<r<0-1 < r < 0).
  • Perfect negative correlation: Points lie exactly on a downward-sloping line (r=−1r=-1).

A high correlation does not imply causation; spurious correlations can exist 200.

  • Correlation Coefficient (r): A statistical measure ranging from -1 to 1, indicating the strength and direction of a linear relationship.
  • Formula: r=sXYsXsYr = \frac{s_{XY}}{s_X s_Y}.
  • Short-cut formula: r=n∑XY−(∑X)(∑Y)n∑X2−(∑X)2n∑Y2−(∑Y)2r = \frac{n\sum XY - (\sum X)(\sum Y)}{\sqrt{n\sum X^2 - (\sum X)^2} \sqrt{n\sum Y^2 - (\sum Y)^2}} 198.

Excel function CORREL(array1, array2) calculates the correlation coefficient 204.

Relationship TypeCorrelation Coefficient (r)Description
Perfect positiver=1r=1All points on an upward-sloping line
Strong positive0<r<10 < r < 1 (close to 1)Points closely clustered around an upward line
Weak positive0<r<10 < r < 1 (closer to 0)Points show an upward trend but are more scattered
No correlationr=0r=0No linear relationship visible
Negative−1<r<0-1 < r < 0Points generally follow a downward trend
Perfect negativer=−1r=-1All points on a downward-sloping line

📝 Example: Calculating correlation for Mathematics and Statistics marks. A calculated r≈0.88r \approx 0.88 indicates a strong positive linear correlation between the two subjects for the sampled students 201.

12.3 Line fitting

  • Regression analysis: Develops a model to explain the association between variables, allowing prediction of a dependent variable's value based on independent variables.
  • A regression model is a mathematical equation used for prediction 195.

Excel's "Data Analysis" toolpak is used for statistical analysis, including regression.

  • Slope: The rate of change along the regression line, representing the change in the dependent variable for a one-unit change in the independent variable.

  • Formula: slope=∑(xi−xˉ)(yi−yˉ)∑(xi−xˉ)2slope = \frac{\sum (x_i - \bar{x})(y_i - \bar{y})}{\sum (x_i - \bar{x})^2}.

  • Excel function: SLOPE(known_y's, known_x's) 209.

  • Intercept: The value of the dependent variable when the independent variable is zero. It's the point where the regression line crosses the y-axis.

  • Formula: intercept=yˉ−slope×xˉintercept = \bar{y} - slope \times \bar{x}.

  • Excel function: INTERCEPT(known_y's, known_x's) 210.

🔑 Important: Line fitting involves finding the "best-fit" line through data points to model relationships and make predictions 206.

13. Measures of dispersion, skewness, correlation, and line fitting (part 3)

13.1 Regression models and scatter diagrams

  • Regression models describe the relationship between variables.
  • A scatter diagram helps visualize this relationship.
  • Population linear regression models the relationship for the entire population.
  • Sample linear regression models the relationship using sample data 212.

13.2 Linear function representation

  • A linear relationship can be shown by a straight line equation.
  • The equation is Y=a+bXY = a + bX.
  • YY is the dependent variable.
  • XX is the independent variable.
  • aa is the Y-intercept, the value of YY when XX is zero.
  • bb is the slope of the line, representing the change in YY for a unit change in XX 213.

🔑 Important: Many lines can fit through a scatter diagram; the goal is to find the best fit.

13.3 Introducing random error in models

  • Real-world relationships are often not exact.

  • A random error term, eie_i, is added to account for this variability.

  • The population regression equation with error is Yi=a+bXi+eiY_i = a + bX_i + e_i.

  • The intercept (aa) is where the line crosses the Y-axis.

  • The slope (bb) is tan⁡θ\tan \theta, where θ\theta is the angle with the horizontal axis 214.

  • Sample regression uses different notation: Yi=B0+B1Xi+eiY_i = B_0 + B_1X_i + e_i.

  • B0B_0 represents the sample intercept.

  • B1B_1 represents the sample slope.

  • eie_i is the sample random error.

13.4 Calculating the least squares regression line

  • The least squares method finds the line that minimizes the sum of squared errors.
  • The formula for the slope (bb) is: b=n(∑XY)−(∑X)(∑Y)n(∑X2)−(∑X)2b = \frac{n(\sum XY) - (\sum X)(\sum Y)}{n(\sum X^2) - (\sum X)^2}
  • The formula for the intercept (aa) is: a=Yˉ−bXˉa = \bar{Y} - b\bar{X} where Yˉ\bar{Y} and Xˉ\bar{X} are the means of YY and XX.

📝 Example: Given data points, calculate the sums (∑X,∑Y,∑XY,∑X2\sum X, \sum Y, \sum XY, \sum X^2) and then use the formulas to find bb and aa. For X=X = and Y=Y = , the estimated regression line is Y^=1.47+2.831X\hat{Y} = 1.47 + 2.831X 5 6 8 10 12 13 15 16 17 19 23 28 36 41 44 45 50 215.

13.5 Using Excel for regression analysis

  • Excel's Regression Tool automates calculations.
  • Access it via Tools > Data Analysis > Regression 216 217.
StepAction
1. Select ToolChoose "Regression" from Data Analysis.
2. Input DataSpecify the input ranges for YY and XX variables.
3. OptionsChoose output range, labels, and confidence level (e.g., 95%).
4. Generate OutputClick OK to get summary statistics and plots.
  • The output includes a Summary Output, ANOVA, and plots 219 221.

13.6 Interpreting regression output

  • Key metrics from the Excel output:

  • Multiple R: Correlation coefficient.

  • R Square: Coefficient of determination (proportion of variance in YY explained by XX).

  • Standard Error: Measure of the dispersion of the predicted values.

  • T-Statistic: Tests if the slope is significantly different from zero.

  • P-value: Probability of observing the slope if the true slope is zero. A small p-value indicates significance.

  • The RSQ function in Excel calculates the square of the Pearson product-moment correlation coefficient 222.

  • A small P-value (e.g., 0.0001330.000133) suggests a significant relationship between XX and YY.

13.7 Sampling distribution of correlation coefficient (r)

  • A sampling distribution can be constructed for the correlation coefficient (rr).
  • Tables of critical values help determine if a calculated rr is statistically significant.
  • These tables are based on significance levels (0.10, 0.05, 0.02, 0.01) and degrees of freedom.
  • Degrees of freedom (vv) is calculated as n−2n-2, where nn is the sample size.

📝 Example 1: Sample size n=5n=5, calculated r=0.8r=0.8. Degrees of freedom v=3v=3. At the 5% significance level, the critical value from the table is 0.8780.878. Since 0.8<0.8780.8 < 0.878, the correlation is not significantly different from zero 223 224.

📝 Example 2: Sample size n=5n=5, calculated r=−0.95r=-0.95. Degrees of freedom v=3v=3. At the 5% significance level, the critical value is 0.8780.878. Since ∣−0.95∣>0.878|-0.95| > 0.878, the correlation is significantly different from zero 225.

13.8 Regression example with store data

  • This example analyzes the relationship between store area (X) and annual sales (Y).
  • A scatter diagram shows a positive linear relationship 226.
StoreX (Area sq ft)Y (Annual Sales)XYX²
11726368163534062979076
21542339552350902377764
328166653187348487929856
4555595435301136530858025
51292331842868561669264
622085563122831044875264
71313376049368801723969
**∑164523591310484154952413218**
  • Calculated slope (bb) = 1.4866.

  • Calculated intercept (aa) = 1636.489.

  • The regression line is Y^=1636.489+1.4866X\hat{Y} = 1636.489 + 1.4866X 227.

  • Interpretation: For every 1 sq. ft. increase in area, sales increase by approximately 1.487 units.

  • Excel's Regression Tool can also be used to generate the regression equation and plot 228.

🔑 Important: Linear regression helps estimate one variable based on another and understand their relationship.

🔑 Important: The core of line fitting involves calculating a slope and intercept that best represent the linear trend in data, often using the least squares method or software tools.

14. Measures of dispersion, skewness, correlation, and line fitting (part 4)

14.1 Analyzing trends and variations using graphs

Graphs are useful for visualizing data patterns, including trends and seasonal variations. A line graph can clearly show changes over time, revealing upward or downward movements, seasonal patterns, cyclical variations, and random fluctuations 235.

📝 Example: A line graph of sales data can reveal seasonal peaks during holidays and an overall upward trend due to business growth.

14.2 Extracting trends with moving averages

Moving averages help to smooth out short-term fluctuations, making the underlying trend more visible. This technique is particularly useful for forecasting.

  • Moving average calculation: A moving average is calculated by taking the average of a specific number of consecutive data points. As new data points become available, the oldest one is dropped, and the new one is added, allowing the average to "move" through the data 237.

🔑 Important: Using Excel worksheets simplifies moving average calculations and reduces the risk of arithmetic errors.

14.3 Analyzing seasonal variations

Seasonal variations represent patterns that repeat regularly within a period shorter than a year. These can be analyzed by comparing actual data points to the calculated trend 236.

  • Seasonal variation calculation: This is often determined by subtracting the trend value from the actual value for a specific period. A positive value indicates a peak, and a negative value indicates a trough relative to the trend 238.

14.4 Decomposing time series data

Time series data can be broken down into its components: trend, seasonal variation, and random variation 239243.

  • Trend: The long-term direction of the data.
  • Seasonal variation: Short-term, regular patterns.
  • Random variation: Unpredictable fluctuations.

The relationship is often expressed as: Actual=Trend+Seasonal+Random\text{Actual} = \text{Trend} + \text{Seasonal} + \text{Random} or Random=Actual−(Trend+Seasonal)\text{Random} = \text{Actual} - (\text{Trend} + \text{Seasonal}) 240.

14.5 Forecasting with time series components

Once a time series is decomposed, its components can be used to forecast future values. This involves projecting the trend forward and adding the expected seasonal adjustment.

📝 Example: To forecast sales for the next quarter, you would project the trend for that quarter and add the average seasonal variation for that specific quarter.

When seasonal variations are not constant but vary with the trend, more complex methods are needed. Centered moving averages can help establish the trend more accurately in such cases 241 242.

14.6 Forecasting in unpredictable situations

When data lacks a clear trend or seasonal pattern and hovers around an average, different forecasting methods are required. One approach is to use the previous period's actual data as the forecast for the current period.

  • Exponential smoothing: This method refines forecasts by incorporating a proportion of the error from the previous forecast. It adjusts the new forecast based on how far off the old forecast was from the actual value 244.

🔑 Important: Exponential smoothing is a more advanced technique for forecasting when simple trend and seasonal models are insufficient.

🔑 Important: The core of this topic lies in understanding how to decompose time series data into trend, seasonal, and random components for effective forecasting.

15. Probability distributions and hypothesis testing (part 1)

15.1 Factorials, permutations, and combinations

  • Factorial: The product of all positive integers up to a given integer. For a non-negative integer nn, n!=n×(n−1)×⋯×2×1n! = n \times (n-1) \times \dots \times 2 \times 1. By definition, 0!=10! = 1.

  • Permutation: An arrangement of objects where the order matters. The number of permutations of nn objects taken rr at a time is given by the formula: P(n,r)=n!(n−r)!P(n, r) = \frac{n!}{(n-r)!} 250.

  • Combination: A selection of objects where the order does not matter. The number of combinations of nn objects taken rr at a time is given by the formula: C(n,r)=(nr)=n!r!(n−r)!C(n, r) = \binom{n}{r} = \frac{n!}{r!(n-r)!}.

15.1.1 Key combination properties

  • nC0=nCn=1nC_0 = nCn = 1.
  • nC1=nCn−1=nnC_1 = nCn-1 = n.
  • nCr=nCn−rnCr = nCn-r 255.

15.1.2 Permutations with repetitions

  • When objects have repetitions, the number of permutations is:
\dots n_k!}$$ where $N$ is the total number of objects, and $n_1, n_2, \dots, n_k$ are the counts of each distinct repeated object [252](#page=252). ### 15.1.3 Examples of permutations and combinations > **📝 Example:** How many ways can a team of 11 players be chosen from 15 players? > This is a combination problem since player order doesn't matter: > $C(15, 11) = \frac{15!}{11!(15-11)!} = \frac{15!}{11!4!} = 1365$ ways. > **📝 Example:** How many ways can 3 white balls and 2 black balls be selected from 5 white and 4 black balls? > We select 3 white balls from 5: $C(5, 3) = 10$. > We select 2 black balls from 4: $C(4, 2) = 6$. > Total ways = $C(5, 3) \times C(4, 2) = 10 \times 6 = 60$ ways [254](#page=254). ## 15.2 Elementary probability - <span style="color: #ff9f29; font-weight: 700;">Probability</span>: A numerical measure of the likelihood of an uncertain event occurring. It ranges from 0 (impossible) to 1 (certain). - <span style="color: #ff9f29; font-weight: 700;">Sample space</span>: The set of all possible outcomes of an experiment. - <span style="color: #ff9f29; font-weight: 700;">Event</span>: A single outcome or a set of outcomes from the sample space [256](#page=256). ### 15.2.1 Types of probability - <span style="color: #ff9f29; font-weight: 700;">A priori probability</span>: Calculated based on prior knowledge or logical reasoning before an event occurs. $$p(\text{event}) = \frac{\text{Number of ways event can occur}}{\text{Total number of possible outcomes}}$$. - <span style="color: #ff9f29; font-weight: 700;">Empirical (experimental) probability</span>: Calculated based on observed data from experiments. The accuracy increases with the number of trials. $$p(\text{event}) = \frac{\text{Number of times event occurs}}{\text{Total number of experiments}}$$. ### 15.2.2 Probability rules - <span style="color: #ff9f29; font-weight: 700;">OR Rule (for mutually exclusive events)</span>: If events A and B cannot happen at the same time, the probability of A or B occurring is the sum of their individual probabilities. $$p(A \text{ or } B) = p(A) + p(B)$$. - <span style="color: #ff9f29; font-weight: 700;">AND Rule (for independent events)</span>: If events A and B can occur simultaneously and are independent, the probability of both A and B occurring is the product of their individual probabilities. $$p(A \text{ and } B) = p(A) \times p(B)$$. - <span style="color: #ff9f29; font-weight: 700;">Mutually Exclusive Events</span>: Events that cannot occur at the same time. - <span style="color: #ff9f29; font-weight: 700;">Exhaustive Events</span>: A set of events that cover all possible outcomes of an experiment. The sum of probabilities of exhaustive events is 1. > **🔑 Important:** For mutually exclusive and collectively exhaustive events, the sum of their probabilities is always 1: $p(A) + p(B) + p(C) + \dots = 1$. ### 15.2.3 Example applications of probability rules > **📝 Example:** What is the chance of getting an even number or a number divisible by three when rolling a die? > The events are not mutually exclusive because 6 is both even and divisible by 3. > $p(\text{even}) = 3/6$. $p(\text{div by 3}) = 2/6$. > $p(\text{even or div by 3}) = p(\text{even}) + p(\text{div by 3}) - p(\text{even and div by 3})$ > $p(\text{even and div by 3}) = p = 1/6$ [6](#page=6). > So, $3/6 + 2/6 - 1/6 = 4/6$ [258](#page=258). > **📝 Example:** In a factory, 40% of the workforce are women. 25% of females are in management. What is the probability that a selected worker is a woman in management? > This uses the AND rule for independent events: > $p(\text{woman and management}) = p(\text{woman}) \times p(\text{management | woman})$ > $p(\text{woman and management}) = 0.40 \times 0.25 = 0.10$ or 10% [259](#page=259). ## 15.3 Patterns of probability - This section introduces probability distributions that describe the likelihood of different outcomes. The main distributions covered are Binomial, Poisson, and Normal. - <span style="color: #ff9f29; font-weight: 700;">Binomial distribution</span>: Models the number of successes in a fixed number of independent Bernoulli trials (each trial has two outcomes: success or failure). [264](#page=264). - <span style="color: #ff9f29; font-weight: 700;">Poisson distribution</span>: Models the number of events occurring within a fixed interval of time or space, given a known average rate of occurrence. (Mentioned as part of distributions, details in later lectures). - <span style="color: #ff9f29; font-weight: 700;">Normal distribution</span>: A continuous probability distribution characterized by its bell shape, symmetrical around the mean. (Mentioned as part of distributions, details in later lectures). > **🔑 Important:** Understanding these distributions is crucial for analyzing data patterns and making informed decisions in various fields [263](#page=263). # 16. Probability distributions and hypothesis testing (part 2) ## 16.1 Binomial and negative binomial distributions * The <span style="color: #ff9f29; font-weight: 700;">binomial distribution</span> applies when there are a fixed number of independent trials, each with two outcomes (success/failure) and a constant probability of success. * The <span style="color: #ff9f29; font-weight: 700;">negative binomial distribution</span> involves repeated independent trials with a constant probability of success, continuing until a specified number of successes are achieved. ### Binomial distribution * Conditions for a binomial situation: * Two possible outcomes ("either/or"). * A known and fixed number of trials ($n$). * A known and fixed probability of success ($p$) on each trial. * The probability mass function (PMF) for the binomial distribution is: $$b(x; n, p) = \binom{n}{x} p^x (1-p)^{n-x}$$ where $\binom{n}{x} = \frac{n!}{x!(n-x)!}$. * The cumulative distribution function (CDF) gives the probability of at most $x$ successes. $$P(X \le x) = \sum_{i=0}^{x} \binom{n}{i} p^i (1-p)^{n-i}$$. * The <span style="color: #ff9f29; font-weight: 700;">BINOMDIST</span> function calculates binomial probabilities. * `BINOMDIST(number_s, trials, probability_s, cumulative)` * `cumulative = TRUE` gives the CDF (at most $x$ successes). * `cumulative = FALSE` gives the PMF (exactly $x$ successes) [268](#page=268). > **Key Relationship:** Binomial CDF sums individual PMF probabilities. ### Negative binomial distribution * Characteristics: * Repeated independent trials. * Two outcomes per trial (success/failure). * Constant probability of success ($P$). * Experiment stops when a specific number of successes ($r$) occurs. * The negative binomial probability formula is: $$b^*(x; r, P) = \binom{x-1}{r-1} P^r (1-P)^{x-r}$$ where $x$ is the total number of trials and $r$ is the number of successes [273](#page=273). * The <span style="color: #ff9f29; font-weight: 700;">geometric distribution</span> is a special case of the negative binomial distribution where $r=1$. * The <span style="color: #ff9f29; font-weight: 700;">NEGBINOMDIST</span> function calculates these probabilities. * `NEGBINOMDIST(number_f, number_s, probability_s)` * Calculates the probability of `number_f` failures before the `number_s`-th success [274](#page=274). > **Key Distinction:** Binomial fixes trials ($n$), Negative Binomial fixes successes ($r$). ### Critical binomial value * The <span style="color: #ff9f29; font-weight: 700;">CRITBINOM</span> function returns the smallest value for which the cumulative binomial distribution meets a criterion. * `CRITBINOM(trials, probability_s, alpha)` [275](#page=275). > **Decision Aid:** CRITBINOM helps set acceptance/rejection limits. ## 16.2 Expected value and decision tables * <span style="color: #ff9f29; font-weight: 700;">Expected value</span> (EMV) is the weighted average of possible financial outcomes, where weights are probabilities. $$EMV = \sum (\text{probability of outcome} \times \text{financial result of outcome})$$ [266](#page=266). * Decision tables help analyze choices with uncertain outcomes by calculating the expected value for each decision. > **Calculation Strategy:** EMV quantifies expected outcomes for informed decisions. ### Decision table for profit maximization * To find the best quantity to buy, create a table showing potential sales, profits for each sale, losses for returns, and the net profit for each purchase quantity under different demand scenarios. * The <span style="color: #ff9f29; font-weight: 700;">Expected Monetary Value (EMV)</span> is calculated for each decision (number of pies to buy) by averaging the profits across all demand probabilities. The decision with the highest EMV is chosen. > **Decision Table Structure:** > | Pies Purchased | Demand Scenario 1 (Prob) | Demand Scenario 2 (Prob) |... | EMV | > |:------------- |:----------------------- |:----------------------- |:-- |:-- | > | X | Profit/Loss | Profit/Loss |... | Max | ### Decision trees * Decision trees map out possible decisions, chance events, and their probabilities and outcomes. * They are used to visualize and calculate the expected value of complex decision paths [278](#page=278). > **Decision Tree Flow:** Decision Node → Chance Node → Outcome. ## 16.3 Poisson distribution * The <span style="color: #ff9f29; font-weight: 700;">Poisson distribution</span> models the number of random occurrences of an event in a fixed interval of time or space. * It applies when: * The situation is "either/or". * There is no direct data on trials. * There is no direct data on successes. * An average or mean value of occurrences is known. * Characteristics: * Mean number of successes per unit ($\mu$ or $\lambda$) is known and fixed. * The probability of an event ($p$) is unknown but small (the event is unusual). * The Poisson probability mass function (PMF) is: $$P(X=x) = \frac{e^{-\mu} \mu^x}{x!}$$ where $\mu$ is the average number of occurrences. * For a Poisson distribution, the expected value ($E(X)$) and variance ($Var(X)$) are both equal to $\mu$. * The <span style="color: #ff9f29; font-weight: 700;">POISSON</span> function calculates these probabilities. * `POISSON(x, mean, cumulative)` * `cumulative = TRUE` gives the cumulative probability (0 to $x$ events). * `cumulative = FALSE` gives the probability of exactly $x$ events. > **Poisson Applicability:** Use for rare events in continuous intervals. > **Key Formula:** The Poisson PMF uses $e$ and $\mu^x$. > **Example:** The number of phone calls in an hour, or flaws on a meter of fabric. > **Example:** A suburb averages 2.1 false alarms per day. The probability of exactly 4 on a given day is approximately 0.0992. > **Example:** An automatic production line breaks down every 2 hours. For an 8-hour period, the average number of breakdowns is $\mu = 8/2 = 4$. The probability of no breakdowns ($x=0$) is $\frac{e^{-4} 4^0}{0!} \approx 0.0183$ [281](#page=281). > **Example:** A machine produces one underweight bag per 100. For 500 bags, the average is $\mu = 500/100 = 5$. The probability of less than three underweight bags ($P(X < 3)$ or $P(X \le 2)$) is approximately 0.1247 [282](#page=282). > **Important:** Poisson tables often provide cumulative probabilities (r or more successes) [280](#page=280). > **Important:** Use the `cumulative` argument in the `POISSON` function to specify exact or cumulative probabilities [283](#page=283). > **🔑 Important:** Poisson distribution is suitable for rare events over continuous intervals when the rate is known [279](#page=279). # 17. Probability distributions and hypothesis testing (part 3) ## 17.1 Continuous probability distributions * Probability distributions describe how likely different outcomes are. * <span style="color: #ff9f29; font-weight: 700;">Binomial</span> and <span style="color: #ff9f29; font-weight: 700;">Poisson</span> distributions handle discrete data (counts). * <span style="color: #ff9f29; font-weight: 700;">Continuous probability distributions</span> are used for measured values, like weight. * A continuous distribution often forms a bell shape when plotted as frequency against measurement [285](#page=285). ## 17.2 The normal distribution * The <span style="color: #ff9f29; font-weight: 700;">normal distribution</span> is a common continuous probability pattern. It's symmetrical and bell-shaped. * The <span style="color: #ff9f29; font-weight: 700;">mean</span> determines the peak's position. * The <span style="color: #ff9f29; font-weight: 700;">standard deviation</span> controls the spread of the curve. ### 17.2.1 Standard normal distribution * A <span style="color: #ff9f29; font-weight: 700;">standard normal distribution</span> has a mean of 0 and a standard deviation of 1. * The area under the entire curve represents a total probability of 1. * Probabilities outside 3 standard deviations from the mean are very close to zero. ### 17.2.2 Using the normal distribution table * Normal distribution tables show the area (probability) under the curve for specific <span style="color: #ff9f29; font-weight: 700;">z-values</span>. * A z-value measures how many standard deviations a point is from the mean. * Tables usually provide the area in one tail of the distribution [287](#page=287) [288](#page=288). > To find the probability of a value being greater than a specific z-score, subtract the table value from 0.5 (the area to the right of the mean). ### 17.2.3 Calculating z-values * The formula to calculate a z-value is $z = \frac{\text{Value } x - \text{ Mean}}{\text{StDev}}$. * This process is called <span style="color: #ff9f29; font-weight: 700;">standardization</span>. > `z = (x - μ) / σ` #### Calculating probabilities with z-values * To find the proportion of bags weighing more than 515 g (mean 510 g, stdev 2.5 g): * Calculate z: $z = \frac{515 - 510}{2.5} = 2$. * From tables, the probability for $z=2$ is approximately 0.4772. * Probability of weighing more than 515 g is $0.5 - 0.4772 = 0.0228$ (2.28%) [289](#page=289). * To find the percentage of bags weighing less than 507.5 g (mean 510 g, stdev 2.5 g): * Calculate z: $z = \frac{507.5 - 510}{2.5} = -1$. * The probability for $z=-1$ is the same as for $z=+1$. * Using the table for $z=+1$ (area 0.3413), the area to the left of -1 is $0.5 - 0.3413 = 0.1587$ (15.87%) [290](#page=290). * To find the probability of a bag weighing less than 512 g (mean 510 g, stdev 2.5 g): * Calculate z: $z = \frac{512 - 510}{2.5} = 0.8$. * The table value for $z=0.8$ is 0.2881. * The probability of weighing less than 512 g is $0.5 + 0.2881 = 0.7881$ (78.81%) [291](#page=291). * To find the percentage of bags weighing between 512 g and 515 g: * $z_1$ for 512 g is 0.8, with an area of 0.2119 (from 0.5 - 0.2881). * $z_2$ for 515 g is 2, with an area of 0.0228 (from 0.5 - 0.4772). * The probability is the difference between these areas: $0.2119 - 0.0228 = 0.1891$ (18.91%) [292](#page=292). ### 17.2.4 Excel functions for normal distribution * <span style="color: #ff9f29; font-weight: 700;">NORMDIST</span>: Returns the normal distribution. `cumulative = TRUE` gives the cumulative probability [294](#page=294). * <span style="color: #ff9f29; font-weight: 700;">NORMSDIST</span>: Returns the standard normal cumulative distribution for a given z-value [295](#page=295). * <span style="color: #ff9f29; font-weight: 700;">NORMINV</span>: Returns the inverse of the normal cumulative distribution (finds x given probability, mean, stdev) [296](#page=296). * <span style="color: #ff9f29; font-weight: 700;">NORMSINV</span>: Returns the inverse of the standard normal cumulative distribution (finds z given probability) [297](#page=297). ## 17.3 Sampling distribution of percentages * <span style="color: #ff9f29; font-weight: 700;">Sampling variation</span> refers to the differences observed in samples taken from the same population [298](#page=298). * A <span style="color: #ff9f29; font-weight: 700;">sampling distribution</span> is the distribution of a statistic (e.g., percentage) across all possible samples of a fixed size. ### 17.3.1 Conditions for sample selection * Sample size (<span style="color: #ff9f29; font-weight: 700;">n</span>) is fixed. * Each item has or does not have the characteristic (binary). * The probability (<span style="color: #ff9f29; font-weight: 700;">P</span>) of selecting an item with the characteristic is constant. > For large sample sizes (<span style="color: #ff9f29; font-weight: 700;">n > 30</span>), the sampling distribution of percentages can be approximated by a normal distribution. ### 17.3.2 Standard Error of Percentages (STEP) * <span style="color: #ff9f29; font-weight: 700;">STEP</span> measures the standard deviation of the sampling distribution of percentages. * It indicates the typical error when using a sample percentage to estimate the population percentage. * Formula: $STEP = \sqrt{\frac{P(100-P)}{n}} \%$ [299](#page=299). > STEP helps quantify the uncertainty in sample estimates. #### Example: Likelihood of defective components * A factory aims for a 2% defect rate (<span style="color: #ff9f29; font-weight: 700;">P</span> = 2). * A sample of 500 components (<span style="color: #ff9f29; font-weight: 700;">n</span> = 500) shows 5% defects. * Calculate STEP: $STEP = \sqrt{\frac{2(100-2)}{500}} \% = \sqrt{\frac{196}{500}} \% \approx 0.626 \%$. * Calculate z-score: $z = \frac{5 - 2}{0.626} \approx 4.79$. * The probability of observing 5% or more defects is extremely small (area against z=4.79 is negligible). ## 17.4 Confidence limits for percentages * <span style="color: #ff9f29; font-weight: 700;">Confidence limits</span> provide a range within which the true population percentage is likely to fall. * <span style="color: #ff9f29; font-weight: 700;">95% confidence limits</span> are commonly used. This means there is a 5% chance the true value is outside this range. * The z-value associated with 95% confidence (2.5% in each tail) is approximately 1.96 [301](#page=301). > The formula for the 95% confidence interval for a percentage is approximately: Sample Percentage $\pm$ 2 $\times$ STEP. ### 17.4.1 Calculating confidence limits * <span style="color: #ff9f29; font-weight: 700;">Example:</span> A sample of 400 consumers (n=400) shows 70% buy a product. * Sample percentage = 70%. * Calculate STEP: $STEP = \sqrt{\frac{70(100-70)}{400}} \% = \sqrt{\frac{2100}{400}} \% = 2.29 \%$. * 95% confidence interval: $70\% \pm 1.96 \times 2.29 \% = 70\% \pm 4.49 \%$. * The interval is approximately 65.51% to 74.49% [302](#page=302). > For simplicity, 1.96 is often approximated as 2 for 95% confidence intervals. ### 17.4.2 99% confidence limits * For 99% confidence, the z-value is approximately 2.58. * This range accounts for 1% error (0.5% in each tail). ### 17.4.3 Finding a required sample size * To achieve a desired accuracy (e.g., estimate within 5% with 95% confidence), you can calculate the necessary sample size. * Set the margin of error ($2 \times STEP$) and use a pilot estimate for P. * <span style="color: #ff9f29; font-weight: 700;">Example:</span> Aim for 5% accuracy (margin of error = 5), pilot P = 30%. * $2 \times STEP = 5 \implies STEP = 2.5$. * $STEP = \sqrt{\frac{30(100-30)}{n}} = 2.5$. * Solving for n gives $n = \frac{30 \times 70}{(2.5)^2} = 336$. ## 17.5 Sampling distribution of means * The <span style="color: #ff9f29; font-weight: 700;">Standard Error of the Mean (STEM)</span> is the standard deviation of the sampling distribution of sample means. * Formula: $STEM = \frac{\sigma}{\sqrt{n}}$, where $\sigma$ is the population standard deviation. > STEM quantifies the variability of sample means around the population mean. ### 17.5.1 Example: Sample mean IQ * Population mean IQ = 100, population standard deviation = 15. * Sample size <span style="color: #ff9f29; font-weight: 700;">n</span> = 64. * Calculate STEM: $STEM = \frac{15}{\sqrt{64}} = \frac{15}{8} = 1.875$. * What is the probability a sample mean IQ is below 95? * Calculate z: $z = \frac{95 - 100}{1.875} = \frac{-5}{1.875} = -2.67$. * The probability for $z=-2.67$ is 0.0038 [303](#page=303). > The chance of a sample mean IQ being below 95 is very small. ### 17.5.2 Estimating population mean from sample * If the population standard deviation ($\sigma$) is unknown, the sample standard deviation (s) can be used as an approximation. * Formula for STEM using sample standard deviation: $STEM = \frac{s}{\sqrt{n}}$. * <span style="color: #ff9f29; font-weight: 700;">Example:</span> Sample of 100 tins (n=100), sample mean weight = 225 g, sample standard deviation = 5 g. * $STEM = \frac{5}{\sqrt{100}} = \frac{5}{10} = 0.5$. * 95% confidence interval for population mean: $225 \pm 2 \times 0.5$, which is 224 to 226 g. ### 17.5.3 Finite Population Correction Factor * When the sample size (<span style="color: #ff9f29; font-weight: 700;">n</span>) is a significant fraction (more than 10%) of the population size (<span style="color: #ff9f29; font-weight: 700;">N</span>), the STEM and STEP should be adjusted. * Apply the correction factor: $\sqrt{1 - \frac{n}{N}}$ [304](#page=304). > This factor reduces the standard error because sampling without replacement from a finite population provides more information than sampling from an infinite one. > **🔑 Important:** Understanding normal distributions and sampling variability is crucial for making inferences about populations from sample data, forming the basis of hypothesis testing. # 18. Probability distributions and hypothesis testing (part 4) ## 18.1 Hypothesis testing for proportions - <span style="color: #ff9f29; font-weight: 700;">Null Hypothesis (H₀)</span>: The initial assumption that there is no change or no difference. This is the starting point for testing. - The sample statistic is compared against an interval derived from the null hypothesis to see if it's significantly different. ### 18.1.1 Calculating the test interval - <span style="color: #ff9f29; font-weight: 700;">STEP (Standard Error of Proportion)</span>: Calculated as $ \sqrt{P(100-P)/n} $, where $ P $ is the population proportion and $ n $ is the sample size. - The 95% confidence interval is typically calculated as $ P \pm 2 \times \text{STEP} $. - If the sample proportion falls *outside* this interval, the null hypothesis is rejected [305](#page=305). - If the sample proportion falls *inside* this interval, the null hypothesis is not rejected. > The larger the difference between sample and population, the less likely the population percentage applies. ### 18.1.2 Significance levels and error types - Using a 99% interval requires $ 2.58 \times \text{STEP} $, making the interval wider. This reduces the chance of finding a significant difference. - <span style="color: #ff9f29; font-weight: 700;">Type I Error</span>: Concluding a significant difference exists when there isn't one (5% chance at a 5% significance level). - <span style="color: #ff9f29; font-weight: 700;">Type II Error</span>: Concluding no significant difference exists when there actually is one [306](#page=306). ### 18.1.3 One-tailed vs. Two-tailed tests - <span style="color: #ff9f29; font-weight: 700;">One-tailed test</span>: Tests for a difference in a specific direction (e.g., P > 4%). Uses a z-value of 1.64 for 5% significance. - <span style="color: #ff9f29; font-weight: 700;">Two-tailed test</span>: Tests for any significant difference, regardless of direction (e.g., P ≠ 4%). Uses a z-value of 1.96 for 5% significance. ## 18.2 Hypothesis testing for means ### 18.2.1 Large samples (z-test) - For large samples, the distribution of sample means is approximately normal. - <span style="color: #ff9f29; font-weight: 700;">STEM (Standard Error of the Mean)</span>: Calculated as $ s.d. / \sqrt{n} $, where $ s.d. $ is the population standard deviation and $ n $ is the sample size [307](#page=307). - The z-test formula for means is: $ z = (\text{sample mean} - \text{population mean}) / \text{STEM} $. > **Key for z-tests:** Sample z < Critical z → Do not reject H₀. Sample z > Critical z → Reject H₀. ### 18.2.2 Small samples (t-test) - When the underlying population is normal but its standard deviation is unknown and the sample is small, use the <span style="color: #ff9f29; font-weight: 700;">Student's t-distribution</span>. - The t-distribution is a family of distributions that approximates the normal distribution as sample size increases. It is wider than the normal distribution. - For small samples, the sample standard deviation ($ s $) is used to approximate the population standard deviation, dividing the sum of squares by $ n - 1 $. - The t-value is calculated as: $ t = (\text{sample mean} - \text{population mean}) / \text{STEM} $. - <span style="color: #ff9f29; font-weight: 700;">Degrees of freedom</span> ($ v $) for a t-test are $ n - 1 $ [308](#page=308). > **t-test decision:** Compare the calculated t-value to the critical t-value from tables for the given significance level and degrees of freedom. ### 18.2.3 Testing the difference between two means - To test the difference between two sample means, calculate a pooled standard deviation ($ s $) and then the standard error of the difference in sample means (STEDM). - The formula for $ s $ is: $ s = \sqrt{[(n_1 s_1^2 + n_2 s_2^2) / (n_1 + n_2)]} $. - The formula for STEDM is: $ \text{STEDM} = s \sqrt{(1/n_1) + (1/n_2)} $. - The z-score is calculated as: $ z = (\text{difference in sample means} - 0) / \text{STEDM} $. ## 18.3 Chi-squared distribution ($\chi^2$) - The chi-squared distribution is used to test for associations or differences between observed and expected frequencies, especially for categorical data. ### 18.3.1 Calculating Chi-squared ($\chi^2$) - The <span style="color: #ff9f29; font-weight: 700;">Chi-squared statistic ($\chi^2$)</span> measures the disagreement between observed ($ O $) and expected ($ E $) frequencies. - The formula is: $ \chi^2 = \sum \frac{(O - E)^2}{E} $. - <span style="color: #ff9f29; font-weight: 700;">Expected frequencies</span> are calculated based on the assumption of no association (e.g., uniform improvement across groups). - <span style="color: #ff9f29; font-weight: 700;">Degrees of freedom ($ v $)</span> for a contingency table are calculated as $ (r-1) \times (c-1) $, where $ r $ is the number of rows and $ c $ is the number of columns. > **Chi-squared decision:** Calculated $\chi^2$ > Critical $\chi^2$ → Reject H₀ (association exists). Calculated $\chi^2$ < Critical $\chi^2$ → Do not reject H₀. ### 18.3.2 Using Excel for Chi-squared tests - The `CHITEST` function in Excel returns the probability from the chi-squared distribution for a statistic and its degrees of freedom. - It tests for independence between two sets of data (actual vs. expected ranges) [312](#page=312). > **CHITEST function:** `CHITEST(actual_range, expected_range)` ## 18.4 Summary of hypothesis testing procedures | Condition | Underlying Population | Sample Size | Standard Deviation Known? | Test to Use | Distribution Used | |:---------------------------------------------------- |:-------------------- |:---------- |:------------------------ |:--------------- |:--------------------- | | Normal distribution known | Normal | Any | Yes | z-test | Normal | | Population unknown, sample large | Unknown | Large | Yes (or approximated) | z-test | Approximately Normal | | Normal distribution, unknown s.d., small sample | Normal | Small | No | t-test | t-distribution | | Not normal distribution, small sample | Not Normal | Small | N/A | Not recommended | N/A | | Testing difference between two means | Varies | Varies | Varies | z or t-test | Normal or t-distribution | | Testing association in categorical data | Varies | Any | N/A | Chi-squared test | Chi-squared | [309](#page=309) [310](#page=310) > **Key takeaway:** Choose the correct test based on population normality, sample size, and whether the standard deviation is known. > **🔑 Important:** Understanding when to use z-tests, t-tests, and chi-squared tests is crucial for correctly analyzing data and drawing valid conclusions in hypothesis testing.

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also