# This lab might seem similar to the previous lab, and it is!
# But there are some subtle differences. The main difference is
# the emphasis this lab places on the concept of a confidence interval,
# and what it is expected/designed to do.
# The first ta
Quick reminder of the general instructions:
1) Write code that actually works.
2) Feel free to cut/paste from the lab material you have already typed in.
3) use your up/down arrows to expedite matters.
4) When the quiz says "Write code ." send the code O
HW Set 4: Due 4/27 in quiz session. HW9: 3.21(c,d; use the printout given in the problem as much as possible.), 3.22 (By computer. The statement "assess the quality of the fit, ." means "Compute Rsquared and interpret it.") 3.25(b,c,d; by hand) . HW10:
HOMEWORKS 58
1.64.
(a) Let x denote the number of units that fracture. Then x is binomial with n = 25, = .20 and we can use Table II. Proportion(x 10) = .011 + .004 + .002 + .000 + .+ .000 = .017. (b) Proportion(x 5) = .004 + .023 + .071 + .136 + .187 +
# Sampling Distribution:
# In class, we have seen the mathematical derivation of the mean and variance
# of the sampling distribution of a statistic; the two statistics we have
# discussed have been 1) sample mean and 2) sample proportion. Here you will
General instructions: for all quizes:
1) Write code that actually works.
2) Feel free to cut/paste from the lab material you have already typed in.
3) use your up/down arrows to expedite matters.
4) When the quiz says "Write code ." send the code ONLY (N
Probability and Statistics in Engineering and Science
STAT 390

Winter 2012
STAT 390: Probability and Statistics in Engineering and Science
Professor: Caren Marzban
Department: Statistics
STAT 390 Homework Set 2
Bellshaped:
The book mentions height, weight, measurement errors, reaction times
in psychological experiments, . numer
Stat 390, Homework set #5
Due Wednesday, February 22, 2012
Problem 1. Chapter 6, Problem 6.6 A bin of 5 transistors is known to contain
2 that are defective. The transistors are to be tested, one at a time, until the
defective ones are identied. Denote by
Consider writing onto a computer disk and then sending it through a certifier that counts the number of missing pulses. Suppose this number x has a Poisson distribution with parameter lambda=0.2 . a. What proportion of disks have exactly one missing pulse
# The following will illustrate some of the concepts we introduced during last
# week.
# 1) Let's get a feeling of what a Normal qqplot looks like for
# different kinds of distributions. Recall, that if the data comes from a
# Normal distribution, then i
Probability and Statistics in Engineering and Science
STAT 390

Winter 2017
QUIZ 5In this lab you will get a more intuitive sense of what regression does.Let's make some data on x and y which are linearly related. Type this in: set.seed(12) n = 100 x = runif(n,0,20) y = 500 + 25*x + rnorm(n,0,100) plot(x,y)Note that the TRUE rela
Probability and Statistics in Engineering and Science
STAT 390

Winter 2017
QUIZ 4This lab deals with regression (or leastsquare) fits. Run the following lines of codeto generates "data" on two variables x and y, with a linear relationship between them. set.seed(9) # So that we all get the same answer. n = 1000 # Sample size. x
Values of modulus of elasticity (MoE, the ratio of stress, i.e., force per unit area, to strain, i.e., deformation per unit
length, in GPa) and flexural strength (a measure of the ability to resist failure in bending in MPa) were determined for a
sample o
Quiz 1
In this quiz we will play with histogram, and learn how to do "transformations" like we
discussed in class, e.g., histogram of log(x), or histogram of x but with the yaxis
(i.e., the frequency) on a log scale, etc. To that end, write code to
a) R
In R, write code to
a) take a sample of size 100 from a normal distribution with parameters mu = 1, sigma = 2, and compute the sample mean and
sample standard deviation for that sample.
b) make the density scale histogram for the data in part a, and over
Probability and Statistics in Engineering and Science
STAT 390

Winter 2012
STAT 390: Probability and Statistics in Engineering and Science
Professor: Caren Marzban
Department: Statistics
Week 2 Lecture Notes
The following stemandleaf display was constructed using MINITAB:
A typical data value is somewhere in the low 2000's
The
Probability and Statistics in Engineering and Science
STAT 390

Winter 2017
QUIZ 6In this lab we are going to get more practice with the concept of the sampling distribution. In the lecture on Friday I showed you the (empirical) sampling distribution of the sample mean, based on a simulation that involved taking 64samples of size