Question

Find two numeric variables with a realatioship?

Find two numeric variables with a realatioship?

Homework Answers

Answer #1

Sol:

let the data be

productionvolume   totalcost
400   4000
450   5000
550   5400
600   5900
700   6400
750   7000

production volume,x

total cost,y

Plot a scatteplot in R


df1 =read.table(header = TRUE, text ="
productionvolume   totalcost
400   4000
450   5000
550   5400
600   5900
700   6400
750   7000

"
)
df1


plot(totalcost ~ productionvolume,data=df1,pch=16)

output:

to get the correlation coeffcient in R type

cor(df1$productionvolume,df1$totalcost)

0.9791271

r=0.9791271

there exists a strong positive relationship between production volume and total cost .

Form:linear

strength:strong

Direction:positive

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
For each of the following variables, identify the type of variable (categorical vs. numeric). (I) Duration...
For each of the following variables, identify the type of variable (categorical vs. numeric). (I) Duration (in minutes) of a flight between two locations (II) Product defect rates for a new cell phone Question 1 options: 1) (I) Categorical , and (II) Numeric 2) (I) Numeric , and (II) Categorical 3) (I) Numeric , and (II) Numeric 4) There is no correct match. 5) (I) Categorical , and (II) Categorical
For each of the following variables, identify the type of variable (categorical vs. numeric). (I) Clothing...
For each of the following variables, identify the type of variable (categorical vs. numeric). (I) Clothing size (e.g. women's size 6, men's size 30x32, etc) (II) Fuel economy (miles per gallon) of a used car 1)(I) Categorical , and (II) Numeric 2) (I) Numeric , and (II) Numeric 3) There is no correct match. 4) (I) Numeric , and (II) Categorical 5) (I) Categorical , and (II) Categorical
What is the format of the variables (string, numeric, etc.)? Gender Age Major Intent GPA EmploymentStatus  ...
What is the format of the variables (string, numeric, etc.)? Gender Age Major Intent GPA EmploymentStatus   Salary School F 23 L N 3.7 F 100 W
Is qualitative data both numeric and non numeric
Is qualitative data both numeric and non numeric
If you find a Pearson's correlation of zero between two continuous variables, this means: A. There...
If you find a Pearson's correlation of zero between two continuous variables, this means: A. There is no relationship between the two variables B. There is a strong relationship between the two variables C. There may be a non-linear relationship between the two variables D. Two of these answers are correct
Consider the following schema: Distributor (d-id: numeric, d-name: varchar, address: varchar) Item (i-id: numeric, i-name: varchar,...
Consider the following schema: Distributor (d-id: numeric, d-name: varchar, address: varchar) Item (i-id: numeric, i-name: varchar, color: varchar) Inventory (d-id: numeric, i-id: numeric, cost: numeric, instock: numeric) Where d-id is the distributor's id (primary key in Distributor), i-id is the item's id (primary key in Item), and d-id together with i-id is the primary key of Inventory. The Inventory relation lists the prices charged for items by distributors. Write the following queries using relational algebra: 1. Find the names of...
Write a program to enter the value of two variables (V and W) using inputbox. Find...
Write a program to enter the value of two variables (V and W) using inputbox. Find and print the minimum value for two variables in textbox. Design form window and select all the control objects are used.
Find the numeric value of the work done on the gas in the following figures. (Enter...
Find the numeric value of the work done on the gas in the following figures. (Enter your answers in J.) HINT (a) 3.00 6.00 9.00 1.00 2.00 3.00 [Incorrect: Your answer is incorrect.] J (b) 3.00 6.00 9.00 1.00 2.00 3.00 [Incorrect: Your answer is incorrect.] J
Two standard normal variables Z1 and Z2 are independent. Find the probability density function of the...
Two standard normal variables Z1 and Z2 are independent. Find the probability density function of the normal random variable X=3Z1 - Z2
Create a list of six variables related to this decision – three must be categorical in...
Create a list of six variables related to this decision – three must be categorical in nature, and three must be numeric. Indicate how these variables are measured. For example, are they yes/no questions, Likert-scale questions, numeric values (what units?), etc. The decision is how to get better customer service.