logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Clifford BillmanBusiness
(5/5)

1000 Answers

Hire Me
expert
Aaron BiltoftStatistics
(5/5)

795 Answers

Hire Me
expert
Aditya PanchalMathematics
(5/5)

975 Answers

Hire Me
expert
Jason ParkerCriminology
(5/5)

559 Answers

Hire Me
Econometrics
(5/5)

Calculate the expected value and the standard deviation for M and the minimum maximum and median values

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Direction: Answer all the questions and submit your exercise in PDF. Make sure to include your R scripts or computer codes as an appendix to your submission (You can copy your codes from the R script and paste them on the MS Word document). Please comment on each procedure so I would know what you are doing (or intend to do). Submission is via E-BART.

Tips:

 Install and load the following packages: “AER” and “sandwich”

 Label your plots and tables properly.

 Make sure you copy and paste all the necessary figures, tables, and regression results.

 Be explicit about your assumptions. For example, what is your significance level when you do conduct hypothesis tests?

 Always make use of the evidence provided by your results (e.g., estimates, measures of fit, etc.).

 Be precise and concise. 

1. Think of the situation of rolling a die and tossing a fair coin, with a head having a value of 1 and tail having a value of 2. Let M denote the sum of the number of dots on the die and the outcome of the tossed coin (so M is a number between 2 and 8.)

a. In a table, list all of the possible outcomes for the random variable M together with its probability distribution and cumulative probability distribution. Using R, plot the probability and cumulative probability distribution. Label it properly. 

b. Calculate the expected value and the standard deviation for M. Calculate the minimum, maximum, and median values. 

c. In R, set seed = 100. Then, draw a sample of size 10 with replacement from the list of possible outcomes in M. Calculate the mean. Repeat this 100 times and save it as an object called “sample”. Draw a histogram of the “sample”. 

d. Increase the number of times you repeat the procedure in (c) from 100 to 10,000 times. Save the results in an object called “sample2”. Draw a histogram of the “sample2”. Compare this histogram to the one you drew in (c). What do you observe? What can you conclude from this exercise? 

2. Using R, plot the following (overlay each on the other):

i. Standard normal distribution (limit your x values between -4 and 4).

ii. t density for 1 degree of freedom

iii. t density for 2 degrees of freedom

iv. t density for 50 degrees of freedom

Label your plot properly.

What do you observe? What can you conclude from this exercise?

3. In R, load the “AER” package in the library and load the dataset “CPS1988”) which is a cross-section of data originating from the March 1988 Current Population Survey by the US Census Bureau. The dataset has 28,155 observations and includes the following variables: wage (wage, in dollars per week); experience (number of years of potential work experience); and part-time (factor, “Does the individual work part-time?”).

a. Describe the distribution of wages for (1) part-time and (2) full-time workers (those that are not part-time workers). Use summary statistics, such as the mean, median, variance, and skewness to compare their distribution.

b. Run a linear regression of wage on experience only (i.e., the wage is the dependent variable) for (1) part-time and (2) non-part-time workers (i.e., part-time = “no”). Present your results. Interpret the coefficients and measures of fit. Be explicit with your unit of measurement. What can you conclude from this exercise? 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme