1
%let Seed=987;
2
%let simu = 10;
3
%let N = 13;
4
%let p = 10;
5
%let Rho1 = 0;
6
%let Rho2 = 0;
7
%put _user_;
GLOBAL N 13
GLOBAL P 10
GLOBAL RHO1 0
GLOBAL RHO2 0
GLOBAL SEED 987
GLOBAL SIMU 10
/*
%SCAN and %QSCAN Functions Page 1 of 5
%SCAN and %QSCAN Functions
Search for a word that is specified by its position in a string.
Type: Macro function
See: %NRBQUOTE Function and %STR and %NRSTR Func
Math 2207 Linear Algebra, Tutorial 8
November 9, 2015
Sections 4.3 Linearly Independent Sets; Bases
1. Assume that A
2 4
A = 2 6
3 8
is row equivalent to
2 4
1
3 1 , B = 0
2 3
0
B. Find bases for NulA
Math 2207 Linear Algebra, Tutorial 11
November 30, 2015
Section 6.1 orthogonal complements
1
0
1
0
1. If V is the subspace spanned by
0 and 1
1
0
plement V .
find a basis for the orthogonal com
Math 2207 Linear Algebra, Tutorial 4
October 12, 2015
Sections 1.8 & 1.9
1. If f : X Y and g : Y Z be functions. Then, g f : X Z.
(a) If g f is one-to-one(f is applied first.), then g is one-to-one.
(
Math 2207 Linear Algebra, Tutorial 8
Nov 16, 2015
Section 4.7 Change of Basis
cfw_
1. Let B = b1 , b2 and C = cfw_
c1 , c2 be bases for a vector space V , and suppose b1 =
c1 +4
c2
and b2 = 5
c1 3
Math 2207 Linear Algebra, Tutorial 4
October 12, 2015
Sections 1.8 & 1.9
1. If f : X Y and g : Y Z be functions. Then, g f : X Z.
(a) If g f is one-to-one(f is applied first.), then g is one-to-one.
(
Math 2207 Linear Algebra, Tutorial 7
November 2, 2015
Section 4.1 Vector Spaces and Subspaces
x1
1. Let G be the set of all vectors of the form x2 R3 : x1 = x2 x3 .
x3
Is G a subspace of R3 ?
6
%DO, Iterative Statement Page 1 of 2
%DO, Iterative Statement
Executes a section of a macro repetitively based on the value of an index variable.
Type: Macro statement
Restriction: Allowed in macro de
A single Data Step can create more than one data set using separate OUTPUT
statements each with a distinct SAS data set name, as demonstrates in class,
data class1(drop=bmi) class2(keep= sex - bmi);
%STR and %NRSTR Functions Page 1 of 4
%STR and %NRSTR Functions
Mask special characters and mnemonic operators in constant text at macro compilation.
Type: Macro quoting function
See: %NRQUOTE Functio
1.5 3.7 5.55
We can perform a DO-END loop within the DATA step in the above non-typical
DATA step (which is an enveloping loop itself as implied by the flowchart) with a
PUT statement outside and ins
El [1] Step-by-Step Programming with Base SAS 9.4
% Title Page
l3 What's New in Step-by-Steg Programming with Base SAS 9.4
3 Accessibility Features of Step-by-Steb Programming with Base SAS 9.4
@ Abou
El @ SAS System Documentation
3 Whats New
3 Learningto UseSAS
[3 Using 5A5 Software in vour Operating Environment
3 545 Products
3 SAS Procedures
5A5 Language Elements
E D
3 Base 5A5 Software in
RETURN Statement
Page 1 of 1
Language Reference
RETURN Statement
RETURN <(operand)>;
The RETURN statement causes a program to return to a previous calling point.
The RETURN statement with an operand i
%SYSFUNC and %QSYSFUNC Functions Page 1 of 5
%SYSFUNC and %QSYSFUNC Functions
Execute SAS functions or user-written functions.
Type: Macro function
Tip: %SYSFUNC and %QSYSFUNC support SAS function n
%PUT Statement Page 1 of 5
%PUT Statement
Writes text or macro variable information to the SAS log.
Type: Macro statement
Restriction: Allowed in macro denitions or open code
Syntax
Required Argumen
popped up by the sequence: Tools Options Preferences Results. Such
Listing output can be stopped by the statement ODS LISTING CLOSE; or by
canceling Create Listing in the aforesaid dialog window.
the
Online Path: Help => SAS Help and Documentation => SAS Products =>Base SAS =>
Step-by-Step Programming with Base SAS 9.4
Whats New in Step-by-Step Programming with Base SAS 9.4
Accessibility Features
Math 2207 Linear Algebra, Tutorial 1
September 14, 2015
Section 1.1
1. Mark each statement True or False.
a. An inconsistent system has more than one solution.
b. Two linear systems are equivalent if
Math 2207 Linear Algebra
Tutorial 2
2015/09/21
Section 1.5
1.
2.
3.
4.
(a)(i) Since the coefficient matrix A has three pivot positions, every row must contain a pivot.
Thus, Ax = b has a solution for
Math 2207 Linear Algebra, Tutorial 8
November 9, 2015
Sections 4.3 Linearly Independent Sets; Bases
1. Assume that A
2 4
A = 2 6
3 8
is row equivalent to
2 4
1
3 1 , B = 0
2 3
0
B. Find bases for NulA
MATH2206 Prob Stat/11.Sept.2015
Weekly Review 1
Welcome! Starting from this week, you can expect to get a review every week. Last week
we got one hour and this week we had three hours. In these four h
MATH2206 Prob Stat/23.Oct.2015
Weekly Review 7
This week we had three hours, during which we talked about hypothesis testing procedures when the null hypotheses are H0: p = po , H0: 1 = 2 and H0: p1 =
MATH2206 Prob Stat/2.Oct.2015
Weekly Review 4
In the three hours of this week, we introduced the hypergeometric, the geometric, the
negative binomial, the Poisson, the uniform and the normal (Gaussian
MATH2206 Prob Stat/20.Nov.2015
Weekly Review 11
We had three hours this week and we concluded our discussion on linear regression and
correlation and started the last chapter, which is devoted to nonp
MATH2206 Prob Stat/13.Nov.2015
Weekly Review 10
This week we had three hours, and we nished ANOVA and started linear regression.
In the last review we introduced the test called ANOVA, which is used t
MATH2206 Prob Stat/27.Nov.2015
Weekly Review 12
Done! We had three hours this week and we finished all topics that I would like to discuss
in this course! Hurray!
Last week we introduced the test stat