Let us worry about your assignment instead!

We Helped With This R Programming Homework: Have A Similar One?

SOLVED
CategoryProgramming
SubjectR | R Studio
DifficultyUndergraduate
StatusSolved
More InfoStatistics And Probability Homework Help
208111

Short Assignment Requirements

Attached is word doc with problems and data is attached in excel

Assignment Description

 

Objective

 

 This exercise looks at categorical (qualitative) data where we have counts or frequencies of observations associated with levels of one categorical variable in the case of One-Way tables, and associated with levels of two categorical variables in the case of Two-Way tables.

We use the Chi-squared distribution to assess the goodness of fit and to test for statistical independence

 

 

 

Using R software perform an analysis using a sample of size 100 as specified in the problems below (1,2,3,and 4)  and must do an analysis using the entire dataset

 

Refer to the attached data(SMOKING)in Excel on smoking, alcohol consumption, blood pressure, and respiratory disease among1200 adults (SMOKING).

 

The variables are as follows:

 

Sex (A):  1 =male , 0 = Female

Smoking status (B) : 0 = Nonsmoker, 1= Smoker

Drinking level (C): 0= nondrinker, 1= Light to moderate drinker, 2= heavy drinker

Symptoms of respiratory disease (D) : 1 = present; 0 =  absent

High blood pressure status (E) : 1 = present; 0 =  absent

 

Problems

 

1)Select a simple random sample of size 100 from this population and carry out an analysis to see if you can conclude that there is a relationship between smoking status and symptoms of respiratory disease. Let α  = 0.05 and determine the p value for your test.

 

2) Select a simple random sample of size 100 from the population and carry out a

test to see if you can conclude that there is a relationship between drinking status and high blood

pressure status in the population. Let α  = 0.05 and determine the p value.

 

3) Select a simple random sample of size 100 from the population and carry out a test to see if you can conclude that there is a relationship between gender and smoking status in the population. Let α  = 0.05 and determine the p value.

 

4) Select a simple random sample of size 100 from the population and carry out a test to see if you can conclude that there is a relationship between gender and drinking level in the population. Let α  = 0.05 and find the p value.

Frequently Asked Questions

Is it free to get my assignment evaluated?

Yes. No hidden fees. You pay for the solution only, and all the explanations about how to run it are included in the price. It takes up to 24 hours to get a quote from an expert. In some cases, we can help you faster if an expert is available, but you should always order in advance to avoid the risks. You can place a new order here.

How much does it cost?

The cost depends on many factors: how far away the deadline is, how hard/big the task is, if it is code only or a report, etc. We try to give rough estimates here, but it is just for orientation (in USD):

Regular homework$20 - $150
Advanced homework$100 - $300
Group project or a report$200 - $500
Mid-term or final project$200 - $800
Live exam help$100 - $300
Full thesis$1000 - $3000

How do I pay?

Credit card or PayPal. You don't need to create/have a Payal account in order to pay by a credit card. Paypal offers you "buyer's protection" in case of any issues.

Why do I need to pay in advance?

We have no way to request money after we send you the solution. PayPal works as a middleman, which protects you in case of any disputes, so you should feel safe paying using PayPal.

Do you do essays?

No, unless it is a data analysis essay or report. This is because essays are very personal and it is easy to see when they are written by another person. This is not the case with math and programming.

Why there are no discounts?

It is because we don't want to lie - in such services no discount can be set in advance because we set the price knowing that there is a discount. For example, if we wanted to ask for $100, we could tell that the price is $200 and because you are special, we can do a 50% discount. It is the way all scam websites operate. We set honest prices instead, so there is no need for fake discounts.

Do you do live tutoring?

No, it is simply not how we operate. How often do you meet a great programmer who is also a great speaker? Rarely. It is why we encourage our experts to write down explanations instead of having a live call. It is often enough to get you started - analyzing and running the solutions is a big part of learning.

What happens if I am not satisfied with the solution?

Another expert will review the task, and if your claim is reasonable - we refund the payment and often block the freelancer from our platform. Because we are so harsh with our experts - the ones working with us are very trustworthy to deliver high-quality assignment solutions on time.

Customer Feedback

"Thanks for explanations after the assignment was already completed... Emily is such a nice tutor! "

Order #13073

Find Us On

soc fb soc insta


Paypal supported