
Create the following three row
(a) Use the three vectors in a MATLAB command to create a nine-element row vector consisting from the first three elements of the vectors a.b, and c, respectively (i.e., 5 8 -1 4 1 9 -3 5 0).
(b) Use the three vectors in a MATLAB command to create a nine-element column vector consisting from the last three elements of the vectors a, b, and c, respectively.

Want to see the full answer?
Check out a sample textbook solution
Chapter 2 Solutions
MATLAB: An Introduction with Applications
- Solve please and thank you!arrow_forward7. In a 2011 article, M. Radelet and G. Pierce reported a logistic prediction equation for the death penalty verdicts in North Carolina. Let Y denote whether a subject convicted of murder received the death penalty (1=yes), for the defendant's race h (h1, black; h = 2, white), victim's race i (i = 1, black; i = 2, white), and number of additional factors j (j = 0, 1, 2). For the model logit[P(Y = 1)] = a + ß₁₂ + By + B²², they reported = -5.26, D â BD = 0, BD = 0.17, BY = 0, BY = 0.91, B = 0, B = 2.02, B = 3.98. (a) Estimate the probability of receiving the death penalty for the group most likely to receive it. [4 pts] (b) If, instead, parameters used constraints 3D = BY = 35 = 0, report the esti- mates. [3 pts] h (c) If, instead, parameters used constraints Σ₁ = Σ₁ BY = Σ; B = 0, report the estimates. [3 pts] Hint the probabilities, odds and odds ratios do not change with constraints.arrow_forwardSolve please and thank you!arrow_forward
- Solve please and thank you!arrow_forwardQuestion 1:We want to evaluate the impact on the monetary economy for a company of two types of strategy (competitive strategy, cooperative strategy) adopted by buyers.Competitive strategy: strategy characterized by firm behavior aimed at obtaining concessions from the buyer.Cooperative strategy: a strategy based on a problem-solving negotiating attitude, with a high level of trust and cooperation.A random sample of 17 buyers took part in a negotiation experiment in which 9 buyers adopted the competitive strategy, and the other 8 the cooperative strategy. The savings obtained for each group of buyers are presented in the pdf that i sent: For this problem, we assume that the samples are random and come from two normal populations of unknown but equal variances.According to the theory, the average saving of buyers adopting a competitive strategy will be lower than that of buyers adopting a cooperative strategy.a) Specify the population identifications and the hypotheses H0 and H1…arrow_forwardYou assume that the annual incomes for certain workers are normal with a mean of $28,500 and a standard deviation of $2,400. What’s the chance that a randomly selected employee makes more than $30,000?What’s the chance that 36 randomly selected employees make more than $30,000, on average?arrow_forward
- What’s the chance that a fair coin comes up heads more than 60 times when you toss it 100 times?arrow_forwardSuppose that you have a normal population of quiz scores with mean 40 and standard deviation 10. Select a random sample of 40. What’s the chance that the mean of the quiz scores won’t exceed 45?Select one individual from the population. What’s the chance that his/her quiz score won’t exceed 45?arrow_forwardSuppose that you take a sample of 100 from a population that contains 45 percent Democrats. What sample size condition do you need to check here (if any)?What’s the standard error of ^P?Compare the standard errors of ^p n=100 for ,n=1000 , n=10,000, and comment.arrow_forward
- Suppose that a class’s test scores have a mean of 80 and standard deviation of 5. You choose 25 students from the class. What’s the chance that the group’s average test score is more than 82?arrow_forwardSuppose that you collect data on 10 products and check their weights. The average should be 10 ounces, but your sample mean is 9 ounces with standard deviation 2 ounces. Find the standard score.What percentile is the standard score found in part a of this question closest to?Suppose that the mean really is 10 ounces. Do you find these results unusual? Use probabilities to explain.arrow_forwardSuppose that you want to sample expensive computer chips, but you can have only n=3 of them. Should you continue the experiment?arrow_forward
- Linear Algebra: A Modern IntroductionAlgebraISBN:9781285463247Author:David PoolePublisher:Cengage LearningAlgebra & Trigonometry with Analytic GeometryAlgebraISBN:9781133382119Author:SwokowskiPublisher:CengageElementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning

