Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.
You're offline
Unit 14 MCQsStatistical Tools and Techniques
ECAP790 ·
60 questions. Pick an option to check it.
In Bayesian statistics, what does a prior distribution represent?
Not quite. Try another option.
Answer: Beliefs about a parameter before observing data
A prior distribution expresses existing beliefs about an unknown parameter before new data are observed.
Question 2 of 60 · Bayesian Concepts · Easy
What is the posterior distribution in Bayesian analysis?
Not quite. Try another option.
Answer: The updated distribution after observing data
The posterior distribution combines prior information with evidence from the observed data.
Question 3 of 60 · Bayesian Concepts · Easy
Which quantity describes how probable the observed data are for different parameter values?
Not quite. Try another option.
Answer: Likelihood
The likelihood measures how well different parameter values explain the observed data.
Question 4 of 60 · Bayesian Concepts · Easy
Bayes' theorem is commonly written as . What does represent?
Not quite. Try another option.
Answer: The conditional probability of given
is the probability that occurs when is known to have occurred.
Question 5 of 60 · Bayesian Inferences · Easy
What is the main purpose of Bayesian inference?
Not quite. Try another option.
Answer: To update beliefs using observed evidence
Bayesian inference updates prior beliefs by combining them with observed evidence.
Question 6 of 60 · Bayesian Inferences · Easy
Which two components are combined to obtain a posterior distribution?
Not quite. Try another option.
Answer: Prior and likelihood
The posterior distribution is proportional to the prior distribution multiplied by the likelihood.
Question 7 of 60 · Bayesian Inferences · Easy
What does a Bayesian credible interval describe?
Not quite. Try another option.
Answer: A range of plausible parameter values
A credible interval gives a range within which a parameter lies with a specified posterior probability.
Question 8 of 60 · Bayesian Inferences · Easy
If new evidence strongly supports a parameter value, what generally happens to its posterior probability?
Not quite. Try another option.
Answer: It generally increases
Evidence that strongly supports a parameter value generally increases its probability in the posterior distribution.
Question 9 of 60 · Bayes Estimates Using Decision Theory Framework · Easy
In Bayesian decision theory, what does a loss function measure?
Not quite. Try another option.
Answer: The cost of a decision or estimation error
A loss function assigns a cost to each possible decision or estimation error.
Question 10 of 60 · Bayes Estimates Using Decision Theory Framework · Easy
A Bayes estimate is commonly selected to minimize which quantity?
Not quite. Try another option.
Answer: Posterior expected loss
A Bayes estimate minimizes the expected loss calculated using the posterior distribution.
Question 11 of 60 · Bayes Estimates Using Decision Theory Framework · Easy
Under squared-error loss, which posterior summary is the Bayes estimate?
Not quite. Try another option.
Answer: Posterior mean
The posterior mean minimizes posterior expected squared-error loss.
Question 12 of 60 · Microsoft Excel · Easy
Which Microsoft Excel function calculates the arithmetic mean of selected cells?
Not quite. Try another option.
Answer: AVERAGE
The AVERAGE function adds the selected values and divides by the number of values.
Question 13 of 60 · Microsoft Excel · Easy
Which symbol normally begins a formula in Microsoft Excel?
Not quite. Try another option.
Answer: =
Excel formulas normally begin with an equals sign (=).
Question 14 of 60 · Microsoft Excel · Easy
Which Excel feature is commonly used to create a visual representation of data?
Not quite. Try another option.
Answer: Chart
Charts display data visually using forms such as bars, lines, or points.
Question 15 of 60 · RStudio · Easy
What is RStudio primarily used for?
Not quite. Try another option.
Answer: Working with the R programming language
RStudio is an integrated development environment commonly used to write and run R code.
Question 16 of 60 · RStudio · Easy
Which R function calculates the mean of a numeric vector x?
Not quite. Try another option.
Answer: mean(x)
The mean(x) function returns the arithmetic mean of the values in x.
Question 17 of 60 · RStudio · Easy
In RStudio, where can commands be entered and executed interactively?
Not quite. Try another option.
Answer: Console
The Console allows users to enter R commands and view their results immediately.
Question 18 of 60 · SPSS · Easy
What does SPSS primarily help users perform?
Not quite. Try another option.
Answer: Statistical data analysis
SPSS is software designed for managing data and performing statistical analyses.
Question 19 of 60 · SPSS · Easy
In SPSS, which view displays observations in rows and variables in columns?
Not quite. Try another option.
Answer: Data View
Data View displays the dataset, with cases in rows and variables in columns.
Question 20 of 60 · SPSS · Easy
In SPSS, which view is used to define variable names, types, and labels?
Not quite. Try another option.
Answer: Variable View
Variable View is used to define and modify the properties of variables.
Question 21 of 60 · Bayesian Concepts · Medium
A disease has prevalence . A diagnostic test has sensitivity and a false-positive rate of . What is the probability that a person has the disease given a positive result?
Not quite. Try another option.
Answer:
By Bayes' theorem, .
Question 22 of 60 · Bayesian Concepts · Medium
The probability of success has a prior. Before observing any data, what is the prior predictive probability of success on the next trial?
Not quite. Try another option.
Answer:
For a Beta-Bernoulli model, the prior predictive probability is .
Question 23 of 60 · Bayesian Concepts · Medium
The prior odds in favor of model over are . If the likelihood ratio in favor of is , what are the posterior odds?
Not quite. Try another option.
Answer:
Posterior odds equal prior odds multiplied by the likelihood ratio: .
Question 24 of 60 · Bayesian Concepts · Medium
A 95% Bayesian credible interval for is . Which interpretation is appropriate?
Not quite. Try another option.
Answer: The posterior probability that lies in the interval is .
A Bayesian credible interval directly describes posterior uncertainty about the parameter .
Question 25 of 60 · Bayesian Inferences · Medium
A binomial success probability has prior . After observing 8 successes and 2 failures, what is the posterior distribution?
Not quite. Try another option.
Answer:
The Beta posterior parameters are obtained by adding successes and failures: .
Question 26 of 60 · Bayesian Inferences · Medium
Using the posterior , what is the posterior predictive probability that the next trial is a success?
Not quite. Try another option.
Answer:
The posterior predictive probability is the posterior mean, .
Question 27 of 60 · Bayesian Inferences · Medium
Suppose . A sample of size has mean , and the known observation variance is . What is the posterior mean of ?
Not quite. Try another option.
Answer:
Precision weighting gives .
Question 28 of 60 · Bayesian Inferences · Medium
A Bayes factor is obtained when comparing model with model . What does this value indicate?
Not quite. Try another option.
Answer: The data are 8 times as probable under as under .
A Bayes factor compares marginal likelihoods; means the observed data favor by a factor of 8.
Question 29 of 60 · Bayes Estimates Using Decision Theory Framework · Medium
If the posterior distribution is , what is the Bayes estimate of under squared-error loss?
Not quite. Try another option.
Answer:
Under squared-error loss, the Bayes estimate is the posterior mean: .
Question 30 of 60 · Bayes Estimates Using Decision Theory Framework · Medium
A posterior distribution assigns probabilities , , and to , , and , respectively. What is the Bayes estimate under absolute-error loss?
Not quite. Try another option.
Answer:
Absolute-error loss is minimized by a posterior median. The cumulative posterior probability first reaches at .
Question 31 of 60 · Bayes Estimates Using Decision Theory Framework · Medium
A posterior distribution assigns probabilities , , and to parameter values , , and . What is the Bayes estimate under zero-one loss?
Not quite. Try another option.
Answer:
Under zero-one loss, the Bayes estimate is the posterior mode. The largest posterior probability, , occurs at .
Question 32 of 60 · Bayes Estimates Using Decision Theory Framework · Medium
For a binary decision, a false positive costs and a false negative costs . If , when should action be selected?
Not quite. Try another option.
Answer: When
Choose action when , which simplifies to .
Question 33 of 60 · Microsoft Excel · Medium
Which Excel formula calculates the probability of exactly 7 successes in 10 independent trials when the success probability is ?
Not quite. Try another option.
Answer: =BINOM.DIST(7,10,0.6,FALSE)
BINOM.DIST with FALSE returns the probability of exactly the specified number of successes.
Question 34 of 60 · Microsoft Excel · Medium
Values of a response variable are in cells B2:B21, and matching predictor values are in A2:A21. Which formula returns the least-squares slope?
Not quite. Try another option.
Answer: =SLOPE(B2:B21,A2:A21)
Excel's SLOPE function takes the response values first and predictor values second.
Question 35 of 60 · Microsoft Excel · Medium
A right-tailed test produces a test statistic of with degrees of freedom. Which Excel formula returns its p-value?
Not quite. Try another option.
Answer: =T.DIST.RT(2.1,14)
T.DIST.RT returns the right-tail probability beyond the observed positive statistic.
Question 36 of 60 · RStudio · Medium
A data frame named survey contains variables score and hours. Which R command fits the model ?
Not quite. Try another option.
Answer: lm(score ~ hours, data = survey)
In an R formula, the response is placed to the left of ~ and the predictor to the right.
Question 37 of 60 · RStudio · Medium
A simulation in R gives different results each time it is run. Which command should be placed before the simulation to make the random results reproducible?
Not quite. Try another option.
Answer: set.seed(123)
set.seed() initializes R's random-number generator so the same random sequence can be reproduced.
Question 38 of 60 · RStudio · Medium
An R vector named draws contains simulated values from a posterior distribution. Which command computes an equal-tailed 95% credible interval?
Not quite. Try another option.
Answer: quantile(draws, c(0.025, 0.975))
The 2.5th and 97.5th percentiles enclose the central 95% of the posterior draws.
Question 39 of 60 · SPSS · Medium
A researcher wants to compare the mean exam scores of two unrelated teaching groups in SPSS. Which procedure is most appropriate?
Not quite. Try another option.
Answer: Analyze > Compare Means > Independent-Samples T Test
The groups are unrelated, so an independent-samples test is the appropriate mean-comparison procedure.
Question 40 of 60 · SPSS · Medium
In an SPSS multiple regression output, a predictor has coefficient and Sig. = 0.03. At significance level , which conclusion is appropriate?
Not quite. Try another option.
Answer: The predictor has a statistically significant negative association with the response.
Because , the coefficient is significant, and indicates a negative association after controlling for other predictors.
Question 41 of 60 · Bayesian Concepts · Hard
For Bernoulli observations with successes in trials, consider the improper Haldane prior . Under which condition is the posterior distribution proper?
Not quite. Try another option.
Answer: and
The posterior kernel is , corresponding to . It is proper only when both shape parameters are positive.
Question 42 of 60 · Bayesian Concepts · Hard
A disease has prevalence . A diagnostic test has sensitivity and specificity . Assuming these values apply to the tested population, what is the posterior probability of disease after a positive result?
Not quite. Try another option.
Answer:
Bayes' theorem gives .
Question 43 of 60 · Bayesian Concepts · Hard
Two sampling designs produce likelihoods satisfying , where does not depend on . If the same proper prior is used, which conclusion follows from the likelihood principle?
Not quite. Try another option.
Answer: The normalized posterior distributions are identical
A positive factor independent of cancels during posterior normalization. Thus proportional likelihoods combined with the same prior produce identical posteriors.
Question 44 of 60 · Bayesian Inferences · Hard
A Bernoulli probability has prior . After observing successes and failures, what is the posterior predictive probability that both of the next two trials are successes?
Not quite. Try another option.
Answer:
The posterior is . Integrating over posterior uncertainty gives .
Question 45 of 60 · Bayesian Inferences · Hard
Observations are independent variables. The prior is , and a sample of size has mean . What is the posterior distribution of ?
Not quite. Try another option.
Answer:
The posterior precision is , so the variance is . The posterior mean is .
Question 46 of 60 · Bayesian Inferences · Hard
For independent , use a Gamma prior with shape and rate . Four observations have total . What is the posterior predictive mean of one new observation?
Not quite. Try another option.
Answer:
The posterior is Gamma with shape and rate . The predictive mean equals .
Question 47 of 60 · Bayesian Inferences · Hard
Models and have prior probabilities and , respectively. The observed data yield Bayes factor . What is ?
Not quite. Try another option.
Answer:
Prior odds are . Posterior odds are , giving posterior probability .
Question 48 of 60 · Bayes Estimates Using Decision Theory Framework · Hard
For a continuous posterior distribution of , suppose the loss is when and when . Which posterior summary is the Bayes estimate?
Not quite. Try another option.
Answer: The posterior th percentile
Underestimation is three times as costly as overestimation. Minimizing posterior expected asymmetric absolute loss requires .
Question 49 of 60 · Bayes Estimates Using Decision Theory Framework · Hard
The LINEX loss is . If and , what is the Bayes estimate?
Not quite. Try another option.
Answer:
The LINEX Bayes estimate is . For a normal posterior this becomes .
Question 50 of 60 · Bayes Estimates Using Decision Theory Framework · Hard
The posterior probabilities of states and are and . Losses for actions , , and are respectively , , and across those states. Which action is Bayes-optimal?
Not quite. Try another option.
Answer: Action
Posterior risks are , , and . Action has the smallest posterior expected loss.
Question 51 of 60 · Bayes Estimates Using Decision Theory Framework · Hard
A real-valued target has posterior distribution , but the reported action is constrained to . Under squared-error loss, what is the constrained Bayes action?
Not quite. Try another option.
Answer:
Squared-error posterior risk is minimized at the posterior mean. With a convex action constraint, the constrained solution is its projection onto , which is .
Question 52 of 60 · Microsoft Excel · Hard
A binomial analysis produces posterior . Which Excel formulas return the equal-tailed credible interval?
Not quite. Try another option.
Answer: =BETA.INV(0.025,9,6) and =BETA.INV(0.975,9,6)
BETA.INV computes beta quantiles. An equal-tailed interval uses probabilities and with the posterior shape parameters in their original order.
Question 53 of 60 · Microsoft Excel · Hard
Cells A2:A100 contain very negative log-weights . Which modern Excel formula stably computes while reducing numerical underflow?
The log-sum-exp identity subtracts the largest log-weight before exponentiation, keeping the transformed values numerically representable.
Question 54 of 60 · Microsoft Excel · Hard
In an Excel regression calculation, cell B2 contains a coefficient estimate and C2 its standard error. There are observations and predictors excluding the intercept. Which formula computes the usual two-sided -test p-value?
Not quite. Try another option.
Answer: =T.DIST.2T(ABS(B2/C2),n-k-1)
The statistic is . A regression with an intercept and predictors has residual degrees of freedom, and T.DIST.2T returns the two-sided tail probability.
Question 55 of 60 · RStudio · Hard
In R, lm(y ~ x*g) is fitted with factor level A as the reference for g. The estimated coefficients for x and x:gB are and . What is the fitted slope of when g == "B"?
Not quite. Try another option.
Answer:
With treatment contrasts, the x coefficient is the slope for reference level A. The slope for B is .
Question 56 of 60 · RStudio · Hard
For a fitted linear model fit, which R command obtains an interval for a single future response at predictor values stored in newdata, including irreducible observation noise?
A prediction interval includes uncertainty in the estimated mean and future observation noise. A confidence interval from predict covers only the conditional mean.
Question 57 of 60 · RStudio · Hard
An lm model in R was trained with factor levels A and B. A prediction data frame contains the previously unseen level C. Without manually changing levels or refitting, what normally happens when predict.lm is called?
Not quite. Try another option.
Answer: It raises an error for a new factor level
predict.lm requires factor levels compatible with those used to construct the model matrix. An unseen level has no estimated contrast and normally triggers a new-level error.
Question 58 of 60 · SPSS · Hard
SPSS Multiple Imputation produces estimates. The average within-imputation variance is , and the between-imputation variance is . Using Rubin's rules, what is the total variance?
Not quite. Try another option.
Answer:
Rubin's total variance is . Thus .
Question 59 of 60 · SPSS · Hard
An SPSS binary logistic model is , where is coded or . What is the odds ratio for a one-unit increase in among cases with ?
Not quite. Try another option.
Answer:
When , the coefficient multiplying is . Exponentiating this combined log-odds slope gives the corresponding odds ratio.
Question 60 of 60 · SPSS · Hard
In an SPSS repeated-measures GLM, Mauchly's test is significant for a within-subject factor with more than two levels. Which result should be used for a conservative test of that within-subject effect?
Not quite. Try another option.
Answer: The Greenhouse-Geisser-adjusted within-subject row
A significant Mauchly test indicates violation of sphericity. The Greenhouse-Geisser correction reduces the relevant degrees of freedom and provides a conservative within-subject test.
That's unit 14
Answer a few questions and your score shows up here.
Nearly through. Did unit 14 of ECAP790 save you a night before the exam?
LPU Notes is free. A student pays for the servers.
Did unit 14 of ECAP790 save you a night before the exam?
Then you can help keep it free for the next batch. Ads cover part of the server bill;
the rest comes out of a student's own pocket: the domain, the storage, and keeping
the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.