STA371G Homework Assignment 1: Solutions
Problem 1 (10 points)
A construction company has to complete a project no later than three months from now or
there will be significant cost overruns. The manager of the construction company believes
that there are

STA371G Homework Assignment 3: Solutions
Problem 1
Read the report of Anzalone Liszt Grove Research on the NSA Surveillance Programs
(http:/www.algpolling.com/#!memos/cjna): The public strongly supports. This memo
is based on the results of a national pol

STA371G Homework Assignment 4: Solutions
Problem 1
A company sets different prices for a particular stereo system in eight different regions of
the country. The table below shows the numbers of units sold (in 1000s of units) and the
corresponding prices (

library(SDSFoundations)
bull <- BullRiders
# scatterpoint graph
plot(bull$YearsPro,bull$BuckOuts12,xlab='Years Pro', ylab='Buckouts', main='Plot
of Years pro vs. Buckouts')
#find the linear function that fit the scatterplot graph
#IMPORTANT#
# fuction 'ab

library(SDSFoundations)
acl <- AustinCityLimits
#Proportion table#
gtab<-table(acl$Grammy)
prop.table(gtab)
#Contingency table#
gtab2<-table(acl$Grammy,acl$Gender)
prop.table(gtab2) #this percentage is divided by the total obs.
#In order to get row/column

library(SDSFoundations)
animaldata <-AnimalData
head(animaldata)
table(animaldata$Sex)
#plot a bar chart for categorical variable with label of axies and name
plot(animaldata$Sex,main='Bar Chart of Animal Genders', xlab='Animal Gender',
ylab = 'Frequency'

Summary of Topics for Midterm Exam #1
STA 371G, Spring 2016
Listed below are the major topics covered in class that are likely to be in
Midterm Exam #1:
Mean (expectation), variance and standard deviation of a random variable.
E[X] =
n
X
xi P (X = xi ),

Midterm Exam #1
Name:
EID:
STA 371G, Statistics and Modeling, Spring 2015
Please answer all problems in the space provided on the exam. The full score is 100.
Read each question carefully and clearly present your answers.
You must show all your work an

Summary of Topics for Midterm Exam #2
STA 371G, Spring 2016
Listed below are the major topics covered in class that are likely to be in
Midterm Exam #2:
Mean (expectation), variance and standard deviation of a discrete random variable.
E[X] =
n
X
xi P (X

STA371G Homework Assignment 5
Problem 1 (5 points)
Suppose we are modeling house price as depending on house size, the number of bedrooms
in the house and the number of bathrooms in the house. Price is measured in thousands of
dollars and size is measured

STA 371G Homework Assignment 7
Problem 1: Wine Sales (I) (15 points)
Read the case Northern Napa Valley Winery, Inc. in the course packet. The data file is
available in the course website. The file contains the monthly wine sales for the Northern
Napa Val

Homework Assignment 6: Solutions
STA 371G, Statistics and Modeling
Problem 1: Housing Price Structure
The file MidCity.csv, available in the course website, contains data on 128 recent sales
of houses in a town. For each sale, the file shows the neighborh