3.Using the iris dataset: a) combine the Setosa and Versicolor

    

3.Using the iris dataset:
a) combine the Setosa and Versicolor into group “0” and label the Virginica to “1”. Create a new variable called iris$Group with the 0 or 1 labels,   

b) build a logistic regression model using any available data that will predict the observation being Virginica ( value of 1 in Group variable),
c) calculate the probability of a new plant being a Virginica for the following parameters: 

Sepal.Width =5 Petal.Length =10 Petal.Width =7 Sepal.Length=9 

4.Using the kyphosis dataset:
a) convert the kyphosis$Kyphosis variable to numeric, assign a 1 to present and a 0 to absent,
b) build a logistic regression using all other variables and estimate the probability of the observation having a “present” hyphosis. What can you say about the coefficients? Are the significant?
c) calculate the probability of kyphosis being “present” for the following observation: Age=50, Start=10, Number=5. 

5. Using all the single variable regressions from Exercise 1, test if the variable pairs are homoscedastic or heteroscedastic. Plot your findings. Using the plot(x=my_x_variable, y=my_y_variable, type=”p”) function. Use my_data$variable_name to define x and y variables in the function. 

Share This Post

Email
WhatsApp
Facebook
Twitter
LinkedIn
Pinterest
Reddit

Order a Similar Paper and get 15% Discount on your First Order

Related Questions

what type of phenotypic variation occur based on cultural pressures?

 1) what type of phenotypic variation occur based on cultural pressures? Can you think of any variation to our biology or physical nature based on culture? 2) Can you think of other examples of Homoplasy in the animal kingdom? 3) Think about human-animal interactions. How do you see these relationships

Example THINK – If it’s newsworthy to in these business

Example THINK – If it’s newsworthy to in these business periodicals, that means it is likely a specific event, or a political, social, economic, technological, or competitive change, that demands a response.  That is where your knowledge and course preparation come in. Summarize the challenge or opportunity arising from this

For this PowerPoint presentation, research current public health laws in

For this PowerPoint presentation, research current public health laws in place in Saudi Arabia for the patient’s right to refuse care. Identify at least three laws in place. For each law, be sure to: Indicate the law, its purpose and requirements enacted to meet the purpose of the law; Analyze

Read all the instruction in the pdf ENVIRONMENT, ETHICS, Global Politics AND HUMAN HEALTH TOPIC PROPOSAL Scientists use information from

Read all the instruction in the pdf ENVIRONMENT, ETHICS, Global Politics AND HUMAN HEALTH TOPIC PROPOSAL Scientists use information from scientific studies to research and design experiments. Scientists use primary, peer-reviewed, scientific literature to keep up-to-date on developments happening around the globe. Background information is an integral step in the

Case Study – Chapter 1 Read the Operation Thumbs Down

Case Study – Chapter 1 Read the Operation Thumbs Down Case study on Page 8 of the text.  How do the methods used by the police agency in the article differ from traditional police methods you may be familiar with? What is your opinion of this intelligence gathering method?  What are the

Project 2 Jake’s Auto Services’ regional manager notices that the

Project 2 Jake’s Auto Services’ regional manager notices that the sale of two types of tires has been sluggish for the last few business cycles. Atlas tires and Continental tires brands are lagging compared to rivals such as Michelin that sell at a similar price point. Directions  1.  Use the

Hematopoietic: J.D. is a 37 years old white woman who

Hematopoietic:J.D. is a 37 years old white woman who presents to her gynecologist complaining of a 2-month history of intermenstrual bleeding, menorrhagia, increased urinary frequency, mild incontinence, extreme fatigue, and weakness. Her menstrual period occurs every 28 days and lately there have been 6 days of heavy flow and cramping.

Discussion Prompt: One of the goals of acute care medicine

   Discussion Prompt: One of the goals of acute care medicine is to provide care and treatment to a serious or critical injury or infection so that the patient can go home or to a facility for extended recovery. Discharge planners and case managers need visibility on patients to monitor

PLEASE ANSWER THE FOLLOWING QUESTION…Why are some car sales companies

PLEASE ANSWER THE FOLLOWING QUESTION…Why are some car sales companies like CarMax paying their sales associates a salary when most of the industry pays their sales associates a straight commission? What might be some drawbacks of this plan? AN EXAMPLE… I believe they are doing this in order to create

Week 6 Discussion COLLAPSEOverall Rating: 1 2 3 4 5

 Week 6 Discussion COLLAPSEOverall Rating: Context In our Managerial Economics textbook, we consider a sequential-move game in which an entrant is considering entering an industry in competition with an incumbent firm (see Figure 15-1). There are several possibilities of how this sequential game will be played. We want to use

Organizations develop performance management (PM) systems for several reasons, but

Organizations develop performance management (PM) systems for several reasons, but primarily for evaluation and development. As the purposes of PM intervention differ, they are likely to impact the satisfaction of employees with the system. Review the Case Study 12.1: Cross-Cultural Performance Evaluation in Thailand: The Case of Richard Evans, Expatriate

Detail the typical protocol of staining cells and tissues for IHC and

List the most widely used immunofluorescence (IF) and immunohistochemistry (IHC) markers for various stem and progenitor cells (cancer, embryonic, induced pluripotent, neural, cardiac, hematopoetic, mesenchymal, etc), and adult cells (heart, liver, skin, vascular, neural, bone, cartilage, kidney), and their respective target proteins for these markers. Detail the typical protocol of

In addition to the case study the group should prepare

   In addition to the case study the group should prepare a teaching note which will address questions specific to the case. The teaching note will include an exercise to identify the value of the acquisition. The acquisition is meant to create synergy values for the combined firm. Below are

For the signature project you will conduct oral history interview(s)

For the signature project you will conduct oral history interview(s) of someone who has migrated to the United States. In your interview(s) you will explore with your subject why s/he/they migrated to the United States when they migrated. Why did they came to New Jersey (or NYC)? What challenges did

Your job in this assignment is to convey a sustainability

 Your job in this assignment is to convey a sustainability concept to the business world effectively as a marketing firm. Then you will take a sustainable business concept and communicate it in a way that touches environmental and social stakeholders. Remember that each party has a different way of viewing

Given the growth in telecommuting and other mobile work arrangements,

 Given the growth in telecommuting and other mobile work arrangements, how might offices physically change in the coming years? Will offices as we think of them today exist in the next ten years? Why or why not?  At least one scholarly source should be used in the initial discussion thread.