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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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