Estimate the probability that a student who studies

Assignment Help Computer Engineering
Reference no: EM133370915

Question 1. The following problems will test your understanding of odds.

(a) On average, what fraction of people with an odds of 0.37 of defaulting on their credit card payment will in fact default?

(b) Suppose that an individual has a 16% chance of defaulting on her credit card payment. What are the odds that she will default?

Question 2. Suppose we collect data for a group of students in a statistics class with variables X1 =hours studied, X2 =undergrad GPA, and Y = receive an A. We fit a logistic regression and produce estimated coefficient, ˆ β0 = -6, ˆ β1 = 0.05, ˆ β2 = 1.

(a) Estimate the probability that a student who studies for 30 hours and has an undergrad GPA of 3.5 gets an A in the class.

(b) How many hours would the student in part (a) need to study to have a 50% chance of getting an A in the class?

Question 3. Suppose that we wish to predict whether a given stock will issue a dividend this year ("Yes" or "No") based on X, last year's percent profit. We examine a large number of companies and discover that the mean value of X for companies that issued a dividend was ¯X = 10, while the mean for those that didn't was ¯X = 0. In addition, the variance of X for these two sets of companies was ˆσ2 = 36. Finally, 80% of companies issued dividends. Assuming that X follows a normal distribution, predict the probability that a company will issue a dividend this year given that its percentage profit was X = 4 last year. HINT: Use lecture notes covering Bayes' Theorem and Linear Discriminant Analysis.

Question 4. This question involves using R. This question should be answered using the dataset called Weekly, which is part of the ISLR2 package. This data is similar in nature to the Smarket data that we covered during lecture, except that it contains 1,089 weekly returns for 21 years,
from the beginning of 1990 to the end of 2010.

(a) Produce some numerical and graphical summaries of the Weekly data. For instance, you can use the pairs() function. Do there appear to be any patterns?

(b) Use the full data set to perform a logistic regression with Direction as the response and the five lag variables plus Volume as predictors. Use the summary() function to print the results. Do any of the predictors appear to be statistically significant? If so, which
ones?

(c) Compute the confusion matrix using the table() function and overall fraction of correct predictions. Precision and Recall are additional performance metrics for evaluating classification methods. They are defined as follows:
Precision =
True Positive
True Positive + False Positive
Recall =
True Positive
True Positive + False Negative

Reference no: EM133370915

Questions Cloud

What is the effective memory access time : CS 471 Old Dominion University accesses are in the associative memory and that, of those remaining, 10 percent (or 2.5 percent of the total) cause page faults
Write code to restrict both data frames to cases : Write code to restrict both data frames to cases in which the value of "Year" is 2020 and the value of "Code" is not the empty string,
Colloquial complex trend queries and explanation : Quality of five colloquial complex trend queries and their explanation.
Characteristics of the data provided by your instructor : Provide an analysis of descriptive characteristics of the data provided by your instructor as instructed in the Dataset Instruction document
Estimate the probability that a student who studies : Estimate the probability that a student who studies for 30 hours and has an undergrad GPA of 3.5 gets an A in the class.
Reserved for the fractional part : Consider converting y=(0.6875)10=(0.1011)2 with only L=2 bits reserved for the fractional part.
What is product-based marketing strategy : What is a product-based marketing strategy? What are the basic ideas that underlie permission marketing?
Explain the importance of only granting users : Explain the importance of only granting users their required level of access to a file or directory. What is the Principle of Least Privileges and why should
Provide an analysis of how your policy change would improve : Provide an analysis of how your policy change would improve the organization. Evaluate what changes in the organization would need to be made to implement

Reviews

Write a Review

Computer Engineering Questions & Answers

  What is purpose of a structured walkthrough of an algorithm

What are the three broad categories of program defects discussed in this chapter? What is the purpose of a structured walkthrough of an algorithm?

  What is signature analysis

Describe some of the ways in which a 68000 single-board computer can be designed to make it easier to test.

  What are people doing to achieve security objectives

What are people currently doing to achieve security objectives? Where do those security objectives originate? Who are the people who are engaged in security.

  How you think web changed the behavior of internet users

Our reading by Arinze and Ezema discusses Web 2.0. In our second discussion forum this week, please discuss how you think Web 2.0 has changed the behavior.

  What is the reason to convert a formula to an absolute cell

CIS 100 ASA College What is the reason to convert a formula to an absolute cell reference? What is the effect of an absolute cell reference? In your own words

  Calculate the probabilities of predicting each class

Calculate the probabilities of predicting each class for a given x using the naive Bayes algorithm. Be aware that we have multiple input variables

  What is the difference between a password and a passphrase

What is the difference between a password and a passphrase? Why is it necessary to have a passphrase? What does this command do? ssh jupiter date \> .date.

  What is the range of memory that can be addressed

A 32-bit machine needs 250 instructions, each 32 bits long. All instructions are two-address instructions. Show the instruction format assuming all addresses.

  Write a function that receives a string and return a double

Write a function that receives a string and return a double floating-point value. The function declaration would look like this

  Discuss the difference between COOP and BCP

Discuss the difference between a Continuity of Operations Plan (COOP), a Business Continuity Plan (BCP), and a Disaster Recovery Plan (DRP).

  Define the total quality management approach

Define the total quality management (TQM) approach as it applies to the analysis and design of information systems.Explain what is meant by the context diagram.

  Prompt the user to enter the final average for each student

Creates a linked list of students. Each entry in the list must contain the student name, the final average, and a pointer to the next student record.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd