Explain the distribution of the avg-value

Assignment Help PL-SQL Programming
Reference no: EM131574557

Assignment: Comparing Means From Two or Fewer Groups

This assignment will require that you extract data from the course database using MySQL workbench and evaluate the data for analysis using RStudio. In the space below each problem, include the MySQL scripts or R scripts and the respective output that was generated to solve the problem.

You previously conducted an analysis to investigate nursing home clinical outcomes. Based on your previous findings you discovered that the average rate of high risk long residents with pressure ulcers in MN nursing homes was lower than the national benchmark. Further, you discovered that there were no differences in the average percentages when comparing the state of MN and WI. In an attempt to determine if nursing homes in MN show similar results for a short stay residents, you were tasked with conducting a similar analysis on this resident population. Specifically, you were charged with determining if there are differences in the average percentage of short stay residents with pressure ulcers that are new or worsened when comparing MN to the national benchmark. Also, you were asked to evaluate if differences exist between MN and WI.

1. Use the course database to extract the following attributes of data from the respective fields. Also, limit the results to just reveal data where the msr_cdis equal to the measure for the percent of short stay residents with pressure ulcers that are new or worsened. For your answer to this problem, show the MySQL script you used for your query.

Table Name

Attribute name

nursing_home_provider_info

provnum

nursing_home_provider_info

state

nursing_home_quality_measures

msr_descr

nursing_home_quality_measures

measure_score_3qtr_avg
(rename this column to avg_value)

HINT: Remember to join the nursing_home_provider_infoand nursing_home_quality_measurestables based on the attribute that exists in both tables! Also, don't forget the WHERE clause! You should have 10,130 rows returned!

2. Export the results of the MySQL query to a CSV file and save the file as shortstay.csv. Import this spreadsheet to RStudio and attach the data. Next, create a new dataframe called mnwidata where you limit the entire shortstay dataset to observations where the state is equal to MN or WI. Attach the mnwidatadataframe.

3. Explain the distribution of the avg_value. Demonstrate the method that you used to determine the distribution of the data.

4. Explain how the distribution of the data can impact the results of a T-test. If necessary, demonstrate the method you used to ensure the data is normally distributed.

5. Specify a null and alternative hypothesis to determine if there is a difference in the average percentage of short stay residents with pressure ulcers that are new or worsened in MN nursing homes compared to the national benchmark of 1.5%.

6. Use a statistical test to determine if the average percent of short stay residents with pressure ulcers that are new or worsened in MN nursing homes is different than the national benchmark of 1.5%

a. Include the R scripts and R output from your statistical test.

b. Offer an interpretation of the p-value and specify if you should accept (fail to reject) or reject the null hypothesis.

7. Specify a null and alternative hypothesis to determine if there is a difference in the average percentage of short stay residents with pressure ulcers that are new or worsened in MN nursing homes compared to WI nursing homes.

8. Use a statistical test to determine if the average percent of short stay residents with pressure ulcers that are new or worsened in MN nursing homes is different WI nursing homes.

a. Include the R scripts and R output from your statistical test.

b. Offer an interpretation of the p-value and specify if you should accept (fail to reject) or reject the null hypothesis.

c. Specify the mean percentage (not the log of the mean)of short stay residents with pressure ulcers that are new or worsened for MN and WI nursing homes.

9. Create a boxplot to compare the avg_value between MN and WI. Include axis labels and a title.

10. Create a barplot with error bars to compare the avg_valuebetween MN and WI. Include axis labels and a title.

Reference no: EM131574557

Questions Cloud

Find difference between reflexive and irreflexive : Determine whether the relations represented by the matrices in Exercise are reflexive, irreflexive, symmetric, ant symmetric, and/or transitive.
Explain differences between demand schedule and demand curve : Explain the differences between demand schedule and the demand curve, and how are they related in regards to microeconomics
How does the chosen disaster plan reduce the interruption : How does the chosen disaster plan reduce the interruption in banking services in the case of an emergency? - 2 pages
Provides an organization with a new competitive advantage : Determine if companies should ask for consent from potential and current employees when using social media as another form of background check.
Explain the distribution of the avg-value : Explain the distribution of the avg_value. Demonstrate the method that you used to determine the distribution of the data.
Describe the microeconomic principles being used : Based on the content presented in the article, describe the microeconomic principles being used, in other words what is the impact for demand
List the ordered pairs in the relations : List the ordered pairs in the relations on {1, 2, 3} corresponding to these matrices (where the rows and columns correspond to the integers listed).
How good are your communications skills : How Good Are Your Communications Skills? How Good Are Your Problem-Solving Skills?Are You Experiencing Burnout?
Recommend process for wired device forensic data acquisition : Recommended process for the wired device forensic data acquisition and examination as well as the required reporting of investigator findings.

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Let the user type his first and last name

The program should let the user type his first and last name.

  You have been asked to design a data model

Law Associates is a large legal practice based in Sydney. You have been asked to design a data model for the practice based upon the following specification

  Write sql expression

Write SQL expression for the following questions about the security aspects of above database. Student can view all the information in the course and instructor tables except for InstructorId.

  Sql select statement against the comments table

Write an SQL select statement against the comments table in your database and display each row properly formatted on the main tree page. The most recent comment should be displayed first. All user comments should display under the tree like:

  What happens when a new account is opened

What happens when a new account is opened? Write SQL statement(s) to add data to the tables for a new account. (Go ahead, give yourself a million dollars!)

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

  Describe the meaning of keyword exists and not exists

Describe the meaning of the keyword EXISTS. Describe how any and all relate to EXISTS and NOT EXISTS. Write a query which will display names of any customers who are interested in all artists.

  Who are the opposition leaders

Write SQL SELECT statements to retrieve the following information from the prime_minister database.

  Write programme in oracle to make employee table

List the employee_id and employee_name of the employees form the l_employees table with the top 4 credit limits.

  Write a sql query for each of the following requirement

MIS 4300 / ACCT 4300 Database Fundamentals Spring 2014. How many times the vendor has placed an order for the item ID = 1 (rename it as NUMORD)?

  Creating sql script queries

Get the movie title for all movies that are comedy or horror, rename the output attribute name to be "Happily Scared"

  Write an sql query to create a membership table

Write an SQL query to create a Membership table. Write an SQL query to AddMember. Add the following members, AND YOURSELF, by running it 6 times. Write an SQL query to create a Works table.

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