Create a scatter-plot using the plot command

Assignment Help Other Subject
Reference no: EM132352765

Assignment -

1. For all models in this problem set, report the constants, coefficients, standard errors, and p-values, the N and the R2 values in one table in your write-up. Label them, Model 1, Model 2, etc, as per the example table provided below. When you are finished, you should have 5 models in your table. Use the format of Table 1 as a guide for creating this table in your word document. In the left hand column, your variable names should be included. Name the variables appropriately so a reader would know what it is, but DO NOT USE THE R CODE NAMES. In the columns to the right of the variable names, insert the different models you will make for this problem set. Each cell should contain the values of the coefficients and their standard errors (in parentheses) that are included in that model. Since the first model is bivariate, the only cells that will have numbers will be the primary independent variable (the coefficient with SE's in parentheses underneath), the constant (the coefficient with SE's in parentheses underneath), and the N and R2. Fill the subsequent columns as the problem set instructs.

1190_table.png

2. Load the data; it should show you two data-frames. Use c for now. View the data frame and the variables. Make sure you know what each variable is and what it is measuring.

3. Report the descriptive statistics for all the above variables. This includes the type and level of measurement; for categorical variables, provide a properly labeled frequency graph using the freq() command, and include the frequency, and percentage of each category in your write-up; for continuous, provide a histogram using hist() command and report the n, median, mean and standard deviation in your write-up. For the set of categorical variables that indicate regional differences, you will not need to make a graph, but you should consider them here as one category and report their number and frequency. Label each response as 3a-h.

Note: Use the options you used in Problem Set 2 to properly label every graph: this includes the main label, and the x label. Use whatever color you'd like, other than the default color.

4. Your primary interest is the relationship that attractiveness has on the percentage of margin of victory. Create a scatter-plot using the plot() command for these two variables. The syntax for that command is plot (x, y ). Use the label options you used for your histograms and frequency graphs to label the Main Graph label (main = "" ), the x-axis label (xlab = ""), and use y lab = "" to label the y-axis. Put your scatter-plot in your word document and spend a few sentences discussing whether you can distinguish the direction of the relationship between the variables. Be sure to answer the following questions: Is a relationship apparent? What factors might explain why the scatter-plot looks the way it does? Are there any concerns with outliers or leveraging observations? Note: Look in the book to figure out how to identify outliers and leverage.

5. Create a binary regression model using attractiveness and the percent margin of victory and the lm() command. Report the β coefficient for attractiveness and report the standard error and p-value for the coefficient in a table, and label the results Model 1. In your word document, report the statistical and substantive significance. Explain the relationship as you might to a person who is not familiar with statistics, but in such a way that a statistician would recognize what you've done and would appreciate your work.

6. Write the R code necessary to find the R2 for the binary model you just made using the following equation. Report the value, and interpret what this particular R2 value means as you would to someone not familiar with statistics.

R2 = (∑(Yi-Y^)2 - ∑(Yi-Y^i)2)/∑(Yi-Y^)2

7. We may be missing important confounding variable. Perceived candidate attractiveness can be correlated with a variety of other variables that could affect the [percent margin of victory.

Reference no: EM132352765

Questions Cloud

Specific immune responses that occur at the site of trauma : Recalling what you learned about non-specific and specific immunity, explain the non-specific and specific immune responses that occur at the site
Explain advantages of a win-lose approach to negotiation : Level 4 Diploma in Procurement and Supply-Negotiating and contracting in procurement and supply-why a delivery note is a very significant form in the battlle.
Patient will catch a cold caused by the same virus twice : Immunologically speaking, is it likely a patient will catch a cold caused by the same virus twice? Please explain your answer.
Breakdown tryptophan brings to a microorganism : Name one advantage that the ability to breakdown tryptophan brings to a microorganism.
Create a scatter-plot using the plot command : Your primary interest is the relationship that attractiveness has on the percentage of margin of victory. Create a scatter-plot using the plot() command
Hand washing in the hospital the same as at home : What effect does wearing gloves have on the need for washing your hands? Is hand washing in the hospital the same as at home?
As you looking through the microscope : As you looking through the microscope you notice your sample is slightly off-center-what component of the microscope would be used to bring the sample into the
Potential sources of starch-degrading bacteria : What are some other potential sources of starch-degrading bacteria? What component makes starch agar selective for starch-degrading bacteria?
Analyse attractiveness of south east asian airline industry : Using Porter's five forces model, analyse attractiveness of the South East Asian airline industry. discuss barriers to entry new entrant might face in industry.

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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