This week we discuss one of the most important non linear
data structures in computing, trees.
Trees are indeed a breakthrough in data organization,
allowing us to implement a host of algorithms much faster
than when u
TRANSFER COURSE EQUIVALENCY FORM
This form is used to document equivalency for coursework to be completed outside of
Boston University that is intended for use toward the College of Arts and Sciences degree.
Before submitting this form, you should familia
MA684 HW 5
Multiple Regression II
Question 1. Data from Prof. Bernard Rosner, Prof. of Biostatistics across town, posted on
line. The attached data set provides data on lung function for a sample of 654 kids
between the ages of 3 and 18. We are interested
Ma684 HW 8
Data on 100 subjects are saved on ACS under the file hw8anyproblems. Variables in the data
set are 1) an id number, ranging from 1 to 100; 2) sex, coded 1 for females and 0 for males; 3)
age, in years; 4) x1, a measuremen
Homework from Class 12
Factor Analysis II
A study examined a number of factors that might impact quality of life. We will focus on
depressive symptoms, as measured by the CES-D (Center for Epidemiologic Studies
Depression Scale) which is included at
Homework from Class 3
1. Some results from the regression predicting height (in inches) from femur length (in inches),
from last weeks homework. First, some summary data on the independent (femur length) and
dependent (height) variables in
Homework from Class 8
1. Taking multiple vitamin and mineral supplements during pregnancy can reduce the risk
of birth defects. A study (based on a sample of several thousand women) was conducted
to examine factors associated with not
MA684 HW 11
Principal Components Factor Analysis
Question 1: PC factor analysis with varimax rotation
Click on Analyze Dimension Reduction Factor
Select the variables to be included in the factor analysis
Under the Rotation button, select v
Some Review Problems
Based on a problem from Ch. 13 of the KKM and N text. The following
gives weight loss (in pounds) over a three week period for people initiating
two different weight-loss programs:
Diet A: 21 , 33 , 35 , 42 , 36 , 34
R Code for HW 8
> reg.out <- lm(y~age+sexf+x1+x2+x3)
lm(formula = y ~ age + sexf + x1 + x2 + x3)
-52.007 -5.638 4.220 9.743 17.608
Estimate Std. Error t value
MA684 Class 10 Homework
Logistic Regression II
1. (No computer work necessary, other than finding p-values for chi-square statistics) From
the voting study in last weeks assignment. Last week you ran a multiple logistic regression
predicting whether or no
"!$#&%' () *+%' !$,'- .%."%( !$(
/"%( !$(102 3%456'- 7(98&%5:8" ";"5(<%=5 !>#&%' ?(9@(9' 02 1' A&%'3( 8&%5BDC& 16E%.8"*$5 #"(9!>"
'-AF'HGI .&%( (
RTS V U N S WUYX
01Z P %#"['-AF56'-
\^] S b `_d_acVU ]fe _dg KMih e b _dcjg KP ]fe
October 25, 2012
More examples of vector spaces
Recall the definition of a vector space from last class:
Definition. A vector space V is a set of objects that are called vectors along with two
operationsvector addition and scalar multiplication. Th
December 4, 2012
Definition. A set of vectors cfw_v1 , v2 , . . . , vk is an orthogonal set if vi vj = 0 for all i 6= j.
Example 1. Consider the vectors
Theorem. Suppose that cfw_
December 6, 2012
Theorem. If cfw_u1 , . . . , uk is an orthonormal basis for a subspace W , then
projW v = (vu1 )u1 + . . . + (vuk )uk .
U = u1
then projW v = UUT v.
The matrix UUT is called the projection matrix
MA242 Test 1
Arazyan, Spring 2016 February 25, 2016
1. (12 points) ROW reduce the matrix to reduced echelon form. Specify the row operations. Indicate When
you arrive at a matrix in echelon form.
139 2 R 3353321,.
A: 1 0 3 4 N (2242 g .13 43
MA242 Quiz 1
Arazyan, Spring 2016 Student Name @431
I 0 POM); 1. Determine if the system is consistent. Do not completely solve the system.
6x2 = 5
4x3+x4 = 0
x1+6x2 +x3 +5x4 :3
x2 +5363 +4x4 = 0
[U WU t; 2. Write the matrix in reduced e
November 1, 2012
Bases for vector spaces and subspaces
Given a vector space or subspace V , we often find it convenient to express it as the span of
a few vectors. A basis for V is a spanning set that contains as few vectors as possible.
October 30, 2012
Subspaces associated to a matrix
There are three important subspaces associated to an m n matrix A. Let c1 , . . . , cn
represent the columns of A. That is,
These column vectors are vectors in Rm .
Let r1 , . . .
The outer shell of the earth is composed of
individual plates that interact to produce:
Earthquakes, Mountains, Ocean basins,
Volcanoes, Ocean Trenches, etc.
Plate Tectonic Theory
November 13, 2012
The dimension of a vector space
The number of elements in a basis of a vector space is an important quantity associated with
In order to be more precise, we need to distinguish between finite-dimensional vector spaces
MA242 /( . cfw_
Arazyan, Spring 2016 Student Name 2
Show all work for full credit.
1. ( 10 points] Use coordinate vectors to test the linear independence of the set of polynomials.
Explain your work.
(2 03, (3 t)2, 1 + 61: 5112 + t3
2. (9 points)
1. [12 points] Use Cramers rule to compute the value of x2 for the following system of equations.
x1 2x2 + x3 = 0
ZXZ 8X3 : 8 Y;
"496'1 + SXZ + 9X3 = 9
2. [12 points] Compute the adjugate of the given matrix, and then use it
!#"$%$ '&$ (%)$*
BCC GE F LNMM
BCC R.F LNMM
CC EH MM
$% Q @ C RSI H M
D EKI J O
D RTI J O
<U!V J (#"$ ?9W Q @ EGFXR.FZY[EH#RH\Y^]_]_]TY[EJRTJ I
`ba ,5cS,ed Kf 8hgi ? (Qj $%lkm7n>*o# p
<q!V J $ rUo'tu7 pv* r I0w "$
MA 242 Section A2 Quiz 4
Spring 2016 Student Name A45?
Show all your work for full credit.
1. Let u1:[l];u2= l ;y= l ,andW=Spancfw_ul,u2.
4 2 6
(a) (I 0 points) Verify that cfw_1,11, M2 is an orthogonal set, and then nd the orthogonal pro
MA 242 Section A2 Quiz 2
Spring 2016 Student Name
Show all your work for full credit.
1. (12 points) Compute the determinant of the matrix in two ways:
(a) by cofactor expansion
l "5 y '23 _ \
529% Mg; 3' (H4 . (56") .l g "11.
a rt 0
W5, a O