SML Winter 2024 Question Paper
SML Winter 2024 Question Paper
To fit a straight line using the least squares method, find coefficients a and b such that y = ax + b minimizes the sum of squared errors between observed and predicted values. Apply normal equations derived from the dataset to solve for a and b. The resultant line represents the best linear approximation for the dataset trends .
Spearman's rank correlation is calculated using the ranks: compute the difference d_i between paired ranks, then use the formula: 1 - (6Σd_i²) / (n(n²-1)). For Deepti and Nancy's lipstick rankings, calculate each rank difference squared, sum these, and apply formula to interpret similarity in their ranking tendencies .
To find this probability, count the number of diamonds (13) and face cards (3 per suit, totaling 12). Since there are 3 diamond face cards, apply the inclusion-exclusion principle: P(diamond or face card) = P(diamond) + P(face card) - P(diamond face card) = 13/52 + 12/52 - 3/52 = 22/52 = 11/26 .
To evaluate whether a machine's quality improved, calculate the proportion of defects before (20/400 = 0.05) and after overhauling (10/300 = 0.0333). Use a two-proportion z-test to compare these proportions at a 1% significance level. If the calculated z-value is greater than the critical value, we conclude an improvement .
Lagrange's interpolation estimates values by constructing a polynomial through known data points. For estimating y at x=10 given x and y pairs, use the formula to calculate weights for each known point, deriving a polynomial fitting exactly through these points. This approach precisely estimates intermediate values .
To determine if rice and wheat are equally popular among the 500 people surveyed, we set a hypothesis that they are equally popular. With 280 rice eaters and 220 wheat eaters, a chi-square test can be used. The observed value significantly exceeding the expected equal distribution value would suggest rejecting the hypothesis, evidencing a preference .
To compute the correlation coefficient, use the formula: r = (nΣxy - ΣxΣy) / sqrt([nΣx² - (Σx)²][nΣy² - (Σy)²]). Given n=25, Σx=75, Σy=100, Σx²=250, Σy²=500, and Σxy=325, r = (25*325 - 75*100) / sqrt([25*250 - 75²][25*500 - 100²]) = 0.1875, indicating a weak positive correlation .
Karl Pearson's coefficient of skewness can be computed using the formula: (Mean - Mode) / Standard Deviation. Applying this to the given values, the coefficient is (20.6 - 18.52) / 8.5 = 0.2447. This positive skewness indicates a moderate skew to the right, meaning the distribution has a longer tail on the right side .
Evaluate fairness by testing the hypothesis that the die is fair, expecting around 1/6 outcomes as fours, approximately 250 fours in 1500 throws. Using a chi-square test for goodness of fit at a 0.01 significance level, calculate the deviation from expected. If the test statistic exceeds the critical value, reject fairness .
Newton’s Backward Difference Interpolation is based on finite differences to estimate function values at non-tabulated points. Use previous consecutive values, applying backward differences to build a polynomial approximation. For function f(x), calculate backward differences to improve estimate accuracy near known values .