Classwork #11-EmptyModel-TrumpVote-R
pdf
keyboard_arrow_up
School
California State University, Los Angeles *
*We aren’t endorsed by this school
Course
3020
Subject
Statistics
Date
Apr 3, 2024
Type
Pages
8
Uploaded by PostMalonFalling
Classwork #11-EmptyModel-TrumpVote-R
March 28, 2024
1
Classwork
#11:
Does
Vegetable
Eating
Really
Predict
TrumpVote20?
[1]:
# This code will load the R packages we will use
suppressPackageStartupMessages
({
library
(coursekata)
})
# Updated USStates data with election data
USStates
<-
read.csv
(
"https://docs.google.com/spreadsheets/d/e/
↪
2PACX-1vSEc6kO1zrL_3Jlc_cA7cMgk6E2xcIjuUbTL50y-0ENwWby36EFj1MpWZLVKud8YMTtqb1zsef_a8Ss/
↪
pub?gid=1275513973&single=true&output=csv"
, header
=
TRUE
)
We’re going to revisit the hypothesis:
TrumpVote20 = FiveVegetables + Other Stuff
.
1.1
1.0 - Questioning the Data
We have looked at the
USStates
data set before and found a fairly surprising result: that states
with relatively more vegetable eaters had relatively fewer votes for Trump. We’re going to try to
be a little bit more skeptical today about this model of the DGP.
As a reminder, here is the list of variables in
USStates
.
•
State
Name of state
•
HouseholdIncome
Mean household income (in dollars)
•
IQ
Mean IQ score of residents
•
McCainVote
Percentage of votes for John McCain in 2008 Presidential election
•
Region
Area of the country: MW=Midwest, NE=Northeast, S=South, or W=West
•
Population
Number of residents (in millions)
•
EighthGradeMath
Average score on standardized test administered to 8th graders
•
HighSchool
Percentage of high school graduates
•
GSP
Gross State Product (dollars per capita)
•
FiveVegetables
Percentage of residents who eat at least five servings of fruits/vegetables
per day
•
Smokers
Percentage of residents who smoke
•
PhysicalActivity
Percentage of residents who have competed in a physical activity in past
month
•
Obese
Percentage of residents classified as obese
•
College
Percentage of residents with college degrees
1
•
NonWhite
Percentage of residents who are not white
•
HeavyDrinkers
Percentage of residents who drink heavily
•
TrumpVote16
Percentage of votes for Donald Trump in 2016 Presidential election
•
TrumpVote20
Percentage of votes for Donald Trump in 2020 Presidential election
•
BidenVote20
Percentage of votes for Joe Biden in 2020 Presidential election
1.1 - In order to get the
FiveVegetables
percentages, samples of people in all 50 states were asked
this question: “Did you eat at least 5 servings of fruits and vegetables yesterday?” What would be
your answer to that question?
1.2 - Could people lie?
Could people try to tell the truth and still get it wrong?
How would
that be an example of “measurement error” (the idea that the data are “off” from what actually
happened)? How could you reduce the measurement error that results from lying?
1.2
2.0 - Explaining Variation
2.1 - Take a look at
TrumpVote20 = FiveVegetables + Other Stuff
with a visualization.
2.2 - What are some reasons (from the data) for suspecting that
FiveVegetables
really does explain
some of the variation in
TrumpVote20
? How would we write this as a word equation?
[ ]:
There
'
s
a
n
e
g
a
t
i
v
e
c
o
r
r
e
l
a
t
i
o
n
b
e
t
w
e
e
n
T
r
u
m
p
v
o
t
e
s
a
n
d
p
e
o
p
l
e
w
h
o
e
a
t
f
i
v
e
v
e
g
a
t
a
b
l
e
s
2.3 - Does every state fit this pattern? What are some reasons (from the data) for suspecting that
FiveVegetables
DOES NOT explain some of the variation in
TrumpVote20
? How would we write
this as a word equation?
No, not every state fits the pattern, the fact that not every state follows this trend makes us suspect
that five vegetables doesn’t explain some of the variation in Trumpvote20
2.4 - Is it possible to have gotten this pattern of data by chance?
Write a word equation that
represents this possibility.
Yes it is possibl to have gotten this pattern of data by chanc. TrumpVote20= OtherStuff
1.3
3.0 - TrumpVote20, Maybe It’s All Just Other Stuff
3.1 - If we didn’t know anything about a state or we wondered if this
FiveVegetables
thing was
just a random fluke, what should we predict a random state’s
TrumpVote20
to be?
3.2 - We could add your prediction (it could be the mean or median or any other number) into this
scatterplot. For now, let’s try adding the mean.
Note that just as the
gf_vline()
function adds vertical lines to the x-axis,
gf_hline()
adds
horizontal lines to the y-axis.
[6]:
TrumpVote_stats
<-
favstats
(
~
TrumpVote20, data
=
USStates)
TrumpVote_stats
$
mean
# Add the empty model to this scatterplot
gf_point
(TrumpVote20
~
FiveVegetables, data
=
USStates, size
= 3
, alpha
=
.
8
)
␣
↪
%>%
gf_hline
(yintercept
=
TrumpVote_stats
$
mean)
2
50.0838
3.3 - Why is the mean represented as a line? Why not a single dot?
No matter what x value is im going to always get the mean of 50.8
3.4 - Fit the empty model for
TrumpVote20
. Then use this model to predict each state’s proportion
of Trump votes. We’ll then plot the predictions right on top of our original scatterplot.
[8]:
# How do we fit the empty model?
EmptyModel
<-
lm
(TrumpVote20
~
NULL
, data
=
USStates)
# How do we generate the predictions from it?
USStates
$
Prediction
<-
predict
(EmptyModel)
# This will plot the predictions from the empty model
gf_point
(TrumpVote20
~
FiveVegetables, data
=
USStates, size
= 3
, alpha
=
.
8
)
␣
↪
%>%
gf_point
(Prediction
~
FiveVegetables, size
= 3
, alpha
=
.
1
, color
=
␣
↪
"orange"
)
3
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
3.5 - Now we will start writing the word equation for the empty model as
TrumpVote20 = Mean
+ Other Stuff
(instead of the old way:
TrumpVote20 = Other Stuff
).
In the cell below, insert our mean into the equation (i.e., replace “Mean” with the prediction of our
empty model):
𝑇𝑟𝑢??𝑉 ?𝑡𝑒20 = 𝑀𝑒𝑎? + 𝑂𝑡ℎ𝑒𝑟𝑆𝑡𝑢𝑓𝑓
1.4
4.0 - Simulating a Random Data Generating Process
4.1 - Remember the gummy bear launches and
NumLifts
experiment? How did we “simulate” a
random data generating process? Why is that a “random” process? Which R function acts like
that?
4.2 - One pattern we saw in our data is that generally high
FiveVegetable
states also have low
TrumpVote20
. But the definition of “random” includes the idea that high numbers don’t system-
atically go with low numbers. Instead, randomness means that high numbers could go with low,
medium, OR high numbers! If we shuffled
TrumpVote20
in this dataframe, would we generate data
that looks just like our empirical sample?
With R, we don’t just have to wonder. We can actually do it. Run the code below a few times.
What is it doing?
[19]:
gf_point
(
shuffle
(TrumpVote20)
~
FiveVegetables, data
=
USStates)
4
4.3 - Could we put the
shuffle
around
FiveVegetables
? Try it.
[17]:
gf_point
(TrumpVote20
~
shuffle
(FiveVegetables), data
=
USStates)
5
4.4 - One of the scatterplots below is the empirical sample.
Does it look any different from the
shuffled scatterplots? What are you looking for that is different in the empirical sample?
4.5 - Do you think the likelihood of getting a pattern of data like the empirical sample from a
random process is high? Low? Medium? Explain your reasoning.
I think the likelilhood is low since all the times we sampled were not similar to our orignial pattern.
We never saw a pattern like our empirical one.
1.5
5.0 - Connecting the Empty Model and Shuffle
5.1 - If we shuffled
TrumpVote20
or
FiveVegetables
in this data frame, would we estimate a
different empty model? In other words, would the empty model change?
5.2 - With R, we can try it and see what happens. Explain what each line of code is doing.
[20]:
# 5.3 - What’s this about?
USStates
$
shuffled_Trump
<-
shuffle
(USStates
$
TrumpVote20)
[15]:
# 5.4 -
What’s this about?
shuffled_Trump_stats
<-
favstats
(
~
shuffled_Trump, data
=
USStates)
TrumpVote_stats
<-
favstats
(
~
TrumpVote20, data
=
USStates)
[13]:
# 5.5 - What’s this about?
6
Your preview ends here
Eager to read complete document? Join bartleby learn and gain access to the full version
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
gf_point
(shuffled_Trump
~
FiveVegetables, data
=
USStates, color
=
␣
↪
"dodgerblue"
)
%>%
gf_hline
(yintercept
= ~
mean, data
=
shuffled_Trump_stats)
[14]:
# 5.6 - What’s this about?
gf_point
(TrumpVote20
~
FiveVegetables, data
=
USStates)
%>%
gf_hline
(yintercept
= ~
mean, data
=
TrumpVote_stats)
7
5.7 - Why is the mean the same on both graphs? Is that just a coincidence? What if you ran the
shuffle again, would it calculate a different mean? What if you shuffled
FiveVegetables
– would
that result in a different mean for
TrumpVote20
?
[ ]:
the mean is the same because it does not change based on the order of the
␣
↪
numbers
5.8 - Why is the empty model a stand-in for a DGP of randomness?
The empty model is not affected by any other varaible. It is not affected by fiveveg. We are not
making a prediction for each state based on another varaible, we are just using the mean.
8
Related Documents
Related Questions
the link to the data is given below. please help asap i will upvote!!
https://drive.google.com/file/d/1UQC9LitRanJ_xdQIiLCRFQ7FJ4SbtzTe/view?usp=sharing
arrow_forward
the link to the data is given below. please help asap i will upvote!!
https://drive.google.com/file/d/1Ov-VfoR_pU25sj1Kg0LLxTHu6lxv_Wsc/view?usp=sharing
arrow_forward
This is something new I'm learning. Can someone help me with these?
arrow_forward
This is something new I'm learning. Can someone help me with these?
arrow_forward
This is something new I'm learning. Can someone help me with these?
arrow_forward
This is something new I'm learning. Can someone help me with these?
arrow_forward
place
open
closed
pending
total
bronx
1121
1622
80
2823
brooklyn
1170
2706
48
3924
manhattan
744
3380
25
4149
queens
1353
2043
25
3421
staten island
83
118
0
201
total
4471
9869
178
14518
arrow_forward
Only need (A) needs an answer
arrow_forward
nooka Student Links
A To-do
* Edpuzzle
t Fatima Khan -Gall - Student
b docs.google.com/spreadsheets/d/1dWslroQA1915ikZQDL8Fg6r6Fyyzb9n0rA-CEEKWSU8/edit#gid3881570761
ch/Zoom/Enrichment
vMinooka Linksv
first day invite- Go.
Fatima Khan - Gall - Student_Ind and Dependent Probability Pixel Art
File Edit View
Insert Format Data
Tools Add-ons Help
Last edit was yesterday at 12:55 PM
ア
100%
.0 .00 123 -
Default (Ari. -
BISA
.田
10
| fx
A
B
E
Independent and Dependent Probability. For fraction, answers must be simplified, for
decimal round to the hundredth place, for percents round to the nearest whole
number.
1. Two seniors, one from each government class are randomly selected to travel to Washington,
D.C. Wes is in a class of 18 students and Maureen is in a class of 20 students. Find the
probability that both Wes and Maureen will be selected. Answer as simplified fraction.
alagn of 38
arrow_forward
The file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood.
Conduct a regression analysis to understand, estimate and interpret the square footage of houses in Mid City. Use one Excel spreadsheet labeled P2 to show your work for this problem.
Home
Nbhd
Offers
Sq Ft
Brick
Bedrooms
Bathrooms
Price
1
2
2
1790
No
2
2
228600
2
2
3
2030
No
4
2
228400
3
2
1
1740
No
3
2
229600
4
2
3
1980
No
3
2
189400
5
2
3
2130
No
3
3
239600
6
1
2
1780
No
3
2
229200
7
3
3
1830
Yes
3
3
303200
8
3
2
2160
No
4
2
301400
9
2
3
2110
No
4
2
238400
10
2
3
1730
No
3
3
208000
11
2
3
2030…
arrow_forward
The file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood.
PROBLEM 1: Construct 3 different confidence intervals.
Part A) Sort and filter the data from the MidCity file so that you only consider the data from neighborhood 1. Construct a 99% confidence interval for the square footage of all homes in neighborhood 1. Make sure you list the specific equations you are using, ALL variables, show ALL work etc., in your report. You can use Excel to complete all computations. Remember to interpret these confidence intervals in the context of this problem. Use one Excel spreadsheet…
arrow_forward
The file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood.
Part A) Do buyers pay a premium for a brick house, all else being equal? Use one Excel spreadsheet labeled Prob3a to show your work for this problem.
Part B) Is there a premium for a house in neighborhood 3, all else being equal? Use one Excel spreadsheet labeled Prob3b to show your work for this problem.
Home
Nbhd
Offers
Sq Ft
Brick
Bedrooms
Bathrooms
Price
1
2
2
1790
No
2
2
228600
2
2
3
2030
No
4
2
228400
3
2
1
1740
No
3
2
229600
4
2
3
1980
No
3
2
189400
5
2
3
2130
No
3
3
239600
6
1
2
1780
No
3
2
229200…
arrow_forward
The file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood.
Home
Nbhd
Offers
Sq Ft
Brick
Bedrooms
Bathrooms
Price
1
2
2
1790
No
2
2
228600
2
2
3
2030
No
4
2
228400
3
2
1
1740
No
3
2
229600
4
2
3
1980
No
3
2
189400
5
2
3
2130
No
3
3
239600
6
1
2
1780
No
3
2
229200
7
3
3
1830
Yes
3
3
303200
8
3
2
2160
No
4
2
301400
9
2
3
2110
No
4
2
238400
10
2
3
1730
No
3
3
208000
11
2
3
2030
Yes
3
2
265000
12
2
2
1870
Yes
2
2
246000
13
1
4
1910
No
3
2
205200
14
1
5
2150
Yes
3
3
252600
15
3
4
2590
No
4
3
353600
16
3
1
1780
No
4
2
291600
17
2
4
2190
Yes
3
3…
arrow_forward
f Messenger | Facebook
Content
M2OL2 - Blackboard Learn
wP NWP Assessment Player UI Appli X
A education.wiley.com/was/ui/v2/assessment-player/index.html?launchld=393e4370-a779-41b5-8dbb-e250583f0ac1#/question/7
Q E * Tp
19
E M2OL2
Question
Math Symbolic and Graphing
Not started
Question 8 of 17
-/5
Question 4
- /5
View Policies
Multipart
Not started
Current Attempt in Progress
Question 5
-/5
Math Symbolic and Graphing
Not started
Find the general solution of the differential equation
y" – 4y' – 21y = -47t + 42t².
Question 6
-/5
Multiple Choice
Not started
NOTE: Use t as the independent variable.
Use cz and cz as arbitrary constants.
Question 7
- /5
Math Symbolic and Graphing
Not started
y(t) =
Viewing Question 8
-/5
Math Symbolic and Graphing
Not started
Question 9
-/5
Math Symbolic and Graphing
Not started
Question 10
-/5
Math Symbolic and Graphing
Not started
Question 11
-/5
Math Symbolic and Graphing
Not started
Attempts: 0 of 5 used Submit Answer
Save for Later
Using multiple…
arrow_forward
PLEASE HELP
arrow_forward
* 100%
Mon 1:51 PM
Uni
Bb Pep
E Exp
O Mai
U My
*Ix. Que
Har
Cor
CC 201
A My
E Sel
O Fac
a Prir
E Pee
Am
mb//evo/index.html?deploymentid=59965220544781978962
e780357131596&ld%3D894632737&snapshotid-1740686&
AGE MINDTAP
Q Search this course
- Homework 7 (Chapter 14) - Part A
O The American Association of Individual Investors (AAII) On-Line Discount Broker Survey polls members on their experiences with discount brokers. As part of
the survey, members were asked to rate the quality of the speed of execution with their broker as well as provide an overall satisfaction rating for electronic
trades. Possible responses (scores) were no opinion (0), unsatisfied (1), somewhat satisfied (2), satisfied (3), and very satisfied (4). For each broker summary
scores were computed by calculating a weighted average of the scores provided by each respondent. A portion of the survey results follow (AAII website,
February 7, 2012).
Brokerage
Speed
Satisfaction
Scottrade, Inc.
2.4
2.4
Charles Schwab
3.8
3.5…
arrow_forward
PDo Homework - Section 7.2 - Personal - Microsoft Edge
https://www.mathxl.com/Student/PlayerHomework.aspx?homeworkld%3585708584&questionld31&flushed=false&cld%36320940...
Winter 2021 Statistics-Rio (1)
Alyssa Ruiz & | 01/22/21 12:54 PM
Homework: Section 7.2
Save
Score: 0 of 1 pt
7 of 8 (2 complete) ▼
HW Score: 20.83%, 1.67 of 8 pts
7.2.29-T
Question Help ▼
An IQ test is designed so that the mean is 100 and the standard deviation is 14 for the population of normal adults. Find the sample size necessary to estimate the mean IQ score of statistics students such that it can be said with 90% confidence that the
sample mean is within 2 IQ points of the true mean. Assume that o = 14 and determine the required sample size using technology. Then determine if this is a reasonable sample size for a reál world calculation.
The required sample size is. (Round up to the nearest integer.)
Enter your answer in the answer box and then click Check Answer.
Check Answer
1 part
remaining
Clear All
arrow_forward
Please help asap
arrow_forward
Tupps Motors which was established in year 2000, sells 5 brands of new passenger vehicles Holden,
Toyota, Ford, Mitsubishi and Nissan which were the market leaders in 2000. As years passed the
General Manager of Tupps Motors, Brian Tupps, noticed that brands such as Holden, Ford and Nissan
are not selling as much as they used to. In 2018, Brian Tupps discusses his observation with his recent
Business graduate son, Ben Tupps, and they both decided to collect Australia-wide sales data of the
top 10 brands of passenger vehicles in 2018 to see how the market share of the different brands have
changed. Again, in 2023, Brian wanted Ben to analyse the Australia-wide post-pandemic sales data for
2022 and provide him with up-to-date advice on the market share of the 10 brands of passenger
vehicles.
Data on the number of passenger vehicles sales for the top 10 brands of passenger vehicles in 2018
and 2022 are provided in file 1Sales.xlsx. [Note that to make comparisons easier Ben collected data…
arrow_forward
Please write it step by step with no software for computing the problems
arrow_forward
COULD YOU SOLVE IT WITH EXCEL SOLVER. I NEED EXCEL SOLVER SOLUTION AND ALSO COULD YOU UPLOAD ANSWER WITH EXCEL SOLVER PHOTOS.
please do not provide solution in image format thank you!
arrow_forward
What is a dummy variable trap and how is it related to multicollinearity of regressors? What is the solution for this form of multicollinearity?
arrow_forward
R Studio
library(poliscidata)
2. (Dataset: nes. Variables: dhsinvolv_message, polknow_combined.) Online political activism is a relatively new phenomenon. In recent years, online social networks like Facebook and Twitter have become part of our everyday experiences and, for many people, a forum for political news and debate. From your own personal experiences, you may have some impressions about who is likely to post political messages online, but our personal perspectives are bound to be limited and incomplete. Let's use the nes dataset to gain a better understanding of who uses social media to promote political ideas. Survey participants were asked whether they had posted a political message on Facebook or Twitter in the last 4 years and the dhsinvolv_message variable recorded their responses.
1. According to the nes dataset, roughly 20% of respondents indicated that they had posted a social media message about politics in the past 4 years. If the probability of an…
arrow_forward
Let A = {small, medium, large}, B = {blue, green}, and C = {triangle, square}. H
Represent A x C as cells in a spreadsheet.
triangle
---Select---
---Select--- V
small
medium
large
---Select--- V
---Select--- V
---Select--- V
---Select--- ✓
square
medium
---Select--- V
---Select--- V
---Select--- V
---Select--- V
---Select--- ✓
arrow_forward
M
ui/v2/assessment-player/index.html?launchld=3cb6995a-a464-4ce8-9952-7c527abd86ce#/question/2
-/1 E
Question 3 of 14
View Policies
Current Attempt in Progress
A company has cost and revenue functions, in dollars, given by C(q) = 6000 + 8g and R(g) = 12g.
(a) Find the cost and revenue if the company produces 500 units. Does the company make a profit? What about 5000 units?
Enter the exact answers without comma separation of digits.
The cost of producing 500 units is $
i
The revenue if the company produces 500 units is $ i
Thus, the company
v a profit.
The cost of producing 5000 units is $
The revenue if the company produces 5000 units is $i
Thus, the company
v a profit.
eTextbook and Media
(b) Find the break-even point.
Enter the exact answer.
The break-even point is i
units.
eTextbook and Media
Which of tbe fellowina illust
break even point aranbically?
ssion_..docx
2 Discussion_-..docx
- Discussion_...docx
MacBook Pro
arrow_forward
I'm new to this. Can someone help me?
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt

Elementary Geometry for College Students
Geometry
ISBN:9781285195698
Author:Daniel C. Alexander, Geralyn M. Koeberlein
Publisher:Cengage Learning

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,
Related Questions
- the link to the data is given below. please help asap i will upvote!! https://drive.google.com/file/d/1UQC9LitRanJ_xdQIiLCRFQ7FJ4SbtzTe/view?usp=sharingarrow_forwardthe link to the data is given below. please help asap i will upvote!! https://drive.google.com/file/d/1Ov-VfoR_pU25sj1Kg0LLxTHu6lxv_Wsc/view?usp=sharingarrow_forwardThis is something new I'm learning. Can someone help me with these?arrow_forward
- place open closed pending total bronx 1121 1622 80 2823 brooklyn 1170 2706 48 3924 manhattan 744 3380 25 4149 queens 1353 2043 25 3421 staten island 83 118 0 201 total 4471 9869 178 14518arrow_forwardOnly need (A) needs an answerarrow_forwardnooka Student Links A To-do * Edpuzzle t Fatima Khan -Gall - Student b docs.google.com/spreadsheets/d/1dWslroQA1915ikZQDL8Fg6r6Fyyzb9n0rA-CEEKWSU8/edit#gid3881570761 ch/Zoom/Enrichment vMinooka Linksv first day invite- Go. Fatima Khan - Gall - Student_Ind and Dependent Probability Pixel Art File Edit View Insert Format Data Tools Add-ons Help Last edit was yesterday at 12:55 PM ア 100% .0 .00 123 - Default (Ari. - BISA .田 10 | fx A B E Independent and Dependent Probability. For fraction, answers must be simplified, for decimal round to the hundredth place, for percents round to the nearest whole number. 1. Two seniors, one from each government class are randomly selected to travel to Washington, D.C. Wes is in a class of 18 students and Maureen is in a class of 20 students. Find the probability that both Wes and Maureen will be selected. Answer as simplified fraction. alagn of 38arrow_forward
- The file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood. Conduct a regression analysis to understand, estimate and interpret the square footage of houses in Mid City. Use one Excel spreadsheet labeled P2 to show your work for this problem. Home Nbhd Offers Sq Ft Brick Bedrooms Bathrooms Price 1 2 2 1790 No 2 2 228600 2 2 3 2030 No 4 2 228400 3 2 1 1740 No 3 2 229600 4 2 3 1980 No 3 2 189400 5 2 3 2130 No 3 3 239600 6 1 2 1780 No 3 2 229200 7 3 3 1830 Yes 3 3 303200 8 3 2 2160 No 4 2 301400 9 2 3 2110 No 4 2 238400 10 2 3 1730 No 3 3 208000 11 2 3 2030…arrow_forwardThe file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood. PROBLEM 1: Construct 3 different confidence intervals. Part A) Sort and filter the data from the MidCity file so that you only consider the data from neighborhood 1. Construct a 99% confidence interval for the square footage of all homes in neighborhood 1. Make sure you list the specific equations you are using, ALL variables, show ALL work etc., in your report. You can use Excel to complete all computations. Remember to interpret these confidence intervals in the context of this problem. Use one Excel spreadsheet…arrow_forwardThe file MidCity Download MidCitycontains data on 128 recent sales in Mid City. For each sale, the file shows the neighborhood (1, 2, or 3) in which the house is located, the number of offers made on the house, the square footage, whether the house is made primarily of brick, the number of bathrooms, the number of bedrooms, and the selling price. Neighborhoods 1 and 2 are more traditional neighborhoods, whereas neighborhood 3 is a newer, more prestigious neighborhood. Part A) Do buyers pay a premium for a brick house, all else being equal? Use one Excel spreadsheet labeled Prob3a to show your work for this problem. Part B) Is there a premium for a house in neighborhood 3, all else being equal? Use one Excel spreadsheet labeled Prob3b to show your work for this problem. Home Nbhd Offers Sq Ft Brick Bedrooms Bathrooms Price 1 2 2 1790 No 2 2 228600 2 2 3 2030 No 4 2 228400 3 2 1 1740 No 3 2 229600 4 2 3 1980 No 3 2 189400 5 2 3 2130 No 3 3 239600 6 1 2 1780 No 3 2 229200…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Glencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillBig Ideas Math A Bridge To Success Algebra 1: Stu...AlgebraISBN:9781680331141Author:HOUGHTON MIFFLIN HARCOURTPublisher:Houghton Mifflin HarcourtElementary Geometry for College StudentsGeometryISBN:9781285195698Author:Daniel C. Alexander, Geralyn M. KoeberleinPublisher:Cengage Learning
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,

Glencoe Algebra 1, Student Edition, 9780079039897...
Algebra
ISBN:9780079039897
Author:Carter
Publisher:McGraw Hill

Big Ideas Math A Bridge To Success Algebra 1: Stu...
Algebra
ISBN:9781680331141
Author:HOUGHTON MIFFLIN HARCOURT
Publisher:Houghton Mifflin Harcourt

Elementary Geometry for College Students
Geometry
ISBN:9781285195698
Author:Daniel C. Alexander, Geralyn M. Koeberlein
Publisher:Cengage Learning

Mathematics For Machine Technology
Advanced Math
ISBN:9781337798310
Author:Peterson, John.
Publisher:Cengage Learning,